Deploying ASP.NET database application to remote server

  • Thread starter Thread starter K Meyer
  • Start date Start date
K

K Meyer

Everything in the deployment works fine with the exception
of the address of the database also deployed on the remote
server.

The string address is found under "oledbconnection" in
the ".... .aspx.jsl" file. What should the string address
look like on the remote computer?

On my development machine the address is:

Data Source=\"C:\\inetpub\\wwwroot\\WebApplication1
\\DataFolder\\projects.mdb"\

I am deploying my application to a web address:
http://www.cam-llc.com. I do not have direct access to
the remote server.
 
You're best (and maybe only) bet is to contact the host and double check,
but most servers use the D drive. Try the exact same string but specify the
D drive.

Now the hard part. If you're updating the database you'll need proper
permissions set on the folder the database is being put in. The host will
have to do that for you.

Justin
 
Back
Top