S
Siegfried Heintze
I have a sample ASP.NET datagrid demonstration that works fine on my
notebook. Of course, it was created with Visual Studio 2003.
The project has been copied to a commercial hosting service's remote server.
Of course it did not work because the absoute path for the connection string
for the Access database was different on my notebook than on the remote
server.
So, I inserted some code to fetch the script_name, remove the file name from
the script_name and append the name of the Access Database. Then I send this
thru mappath. This technique worked fine on a second hosting service.
However, on this first hosting service, I get "The Microsoft Jet database
engine cannot open the file
C:\Inetpub\websites\evidence\stage\htdocs\demo_grid_asp.net\test_pce.mdb' It
is already opened exclusively by another user, or you need permissing to
view its data. This looks like the correct path on the remote server.
Wierd!
This is the connection string generated by Visual Studio! Hmmm.... Who else
could have it open?
Thanks,
Siegfried
notebook. Of course, it was created with Visual Studio 2003.
The project has been copied to a commercial hosting service's remote server.
Of course it did not work because the absoute path for the connection string
for the Access database was different on my notebook than on the remote
server.
So, I inserted some code to fetch the script_name, remove the file name from
the script_name and append the name of the Access Database. Then I send this
thru mappath. This technique worked fine on a second hosting service.
However, on this first hosting service, I get "The Microsoft Jet database
engine cannot open the file
C:\Inetpub\websites\evidence\stage\htdocs\demo_grid_asp.net\test_pce.mdb' It
is already opened exclusively by another user, or you need permissing to
view its data. This looks like the correct path on the remote server.
Wierd!
This is the connection string generated by Visual Studio! Hmmm.... Who else
could have it open?
Thanks,
Siegfried