用pb11,CS转BS程序,不成功,错误在哪?

meng699 2008-06-06 09:21:27
用pb11,CS转BS程序,不成功,错误在哪?
用过PB11转换程序的朋友指点一下。转换时要注意什么?

我转换(Deploy)后,点pb中的 Run b_Webform 运行的。(b是我的workspace名称)

我只做了个简单的窗口,做试验。转化后无法显示网页。错误信息如下:




Server Error in '/b' 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="true">
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: G:\wwwroot\BBSXP\b\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].




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
...全文
630 5 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
狐狸真的累了 2008-07-20
  • 打赏
  • 举报
回复
应该属于IIS方面的问题,首先你的IIS最低版本不能低于5.0,然后要安装.net framework 2.0,然后安装IEwebControls
满上 2008-06-20
  • 打赏
  • 举报
回复
我是初学正在学CS转BS,整了一天,也发生和你一样的情况,都整晕了,后来好使了也不知道什么原因,

我这上传不了,不知道为什么?

我生成msi后安装,运行default.aspx就好用,(可能是,哦,我也是新手,随便说说:),希望能帮到你!)

别的就是IIS的问题了!
AFIC 2008-06-10
  • 打赏
  • 举报
回复
gac中是否有24(大概)个sybase开头的东西?
ribut9225 2008-06-10
  • 打赏
  • 举报
回复
iis有没有设置正确?
目录的权限有没有问题?
chengxangwang 2008-06-09
  • 打赏
  • 举报
回复
Line 381: <compilation defaultLanguage="c#" debug="true">
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"/>
看看這些行

663

社区成员

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

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