分享
 
 
 

ORLAND.DATA.ORACLE不匹配错误?

王朝delphi·作者佚名  2006-01-09
窄屏简体版  字體: |||超大  

我在应用DELPHI2005开发.NET WEB程序时碰到这样的问题,希望网上高手能给予解答:

我有两台WEB服务器分别装有ORACLE8.1.5CLIENT,可是在一台服务器上运行通过的DELPHI2005项目程序(通过BDPconnection连接到远程ORACLE数据库并显示某一个表的内容),拷到另一台服务器上运行,就会出BORLAND.DATA.ORACLE不匹配错误?具体出错信息为

Server Error in '/test' Application.

--------------------------------------------------------------------------------

The located assembly's manifest definition with name 'Borland.Data.Oracle' does not match the assembly reference.

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.IO.FileLoadException: The located assembly's manifest definition with name 'Borland.Data.Oracle' does not match the assembly reference.

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.

Assembly Load Trace: The following information can be helpful to determine why the assembly 'Borland.Data.Oracle' could not be loaded.

=== Pre-bind state information ===

LOG: DisplayName = Borland.Data.Oracle, Version=2.0.0.0, Culture=neutral, PublicKeyToken=91d62ebb5b0d1b1b

(Fully-specified)

LOG: Appbase = file:///E:/nettest/WebApplication1

LOG: Initial PrivatePath = bin

Calling assembly : (Unknown).

===

LOG: Publisher policy file is not found.

LOG: No redirect found in host configuration file (C:\WINNT\Microsoft.NET\Framework\v1.1.4322\aspnet.config).

LOG: Using machine configuration file from C:\WINNT\Microsoft.NET\Framework\v1.1.4322\config\machine.config.

LOG: Post-policy reference: Borland.Data.Oracle, Version=2.0.0.0, Culture=neutral, PublicKeyToken=91d62ebb5b0d1b1b

LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/test/9f4ae2da/444ef3b9/Borland.Data.Oracle.DLL.

LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/test/9f4ae2da/444ef3b9/Borland.Data.Oracle/Borland.Data.Oracle.DLL.

LOG: Attempting download of new URL file:///E:/nettest/WebApplication1/bin/Borland.Data.Oracle.DLL.

WRN: Comparing the assembly name resulted in the mismatch: Minor Version

Stack Trace:

[FileLoadException: The located assembly's manifest definition with name 'Borland.Data.Oracle' does not match the assembly reference.]

System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Boolean isStringized, Evidence assemblySecurity, Boolean throwOnFileNotFound, Assembly locationHint, StackCrawlMark& stackMark) +0

System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Boolean stringized, Evidence assemblySecurity, StackCrawlMark& stackMark) +307

System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark) +68

System.Reflection.Assembly.Load(String assemblyString) +19

Borland.Data.Provider.BdpConnection.e() +75

Borland.Data.Provider.BdpConnection.f() +42

Borland.Data.Provider.BdpCommand.set_Connection(BdpConnection value) +45

WebApplication1.WebForm1.InitializeComponent() in f:\net\WebApplication1\WebForm1.aspx.cs:157

WebApplication1.WebForm1.OnInit(EventArgs e) in f:\net\WebApplication1\WebForm1.aspx.cs:44

System.Web.UI.Control.InitRecursive(Control namingContainer) +240

System.Web.UI.Page.ProcessRequestMain() +189

我已经把Borland.Data.Provider.dll、Borland.Data.Oracle.dll、Borland.Data.Web.dll、Borland.Data.Common.dll文件都拷到虚拟目录的BIN目录中,两台WEB服务器的环境分别是:运行成功的服务器:WIN2003企业版SP1+DELPHI2005SP2;运行不成功的服务器:WINXP个人版,两台服务器上都已安装了相应的.NET 补丁。

请检查问题出在什么地方?另请说明一下:在本机上调试通过的DELPHI2005WEB应用如何发布到其它WEB服务器上,要拷哪些文件,分别放在什么目录中

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
2023年上半年GDP全球前十五强
 百态   2023-10-24
美众议院议长启动对拜登的弹劾调查
 百态   2023-09-13
上海、济南、武汉等多地出现不明坠落物
 探索   2023-09-06
印度或要将国名改为“巴拉特”
 百态   2023-09-06
男子为女友送行,买票不登机被捕
 百态   2023-08-20
手机地震预警功能怎么开?
 干货   2023-08-06
女子4年卖2套房花700多万做美容:不但没变美脸,面部还出现变形
 百态   2023-08-04
住户一楼被水淹 还冲来8头猪
 百态   2023-07-31
女子体内爬出大量瓜子状活虫
 百态   2023-07-25
地球连续35年收到神秘规律性信号,网友:不要回答!
 探索   2023-07-21
全球镓价格本周大涨27%
 探索   2023-07-09
钱都流向了那些不缺钱的人,苦都留给了能吃苦的人
 探索   2023-07-02
倩女手游刀客魅者强控制(强混乱强眩晕强睡眠)和对应控制抗性的关系
 百态   2020-08-20
美国5月9日最新疫情:美国确诊人数突破131万
 百态   2020-05-09
荷兰政府宣布将集体辞职
 干货   2020-04-30
倩女幽魂手游师徒任务情义春秋猜成语答案逍遥观:鹏程万里
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案神机营:射石饮羽
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案昆仑山:拔刀相助
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案天工阁:鬼斧神工
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案丝路古道:单枪匹马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:与虎谋皮
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:李代桃僵
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:指鹿为马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:小鸟依人
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:千金买邻
 干货   2019-11-12
 
推荐阅读
 
 
 
>>返回首頁<<
 
靜靜地坐在廢墟上,四周的荒凉一望無際,忽然覺得,淒涼也很美
© 2005- 王朝網路 版權所有