Iis 6 Virtual Directory 500 Error On Remote Share
Contents |
Web Platform Installer Get Help: Ask a Question in our Forums More Help Resources Blogs Forums Home IIS.NET Forums IIS 5 & IIS 6 Troubleshooting HTTP 500 iis virtual directory 500 internal server error errors accessing virtual directory HTTP 500 errors accessing virtual directory [Answered]RSS 5
Iis 500 Internal Server Error
replies Last post Oct 29, 2009 06:42 PM by slikchucky ‹ Previous Thread|Next Thread › Print Share Twitter iis logs Facebook Email Shortcuts Active Threads Unanswered Threads Unresolved Threads Advanced Search Reply Russ_Kauk 3 Posts HTTP 500 errors accessing virtual directory Oct 21, 2009 07:45 PM|Russ_Kauk|LINK I hope that someone unc here can help with what should be a simple problem. We have a web server running on machine a - let's call it machine a. From that web server we need to access a share on machine b - let's call it machine b. We simply want to put pdf documents in the share that can be accessed from a web client via the path http://domain.com/pdf/document.pdf. We've created a virtual directory (pdf) in IIS 6.0 that points to the share and can verify that this is set up properly - pointed to a share on a network server and with proper login credentials since we can browse this share just fine from within the IIS manager. The problem occurs when trying to access a document via the client as described above. We get an http 500 error. The resulting log file entries are as shown below: #Software: Microsoft Internet Information Services 6.0 #Version: 1.0 #Date: 2009-10-21 23:14:51 #Fields: date time s-sitename s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status 2009-10-21 23:15:02 W3SVC1 10.0.1.24 GET /pdf/111455.1.pdf - 80 - 10.0.1.50 Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-US;+rv:1.9.1.3)+Gecko/20090824+Firefox/3.5.3+(.NET+CLR+3.5.30729) 500 16 1326 The subcode 16 "UNC Authorization Credentials" and the Win32 code 1326 "Unknown User Name or Bad Password" would indicate that we don't quite have something set up correctly yet. We've added a user IUSR_machinea login to machineb and given this user account read privileges to the share. We've also gone into the properties fo
or Website configured for a UNC path ★★★★★★★★★★★★★★★ Rakki Muthukumar (rakkim)January 8, 20075 Share 0 0 Problem You get “HTTP Error 500 - Internal server error” while browsing any file under a website or virtual directory whose home directory is a UNC. You will also see in IIS logs, the sc-status sc-substatus sc-win32-status as 500 16 1326. Cause Unknown user name or password configured for the UNC in IIS Metabase. Resolution This “HTTP Error 500 - Internal server error” error occurs only when you have the website or the virtual directory configured for an UNC and it uses specific user name and password to connect to the UNC (not the logon https://forums.iis.net/t/prev/1161890 user credentials). Give correct username and password for connecting the UNC share on the IIS Manager -> Website or Virtual Directory properties -> Home Directory or Virtual Directory -> Connect As -> Network Directory Security Credentials window. Alternatively you can also set UNCUserName and UNCPassword properties on IIS Metabase for the website or the virtual directory when you have this problem.
Tags 500 Internal Server Error IIS 6.0 Comments (5) Cancel reply https://blogs.msdn.microsoft.com/rakkimk/2007/01/08/http-error-500-internal-server-error-for-any-page-on-the-virtual-directory-or-website-configured-for-a-unc-path/ Name * Email * Website Cory ONeill says: April 8, 2009 at 1:04 pm THANK YOU, THANK YOU, THANK YOU!!! I was just about to call MS support, but this saved me! Thanks again for taking the time to post this! Reply Rakki Muthukumar (rakkim) says: April 8, 2009 at 1:45 pm You are welcome Corey! Glad I was of little help! Reply Bhavika says: October 13, 2009 at 10:36 am I am trying to put custom page for error 500 in IIS Reply Bhavika says: October 13, 2009 at 10:37 am I am trying to put custom error page for error 500 Reply Mathew says: November 19, 2009 at 9:07 am Thank you Rakki Mutthu.. this has helped me after i broke something on the IIS webserver Reply Follow UsPopular TagsIIS7 IIS7 : HOW TO ASP.NET IIS 6.0 IIS Windows Azure Web Sites Windows Azure Visual Studio Microsoft Azure ISAPI Filters IIS 7 C# FREB Logging ADSUTIL AJAX Metabase Web Debugging ISAPI Archives October 2014(2) July 2014(3) June 2014(2) May 2014(2) April 2014(2) March 2014(1) February 2014(3) January 2014(4) November 2013(1) July 2013(1) All of 2014(19) All of 2013(2) All of 2011(3) All of 2010(3) All of 2009(21) All of 2008(36) All of 2007(41) All of 2006(9) Privacy & Cookies Terms of Use Trademarks © 2016 MicrosoftStart here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this http://serverfault.com/questions/279414/permissions-issue-with-virtual-directory-to-unc-path site About Us Learn more about Stack Overflow the company Business Learn more https://www.experts-exchange.com/questions/22905781/IIS-Virtual-Directory-to-access-UNC-Share.html about hiring developers or posting ads with us Server Fault Questions Tags Users Badges Unanswered Ask Question _ Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer virtual directory The best answers are voted up and rise to the top Permissions issue with virtual directory to UNC path up vote 8 down vote favorite 3 I have a virtual directory in my site (test environment). It is a UNC share which is also used as a public FTP. It is configured to connect as a domain admin account and "Test settings" says everything appears virtual directory 500 to be working. However when I try to connect to it I get: 500 - "Failed to start monitoring changes on \INTRANET\FTP\test\web.config because access was denied" This is an ASP.NET YSOD. I am not sure why ASP.NET is getting involved at all as it's a static .jpg file I'm requesting. I tried turning on failed request tracing and this is the specific error: ModuleName WindowsAuthentication Notification 2 HttpStatus 500 HttpReason Internal Server Error HttpSubStatus 0 ErrorCode 0 ConfigExceptionInfo Notification AUTHENTICATE_REQUEST ErrorCode The operation completed successfully. (0x0) If I change the "Physical Path Logon Type" from ClearText to Network. I get the following IIS 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 \?\UNC\INTRANET\FTP\test\web.config Requested URL http://test.mydowmain.com:80/uploads/images/ca49acf6-6174-412e-8abd-59fab983e931.jpg Physical Path \INTRANET\FTP\test\images\ca49acf6-6174-412e-8abd-59fab983e931.jpg Logon Method Not yet determined Logon User Not yet determined Failed Request Tracing Log Directory C:\inetpub\logs\FailedReqLogFiles This does not generate a failed request log strangely enough - I have set the
for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Ask a Question Ask for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Expand Search Submit Close Search Login Join Today Products BackProducts Gigs Live Careers Vendor Services Groups Website Testing Store Headlines Experts Exchange > Questions > IIS Virtual Directory to access UNC Share Want to Advertise Here? Solved IIS Virtual Directory to access UNC Share Posted on 2007-10-19 Microsoft IIS Web Server Web Applications SBS 1 Verified Solution 8 Comments 6,815 Views Last Modified: 2011-01-09 Hi, I've seen a few variations of this question here but I can't seem to get this to work. I have a webserver running IIS 6 and an SBS2003 server that I want to use to share a folder. This folder will be used to store sensitive personal files inside our DMZ. The share should be set up as a Virtual Directory under the web site root. What I tried was: On the SBS2003 server: 1. Created a new user account on the SBS2003 server with username = webapp 2. Create the folder to be shared. 3. Modified permissions on the folder to give full access to the webapp user 4. Shared the folder as WebApp_Files 5. Modified the share permissions to give full access to the webapp user On the IIS Web server: 1. Created a new Virtual Directory 2. Set the alias to "files" 3. Set the path to \\sbs2003name\WebApp_Files 4. Set the security credentials. Unchecked the "always use the authenticated user..." checkbox and entered the username and password for the webapp user on the SBS2003 machine 5. Set virtual directory access permissions to Read and Write I can explore this virtual directory from within the IIS manager but when I try to serve a file from this path in the web application I get HTTP Error 500. I get the idea from other stuff that I have read that this might be because IIS is trying to access the path using the anonymous user rather than the user that I have given permissions to (i.e. webapp). I would rather find a way to force IIS to use this account to access the folder than create privileges for the IUSR account on the SBS server since I have a number of web applications that will need individual shares on this machine and I want to separate their permissions. I am an asp.net/C# developer rather than an IIS or SBS guru so I am floundering a little here. Please help! 0 Question by:CSB00001 Facebook Twitter LinkedIn Google LVL 1 Best Solution byg