[收藏]在没有安装VS 2005的情形下怎么使用网站管理工具

本文介绍了一种技巧,使您能够在未安装Visual Studio 2005的IIS服务器上管理ASP.NET 2.0网站。通过安装.NET Framework 2.0并配置虚拟目录等步骤,可以实现这一目标。
摘要由CSDN通过智能技术生成

How to use Web Site Administration Tool without installing VS 2005

Hello everyone!! This one is a tweak to ensure that you are able to Administer your ASP.NET 2.0 web-site *without* installing Visual Studio 2005 on your IIS Server.

For that, you would need Framework 2.0 installed on your Server. If you don't have it, please install it from http://msdn.microsoft.com/netframework/downloads/updates/default.aspx.

Now, follow the instructions below...

1) In the box where you have VS 2005 installed, open an application which you want to Administer.
2) I am using File System to open the website and have called it WebSiteAdminister
3) Click on the ASP.NET Configuration button in your Solution Explorer's toolbox
4) Copy the URL (in my case, it is... http://localhost:2002/asp.netwebadminfiles/default.aspx?applicationPhysicalPath=C:/Inetpub/wwwroot/WebSiteAdminister/&applicationUrl=/WebSiteAdminister)
5) Now, go to the IIS Box where you don't have VS 2005 installed
6) Open IIS console (Click on Start -> Run, type Inetmgr and click OK)
7) Right-Click on your Default Web Site and say New -> Virtual Directory
8) Click on Next, give an Alias (WebSiteAdmin) and click Next
9) In the Directory text box browse to... "C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/ASP.NETWebAdminFiles" and click Next, Next and Finish
10) Right-click on WebSiteAdmin and hit properties
11) Click on the ASP.NET Tab and select 2.0.50727 as ASP.NET Version and click Ok
12) Copy the content of the website from the Development box to the IIS Server (I did it at "c:/inetpub/wwwroot/WebSiteAdminister")
13) Open an instance of Internet Explorer and in the Address Bar type... http://localhost/WebSiteAdmin/default.aspx?applicationPhysicalPath=C:/Inetpub/wwwroot/WebSiteAdminister/&applicationUrl=/WebSiteAdminister
14) You should be able to see ASP.NET Web Site Administration Tool (You can bookmark this so that you don't have to remember that string)
15) As you can see, we have removed the port number (2002) and changed asp.netwebadminfiles to our application WebSiteAdmin.

By the way, just to bring it to your notice, Administering you web site using the above technique is NOT supported at Microsoft. For support options at Microsoft, please visit... http://www.microsoft.com/services/microsoftservices/srv_support.mspx

Hope that helps!!

 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值