我把几个程序文件拷贝到IIS下面,总出现如下错误,估计是什么原因呢?直接在.net2005中运行是正常的。用户写权限?只读?Server Application Unavailable 
The web application you are attempting to access on this web server is currently unavailable.  Please hit the "Refresh" button in your web browser to retry your request. Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur. 

解决方案 »

  1.   

    应用程序中:
    Failed to execute request because the App-Domain could not be created. Error: 0x80131902 有关更多信息,请参阅在 http://go.microsoft.com/fwlink/events.asp 的帮助和支持中心。Failed to initialize the AppDomain:/LM/W3SVC/1/ROOTException: System.Configuration.ConfigurationErrorsException
    Message: Exception of type 'System.Configuration.ConfigurationErrorsException' was thrown.
    StackTrace:    at System.Web.Configuration.ErrorRuntimeConfig.ErrorConfigRecord.System.Configuration.Internal.IInternalConfigRecord.GetLkgSection(String configKey)
       at System.Web.Configuration.RuntimeConfigLKG.GetSectionObject(String sectionName)
       at System.Web.Configuration.RuntimeConfig.GetSection(String sectionName, Type type, ResultsIndex index)
       at System.Web.Configuration.RuntimeConfig.get_HostingEnvironment()
       at System.Web.Hosting.HostingEnvironment.StartMonitoringForIdleTimeout()
       at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters)
       at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters)
       at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironment(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters)
       at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironmentAndReportErrors(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters)有关更多信息,请参阅在 http://go.microsoft.com/fwlink/events.asp 的帮助和支持中心。