delphi2005项目文件转移发布问题?

wxyidong 2005-04-28 04:01:09
delphi2005项目在本机IIS调试通过后,如何转移发布到运行的WEB服务器上?要把项目文件夹中哪些东东发布到WEB服务器上?
...全文
116 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
wxyidong 2005-04-29
  • 打赏
  • 举报
回复
dll文件放到bin目录下吗?我有一个ORACLE的数据库BDP连接,提示要BORLAND.DATA.ORACLE.DLL文件上,可是在References里没有该Dll文件,而且拷上去提示如下错误:
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
aoeiuvcom 2005-04-28
  • 打赏
  • 举报
回复
bin目录的Bin文件
References里非System开头的Dll文件
*.aspx文件
global.asax
web.config

所有的bin文件一定要上传到Web服务器的某虚拟目录下的bin目录
然后可能要修改web.config,就差不多可以了

1,979

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 其他语言讨论
社区管理员
  • 其他语言社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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