IIS已经配置成功. pb11的.net web forms application也成功发布到IIS上了,但运行http://localhost/test出错如下:
是不是少了什么文件啊?
Server Error in '/test' 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.Common, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b76b10796def6a00' or one of its dependencies. 系统找不到指定的文件。
Source Error:
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"/>
Line 386: <add assembly="Sybase.PowerBuilder.Graph.Web, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b76b10796def6a00"/>
Source File: h:\inetpub\wwwroot\test\web.config Line: 384
Assembly Load Trace: The following information can be helpful to determine why the assembly 'Sybase.PowerBuilder.Common, 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].
--------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
------解决方案--------------------
a , 搞定了, 我是先安装pb11.5 ,后安装.net 等程序, 在 c:\windoww\assembly 下面没有pb11.5对于的 system.powerbuiler 相关的dll文件,必须把他 加载上, 也可吧pb11.5安装一下就可以了 。