在IIS中发布ASP.NET Web应用程序

编程入门 行业动态 更新时间:2024-10-18 08:30:18
本文介绍了在IIS中发布ASP.NET Web应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我有一个用VS2010 ASP.NET C#制作的网站。我刚刚运行了Publish Web Site工具并将其保存在我的桌面上。我已将其复制到服务器桌面。这是我被困的地方。服务器是2003服务器,上面有IIS。它还有其他网站在运行。我已经使用谷歌的帮助,并按照每个步骤的信息,如何将其添加到IIS,但它仍然无法正常工作。有人可以帮我吗?

I have a website that was made with VS2010 ASP.NET C#. I just ran the Publish Web Site tool and have it saved on my desktop. I have copied it to the server desktop. This is where I am stuck. The server is a 2003 server with IIS on it. It also have other websites running on it. I have used Google for help with this and followed every step by step information on how to add this to IIS but it still will not work. Can someone help me with this?

推荐答案

步骤1:创建Web应用程序的预编译版本。 步骤2:转到C: \inetpub \ www.root文件夹 步骤3:创建文件夹'您的站点名称' 步骤4:打开IIS 步骤5:创建一个新网站。弹出窗口将会出现。 步骤6:将物理路径设置为C:\inetpub \wwwroot \ youry site name 步骤7:检查访问权限 步骤8:设置端口名称有点像600 步骤7:这将在服务器内创建一个虚拟目录。 步骤8 :转到应用程序池,将有一个应用程序列表。 步骤9:选择您为站点提供的名称。 步骤10:请检查.NET版本。 步骤11:保存步骤12:打开Internet Explorer。更改代理接受端口600 步骤13:URl:您的站点名称 步骤14:这是解决方案 我在IIS 7中使用过这种方法。这适用于所有IIS版本。只有界面会有所不同。 Step 1 : Create precompiled version of your web application. Step 2 : Go to C:\inetpub\wwwroot folder Step 3 : Create a folder 'Your Site Name' Step 4 : Open IIS Step 5 : Create a new Website. A popup will come up. Step 6 : set the physical path to C:\inetpub\wwwroot\your site name Step 7 : Check the access permissions Step 8 : Set the port Name some thing like 600 Step 7 : This will create a virtual directory inside the server. Step 8 : Go to Application pool, There will be a list of Application. Step 9 : Select the name that you provided for your site. Step 10: Please check the .NET version. step 11 : save step 12 : open internet explorer.Change the proxy to accept port 600 step 13 : URl : Your site name Step 14 : This is the solution I have used this method in IIS 7. This will work in all IIS versions. Only the interface will be different.

更多推荐

在IIS中发布ASP.NET Web应用程序

本文发布于:2023-06-03 10:09:11,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/473805.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:应用程序   ASP   IIS   Web   NET

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!