我在iis服务器运行网站时遇到错误 [英] i got the error in iis server run the website

查看:51
本文介绍了我在iis服务器运行网站时遇到错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

HTTP错误500.19 - 内部服务器错误

无法访问请求的页面,因为页面的相关配置数据无效。







模块IIS Web核心

通知BeginRequest

处理程序尚未确定

错误代码0x80070005

配置错误由于权限不足而无法读取配置文件


配置文件\\?\ C:\ Users\Administrator\Documents\Visual Studio 2012 \WebSites\WebSite16\web.config

请求的URL http:// localhost:80 / MyApp / Default.aspx

物理路径C:\ Users \Administrator \Documents\Visual Studio 2012 \WebSites\WebSite16 \Default.aspx

登录方法尚未确定

登录用户尚未确定

配置来源

-1:

0:







Web.config f ile代码







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



Module IIS Web Core
Notification BeginRequest
Handler Not yet determined
Error Code 0x80070005
Config Error Cannot read configuration file due to insufficient permissions

Config File \\?\C:\Users\Administrator\Documents\Visual Studio 2012\WebSites\WebSite16\web.config
Requested URL http://localhost:80/MyApp/Default.aspx
Physical Path C:\Users\Administrator\Documents\Visual Studio 2012\WebSites\WebSite16\Default.aspx
Logon Method Not yet determined
Logon User Not yet determined
Config Source
-1:
0:



Web.config file code



<?xml version="1.0" encoding="UTF-8"?>
<!--
  For more information on how to configure your ASP.NET application, please visit
  http://go.microsoft.com/fwlink/?LinkId=169433
  -->
<configuration>
  <appSettings>
      <add key="ValidationSettings:UnobtrusiveValidationMode" value="None" />

    </appSettings>
  <system.web>

    <compilation debug="true" targetFramework="4.5" />
    <httpRuntime targetFramework="4.5" />
  </system.web>

    </configuration>

推荐答案

Hello Dipesh



您收到此错误是因为您的网站物理位置没有足够的权利,因此您需要将您的网站物理位置更改为您拥有足够权利的任何其他位置,尝试访问



你能按照以下步骤检查出来吗...







1)首先你需要改变你网站的实际位置



你当前的位置是......



C:\ Users \Administrator\Documents\Visual Studio 2012\WebSites\WebSite16 \



你可以将所有东西从那个位置复制到你的D:\或类似的东西,你有足够的权限运行你的项目



2)在你的视觉工作室打开你的网站(如果你试图从它运行你的网站)或只是改变你的网站的物理位置到您的新位置



3)现在尝试访问您的网站。
Hello Dipesh

You got this error because, your website Physical location is not having sufficient rights, so you need to change your website physical location to any further location where you have sufficient rights, the try to access

can you please follow below steps and check it out...



1) First of all you need to change physical location of your website

your current location is ...

C:\Users\Administrator\Documents\Visual Studio 2012\WebSites\WebSite16\

can you copy all the stuff from that location to your D:\ or something like that, where you have sufficient permission to run your project

2) Open your website in your visual studio (if you are try to run your website from it) or just change your Physical location of your website to your new location

3) now try to access your website.


这篇关于我在iis服务器运行网站时遇到错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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