aspx页面不适用于iis7 [英] aspx pages not working on iis7

查看:102
本文介绍了aspx页面不适用于iis7的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在本地服务器上的My MVC应用程序中添加了一些aspx页面(调试)这些页面工作正常但是在使用iis7的服务器上部署时这些页面不起作用我也没有收到任何错误消息可能是什么问题.. .....

I have added some aspx pages in My MVC application on local server(debugging) these pages are working fine but while deploying on server with iis7 these pages are not working neither i am getting any error message what could be the problem.......

推荐答案

首先检查一下web.config是否存在?



其次你曾经在你现在的iis上使用过mvc app并让它工作。



如果你第一次做你可能需要做的事
first have you checked that the web.config is there??

secondly have you used mvc app on your current iis before and have it work.

if you are doing first time you may need to do
aspnet_regiis -i





来自你的



from inside your

C:\Windows\Microsoft.NET\Framework64\v4.0.30319





但是对于你当前版本的.net



but for you current version of .net


这篇关于aspx页面不适用于iis7的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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