pb11.5 web 编译后错误 提示(急!!!!!再线等)

hbhgly 2009-04-30 01:27:33
各位大虾,本人初学,在线等,急!!!!!!
提示如下:
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
...全文
436 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
zxszx 2011-10-09
  • 打赏
  • 举报
回复
http://blog.csdn.net/zxszx/article/details/5124270

这编文章有你想要的。
xeg36911111 2011-09-27
  • 打赏
  • 举报
回复
你把cs文件留着,其他的都删掉重新编译一下就好了,包括在wwwroot目录中的文件都删掉
hbhgly 2009-04-30
  • 打赏
  • 举报
回复
我调整了一下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
hbhgly 2009-04-30
  • 打赏
  • 举报
回复
请各位路过,经过的哥哥,姐姐好心看看,能告知我怎样解决吗?

663

社区成员

发帖
与我相关
我的任务
社区描述
PowerBuilder Web 应用
社区管理员
  • Web 应用社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧