Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Access connection string on hosted server
Message
De
07/07/2007 11:09:06
 
 
À
07/07/2007 09:04:38
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 2.0
Divers
Thread ID:
01237935
Message ID:
01238387
Vues:
7
Hi Tim,

Yeah, I noticed your other question in the MM topic. Sorry, can't help you with that one. But, at least you've gotten the connection string problem solved. One down! =0)

~~Bonnie



>Hi Bonnie,
>
>The XML file does except this, but not sure if it is working. I seem to have another problem that I can't get to the source of. When attempting to navigate to the website I get a page telling me that a server error occured. It does not display any error messages because it claims I don't have CustomError mode="Off" in the web.config. I have it set correctly along with Debug="True". A google search indicates others have had this problem, but I have not found an answer I can get to work.
>
>For now, I think the connection string is valid although I don't know what |DataDirectory| actually is defined by. Maybe an ASP.Net constant of some kind.
>
>Thanks for your help
>Tim
>
>>>I did try that, but now trying this:
>>>
>>><add key="SWHT\Connection" value="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|\SWHT.mdb" />
>>>

>>
>>Did it work?
>>
>>~~Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform