[C#]Access to the path denied
Salut,
J'ai creé une application Asp.net c# qui fonctionne trés bien sur VS.net mais lorsque je met le tt sur IIS ça me donne cette erreur:
Citation:
Server Error in 'MyApplication' Application.
--------------------------------------------------------------------------------
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Access to the path 'C:\Travail\MyApplication\App_Code\Fichier1.cs' is denied.
Source Error:
[No relevant source lines]
Source File: /MyApplication/App_Code/Fichier1.cs Line: 1
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210
Et à chaque fois que j'exécute le fichier de l'erreur est différent.
Je ne comprend pas pourquoi...