Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / SQL Server / ADP / September 2003

Tip: Looking for answers? Try searching our database.

MSDE

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
J.B. Santana - 18 Sep 2003 18:16 GMT
MSDE has been installed in my server when running the
startup program of a 3rd party application. As
administrator of our network I have no problem to make a
link and to get from SQL the needed 3rd party tables in
order to design new queries, form, reports etc in my own
mdb file.
The problem is when another computer/user opens my shared
mdb file (with the links to MSDE), they get an error
message from SQL with an authentification failure.

The question is how can I share my mdb file (with the
linked tables residing in MSDE) with all my network users.

Thanks a lot for a prompt reply.

Regards
BJ Freeman - 18 Sep 2003 20:40 GMT
As administrator you have "sa" right to the msde.
I don't suggest you give those rights to your users.
You can create a UseriD on the MSDE that has owner rights.

here is a routine for connecting linked tables

Function fSetLinkPath(strTable As String) As String
Dim dbs As Database, stPath As String

   Set dbs = CurrentDb()
   On Error Resume Next
   If dbs.TableDefs(strTable).Attributes = dbAttachedTable Then
     dbs.TableDefs(strTable).Connect = "your dnsless connect string to the
msde"
     dbs.TableDefs(strTable).RefreshLink
   End If
   fSetLinkPath = dbs.TableDefs(strTable).Connect
   Set dbs = Nothing

End Function

the DNSLESS connect string has this structure
"Data Provider=SQLOLEDB;Persist Security Info=True;Data Source=IP address of
DB;User ID=MSDEUserIDyourcreated;Password=MSDEUserPSWD;Initial
Catalog=DBName"

> MSDE has been installed in my server when running the
> startup program of a 3rd party application. As
[quoted text clipped - 12 lines]
>
> Regards
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.