VS2005用了好多年,最近直接换了VS2010,更换后出现问题。环境我说明一下。我自己的开发环境是WIN2008,IIS7.0,在安装VS2010时候,自动帮我装上了framework 4.0,装好后我打开其中一个旧的项目,提示说2.0的太旧需要转换成.net 4.0的,转好后我把IIS7.0里的该项目也设置成4.0,测试通过,能通过IE正常浏览。然后我把改项目移植到正式服务器上。正式服务器是比较老旧的系统,win2003r2,IIS6.0,跑着很多.net 2.0的东西。我把这个项目的dll文件覆盖过去(因为转换后dll文件发生了变化),然后把IIS里.net版本改成4.0,系统给了一个提示changing the framework version requires a restart of the W3SVC service. Alternatively, you can change the Framework version without restarting the W3SVC service by running: aspnet_regiis.exe -norestart -s iis-viirtual-path我按要求运行了一下C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319>aspnet_regiis.exe -norestart -s w3svc/1/root
提示
Start registering ASP.NET (4.0.30319) recursively at w3svc/1/root.
Finished registering ASP.NET (4.0.30319) recursively at w3svc/1/root.重启了World Wide Web Publishing Service服务,然后预览,失败。页面打不开,说无法找到该页
求助,不知道哪里弄错了
提示
Start registering ASP.NET (4.0.30319) recursively at w3svc/1/root.
Finished registering ASP.NET (4.0.30319) recursively at w3svc/1/root.重启了World Wide Web Publishing Service服务,然后预览,失败。页面打不开,说无法找到该页
求助,不知道哪里弄错了
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货