Server Error in '/' Application (Configuration Error) - asp.net

I;m getting this error message in my website when I try to use my website login screen.
An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
** Source File: C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\machine.config Line: 284 **
**Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.1069.1 **
Note the following:
1. Other pages that do not require login are working fine
2. The customErrors is set to Off
3. The website is hosted through Plesk Web Host Edition

This is default IIS error page for all HTTP 500 errors.
By default IIS doesn't show real error to remote users.
If you can open this page from your server you will see actual error. I mean connect to server via RDP, open browser, open this website.
Or in Plesk 12.5 or above you can try feature Failed Request Tracing which generates detailed report of each error:

Related

iis 7 site not working on iis 8.5

I have a .NET Framework 4 site hosted by IIS 7 on a Windows Server 2008 machine. It works well. When I created a new site with IIS 8.5 on Windows Server 2012 machine referring to the same physical path, the new site returns this error:
HTTP Error 404.0 - Not Found
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.
Most likely causes:
The directory or file specified does not exist on the Web server.
The URL contains a typographical error.
A custom filter or module, such as URLScan, restricts access to the file.
Things you can try:
Create the content on the Web server.
Review the browser URL.
Create a tracing rule to track failed requests for this HTTP status code and see which module is calling SetStatus. For more information about creating a tracing rule for failed requests, click here.
Detailed Error Information:
Module IIS Web Core
Notification MapRequestHandler
Handler StaticFile
Error Code 0x80070002
Requested URL http://localhost:9009/Migrate/LBEService/Service1.svc/GetAuthenInfo
Physical Path \\FILESERVER\tech_share\Sites\LBS_ADOT2\Migrate\LBEService\Service1.svc\GetAuthenInfo
Logon Method Anonymous
Logon User Anonymous
More Information:
This error means that the file or directory does not exist on the server. Create the file or directory and try the request again.
View more information »
What could be the issue causing the error?
Your IIS worker process identity is not able to read the path .
Please make sure your application pool identity has access to the UNC path
\FILESERVER\tech_share\Sites\LBS_ADOT2\Migrate\LBEService\
You can check the identity is same as in the working machine
https://technet.microsoft.com/en-us/library/cc771170(v=ws.10).aspx

IIS 7.0 configuration issue in Windows Server 2008

I have configured the IIS / our web application in two Windows 2008 Server. One is working fine and the other one is facing User Rights / Security Issue.
Error Message from Server # 2 :
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
When i compared with Server # 1, i am missing the ASP.Net in the Server # 2.
I wonder that might cause the issue.
I was able to find the solution for the IIS Configuration Issue.
Go to Control Panel\Programs and Features
Click : Turn Windows Features On or Off
Under Server Manager : - Click Roles
Add Role Servers, Select Role Services - Check Application Development (ASP.Net) and continue the Installation.
This solved my purpose.

Runtime Error on Website (asp.net versions mismatch)

I'm quite new to this and was playing around with a website today. I decided that, since I had tinkered with most pages I'd just upload the whole thing via Filezilla anew but when I tried to access the website afterwards I only got this:
Server Error in '/' Application.
Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".
I have backups and tried uploading them (again - the whole thing) but its coming up with the same error. What should I do to get my site back online?
Check the application pool the website is using matches the .net framework version site was developed using. Amend the IIS application pool to match and restart the site.

ASP.NET Web Application gives HTTP Error 500.21 - Internal Server Error.

I have hosted a WEB Api application in local and on "Browse" i am getting below error. Pals, Please help on it.
Error Summary
HTTP Error 500.21 - Internal Server Error
Handler "ExtensionlessUrlHandler-Integrated-4.0" has a bad module "ManagedPipelineHandler" in its module list
Detailed Error Information
Module
IIS Web Core
Notification
ExecuteRequestHandler
Handler
ExtensionlessUrlHandler-Integrated-4.0
Error Code
0x8007000d
Requested URL
http://localhost:8082/
Physical Path
D:\WEB API Publish
Logon Method
Anonymous
Logon User
Anonymous
Most likely causes: •Managed handler is used; however, ASP.NET is not installed or is not installed completely.
•There is a typographical error in the configuration for the handler module list.
Things you can try: •Install ASP.NET if you are using managed handler.
•Ensure that the handler module's name is specified correctly. Module names are case-sensitive and use the format modules="StaticFileModule,DefaultDocumentModule,DirectoryListingModule".
I ran into this error when .NET 4.5 was installed but not under the IIS role. Try following these steps:
Open Server Manager -> Add Roles and Features.
Click next until you get to the “Server Roles” page.
Scroll down to “Web Server (IIS)” and expand it.
Expand Web server -> expand Application Development.
Check the option for ASP.NET 4.5 and hit yes to the additional components pop-up.

IIS 7.5, ASP.NET MVC. HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfil

I have a MVC3 web site, which works well on IIS Express, but after publishing to IIS 7.5 I got that weird error. The full error message is:
HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.
I published using 'File system' method, for web site I created a separate site in IIS, separate application pool with .NET 4.0 and Integrated mode.
Can you help me diagnose that problem?
I assume you're using Chrome as your web browser? This is the default error page Chrome displays when it receives a 500 HTTP response from the server with no content.
You need to find the cause of this error. Open the Event Viewer (Win+R, type "eventvwr.msc", click OK). Expand "Windows Logs" and click "Application". Look for an error or warning that relates to IIS, W3SVC or similar. It's likely an error that's occurring before the request reaches the .NET pipeline.

Resources