vroomMedlem sedan maj 200218 inlägg Nån som är kunnig på .NET och kan förklara hur man åtgärdar det här till en ny börjare.
Server Error in '/' Application.
--------------------------------------------------------------------------------
Server cannot access application directory 'D:\Inetpub\wwwroot\'. The directory does not exist or is not accessible because of security settings.
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.
Directoryt finns , tydligen nån säkerhets inställning men vart hittar man den ?
Tacksam för svar och tips.
NETworkMedlem sedan juni 20011 732 inlägg Prova att köra Permission Wizard i IIS på den katalogen där din webbapplikation ligger (i IIS, högerklicka på katalogen, välj all tasks, sedan permissions wizard). Det finns en färdig template som heter public web site, välj den.
vroomMedlem sedan maj 200218 inlägg .net
Okej tafk för tipset , men jg fick ett nytt error nu. Knepiga att det funkar på XP men inte på windows 2000 server version engelsk version.
Får detta fel:
Value cannot be null. Parameter name: path2
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.ArgumentNullException: Value cannot be null. Parameter name: path2
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:
[ArgumentNullException: Value cannot be null.
Parameter name: path2]
System.IO.Path.Combine(String path1, String path2) +419
System.Web.FilePathParse..ctor(String path, Boolean isFile, Boolean getShortNames) +365
System.Web.FileChangesMonitor.StartMonitoringDirectoryRenamesAndBinDirectory(String dir, FileChangeEventHandler callback) +46
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +324
[HttpException (0x80004005): ASP.NET Initialization Error]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +927
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +128
nikoMedlem sedan juni 20022 599 inlägg