Bonjour,
je rencontre un problème lors de la mise en place d'une petite appli Web développée sur Visual Studio 2005, lorsque je veux lire les données d'une table SQL.
Tant que j'execute le site sur mon poste de Dev (F5), pas de problème, mais lorsque je veux le publier sur le "serveur" IIS, lors de l'accès aux données, j'ai l'erreur suivante :
-----------------------------------
Échec de la connexion. La connexion provient d'un domaine non approuvé et ne peut pas être utilisée avec l'authentification Windows.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.SqlClient.SqlException: Échec de la connexion. La connexion provient d'un domaine non approuvé et ne peut pas être utilisée avec l'authentification Windows.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[SqlException (0x80131904): Échec de la connexion. La connexion provient d'un domaine non approuvé et ne peut pas être utilisée avec l'authentification Windows.]
System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +800131
...
----------------------------------------------------------
La méthode d'authentification sélectinnée : authentification intégrée de Windows
je ne pense pas qu'il y ait d'autre chose à signaler de particulier du coté IIS
Dans mon fichier Web.config ma chaine de connexion est la suivante
<add name="Connexion2K8" connectionString="Data Source=SRV-SQL2K8;Initial Catalog=mabase;Integrated Security=True"
providerName="System.Data.SqlClient" />
NB : IIS sous Windows 2000 Workstation
mon poste client XP pro
Est-ce un problème IIS, SQL, VisualStudio, etc...
J'ai tenté un accès anonyme, en déclarant mon compte admin, idem.
Si qq'un à une idée, je suis preneur
Merci de votre aide.
Partager