R
Roby2222
I am trying to connect to a Microsoft Access database, located on a different
server. I am using ASP.NET and the code I am using works when run from my
local IIS, but it does not work when I deploy the project to the web server.
The database is not on the web server or my local machine. I am currently
using a DSN, which is setup on both machines through a mapped drive.
I disabled Anonymous Authentication on the IIS directory and enabled
"Integrated Windows Authentication". In my web.config settings, I set the
following:
<authentication mode="Windows"/>
<identity impersonate="true"/>
<authorization>
<allow users="IS-Users"/>
<deny users="?"/>
</authorization>
Here is the first part of the error I receive:
Data Retrieval Error. System.Data.Odbc.OdbcException: ERROR [HY024]
[Microsoft][ODBC Microsoft Access Driver] '(unknown)' is not a valid path.
Make sure that the path name is spelled correctly and that you are connected
to the server on which the file resides.
The security of the web page works correctly, but I don't think it's
delegating the credentials properly. I thought it would by setting the
Impersonate property to true.
I have the option of using OleDB if that is a possible solution. Any ideas
would be appreciated.
Thanks,
Roby2222
server. I am using ASP.NET and the code I am using works when run from my
local IIS, but it does not work when I deploy the project to the web server.
The database is not on the web server or my local machine. I am currently
using a DSN, which is setup on both machines through a mapped drive.
I disabled Anonymous Authentication on the IIS directory and enabled
"Integrated Windows Authentication". In my web.config settings, I set the
following:
<authentication mode="Windows"/>
<identity impersonate="true"/>
<authorization>
<allow users="IS-Users"/>
<deny users="?"/>
</authorization>
Here is the first part of the error I receive:
Data Retrieval Error. System.Data.Odbc.OdbcException: ERROR [HY024]
[Microsoft][ODBC Microsoft Access Driver] '(unknown)' is not a valid path.
Make sure that the path name is spelled correctly and that you are connected
to the server on which the file resides.
The security of the web page works correctly, but I don't think it's
delegating the credentials properly. I thought it would by setting the
Impersonate property to true.
I have the option of using OleDB if that is a possible solution. Any ideas
would be appreciated.
Thanks,
Roby2222