各位大蝦,本人初學,在線等,急!!!!!!
提示如下:
Server Error in '/ly_web' Application.
--------------------------------------------------------------------------------
The path '/ly_web/App_GlobalResources/' maps to a directory outside this application, which is not supported.
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 path '/ly_web/App_GlobalResources/' maps to a directory outside this application, which is not supported.
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 path '/ly_web/App_GlobalResources/' maps to a directory outside this application, which is not supported.]
System.Web.Compilation.CodeDirectoryCompiler.GetCodeDirectoryAssembly(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories, Boolean isDirectoryAllowed) +3450923
System.Web.Compilation.BuildManager.CompileCodeDirectory(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories) +125
System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +378
[HttpException (0x80004005): The path '/ly_web/App_GlobalResources/' maps to a directory outside this application, which is not supported.]
System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() +57
System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +612
System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters) +456
[HttpException (0x80004005): The path '/ly_web/App_GlobalResources/' maps to a directory outside this application, which is not supported.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +3426871
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +88
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +149
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
uj5u.com熱心網友回復:
請各位路過,經過的哥哥,姐姐好心看看,能告知我怎樣解決嗎?uj5u.com熱心網友回復:
我調整了一下IIS本地目錄路徑后出現如下提示: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: Could not load file or assembly 'Sybase.PowerBuilder.Core, Version=11.5.0.0, Culture=neutral, PublicKeyToken=b76b10796def6a00' or one of its dependencies. 系統找不到指定的檔案。
Source Error:
Line 421: <compilation defaultLanguage="c#" debug="true">
Line 422: <assemblies>
Line 423: <add assembly="Sybase.PowerBuilder.Core, Version=11.5.0.0, Culture=neutral, PublicKeyToken=b76b10796def6a00"/>
Line 424: <add assembly="Sybase.PowerBuilder.Common, Version=11.5.0.0, Culture=neutral, PublicKeyToken=b76b10796def6a00"/>
Line 425: <add assembly="Sybase.PowerBuilder.Web, Version=11.5.0.0, Culture=neutral, PublicKeyToken=b76b10796def6a00"/>
Source File: C:\Inetpub\wwwroot\ly_web\web.config Line: 423
Assembly Load Trace: The following information can be helpful to determine why the assembly 'Sybase.PowerBuilder.Core, Version=11.5.0.0, Culture=neutral, PublicKeyToken=b76b10796def6a00' could not be loaded.
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
uj5u.com熱心網友回復:
你把cs檔案留著,其他的都刪掉重新編譯一下就好了,包括在wwwroot目錄中的檔案都刪掉uj5u.com熱心網友回復:
http://blog.csdn.net/zxszx/article/details/5124270這編文章有你想要的。
轉載請註明出處,本文鏈接:https://www.uj5u.com/shujuku/75051.html
標籤:Web 應用
上一篇:JSP的jdbc與odbc怎么回事?怎么用jsp關聯access資料庫?
下一篇:PB代碼求解
