Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Access connection string on hosted server
Message
From
06/07/2007 11:21:50
 
 
To
06/07/2007 11:17:10
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01237935
Message ID:
01238228
Views:
13
You're welcome! I hope it helps. =0)

But there's a typo on what I googled ... I should have said I googled "App_Data Connection String", so if you still get stumped, you might want to try some of the other links that that Google search brings up.

~~Bonnie




>Hi Bonnie,
>
>Now were getting somewhere. This looks like exactly what I was looking for. I will give it a try and see what happens. Thank you!
>Tim
>
>>Wow, nobody's answered this yet? OK, I am not a Web expert, but I'll take a stab at it. Have you tried Google? I searched for "Asp_Data Connection String" and came up with a few hits, and something like this seems to be what you need:
>>
>>
>>"Provider=Microsoft.Jet.OLEDB.4.0;" + "Data Source=" + Server.MapPath("~/App_Data/ASPNetDB.mdb")
>>
>>
>>
>>~~Bonnie
>>
>>
>>
>>
>>>I am getting desperate. I have deployed this website 5 times last night trying to get a connection string to work for access. I can do it fine on my development machine because I use the full path to the file. On the web server I don't know what this is. If someone could help it would be greatly appreciated.
>>>
>>>I am placing my data file in App_Data under the root. How do I create a connections string that maps to that location?
>>>
>>>Tim
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Reply
Map
View

Click here to load this message in the networking platform