your network access was interrupted. to continue close the database and then open it again

Last Reply on Oct 22, 2013 01:55 AM By Pradip

Posted on Oct 22, 2013 01:41 AM
Hello community

I am trying to access Ms Access Db on a network folder from Visual web developer website created on HTTP

Here is my connection string

CODE
"Provider=Microsoft.ACE.OLEDB.12.0;" & _
                                      "Data Source=\\ServerName\workgroup\SharedFolder\db.accdb;"


I get the above error when i try to open a connection

CODE
cnn = New OleDbConnection(sconnection)
            cnn.Open()



If i change the connection string to point to a db on say Drive D on the PC, the connection is successful...

Why cant i open the db on the shared Lan folder?

i have given persmission to both Asp.net and iusr_Machine name to the folder but still get the same error.

 

Any suggestions?

 

Ronald

Posted on Oct 22, 2013 01:44 AM

Refer

http://answers.microsoft.com/en-us/office/forum/office_2007-access/solution-to-error-your-network-access-was/70314977-ca9c-481c-8efd-3d9d86a413c0

 


I agree, here is the link: https://www.e-iceblue.com/Introduce/spire-office-for-net-free.html