当前位置: 代码迷 >> PB >> 第一次web运行异常
  详细解决方案

第一次web运行异常

热度:200   发布时间:2016-04-29 09:35:35.0
第一次web运行错误
1.deploy project  
  a.生成PBD文件

  b.拷贝文件到IIS服务器

  c.发布完成.
2.run 程序时产生如下的错误.(第一次运行)

Server Error in '/caiwu' 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.0.0.0, Culture=neutral, PublicKeyToken=b76b10796def6a00' or one of its dependencies. 系统找不到指定的文件。

Source Error: 


Line 381:<compilation defaultLanguage="c#" debug="false">
Line 382:<assemblies>
Line 383:<add assembly="Sybase.PowerBuilder.Core, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b76b10796def6a00"/>
Line 384:<add assembly="Sybase.PowerBuilder.Common, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b76b10796def6a00"/>
Line 385:<add assembly="Sybase.PowerBuilder.Web, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b76b10796def6a00"/>
 

Source File: c:\inetpub\wwwroot\caiwu\web.config Line: 383 

Assembly Load Trace: The following information can be helpful to determine why the assembly 'Sybase.PowerBuilder.Core, Version=11.0.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].

 


------解决方案--------------------
选系统dsn,还有报上你的操作系统
------解决方案--------------------
jf
  相关解决方案