Allora, la situazione è questa:
ho un'applicazione che gira correttamente su diversi server e, in questo dove sto provando adesso mi ritorna questo errore:
codice:
Server Error in '/' Application.
--------------------------------------------------------------------------------
Access denied to 'E:\Nome_Cartella\'. Failed to start monitoring file changes.
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.Web.HttpException: Access denied to 'E:\Nome_Cartella\'. Failed to start monitoring file changes.
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:
[HttpException (0x80070005): Access denied to 'E:\Nome_cartella\'. Failed to start monitoring file changes.]
System.Web.DirMonCompletion..ctor(DirectoryMonitor dirMon, String dir, Boolean watchSubtree, UInt32 notifyFilter) +140
System.Web.DirectoryMonitor.StartMonitoring() +42
System.Web.DirectoryMonitor.StartMonitoringFile(String file, FileChangeEventHandler callback, String alias) +154
System.Web.FileChangesMonitor.StartMonitoringDirectoryRenamesAndBinDirectory(String dir, FileChangeEventHandler callback) +278
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +331
[HttpException (0x80004005): ASP.NET Initialization Error]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +983
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +128
Mi sembra un problema di permessi però, visto che come questo non mi era mai successo chiedo conferma a voi.
Visto che non ho controllo alcuno sulla macchina dove questo applicativo dovrà funzionare, prima di cominciare a martellare i sitemisti, volevo essere sicuro.
Un link per eventualmente mettere a fuoco il problema:
clicca
Ciao
Legnetto