如何在IIS上正确发布网站? [英] How to publish website on IIS properly?

查看:53
本文介绍了如何在IIS上正确发布网站?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Experts,



我有一个内置于VS2008的Web应用程序。我有完整版的VS2008。所以我点击了vS2008构建菜单上的发布网站。我在底部得到了成功的消息。现在我想将该位置指向IIS7.5。我添加了一个网站,指出该位置是已发布的位置。当我浏览时,我得到以下。

 HTTP错误500.19  - 内部服务器错误
无法访问请求的页面,因为页面的相关配置数据无效。 / pre>

详细错误信息
模块IIS Web核心
通知未知
处理程序尚未确定
错误代码0x8007000d
配置错误
配置文件\\?\ C:\ MFI web\web.config
请求的URL http://192.168.2.83:80/
物理路径
登录方法尚未确定
登录用户尚未确定





请说Google it 。我尝试了一切,最终没有解决方案。

任何人都可以帮我这个吗?

解决方案

Phewww ...

 启动 命令 提示   -   开始   -    cmd  exe  
cd C:\ Windows \ MyMicrosoft.NET \ Framework64 \ v2。 0 50727
aspnet_regiis - ir





这解决了我的问题。我刚从这里试了一下 http://www.bitshop.com/Blogs/tabid/95/EntryId/110/-Net-wont-run-HTTP-Error-404-17-Not-Found.aspx [<一个href =http://www.bitshop.com/Blogs/tabid/95/EntryId/110/-Net-wont-run-HTTP-Error-404-17-Not-Found.aspx\"target =_ blanktitle =新窗口> ^ ]



最后它在搜索3小时后起作用。


Hello Experts,

I have a web application built in VS2008. I have full version of VS2008. So I clicked on publish website on vS2008 build menu. I got success message at the bottom. Now I want to direct that location to IIS7.5. I added a website on pointed the location as the published location. When I browse I get below.

HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.


Detailed Error Information
Module	IIS Web Core
Notification	Unknown
Handler	Not yet determined
Error Code	0x8007000d
Config Error	
Config File	\\?\C:\MFI web\web.config
Requested URL	http://192.168.2.83:80/
Physical Path	
Logon Method	Not yet determined
Logon User	Not yet determined



Please do say Google it. I tried everything and ended up with no solution.
Can anyone help me with this?

解决方案

Phewww...

Launch Command Prompt - Start - cmd.exe
 cd C:\Windows\Microsoft.NET\Framework64\v2.0.50727
 aspnet_regiis -ir



This solved my problem. I just tried it from here http://www.bitshop.com/Blogs/tabid/95/EntryId/110/-Net-wont-run-HTTP-Error-404-17-Not-Found.aspx[^]

Finally it worked after 3 hrs of searching.


这篇关于如何在IIS上正确发布网站?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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