Bonjour,

j'ai un petit souci j'essaierai de generer un fichier word sur le serveur en modifiant des champs dans le document.

Cependant cela fonctionne en utilisant le localhost pour tester avec le compte administrateur.

Malheureusement lorsque j'y accede a distance sur le serveur de prod en Windows server 2000
jo'btient l'insulte suivante :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
Accès refusé. 
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.UnauthorizedAccessException: Accès refusé. 
 
ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user. 
 
To grant ASP.NET write access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.
J'ai essayé de mettre les droits un peu partour pour le user aspNet, pour les user authentifiés etc...

avez vous une idée...


Merci

Alk