Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Connection string in Web.Config
Message
 
À
04/07/2007 09:11:15
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 2.0
Divers
Thread ID:
01237732
Message ID:
01238151
Vues:
14
Tim,

>First the error message isn't very helpful as it suggests my web.config file has the following setting:
>" customErrors mode = "Off" " and suggesting it should be:
>" customErrors mode = "RemoteOnly" defaultRedirect = "MyCustomErrorPage.aspx" "
>
>My Web.config file does not have this set to off so why do I get this message?

ASP.NET is giving you this error message, but I'm not sure why you're seeing it if it's set to "ON". Here's more information about this setting:

http://riderdesign.com/articles/displayarticle.aspx?articleid=1

>The real problem I think is the connection string for Access. The obvious problem is I have this in the "value=" section

I'm wondering if this might be a permissions issue. Here's a link to an article on using an Access database from ASP.NET:

http://www.aspfree.com/c/a/Microsoft-Access/Connecting-to-a-Microsoft-Access-database-with-ASPNET/

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform