Trouble connecting to an online database.
Hello,
I am really, really new to ASP.NET. I am cruising along in this book, I can get all the examples to work on my localhost, but as soon as I try to upload the ASPX file onto my remote server, everything goes south. Specifically I am trying to get the examples in Ch 8 to work online. I have uploaded the database onto the remote server (I talked to technical support at my host to make sure I had done this right) I have changed the "data source=" tag to point at the online DSN that I set up at my host--Dim connectionString As String = "Provider=Microsoft.Jet.OLEDB.4.0; Ole DB Services=-4; Data Source=anist001.data"--, but when I post the ASPX page and try it out online I get an error message telling me that: "Could not find file 'c:\windows\system32\inetsrv\anist001.data'." Does anyone know what I'm doing wrong? Is that my C: drive the file is refrencing? If so, how do I get the ASP.NET code to look for the database online? If it's not my c: drive is it the online server's? And if so why is it doing that?
Any help would be greatly appreciated.
Thanks,
|