Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi,

I want to connect to an Access database on the server and not on my local machine.I dont know how to achieve this.I am able to connect to the database on local machine ,both in access ans SQl server.Moreover when I use VB.Net,I am able to establish connection to SQL Server on the server and results displayed in a DataGrid but same thing is not achieved when I try to use ASP.Net.......................it gives the error :- "Login failed for user 'THINK\MANISH$'." where THINK is my local domain and Manish is the name of my computer on this domain.

 

Does the code differ in VB.Net and ASP.net when we use SQL Server on another machine?And how do I establish connection to an Access database on some other machine?

Posted

Chances are the location of the database is different. You have full rights I'd imagine on your local machine so oermissions etc. wouldnt matter.

 

Double check that the access database has no password. Contact yoru host and ask for the location of the folder where your database is. Check that against your code.

Posted

Not sure whether it can solve your problem, you can try:

 

Share Access file from server with Share permission and security are full control to 'everyone' and 'guests'

 

Tips: You can browse your access database through network, the make sure the path is valid

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...