UNC Share causing Internal Server Error 500
UNC Share causing Internal Server Error 500
am 08.12.2006 05:56:00 von stefanbarlow
I have a web server in the DMZ which is not on a domain.
I have set the default directory for the site to a UNC share on DFS through
a firewall, and I set the domain username / password for the share. I can
access this share from the web server without problem through the firewall,
and to be sure I did a net use with the same login info I set on the web site
to connect to the DFS share.
When I try to access any file through the site, I am getting a 500 internal
server error. Even when when viewing a .txt file, with that being the only
file in on the share. Typically this is an .ASP error, but I'm not using ASP
at all, only Plain HTML files.
--
Stefan Barlow
MCSD.Net
Re: UNC Share causing Internal Server Error 500
am 08.12.2006 08:09:17 von Bernard
Uncheck the IE friendly error msgs, post the actual error here.
HOW TO: Turn Off the Internet Explorer 5.x and 6.x "Show Friendly HTTP Error
Messages" Feature on the Server Side
http://support.microsoft.com/?id=294807
--
Regards,
Bernard Cheah
http://www.iis.net/
http://www.iis-resources.com/
http://msmvps.com/blogs/bernard/
"Stefan Barlow" wrote in message
news:57EE15D1-5250-49A9-8CE8-3A5512C91155@microsoft.com...
>I have a web server in the DMZ which is not on a domain.
>
> I have set the default directory for the site to a UNC share on DFS
> through
> a firewall, and I set the domain username / password for the share. I can
> access this share from the web server without problem through the
> firewall,
> and to be sure I did a net use with the same login info I set on the web
> site
> to connect to the DFS share.
>
> When I try to access any file through the site, I am getting a 500
> internal
> server error. Even when when viewing a .txt file, with that being the
> only
> file in on the share. Typically this is an .ASP error, but I'm not using
> ASP
> at all, only Plain HTML files.
>
> --
> Stefan Barlow
> MCSD.Net
Re: UNC Share causing Internal Server Error 500
am 08.12.2006 08:59:00 von stefanbarlow
Thanks, as an ex-classic asp programmer, that is the first thing I tried. I
still see the generic 500 error. I did a raw request with another tool and
the page I'm seeing is what is actually being served by IIS. The header is
simply a 500 response.
--
Stefan Barlow
MCSD.Net
"Bernard Cheah [MVP]" wrote:
> Uncheck the IE friendly error msgs, post the actual error here.
> HOW TO: Turn Off the Internet Explorer 5.x and 6.x "Show Friendly HTTP Error
> Messages" Feature on the Server Side
> http://support.microsoft.com/?id=294807
>
> --
> Regards,
> Bernard Cheah
> http://www.iis.net/
> http://www.iis-resources.com/
> http://msmvps.com/blogs/bernard/
>
>
> "Stefan Barlow" wrote in message
> news:57EE15D1-5250-49A9-8CE8-3A5512C91155@microsoft.com...
> >I have a web server in the DMZ which is not on a domain.
> >
> > I have set the default directory for the site to a UNC share on DFS
> > through
> > a firewall, and I set the domain username / password for the share. I can
> > access this share from the web server without problem through the
> > firewall,
> > and to be sure I did a net use with the same login info I set on the web
> > site
> > to connect to the DFS share.
> >
> > When I try to access any file through the site, I am getting a 500
> > internal
> > server error. Even when when viewing a .txt file, with that being the
> > only
> > file in on the share. Typically this is an .ASP error, but I'm not using
> > ASP
> > at all, only Plain HTML files.
> >
> > --
> > Stefan Barlow
> > MCSD.Net
>
>
>
Re: UNC Share causing Internal Server Error 500
am 08.12.2006 10:19:22 von wjzhang
Hi Stefan,
Which accound are you setting in the IIS virtual directory's property as
the 'Connect As' account?
If it's a domain account, please make sure the account has permission on
both the IIS server and the remote UNC path. If it's a local account, you
have to ensure it exists on both machines(IIS and UNC) with the exactly
same username and password.
If the 'Connect As' account is incorrect, generally you will encounter the
500 error. Pass-through authentication(without using 'Connect As' account)
only works for anonymous access or basic authentication or integrated
windows authentication with delegation support.
Please update here on any findings or results.
Thanks and have a nice weekend.
Sincerely,
WenJun Zhang
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to:
http://msdn.microsoft.com/subscriptions/managednewsgroups/de fault.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at:
http://msdn.microsoft.com/subscriptions/support/default.aspx .
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Re: UNC Share causing Internal Server Error 500
am 08.12.2006 19:06:01 von stefanbarlow
I am using a domain account for connect as. I've verified repeatedly that
the information is correct. I've tried using the account name as
domain\login and just login.
I can connect to the share using NET USE and that login info from the IIS
server, so there doesn't seem to be an ACL issue on the share or a login
issue.
The IIS server is not on the domain. I've tried creating the same account
as a local account on the IIS server too, but that didn't seem to help.
The site is set to run with Anonymous Access.
Thanks,
Stefan
--
Stefan Barlow
MCSD.Net
""WenJun Zhang[msft]"" wrote:
> Hi Stefan,
>
> Which accound are you setting in the IIS virtual directory's property as
> the 'Connect As' account?
>
> If it's a domain account, please make sure the account has permission on
> both the IIS server and the remote UNC path. If it's a local account, you
> have to ensure it exists on both machines(IIS and UNC) with the exactly
> same username and password.
>
> If the 'Connect As' account is incorrect, generally you will encounter the
> 500 error. Pass-through authentication(without using 'Connect As' account)
> only works for anonymous access or basic authentication or integrated
> windows authentication with delegation support.
>
> Please update here on any findings or results.
>
> Thanks and have a nice weekend.
>
> Sincerely,
>
> WenJun Zhang
>
> Microsoft Online Community Support
>
> ==================================================
>
> Get notification to my posts through email? Please refer to:
> http://msdn.microsoft.com/subscriptions/managednewsgroups/de fault.aspx#notif
> ications.
>
> Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
> where an initial response from the community or a Microsoft Support
> Engineer within 1 business day is acceptable. Please note that each follow
> up response may take approximately 2 business days as the support
> professional working with you may need further investigation to reach the
> most efficient resolution. The offering is not appropriate for situations
> that require urgent, real-time or phone-based interactions or complex
> project analysis and dump analysis issues. Issues of this nature are best
> handled working with a dedicated Microsoft Support Engineer by contacting
> Microsoft Customer Support Services (CSS) at:
>
> http://msdn.microsoft.com/subscriptions/support/default.aspx .
>
> ==================================================
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
>
Re: UNC Share causing Internal Server Error 500
am 10.12.2006 05:40:48 von Bernard
If you running IIS 6, what's the sub status code?
--
Regards,
Bernard Cheah
http://www.iis.net/
http://www.iis-resources.com/
http://msmvps.com/blogs/bernard/
"Stefan Barlow" wrote in message
news:80629843-7134-4CC5-A49C-B38842C990EE@microsoft.com...
>I am using a domain account for connect as. I've verified repeatedly that
> the information is correct. I've tried using the account name as
> domain\login and just login.
>
> I can connect to the share using NET USE and that login info from the IIS
> server, so there doesn't seem to be an ACL issue on the share or a login
> issue.
>
> The IIS server is not on the domain. I've tried creating the same account
> as a local account on the IIS server too, but that didn't seem to help.
>
> The site is set to run with Anonymous Access.
>
> Thanks,
> Stefan
> --
> Stefan Barlow
> MCSD.Net
>
>
> ""WenJun Zhang[msft]"" wrote:
>
>> Hi Stefan,
>>
>> Which accound are you setting in the IIS virtual directory's property as
>> the 'Connect As' account?
>>
>> If it's a domain account, please make sure the account has permission on
>> both the IIS server and the remote UNC path. If it's a local account, you
>> have to ensure it exists on both machines(IIS and UNC) with the exactly
>> same username and password.
>>
>> If the 'Connect As' account is incorrect, generally you will encounter
>> the
>> 500 error. Pass-through authentication(without using 'Connect As'
>> account)
>> only works for anonymous access or basic authentication or integrated
>> windows authentication with delegation support.
>>
>> Please update here on any findings or results.
>>
>> Thanks and have a nice weekend.
>>
>> Sincerely,
>>
>> WenJun Zhang
>>
>> Microsoft Online Community Support
>>
>> ==================================================
>>
>> Get notification to my posts through email? Please refer to:
>> http://msdn.microsoft.com/subscriptions/managednewsgroups/de fault.aspx#notif
>> ications.
>>
>> Note: The MSDN Managed Newsgroup support offering is for non-urgent
>> issues
>> where an initial response from the community or a Microsoft Support
>> Engineer within 1 business day is acceptable. Please note that each
>> follow
>> up response may take approximately 2 business days as the support
>> professional working with you may need further investigation to reach the
>> most efficient resolution. The offering is not appropriate for situations
>> that require urgent, real-time or phone-based interactions or complex
>> project analysis and dump analysis issues. Issues of this nature are best
>> handled working with a dedicated Microsoft Support Engineer by contacting
>> Microsoft Customer Support Services (CSS) at:
>>
>> http://msdn.microsoft.com/subscriptions/support/default.aspx .
>>
>> ==================================================
>>
>> This posting is provided "AS IS" with no warranties, and confers no
>> rights.
>>
>>
Re: UNC Share causing Internal Server Error 500
am 11.12.2006 03:51:01 von stefanbarlow
I am running IIS 6 on Win2k3 SP1. It is not reporting a sub status code.
Thanks,
Stefan
--
Stefan Barlow
MCSD.Net
"Bernard Cheah [MVP]" wrote:
> If you running IIS 6, what's the sub status code?
>
>
> --
> Regards,
> Bernard Cheah
> http://www.iis.net/
> http://www.iis-resources.com/
> http://msmvps.com/blogs/bernard/
>
>
> "Stefan Barlow" wrote in message
> news:80629843-7134-4CC5-A49C-B38842C990EE@microsoft.com...
> >I am using a domain account for connect as. I've verified repeatedly that
> > the information is correct. I've tried using the account name as
> > domain\login and just login.
> >
> > I can connect to the share using NET USE and that login info from the IIS
> > server, so there doesn't seem to be an ACL issue on the share or a login
> > issue.
> >
> > The IIS server is not on the domain. I've tried creating the same account
> > as a local account on the IIS server too, but that didn't seem to help.
> >
> > The site is set to run with Anonymous Access.
> >
> > Thanks,
> > Stefan
> > --
> > Stefan Barlow
> > MCSD.Net
> >
> >
> > ""WenJun Zhang[msft]"" wrote:
> >
> >> Hi Stefan,
> >>
> >> Which accound are you setting in the IIS virtual directory's property as
> >> the 'Connect As' account?
> >>
> >> If it's a domain account, please make sure the account has permission on
> >> both the IIS server and the remote UNC path. If it's a local account, you
> >> have to ensure it exists on both machines(IIS and UNC) with the exactly
> >> same username and password.
> >>
> >> If the 'Connect As' account is incorrect, generally you will encounter
> >> the
> >> 500 error. Pass-through authentication(without using 'Connect As'
> >> account)
> >> only works for anonymous access or basic authentication or integrated
> >> windows authentication with delegation support.
> >>
> >> Please update here on any findings or results.
> >>
> >> Thanks and have a nice weekend.
> >>
> >> Sincerely,
> >>
> >> WenJun Zhang
> >>
> >> Microsoft Online Community Support
> >>
> >> ==================================================
> >>
> >> Get notification to my posts through email? Please refer to:
> >> http://msdn.microsoft.com/subscriptions/managednewsgroups/de fault.aspx#notif
> >> ications.
> >>
> >> Note: The MSDN Managed Newsgroup support offering is for non-urgent
> >> issues
> >> where an initial response from the community or a Microsoft Support
> >> Engineer within 1 business day is acceptable. Please note that each
> >> follow
> >> up response may take approximately 2 business days as the support
> >> professional working with you may need further investigation to reach the
> >> most efficient resolution. The offering is not appropriate for situations
> >> that require urgent, real-time or phone-based interactions or complex
> >> project analysis and dump analysis issues. Issues of this nature are best
> >> handled working with a dedicated Microsoft Support Engineer by contacting
> >> Microsoft Customer Support Services (CSS) at:
> >>
> >> http://msdn.microsoft.com/subscriptions/support/default.aspx .
> >>
> >> ==================================================
> >>
> >> This posting is provided "AS IS" with no warranties, and confers no
> >> rights.
> >>
> >>
>
>
>
Re: UNC Share causing Internal Server Error 500
am 11.12.2006 05:57:11 von Bernard
huh?500.0 ?
I was expecting something like 500 16
can you post the log entry here ?
--
Regards,
Bernard Cheah
http://www.iis.net/
http://www.iis-resources.com/
http://msmvps.com/blogs/bernard/
"Stefan Barlow" wrote in message
news:2289C142-D057-4240-842B-9F8273DDB3E9@microsoft.com...
>I am running IIS 6 on Win2k3 SP1. It is not reporting a sub status code.
>
> Thanks,
> Stefan
> --
> Stefan Barlow
> MCSD.Net
>
>
> "Bernard Cheah [MVP]" wrote:
>
>> If you running IIS 6, what's the sub status code?
>>
>>
>> --
>> Regards,
>> Bernard Cheah
>> http://www.iis.net/
>> http://www.iis-resources.com/
>> http://msmvps.com/blogs/bernard/
>>
>>
>> "Stefan Barlow" wrote in message
>> news:80629843-7134-4CC5-A49C-B38842C990EE@microsoft.com...
>> >I am using a domain account for connect as. I've verified repeatedly
>> >that
>> > the information is correct. I've tried using the account name as
>> > domain\login and just login.
>> >
>> > I can connect to the share using NET USE and that login info from the
>> > IIS
>> > server, so there doesn't seem to be an ACL issue on the share or a
>> > login
>> > issue.
>> >
>> > The IIS server is not on the domain. I've tried creating the same
>> > account
>> > as a local account on the IIS server too, but that didn't seem to help.
>> >
>> > The site is set to run with Anonymous Access.
>> >
>> > Thanks,
>> > Stefan
>> > --
>> > Stefan Barlow
>> > MCSD.Net
>> >
>> >
>> > ""WenJun Zhang[msft]"" wrote:
>> >
>> >> Hi Stefan,
>> >>
>> >> Which accound are you setting in the IIS virtual directory's property
>> >> as
>> >> the 'Connect As' account?
>> >>
>> >> If it's a domain account, please make sure the account has permission
>> >> on
>> >> both the IIS server and the remote UNC path. If it's a local account,
>> >> you
>> >> have to ensure it exists on both machines(IIS and UNC) with the
>> >> exactly
>> >> same username and password.
>> >>
>> >> If the 'Connect As' account is incorrect, generally you will encounter
>> >> the
>> >> 500 error. Pass-through authentication(without using 'Connect As'
>> >> account)
>> >> only works for anonymous access or basic authentication or integrated
>> >> windows authentication with delegation support.
>> >>
>> >> Please update here on any findings or results.
>> >>
>> >> Thanks and have a nice weekend.
>> >>
>> >> Sincerely,
>> >>
>> >> WenJun Zhang
>> >>
>> >> Microsoft Online Community Support
>> >>
>> >> ==================================================
>> >>
>> >> Get notification to my posts through email? Please refer to:
>> >> http://msdn.microsoft.com/subscriptions/managednewsgroups/de fault.aspx#notif
>> >> ications.
>> >>
>> >> Note: The MSDN Managed Newsgroup support offering is for non-urgent
>> >> issues
>> >> where an initial response from the community or a Microsoft Support
>> >> Engineer within 1 business day is acceptable. Please note that each
>> >> follow
>> >> up response may take approximately 2 business days as the support
>> >> professional working with you may need further investigation to reach
>> >> the
>> >> most efficient resolution. The offering is not appropriate for
>> >> situations
>> >> that require urgent, real-time or phone-based interactions or complex
>> >> project analysis and dump analysis issues. Issues of this nature are
>> >> best
>> >> handled working with a dedicated Microsoft Support Engineer by
>> >> contacting
>> >> Microsoft Customer Support Services (CSS) at:
>> >>
>> >> http://msdn.microsoft.com/subscriptions/support/default.aspx .
>> >>
>> >> ==================================================
>> >>
>> >> This posting is provided "AS IS" with no warranties, and confers no
>> >> rights.
>> >>
>> >>
>>
>>
>>
Re: UNC Share causing Internal Server Error 500
am 11.12.2006 06:52:01 von stefanbarlow
You are correct, 500.16. I incorrectly assumed this would be returned in the
response header.
So this means the UNC credentials are incorrect, however I'm providing the
correct domain\username and correct password. Perhaps I'm formatting the
domain / username incorrectly? Or can IIS not map to a share that is on a
domain of which it isn't a member of?
Thanks!
--
Stefan Barlow
MCSD.Net
"Bernard Cheah [MVP]" wrote:
> huh?500.0 ?
> I was expecting something like 500 16
> can you post the log entry here ?
>
> --
> Regards,
> Bernard Cheah
> http://www.iis.net/
> http://www.iis-resources.com/
> http://msmvps.com/blogs/bernard/
>
>
> "Stefan Barlow" wrote in message
> news:2289C142-D057-4240-842B-9F8273DDB3E9@microsoft.com...
> >I am running IIS 6 on Win2k3 SP1. It is not reporting a sub status code.
> >
> > Thanks,
> > Stefan
> > --
> > Stefan Barlow
> > MCSD.Net
> >
> >
> > "Bernard Cheah [MVP]" wrote:
> >
> >> If you running IIS 6, what's the sub status code?
> >>
> >>
> >> --
> >> Regards,
> >> Bernard Cheah
> >> http://www.iis.net/
> >> http://www.iis-resources.com/
> >> http://msmvps.com/blogs/bernard/
> >>
> >>
> >> "Stefan Barlow" wrote in message
> >> news:80629843-7134-4CC5-A49C-B38842C990EE@microsoft.com...
> >> >I am using a domain account for connect as. I've verified repeatedly
> >> >that
> >> > the information is correct. I've tried using the account name as
> >> > domain\login and just login.
> >> >
> >> > I can connect to the share using NET USE and that login info from the
> >> > IIS
> >> > server, so there doesn't seem to be an ACL issue on the share or a
> >> > login
> >> > issue.
> >> >
> >> > The IIS server is not on the domain. I've tried creating the same
> >> > account
> >> > as a local account on the IIS server too, but that didn't seem to help.
> >> >
> >> > The site is set to run with Anonymous Access.
> >> >
> >> > Thanks,
> >> > Stefan
> >> > --
> >> > Stefan Barlow
> >> > MCSD.Net
> >> >
> >> >
> >> > ""WenJun Zhang[msft]"" wrote:
> >> >
> >> >> Hi Stefan,
> >> >>
> >> >> Which accound are you setting in the IIS virtual directory's property
> >> >> as
> >> >> the 'Connect As' account?
> >> >>
> >> >> If it's a domain account, please make sure the account has permission
> >> >> on
> >> >> both the IIS server and the remote UNC path. If it's a local account,
> >> >> you
> >> >> have to ensure it exists on both machines(IIS and UNC) with the
> >> >> exactly
> >> >> same username and password.
> >> >>
> >> >> If the 'Connect As' account is incorrect, generally you will encounter
> >> >> the
> >> >> 500 error. Pass-through authentication(without using 'Connect As'
> >> >> account)
> >> >> only works for anonymous access or basic authentication or integrated
> >> >> windows authentication with delegation support.
> >> >>
> >> >> Please update here on any findings or results.
> >> >>
> >> >> Thanks and have a nice weekend.
> >> >>
> >> >> Sincerely,
> >> >>
> >> >> WenJun Zhang
> >> >>
> >> >> Microsoft Online Community Support
> >> >>
> >> >> ==================================================
> >> >>
> >> >> Get notification to my posts through email? Please refer to:
> >> >> http://msdn.microsoft.com/subscriptions/managednewsgroups/de fault.aspx#notif
> >> >> ications.
> >> >>
> >> >> Note: The MSDN Managed Newsgroup support offering is for non-urgent
> >> >> issues
> >> >> where an initial response from the community or a Microsoft Support
> >> >> Engineer within 1 business day is acceptable. Please note that each
> >> >> follow
> >> >> up response may take approximately 2 business days as the support
> >> >> professional working with you may need further investigation to reach
> >> >> the
> >> >> most efficient resolution. The offering is not appropriate for
> >> >> situations
> >> >> that require urgent, real-time or phone-based interactions or complex
> >> >> project analysis and dump analysis issues. Issues of this nature are
> >> >> best
> >> >> handled working with a dedicated Microsoft Support Engineer by
> >> >> contacting
> >> >> Microsoft Customer Support Services (CSS) at:
> >> >>
> >> >> http://msdn.microsoft.com/subscriptions/support/default.aspx .
> >> >>
> >> >> ==================================================
> >> >>
> >> >> This posting is provided "AS IS" with no warranties, and confers no
> >> >> rights.
> >> >>
> >> >>
> >>
> >>
> >>
>
>
>
Re: UNC Share causing Internal Server Error 500
am 11.12.2006 08:46:51 von wjzhang
Hi Stefan,
500.16 ¨C UNC authorization credentials incorrect. It's indicate the
problem is still on the 'Connect As' account
IIS need to logon the 'Connect As' account and then use its credential to
access the remote UNC path. So you must ensure it's a valid account on IIS
server first. If it's a domain account, is the IIS server joined into the
domain as well?
As I mentioned previously, you can create local account on both IIS server
and the remote UNC machine with the same username and password. e.g:
create account: testuser password01 on both IIS and the UNC server. Grant
them with appropriate permissions. Then please test if IIS starts to be
able to access the remote share.
Please update here if problem still persists.
Have a good day.
Sincerely,
WenJun Zhang
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to:
http://msdn.microsoft.com/subscriptions/managednewsgroups/de fault.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at:
http://msdn.microsoft.com/subscriptions/support/default.aspx .
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Re: UNC Share causing Internal Server Error 500
am 11.12.2006 23:30:01 von stefanbarlow
The IIS server is not on the domain. The account I'm trying to use is a
Domain account. The UNC path is on DFS. I will try adding a local account
to each of the DFS servers and the IIS server and use that instead of the
domain account.
--
Stefan Barlow
MCSD.Net
""WenJun Zhang[msft]"" wrote:
> Hi Stefan,
>
> 500.16 ¨C UNC authorization credentials incorrect. It's indicate the
> problem is still on the 'Connect As' account
>
> IIS need to logon the 'Connect As' account and then use its credential to
> access the remote UNC path. So you must ensure it's a valid account on IIS
> server first. If it's a domain account, is the IIS server joined into the
> domain as well?
>
> As I mentioned previously, you can create local account on both IIS server
> and the remote UNC machine with the same username and password. e.g:
>
> create account: testuser password01 on both IIS and the UNC server. Grant
> them with appropriate permissions. Then please test if IIS starts to be
> able to access the remote share.
>
> Please update here if problem still persists.
>
> Have a good day.
>
> Sincerely,
>
> WenJun Zhang
>
> Microsoft Online Community Support
>
> ==================================================
>
> Get notification to my posts through email? Please refer to:
> http://msdn.microsoft.com/subscriptions/managednewsgroups/de fault.aspx#notif
> ications.
>
> Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
> where an initial response from the community or a Microsoft Support
> Engineer within 1 business day is acceptable. Please note that each follow
> up response may take approximately 2 business days as the support
> professional working with you may need further investigation to reach the
> most efficient resolution. The offering is not appropriate for situations
> that require urgent, real-time or phone-based interactions or complex
> project analysis and dump analysis issues. Issues of this nature are best
> handled working with a dedicated Microsoft Support Engineer by contacting
> Microsoft Customer Support Services (CSS) at:
>
> http://msdn.microsoft.com/subscriptions/support/default.aspx .
>
> ==================================================
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
>
Re: UNC Share causing Internal Server Error 500
am 12.12.2006 00:53:07 von Bernard
Let us know how it turns out.
--
Regards,
Bernard Cheah
http://www.iis.net/
http://www.iis-resources.com/
http://msmvps.com/blogs/bernard/
"Stefan Barlow" wrote in message
news:EDE38DD8-AA69-47BB-B4EF-4744905A13D9@microsoft.com...
> The IIS server is not on the domain. The account I'm trying to use is a
> Domain account. The UNC path is on DFS. I will try adding a local
> account
> to each of the DFS servers and the IIS server and use that instead of the
> domain account.
>
>
> --
> Stefan Barlow
> MCSD.Net
>
>
> ""WenJun Zhang[msft]"" wrote:
>
>> Hi Stefan,
>>
>> 500.16 ¨C UNC authorization credentials incorrect. It's indicate the
>> problem is still on the 'Connect As' account
>>
>> IIS need to logon the 'Connect As' account and then use its credential to
>> access the remote UNC path. So you must ensure it's a valid account on
>> IIS
>> server first. If it's a domain account, is the IIS server joined into the
>> domain as well?
>>
>> As I mentioned previously, you can create local account on both IIS
>> server
>> and the remote UNC machine with the same username and password. e.g:
>>
>> create account: testuser password01 on both IIS and the UNC server. Grant
>> them with appropriate permissions. Then please test if IIS starts to be
>> able to access the remote share.
>>
>> Please update here if problem still persists.
>>
>> Have a good day.
>>
>> Sincerely,
>>
>> WenJun Zhang
>>
>> Microsoft Online Community Support
>>
>> ==================================================
>>
>> Get notification to my posts through email? Please refer to:
>> http://msdn.microsoft.com/subscriptions/managednewsgroups/de fault.aspx#notif
>> ications.
>>
>> Note: The MSDN Managed Newsgroup support offering is for non-urgent
>> issues
>> where an initial response from the community or a Microsoft Support
>> Engineer within 1 business day is acceptable. Please note that each
>> follow
>> up response may take approximately 2 business days as the support
>> professional working with you may need further investigation to reach the
>> most efficient resolution. The offering is not appropriate for situations
>> that require urgent, real-time or phone-based interactions or complex
>> project analysis and dump analysis issues. Issues of this nature are best
>> handled working with a dedicated Microsoft Support Engineer by contacting
>> Microsoft Customer Support Services (CSS) at:
>>
>> http://msdn.microsoft.com/subscriptions/support/default.aspx .
>>
>> ==================================================
>>
>> This posting is provided "AS IS" with no warranties, and confers no
>> rights.
>>
>>
Re: UNC Share causing Internal Server Error 500
am 13.12.2006 01:11:00 von stefanbarlow
That worked. Apparently you CANNOT have a UNC share login that is from a
domain that the web server is not a member of.
I found that ASP.NET requires that account to have permissions on the
Temporary ASP.NET folder too, so I suppose that would rule out the
possibility of using a domain account as well.
Thanks for your help, even though I don't like the answer! :)
--
Stefan Barlow
MCSD.Net
"Bernard Cheah [MVP]" wrote:
> Let us know how it turns out.
>
> --
> Regards,
> Bernard Cheah
> http://www.iis.net/
> http://www.iis-resources.com/
> http://msmvps.com/blogs/bernard/
>
>
> "Stefan Barlow" wrote in message
> news:EDE38DD8-AA69-47BB-B4EF-4744905A13D9@microsoft.com...
> > The IIS server is not on the domain. The account I'm trying to use is a
> > Domain account. The UNC path is on DFS. I will try adding a local
> > account
> > to each of the DFS servers and the IIS server and use that instead of the
> > domain account.
> >
> >
> > --
> > Stefan Barlow
> > MCSD.Net
> >
> >
> > ""WenJun Zhang[msft]"" wrote:
> >
> >> Hi Stefan,
> >>
> >> 500.16 ¨C UNC authorization credentials incorrect. It's indicate the
> >> problem is still on the 'Connect As' account
> >>
> >> IIS need to logon the 'Connect As' account and then use its credential to
> >> access the remote UNC path. So you must ensure it's a valid account on
> >> IIS
> >> server first. If it's a domain account, is the IIS server joined into the
> >> domain as well?
> >>
> >> As I mentioned previously, you can create local account on both IIS
> >> server
> >> and the remote UNC machine with the same username and password. e.g:
> >>
> >> create account: testuser password01 on both IIS and the UNC server. Grant
> >> them with appropriate permissions. Then please test if IIS starts to be
> >> able to access the remote share.
> >>
> >> Please update here if problem still persists.
> >>
> >> Have a good day.
> >>
> >> Sincerely,
> >>
> >> WenJun Zhang
> >>
> >> Microsoft Online Community Support
> >>
> >> ==================================================
> >>
> >> Get notification to my posts through email? Please refer to:
> >> http://msdn.microsoft.com/subscriptions/managednewsgroups/de fault.aspx#notif
> >> ications.
> >>
> >> Note: The MSDN Managed Newsgroup support offering is for non-urgent
> >> issues
> >> where an initial response from the community or a Microsoft Support
> >> Engineer within 1 business day is acceptable. Please note that each
> >> follow
> >> up response may take approximately 2 business days as the support
> >> professional working with you may need further investigation to reach the
> >> most efficient resolution. The offering is not appropriate for situations
> >> that require urgent, real-time or phone-based interactions or complex
> >> project analysis and dump analysis issues. Issues of this nature are best
> >> handled working with a dedicated Microsoft Support Engineer by contacting
> >> Microsoft Customer Support Services (CSS) at:
> >>
> >> http://msdn.microsoft.com/subscriptions/support/default.aspx .
> >>
> >> ==================================================
> >>
> >> This posting is provided "AS IS" with no warranties, and confers no
> >> rights.
> >>
> >>
>
>
>
Re: UNC Share causing Internal Server Error 500
am 13.12.2006 10:44:38 von wjzhang
Stefan,
Glad to hear you've resolved the problem. :-)
Have a great day.
Sincerely,
WenJun Zhang
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to:
http://msdn.microsoft.com/subscriptions/managednewsgroups/de fault.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at:
http://msdn.microsoft.com/subscriptions/support/default.aspx .
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.