OVH Cloud OVH Cloud

Déploiement sur Windows server 2003

4 réponses
Avatar
Steeve
Bonjour,

j'obtiends l'erreur suivante lorsque je teste ma page d'accueil. Comment
puis-je arranger ça ? J'ai pourtant donné les droits à l'utilisateur ASPNET
dans ma base de données

Steeve

---------------------------------------------------------
Server Error in '/' Application.

Login failed for user 'NT AUTHORITY\NETWORK SERVICE'.
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: Login failed for user
'NT AUTHORITY\NETWORK SERVICE'.

4 réponses

Avatar
LEBRUN Thomas
Tu utilises une connexion sécurisée (trusted connection) sur ton serveur SQL ?
Regarde ici :
http://support.instantasp.co.uk/shwmessage.aspx?ForumID%&MessageID86

Le deuxième message devrait régler ton problème :)

A+

-------------------
LEBRUN Thomas
http://morpheus.developpez.com


"Steeve" wrote:

Bonjour,

j'obtiends l'erreur suivante lorsque je teste ma page d'accueil. Comment
puis-je arranger ça ? J'ai pourtant donné les droits à l'utilisateur ASPNET
dans ma base de données

Steeve

---------------------------------------------------------
Server Error in '/' Application.

Login failed for user 'NT AUTHORITYNETWORK SERVICE'.
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: Login failed for user
'NT AUTHORITYNETWORK SERVICE'.





Avatar
Pierre Lagarde [MS]
Bonjour Steeve

Comme le message l'indique c'est à 'NT AUTHORITYNETWORK SERVICE' qu'il faut
donner les droits et non à ASPNET
Sous Windows Server 2003 en ASP.NET 1.1 l'utilisateur ASPNET n'est plus
utilisé

--
Pierre Lagarde
Microsoft France

Steeve wrote:
Bonjour,

j'obtiends l'erreur suivante lorsque je teste ma page d'accueil.
Comment puis-je arranger ça ? J'ai pourtant donné les droits à
l'utilisateur ASPNET dans ma base de données

Steeve

---------------------------------------------------------
Server Error in '/' Application.

Login failed for user 'NT AUTHORITYNETWORK SERVICE'.
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: Login failed
for user 'NT AUTHORITYNETWORK SERVICE'.


Avatar
Steeve
Pouvez-vous me dire où donner les droits à NT AUTHORITYNETWORK SERVICE' ?
Je ne le trouve pas.

Steeve


"Pierre Lagarde [MS]" a écrit dans le message de
news:%
Bonjour Steeve

Comme le message l'indique c'est à 'NT AUTHORITYNETWORK SERVICE' qu'il


faut
donner les droits et non à ASPNET
Sous Windows Server 2003 en ASP.NET 1.1 l'utilisateur ASPNET n'est plus
utilisé

--
Pierre Lagarde
Microsoft France

Steeve wrote:
> Bonjour,
>
> j'obtiends l'erreur suivante lorsque je teste ma page d'accueil.
> Comment puis-je arranger ça ? J'ai pourtant donné les droits à
> l'utilisateur ASPNET dans ma base de données
>
> Steeve
>
> ---------------------------------------------------------
> Server Error in '/' Application.
>
> Login failed for user 'NT AUTHORITYNETWORK SERVICE'.
> 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: Login failed
> for user 'NT AUTHORITYNETWORK SERVICE'.




Avatar
Pierre Lagarde [MS]
Re,

Dans la gestion des utilisateurs dans l'administration de SQLServer il faut
ajouter un compte windows.
Attention si l'OS est en Francais le compte ne s'appel pas 'NT
AUTHORITYNETWORK SERVICE' mais 'AUTORITE NTSERVICE RéSEAU' il faut le
taper car il ne va pas le trouver dans la liste.
Attention à ne pas donner des droits 'sa' à ce compte ! ca peut être
dangereux.

--
Pierre Lagarde
Microsoft France

Steeve wrote:
Pouvez-vous me dire où donner les droits à NT AUTHORITYNETWORK
SERVICE' ? Je ne le trouve pas.

Steeve


"Pierre Lagarde [MS]" a écrit dans le message
de news:%
Bonjour Steeve

Comme le message l'indique c'est à 'NT AUTHORITYNETWORK SERVICE'
qu'il faut donner les droits et non à ASPNET
Sous Windows Server 2003 en ASP.NET 1.1 l'utilisateur ASPNET n'est
plus utilisé

--
Pierre Lagarde
Microsoft France

Steeve wrote:
Bonjour,

j'obtiends l'erreur suivante lorsque je teste ma page d'accueil.
Comment puis-je arranger ça ? J'ai pourtant donné les droits à
l'utilisateur ASPNET dans ma base de données

Steeve

---------------------------------------------------------
Server Error in '/' Application.

Login failed for user 'NT AUTHORITYNETWORK SERVICE'.
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: Login failed
for user 'NT AUTHORITYNETWORK SERVICE'.