i need to open a connection to a remote access db. in the local environment to the remote acess db is working great . when i run this application from production server (other server) it s fail with message
" It is already opened exclusively by another user, or you need permission to view its data. "
my code :
conString =
@"Provider=Microsoft.JET.OLEDB.4.0;"
+ @"data source=" \150.248.248.38d$TestAppvending.mdb;Jet OLEDB:Database Password=1234;";
OleDbConnection connAccess = new OleDbConnection(conString);
try
{
connAccess.Open();
objDiningRoom.Connection = connAccess;
....
}
catch (Exception ex)
{
}
finally
{
connAccess.Close();
connAccess.Dispose();
}
*Its not open in other place thanks