Asp.net托管问题 [英] Asp.net hosting Problem

查看:95
本文介绍了Asp.net托管问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请帮助我解决问题...

我托管的网站显示以下错误消息..

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



详细的错误信息
IIS Web Core模块
通知未知
处理程序尚未确定
错误代码0x80070005
配置错误由于权限不足而无法读取配置文件
配置文件\\?\ D:\ inetpub \ vhosts \ insidevizag.com \ httpdocs \ web.config





请帮助我解决问题..

Plz help me solve my problem...

I host the website its is showing the following error msg..

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 0x80070005
Config Error Cannot read configuration file due to insufficient permissions
Config File \\?\D:\inetpub\vhosts\insidevizag.com\httpdocs\web.config





Please help me to solve the problem..

推荐答案

错误似乎是您的站点无法访问web.config文件.首先,检查以确保那里有一个配置文件.接下来,检查对文件设置的权限.运行您的应用程序池的进程应该有权读取web.config文件.这是一个堆栈溢出问题,具有更多详细信息:

http://stackoverflow.com/questions/5615296/cannot-read- configuration-file-due-to-insufficient-permissions [ ^ ]

由于这是一个托管环境,因此可能有些事情超出了您的控制范围(不应该,但我已经看到了这种情况).如果是这种情况,则需要与您的托管公司联系以寻求帮助.但是,在完成上述解决方案并对其进行尝试之后,再进行此操作.
The error seems to be that your site does not have access to the web.config file. First, check to be sure there is a config file there. Next, check what the permissions are set to on the file. The process that runs your app pool should have access to read the web.config file. Here is a Stack Overflow question with more details:

http://stackoverflow.com/questions/5615296/cannot-read-configuration-file-due-to-insufficient-permissions[^]

Since this is a hosted environment, there may be some things that are outside your control (shouldn''t be, but I''ve seen it happen). If that is the case, you will need to contact your hosting company for help. However, don''t do that until after you have walked through the above solutions and tried them.


也可能值得检查文件的权限.如果您正在使用FileZilla访问服务器,请右键单击该文件,选择权限,然后选择任务的相关权限.为了节省时间,777启用了对文件的读取,写入和执行访问.
It may also be worth checking the permissions on your file. If you''re using FileZilla to access the server, right click the file, select permissions and then select the relevant permissions to your task. To save time 777 enables read, write and execute access for your file.


您好,
您需要仔细查看您的web.config文件,看起来您在HttpHandlers部分中可能有重复的行.

也可能是您有2个web.config文件,即根文件夹中的1个文件和imageserver文件夹中的2个文件,其中包含重复的条目.如果是这种情况,那么您有2个选择

1.从子目录的配置文件中删除重复的条目,因为子目录中的应用程序将自动继承根目录中的配置文件的设置

2.覆盖根文件夹中配置文件中的所有设置,然后删除子目录中的配置文件(这可能会更高级,因为您将需要使用标签为子目录中的应用程序指定任何应用程序特定的设置)
祝一切顺利.
--AK
Hi,
You need to take a close look at your web.config file, it looks like you may have a duplicate line in the HttpHandlers section.

It could also be that you have 2 web.config files i.e. 1 in the root folder and a second in the imageserver folder, with duplicate entries. If this is the case then you have 2 options

1. remove the duplicate entries from the config file in the subdirectory as the application in the sub directory will automatically inherit the settings form the config file in the root directory

2. mulch all the settings in the config file in the root folder and remove the config file in the subdirectory (this is probably a bit more advanced as you will need to use tags to specify any application specific settings for the application in the subdirectory)
All the best.
--AK


这篇关于Asp.net托管问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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