iis 500.19 error on unc path with colon char - iis

i have a web site on local disc and another on unc disk
i saw lots of 500 error on logs
i wanted to search the problem
problem is look like this
when i try to reach on local site
http://localhost/http://foo-bar.com
i get a 404 not found error
but
when i try to reach it on unc site
i get a 500.19 configuration error like this
Detailed Error Information:
Module IIS Web Core
Notification BeginRequest
Handler Not yet determined
Error Code 0x800700a1
Config Error Cannot read configuration file
Config File \\?\UNC\NAS1\SharedStorage\WebApplications\Default\www\http:\web.config
Requested URL http://localhost:80/http:/foo-bar.com
Physical Path \\NAS1\SharedStorage\WebApplications\Default\www\http:\foo-bar.com
Logon Method Not yet determined
Logon User Not yet determined
unc site has a full permission with administrative right
iis not started to use any modules before i get this error, so i cant use failed request tracing rule

Related

IIS error 403 not logged and showing unknown error page

When I try to access a page on my IIS web I get an error 403. The error is not logged to the log file and the error page shown is not the one that's defined in the config.
That's the content of the error page:
<html><head><title>403 Forbidden</title></head><body>Access denied</body>
Can anyone help me to find this error page and get the error logged?
The 403 Forbidden error is an HTTP status code that means that accessing the page or directory you were trying to reach is absolutely forbidden for some reason.
To resolve this issue, you need to enable directory browsing for your application. To enable directory browsing on IIS, check out the steps from this Microsoft document.
If you still can’t solve the problem, you can use failed request tracking to view detailed error information.

Http 403 error in Microsoft edge

I was getting "HTTP 403 error Microsoft Edge can’t get to this page", while launching an application from IIS in Windows 10. Please suggest a solution for this.
thanks
If all permissions are set and even though your website shows 403 forbidden, most likely the default page is not set for your website. With IIS, you can configure the default document as follows.
Connect to IIS.
Expand the sites and select the desired website.
From right hand side feature view, click on Default Document.
Set your desire default page and save the settings.
While you browse any website, IIS searches for the default page to be displayed. If the first default document is not available, IIS will look for the next default page from the list. When IIS is unable to find any match and directory listing is enabled for that particular website, IIS will show you the list of folders. If directory listing is disabled, IIS will return an HTTP Error 403 - Forbidden message to the browser.
If an empty application gives you a 403 I can think of two immediate reasons.
The permissions are wrong. You might need to give the application pool user (IIS AppPool\NAMEOFAPPPOOL with recommended configuration) read permission to the directory.
You don't have any content. If you try to access a directory in IIS you will get a 403. Add a file and try to access that directly, or a Default.aspx or index.html file to the directory you're trying to access.

IIS 404 error on file that exists

I use IIS 8 on windows server 2012 R2 .
when I Browse pages on IIS, some of them was shown, and some of them has occurred to 404 error:
The resource cannot be found.
Description: HTTP 404. The resource
you are looking for (or one of its dependencies) could have been
removed, had its name changed, or is temporarily unavailable. Please
review the following URL and make sure that it is spelled correctly.
I know that pages are exist and the name is correct.
I have this site on another computer too, that works well and open all pages correctly, but in this computer some pages have the above error. both computer have the same role and features on IIS .
what should I do ?

IIS 7.5 HTTP Error 500.19 - Internal Server Error. Live website is functioning but has a /test url unknown to our developers which gives error 500.19

I am an intern in an interactive media company, my employers have many websites they host for small businesses. When any of the websites URL's is accessed on the web it works great, altough when you place "/test" behind the url and enter it comes up with the 500.19 internal server error, stating the configuration file path is invalid. While it should just be giving the 404 error.
We did not create the /test site. We also have URL rewrite installed and functioning but we really need to know what is causing this error. As I said it needs to give a 404 error and than perhaps we can have it rewrite this URL.
If anyone has any idea what is going on here please help. Searching the web has yielded zero results. Below I will paste the full error report.
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:\Sites\vhosts\***********.com\httpdocs\test\web.config
Requested URL http://***.*************.com:80/test
Physical Path D:\Sites\vhosts\************.com\httpdocs\test
Logon Method Not yet determined
Logon User Not yet determined
Config Source
-1:
0:

500 Server Error on Classic ASP - Cannot get more details

Windows 2008 R2 Standard x64, with IIS 7.5
When trying to load any ASP page (in IE right on the server), I instantly receive a "HTTP/1.1 500 Server Error". I have un-ticked "show friendly error messages" in IE.
IIS Logs show:
"ASP_0147|500_Server_Error".
Event Viewer->Application gives me:
Error: ASP will not serve requests because it could not perform the first request initialization..
And finally, the usually helpful Failed Request Tracing gives me 2 entries:
ASP_LOG_ERROR (Labeled as ERROR)
LineNumber:
ErorrCode: ASP 0147
Description: 500 Server Error
MODULE_SET_RESPONSE_ERROR_STATUS (Labeled as WARNING)
ModuleName: IsapiModule
Notification: 128
HttpStatus: 500
HttpReason: Server Error
HttpSubStatus: 0
ErrorCode: 0
ConfigExceptionInfo:
Notification: EXECUTE REQUEST HANDLER
ErrorCode: The operation completed successfully. (0x0)
I have double-checked all permissions and accounts. I have switched the app pool pipeline mode back and forth. And of course, I removed the IIS role from the server, and reinstalled that and the ASP Role Service about 5 times. I also have the Error Pages setting at the site level to show "Detailed Errors". I get the same errors for every ASP page, including a test one that is nothing but a response.write.
The real kicker is that I had this working when I came in this morning. I don't know if I clicked something in IIS by mistake or what. I have scoured the web for the past 8 hours. Experts -- what happened?
A few steps that you may try:
Ensure that there is no global.asa file of 0 bytes.
Try creating a new web site only for test and see if that is also not working. Then put a text file and try browsing it. If a text file comes up good, it would mean your IIS is okay. Now, try ASP file with <%=Now%> and see if you get the latest time. If this doesn't work, then it is related with permissions. In that case, use Process Monitor to find out any Access Denied and fix it. Check this blog post.
The download links have changed: http://technet.microsoft.com/en-us/sysinternals/bb896645
Note: in case you don't see any access denied, try this
Start ProcMon
IISRESET
Browse .asp page again and check for Access Denied.

Resources