IIS中的ASP Web项目设置 [英] ASP web project setup in IIS

查看:59
本文介绍了IIS中的ASP Web项目设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经为我的ASP Web项目创建了一个websetup,然后将该项目解链到另一个系统.问题是我的CSS没有显示,我只能访问我的登录页面和主页.当我尝试浏览其他页面时,出现错误.

错误摘要
HTTP错误404.0-找不到
您要查找的资源已被删除,名称已更改或暂时不可用.


IIS Web Core模块
通知MapRequestHandler
处理程序StaticFile
错误代码0x80070002
请求的URL http://localhost:80/EmployeeMgmt.aspx
物理路径C:\ inetpub \ wwwroot \ EmployeeMgmt.aspx
登录方法匿名
登录用户匿名.

我不知道哪里出了问题.
任何人都可以对此事发表一些看法.

I have created a websetup for my ASP web project and depolyed the project to another system. the problem is my css doesnt show up and i can access only my LOGIN page and HOME page. When i try to navigate other pages i get an error.

Error Summary
HTTP Error 404.0 - Not Found
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.


Module IIS Web Core
Notification MapRequestHandler
Handler StaticFile
Error Code 0x80070002
Requested URL http://localhost:80/EmployeeMgmt.aspx
Physical Path C:\inetpub\wwwroot\EmployeeMgmt.aspx
Logon Method Anonymous
Logon User Anonymous.

I have no idea where it went wrong.
Can anybody please throw some light in this matter.

推荐答案

尝试在web.config文件的模块部分中添加runallmanagedmodulesforallrequests ="true".
Try adding runallmanagedmodulesforallrequests="true" in modules section of the web.config file.


这篇关于IIS中的ASP Web项目设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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