国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學院 > 開發設計 > 正文

ORLAND.DATA.ORACLE不匹配錯誤

2019-11-18 18:00:29
字體:
來源:轉載
供稿:網友
 

我在應用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服務器上,要拷哪些文件,分別放在什么目錄中


上一篇:最短路徑(校園導游)的簡單算法

下一篇:DLL、BPL與字符串傳遞

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
學習交流
熱門圖片

新聞熱點

疑難解答

圖片精選

網友關注

主站蜘蛛池模板: 巴楚县| 绩溪县| 固安县| 峨山| 梨树县| 嵊泗县| 天全县| 荆门市| 南陵县| 长沙县| 花莲县| 双峰县| 五家渠市| 屏南县| 周宁县| 灯塔市| 翁源县| 乐平市| 萍乡市| 大化| 诸城市| 宁海县| 刚察县| 上饶县| 衡水市| 三门县| 分宜县| 云阳县| 永泰县| 来凤县| 金阳县| 东丽区| 涿鹿县| 麻阳| 紫云| 丰城市| 定远县| 天峻县| 垦利县| 红安县| 连平县|