产品使用及交流论坛

首页 » 产品使用交流区 » 安装及使用交流 » 请教xiyou及各位大大
huafeiying - 2011/9/14 11:22:00
请教xiyou及各位大大 这个问题怎么解决呢? 就是初始化时
Server Error in '/' Application.
--------------------------------------------------------------------------------

Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level.  This error can be caused by a virtual directory not being configured as an application in IIS.

Source Error:


Line 18:     <pages validateRequest="false" enableEventValidation="false" enableViewStateMac="false" viewStateEncryptionMode="Never" />
Line 19:     <compilation defaultLanguage="C#" debug="false" />
Line 20:     <authentication mode="Forms" />
Line 21:     <customErrors mode="Off">
Line 22:       <error statusCode="404" redirect="/error404.html" />


Source File: c:\inetpub\wwwroot\pacms\web.config    Line: 20


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
xiyou - 2011/9/14 15:10:00
吧文件直接放在wwwroot目录下
huafeiying - 2011/9/14 15:15:00
我把主目录设置改了后
又出现了这个错误
Server Error in '/' Application.
--------------------------------------------------------------------------------

The current identity (cl\ASPNET) does not have write access to 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files'.
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: The current identity (cl\ASPNET) does not have write access to 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files'.

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 (0x80004005): The current identity (cl\ASPNET) does not have write access to 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files'.]
   System.Web.HttpRuntime.SetUpCodegenDirectory(CompilationSection compilationSection) +3570267
   System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags) +218

[HttpException (0x80004005): The current identity (cl\ASPNET) does not have write access to 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files'.]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +3465427
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +69
   System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +279




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
huafeiying - 2011/9/14 15:33:00
我把2.0 在添加删除里 点了更改后
又变成这样了
Server Error in '/' Application.
--------------------------------------------------------------------------------

The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable.  Please review the following URL and make sure that it is spelled correctly.

Requested URL: /1/install/index.aspx


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
1
查看完整版本: 请教xiyou及各位大大