如何才能为ASP.Net 2.0手动配置我的网站以使其正常运行? [英] How can i manually configure my web site for ASP.Net 2.0 in order to run correctly ?

查看:134
本文介绍了如何才能为ASP.Net 2.0手动配置我的网站以使其正常运行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我使用VS2008和IIS 5.1.我有一个ASP.net Web应用程序,该应用程序配置为另一个系统的IIS.所以我复制了该Web应用程序并尝试在另一个系统中进行调试.安装IIS之后,我重新打开了我的网站(ASP.net应用),但它会抛出类似
的错误 为此Web应用创建虚拟目录失败,因此您需要
手动配置它以便该ASP.net网站正确运行它."

那么如何为我的应用程序手动配置它呢?

在此先感谢

Naveen ...

Hi all ,

Im using VS2008 and IIS 5.1 .I have an ASP.net web application ,which is configured to IIS of another system.So i have copied that web application and trying to debug in another system.After installing IIS ,i re-opened my website (ASP.net app) ,But it throws error like
"Creation of virtual directory for this web app failed ,So you need to
configure it manuaaly for this ASP.net web site to run it correctly".

So how can i configure it manually for my application ???

Thanks in advance

Naveen...

推荐答案

再次运行aspnet_regiis,它将解决您的问题.

C:\ WINDOWS \ Microsoft.NET \ Framework \ v2.0.50727 \ aspnet_regiis.exe -u

然后用

C:\ WINDOWS \ Microsoft.NET \ Framework \ v2.0.50727 \ aspnet_regiis.exe -i
run again aspnet_regiis it will solve your problem.

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\ aspnet_regiis.exe -u

then used

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\ aspnet_regiis.exe -i


这篇关于如何才能为ASP.Net 2.0手动配置我的网站以使其正常运行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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