ma ConnectionString est surement mal configuré
voila, je viens de créer un site en asp.net fonctionnel sur mon ordi (local).
une fois que je l'ai copier sur le serveur hébérgeur web, les pages sans base de données (statiques) fontionnent et les pages qui font appellent à une base de donnée niet!!!!
configuration dans web.config
Code:
1 2 3 4 5
| <add name="nomdemaconnection"
connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\mabase.mdf;Integrated Security=SSPI;User Instance=True"
providerName="System.Data.SqlClient" />
</connectionStrings> |
merci pour l'eventuel aide.
voici le message d erreur
Citation:
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.