P
Paul Ballatti
hi,
I am attempting to update two databases simultaneously, from one
ASP.NET Web Application, which is written in C#. One database is
local i.e. on my localhost IIS and this has no problems at all. I
uploaded the same database file to my web server and I am having
problems trying to connect to it.
The errors I was getting included "could not lock file", "Cannot open
database ''. It may not be a database that your application recognizes
or the file maybe corrupt". I think my problem lies in the connection
string, because I am unsure of the data source I have to write in
order to connect to my database.
e.g. say the database is at http://www.mywebsite.com/mydb.mdb how is
this written into a connection string? I included it as it is seen
here and it errored saying the UDI format is not supported.
To check if it was the web server, I hosted the database on a friend's
IIS and tried to connect to that, but I have a similar problem with
the connection string and this time the errors are saying that my
source is not a valid file name.
Sorry for the long post and help is much appreciated.
Thanks
Paul Ballatti
I am attempting to update two databases simultaneously, from one
ASP.NET Web Application, which is written in C#. One database is
local i.e. on my localhost IIS and this has no problems at all. I
uploaded the same database file to my web server and I am having
problems trying to connect to it.
The errors I was getting included "could not lock file", "Cannot open
database ''. It may not be a database that your application recognizes
or the file maybe corrupt". I think my problem lies in the connection
string, because I am unsure of the data source I have to write in
order to connect to my database.
e.g. say the database is at http://www.mywebsite.com/mydb.mdb how is
this written into a connection string? I included it as it is seen
here and it errored saying the UDI format is not supported.
To check if it was the web server, I hosted the database on a friend's
IIS and tried to connect to that, but I have a similar problem with
the connection string and this time the errors are saying that my
source is not a valid file name.
Sorry for the long post and help is much appreciated.
Thanks
Paul Ballatti