[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.6

Connecting to a MDB on a remote system.

Asked by shsiva in Active Server Pages (ASP)

Tags: remote, mdb, asp

Dear all,

       I have my ASP running on Server1 and I have my MDB on a different system (Server2) on the same network. I wanted to connect to MDB which is in Server2 from Server1. Since it requires absolute path of the MDB to establish a connection I tired couple of ways to establish a connection

1. creating a map drive which points to a shared folder of MDB
"Provider=Microsoft.Jet.OLEDB.4.0; Data Source=P:\SA\B4\projdata.mdb;"

but then it says "Path not found". I guess The reason for me to get this error is, IIS uses IUser account to search for the drive and the drive mapped is only for the user who created. I suppose IUser account can not be used for interactive logon.

2. giving the IP addres in a connection string.

"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\\1.1.1.1\Clientsites\NSA\Big4\ProjData.mdb;Persist Security Info=False"

but then it gave me an error saying,
-2147467259 : The Microsoft Jet database engine cannot open the file 'FilePath'. It is already opened exclusively by another user, or you need permission to view its data

3. creating a DSN in the Server1 and calling the DSN to make a connection                        

"Provider=Microsoft.Jet.OLEDB.4.0;DSN=MyDSN"

   It throws an error saying "Could not find installable ISAM."

4. passing Server2 user credential along with the connection string

"Driver={Microsoft Access Driver (*.mdb)}; DBQ=\\1.1.1.1\Share\projdata.mdb; UID=" & USER_NAME & "; PWD=" & PASSWORD & ";"

   It throws an error saying "Could not find installable ISAM."

I appreciate if you could share your idea/suggestion.

Thanks
Shiva.                                  
This question has been solved and asker verified.
All Experts Exchange premium technology solutions are available to subscription members.
Subscribe now for full access to Experts Exchange and get
INSTANT ACCESS TO THIS SOLUTION
Plus...
30 Day FREE access, no risk, no obligation
Collaborate with the world's top tech experts
Unlimited access to our exclusive solution database
Never be left without tech help again
 
Zone: Active Server Pages (ASP)
Tags: remote, mdb, asp
Solution Provided By: mgfranz
Participating Experts: 4
Solution Grade: B
 
 
 
Loading Advertisement...
20100802-EE-VQP-174