在IIS中发布ASP.NET Web应用程序 [英] Publishing an ASP.NET Web Application in IIS

查看:75
本文介绍了在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应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆