简体   繁体   English

在IIS 7.5(Windows 2008 R2)上部署Web应用程序

[英]Deploying a Web Application on IIS 7.5 (Windows 2008 R2)

I am having a problem deploying my asp.NET 4.0 web application on the web server. 我在Web服务器上部署asp.NET 4.0 Web应用程序时遇到问题。 One of the problems is that when deploying, by going to Publish...Select FileSystem...Set the Target Location of the Server , this does not copy all the references (the only dll's which are there are the class libraries which I created), for example OracleDataReader dll. 问题之一是,在部署时,通过转至发布...选择文件系统...设置服务器的目标位置,这不会复制所有引用(唯一的dll就是我创建的类库) ),例如OracleDataReader dll。

Any ideas why this is happening? 任何想法为什么会这样? should I be doing something different? 我应该做些不同的事情吗?

Right-click on OracleDataReader.dll assembly in "Solution Explorer", select "Properties" and set "Copy Local" to "true". 右键单击“解决方案资源管理器”中的OracleDataReader.dll程序集,选择“属性”,并将“复制本地”设置为“ true”。 This will copy the assembly to bin . 这会将程序集复制到bin

确保已将所需的这些DLL的“ Copy Local设置为true

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Windows Server 2008 R2和IIS7.5中的主机WCF - Host WCF in Windows server 2008 R2 and IIS7.5 在Windows Server 2008 R2上使用IIS7.5使用TLS1.2发出请求 - make a request with TLS1.2 using IIS7.5 on Windows Server 2008 R2 使用 asmx 的简单 helloworld WebService 在 Windows 2008 R2 IIS 7.5 上发布时不起作用 - Simple helloworld WebService using asmx not working when published on Windows 2008 R2 IIS 7.5 IIS 7.5 Windows Server 2008 R2 偶尔会从不同帐户返回页面 - IIS 7.5 Windows Server 2008 R2 Very occasionally returns page from different account 部署使用Asp.Net,C#和Sql Server 2008 R2构建的Web应用程序 - Deploying an Web Application built using Asp.Net,C# and Sql Server 2008 R2 在 IIS 7 Windows Server 2008 R2 Enterprise SP2 上激活 MVC Web 站点 - Activate MVC Web site on IIS 7 Windows Server 2008 R2 Enterprise SP2 偏移 sql 和 EF 在 IIS 7.5 中与 win server 2008 R2 不兼容 - OFFSET sql and EF Skip no compatibility in IIS 7.5 with win server 2008 R2 如何在Windows Server 2008 R2 Enterpresi和.NET中的Web应用程序上设置TLS证书? - How can I setup TLS certificate on Windows Server 2008 R2 Enterpresi and Web application in .NET? 在 Windows Server 2012 R2 上构建的应用程序在 Windows Server 2008 R2 上失败 - Application built on Windows Server 2012 R2 fails on windows server 2008 R2 在IIS7.5上的Windows 2008R2上使用Telerik RadCaptcha出现404错误 - 404 error using telerik RadCaptcha on Windows 2008R2 on IIS7.5
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM