Salut à tous,

J'ai une application asp .net que je souhaite faire marcher sur visual studio en utilisant l'IIS. J'ai donc ouvert le projet et je l'ai paramétré pour qu'il utilise IIS Web Server.
Là j'ai eu l'erreur
The web server is not configured correctly.
J'ai regardé sur le net, j'ai testé plusieurs solutions proposées, mais l'erreur persistait.

J'ai fini par en trouver une (http://msdn.microsoft.com/en-us/libr...yc(VS.80).aspx) qui, elle au moins, a généré un petit changement : J'ai été dans la fenêtre VS Command Prompt et j'ai tapé cd C:\WINDOWS\Microsoft.NET\Framework\vX.X.xxxxx avec X.X.xxx la version du .Net Framework installée puis aspnet_regiis -i.

Désormais, j'ai cette erreur qui s'affiche
Access to the path 'monpropjet\XML\07F340F.xml' is denied.
Ce fichier xml est appelé dans le code dans le fichier menu.cs :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
 
...XmlTextWriter xmlMenu = new XmlTextWriter(applicationPath + @"\SI\GP\GUI\XML\" +
Common.BLL.T_SQL.CreatePasswordHash(Group_Id.ToString(), Common.BLL.T_SQL.CreateSalt()) + ".xml", System.Text.Encoding.Unicode);
xmlMenu.WriteStartElement("root");
xmlMenu.WriteRaw("\r\n");...
Je ne sais pas quoi faire pour résoudre ce problème.

J'ai trouvé cette solution :
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.
Mais je n'ai pas la fenêtre de securité dont on parle, peut être parce que je suis sur xp pro .

merci de m'aider