HTTP Error 500.19 - Internal Server Error - 0x80070003 - iis-8

When I attempt to run a website I receive the following error message:-
"The requested page cannot be accessed because the related
configuration data for the page is invalid."
I am Using IIS8.5
At the bottom of the error message there is further information that indicates that the error lies within the web.config file. I have had a look at the file but cannot find anything of note?
Detailed Error Information:
Module IIS Web Core
Notification Unknown
Handler Not yet determined
Error Code 0x80070003
Config Error Cannot read configuration file
Config File \\?\D:\Inetpub\SupplierSearch\web.config
Config Source:
-1:
0:
Any assistance will be nuch appreciated.
Regards Peter

Related

1and1 windows hosting, web.config permissions

I'm trying to publish my ASP.NET 4.6 MVC website project to 1and1, but keep receiving this error page.
https://i.stack.imgur.com/njzRx.png
If this link doesn't work, here's the error details:
"HTTP Error 500.19 - Internal Server Error"
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 - \www\Home\web.config
Oddly enough, when I try to publish the sample website when you start a new project, the same error occurs. When I open the hosting service's file explorer and check the permissions on the web.config file, the IIS_IUSRS already has read and read/execute permissions.
Is there another config file that needs to be edited or have its permissions changed?

HTTP Error 500.19 config file path does not exist

Error Summary
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 BeginRequest
Handler Not yet determined
Error Code 0x80070003
Config Error Cannot read configuration file
Config File \?\D:\Company\ABC\web.config
Requested URL http://localhost:80/services/application/cardmanagement
Physical Path D:\ABC\DEF\Website.Hosts
Logon Method Not yet determined
Logon User Not yet determined
Config Source
-1:
0:
I am getting this strange error when I try to browse the service. Problem is Physical path is correct but config path is even does not exist in my machine where all applications and iis installed. So I am surprised from where its taking that path and how to correct it.

Deploying MVC 4 Application under IIS8 : HTTP Error 404.0 - Not Found

I'am running windows server 2012 with IIS8.
I just try to add a newly created MVC4 application with visual studio 2012 as a virtual directory in IIS 8 and then convert it into an application.
First I get this error :
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 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\Projects\MvcApplication2\MvcApplication2\web.config
Requested URL http://localhost:80/mvc
Physical Path C:\Users\Administrator\Documents\Visual Studio 2012\Projects\MvcApplication2\MvcApplication2
Logon Method Not yet determined
Logon User Not yet determined
I searched for the solution and I founded that I have to grant Read permission on the application folder for IIS_IUSRS
I did it ! then I have this error now :
HTTP Error 404.0 - Not Found
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.
Detailed Error Information:
Module IIS Web Core
Notification MapRequestHandler
Handler StaticFile
Error Code 0x80070002
Requested URL http://localhost:80/mvc/Account/Login?ReturnUrl=%2fmvc
Physical Path C:\Users\Administrator\Documents\Visual Studio 2012\Projects\MvcApplication2\MvcApplication2\Account\Login
Logon Method Anonymous
Logon User Anonymous
What's wrong ??
Thank you !

500.19 internal server error

I am currently trying to add Blogengine to a web page. I have used web platform installer. when I try to view the blog it gives me this error.
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 \\?\c:...\httpdocs\web.config
Requested URL http://..../Blog/
Physical Path
Logon Method Not yet determined
Logon User Not yet determined
I have given read permisions to the web.config file but it still doesn't run

Service reference error when moving dev. environment from XP to W7

I am building an application and I am using web services for getting data from a server. It was working fine when I was developing on my XP machine but had to switch to Windows 7. On the new machine I grabbed the latest version of the code using sourcesafe.
However, when I try to add a service reference in the solution or update an existing one I get the following error:
There was an error downloading 'http://localhost:52490/Service/CustomerService.asmx'.
The request failed with the error message:
Server Error in '/' Application.
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Could not create type 'Digital_Server.CustomerService'.
Source Error
Source File: /Service/CustomerService.asmxLine: 1
Version Information: Microsoft .NET Framework Version:2.0.50727.4927; ASP.NET Version:2.0.50727.4927
--.
Metadata contains a reference that cannot be resolved: 'http://localhost:52490/Service/CustomerService.asmx'.
An error occurred while receiving the HTTP response to http://localhost:52490/Service/CustomerService.asmx. This could be due to the service endpoint binding not using the HTTP protocol. This could also be due to an HTTP request context being aborted by the server (possibly due to the service shutting down). See server logs for more details.
The underlying connection was closed: An unexpected error occurred on a receive.
Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
An existing connection was forcibly closed by the remote host
If the service is defined in the current solution, try building the solution and adding the service reference again.
Does it has anything to do with the IIS or is it any configuration file I have to change in the solution?
Any help is appreciated.
How do you deploy your app to the server? Via a zip file?
Perhaps it extracts the files without the path.