Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Access connection string on hosted server
Message
De
07/07/2007 09:04:38
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
 
À
06/07/2007 20:31:03
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 2.0
Divers
Thread ID:
01237935
Message ID:
01238371
Vues:
10
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
Timothy Bryan
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform