S
Srinivas
hi
string accessCon = "Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=d:\xyz.mdb";
using ( OleDbConnection oleCon = new OleDbConnection( accessCon ) )
{
try
{
oleCon.Open();
}
catch( System.Exception excep )
{
// log the exception message
}
}
I have impersonate set to "true" and have given read/write/modify
permissions on the "temp" folder under profile->local settings of
ASPNET account.
The above code works fine for users with administrative privileges but
fails when others execute it and throws an "Unspecified Error" trying
to open the connection.
What am I missing?
Thanks a lot in advance for any help.
- Srinivas
string accessCon = "Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=d:\xyz.mdb";
using ( OleDbConnection oleCon = new OleDbConnection( accessCon ) )
{
try
{
oleCon.Open();
}
catch( System.Exception excep )
{
// log the exception message
}
}
I have impersonate set to "true" and have given read/write/modify
permissions on the "temp" folder under profile->local settings of
ASPNET account.
The above code works fine for users with administrative privileges but
fails when others execute it and throws an "Unspecified Error" trying
to open the connection.
What am I missing?
Thanks a lot in advance for any help.
- Srinivas