Virtual Directory Access Denied
Virtual Directory Access Denied
am 02.05.2007 22:43:01 von mikevanhoff
I have IIS 6 running on a Win2k3 server. A virtual directory has been
created under the default Web Site at "C:\Reports" As an Administrator I
have no problem running the reports. A non Administrator either gets
prompted for a domain user id and password or simply "access denied" The
virtual directory is set for anonymous access as is the virtual directory.
Both have the integrated options checked since this virtual directory is
outside of the default website directory structure. NTFS Persmissions have
been set to allow the domain users group and the IUSR_ Any clues to
what is going on here will be GREATLY appreciated.
Thanks
Re: Virtual Directory Access Denied
am 03.05.2007 10:59:12 von David Wang
On May 2, 1:43 pm, mikevanhoff
wrote:
> I have IIS 6 running on a Win2k3 server. A virtual directory has been
> created under the default Web Site at "C:\Reports" As an Administrator I
> have no problem running the reports. A non Administrator either gets
> prompted for a domain user id and password or simply "access denied" The
> virtual directory is set for anonymous access as is the virtual directory.
> Both have the integrated options checked since this virtual directory is
> outside of the default website directory structure. NTFS Persmissions have
> been set to allow the domain users group and the IUSR_ Any clues to
> what is going on here will be GREATLY appreciated.
> Thanks
Please help me understand what you are trying to do and the
constraints of any non-IIS software involved.
Can you clarify what you mean by:
1. What action is getting "access denied". What do you mean by
"running the reports" and how do you do that
2. Are you trying to run a program or read a file from the Virtual
Directory
3. What user identity actually has permissions to run the program or
read a file on the server
//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//
Re: Virtual Directory Access Denied
am 03.05.2007 14:52:03 von mikevanhoff
Hi David,
This is actually trying to open a Crystal Report. I have set up Crystal
Reports on other Win2k3 server, and do not have this issue. I have triple
checked both the IIS settings and the NTFS settings from one of my other
working installations, I have had no luck see any misconfiguration in these.
"David Wang" wrote:
> On May 2, 1:43 pm, mikevanhoff
> wrote:
> > I have IIS 6 running on a Win2k3 server. A virtual directory has been
> > created under the default Web Site at "C:\Reports" As an Administrator I
> > have no problem running the reports. A non Administrator either gets
> > prompted for a domain user id and password or simply "access denied" The
> > virtual directory is set for anonymous access as is the virtual directory.
> > Both have the integrated options checked since this virtual directory is
> > outside of the default website directory structure. NTFS Persmissions have
> > been set to allow the domain users group and the IUSR_ Any clues to
> > what is going on here will be GREATLY appreciated.
> > Thanks
>
>
> Please help me understand what you are trying to do and the
> constraints of any non-IIS software involved.
>
> Can you clarify what you mean by:
> 1. What action is getting "access denied". What do you mean by
> "running the reports" and how do you do that
> 2. Are you trying to run a program or read a file from the Virtual
> Directory
> 3. What user identity actually has permissions to run the program or
> read a file on the server
>
>
> //David
> http://w3-4u.blogspot.com
> http://blogs.msdn.com/David.Wang
> //
>
>
Re: Virtual Directory Access Denied
am 04.05.2007 11:24:54 von David Wang
Then maybe the issue has nothing to do with IIS and is caused by some
other difference between the systems -- perhaps one got "locked down"
and the other did not. There's really no good way to troubleshoot this
situation other than rebuilding or painstaking system comparison. It
is analogous to someone making thousands of random changes on the
system and then asking you to figure them all out - no system makes
this easy.
Try running FileMon and RegMon from www.sysinternals.com to see if
there is unexpected AccessDenied on the server for the non-Admins. It
may shed a clue about the nature of the 401 and where to look next.
Also, check the IIS web log for the exact Win32 error code for the non-
Admin users getting Access Denied. It may shed a clue about the exact
sort of "Access Denied" since as I describe in this blog entry, there
are many types of 401 "Access Denied" which would cause that user
login dialog to pop up.
http://blogs.msdn.com/david.wang/archive/2005/07/14/HOWTO_Di agnose_IIS_401_Access_Denied.aspx
//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//
On May 3, 5:52 am, mikevanhoff
wrote:
> Hi David,
>
> This is actually trying to open a Crystal Report. I have set up Crystal
> Reports on other Win2k3 server, and do not have this issue. I have triple
> checked both the IIS settings and the NTFS settings from one of my other
> working installations, I have had no luck see any misconfiguration in these.
>
>
>
> "David Wang" wrote:
> > On May 2, 1:43 pm, mikevanhoff
> > wrote:
> > > I have IIS 6 running on a Win2k3 server. A virtual directory has been
> > > created under the default Web Site at "C:\Reports" As an Administrator I
> > > have no problem running the reports. A non Administrator either gets
> > > prompted for a domain user id and password or simply "access denied" The
> > > virtual directory is set for anonymous access as is the virtual directory.
> > > Both have the integrated options checked since this virtual directory is
> > > outside of the default website directory structure. NTFS Persmissions have
> > > been set to allow the domain users group and the IUSR_ Any clues to
> > > what is going on here will be GREATLY appreciated.
> > > Thanks
>
> > Please help me understand what you are trying to do and the
> > constraints of any non-IIS software involved.
>
> > Can you clarify what you mean by:
> > 1. What action is getting "access denied". What do you mean by
> > "running the reports" and how do you do that
> > 2. Are you trying to run a program or read a file from the Virtual
> > Directory
> > 3. What user identity actually has permissions to run the program or
> > read a file on the server
>
> > //David
> >http://w3-4u.blogspot.com
> >http://blogs.msdn.com/David.Wang
> > //- Hide quoted text -
>
> - Show quoted text -
Re: Virtual Directory Access Denied
am 07.06.2007 22:38:26 von trungtran61
On May 4, 2:24 am, David Wang wrote:
> Then maybe the issue has nothing to do with IIS and is caused by some
> other difference between the systems -- perhaps one got "locked down"
> and the other did not. There's really no good way to troubleshoot this
> situation other than rebuilding or painstaking system comparison. It
> is analogous to someone making thousands of random changes on the
> system and then asking you to figure them all out - no system makes
> this easy.
>
> Try running FileMon and RegMon fromwww.sysinternals.comto see if
> there is unexpected AccessDenied on the server for the non-Admins. It
> may shed a clue about the nature of the 401 and where to look next.
>
> Also, check the IIS web log for the exact Win32 error code for the non-
> Admin users getting Access Denied. It may shed a clue about the exact
> sort of "Access Denied" since as I describe in this blog entry, there
> are many types of 401 "Access Denied" which would cause that user
> login dialog to pop up.
>
> http://blogs.msdn.com/david.wang/archive/2005/07/14/HOWTO_Di agnose_II...
>
> //Davidhttp://w3-4u.blogspot.comhttp://blogs.msdn.com/David. Wang
> //
>
> On May 3, 5:52 am, mikevanhoff
> wrote:
>
>
>
> > Hi David,
>
> > This is actually trying to open aCrystalReport. I have set upCrystal
> >Reportson other Win2k3 server, and do not have this issue. I have triple
> > checked both the IIS settings and the NTFS settings from one of my other
> > working installations, I have had no luck see any misconfiguration in these.
>
> > "David Wang" wrote:
> > > On May 2, 1:43 pm, mikevanhoff
> > > wrote:
> > > > I have IIS 6 running on a Win2k3 server. A virtual directory has been
> > > > created under the default Web Site at "C:\Reports" As an Administrator I
> > > > have no problem running thereports. A non Administrator either gets
> > > > prompted for a domain user id and password or simply "access denied" The
> > > > virtual directory is set for anonymous access as is the virtual directory.
> > > > Both have the integrated options checked since this virtual directory is
> > > > outside of the default website directory structure. NTFS Persmissions have
> > > > been set to allow the domain users group and the IUSR_ Any clues to
> > > > what is going on here will be GREATLY appreciated.
> > > > Thanks
>
> > > Please help me understand what you are trying to do and the
> > > constraints of any non-IIS software involved.
>
> > > Can you clarify what you mean by:
> > > 1. What action is getting "access denied". What do you mean by
> > > "running thereports" and how do you do that
> > > 2. Are you trying to run a program or read a file from the Virtual
> > > Directory
> > > 3. What user identity actually has permissions to run the program or
> > > read a file on the server
>
> > > //David
> > >http://w3-4u.blogspot.com
> > >http://blogs.msdn.com/David.Wang
> > > //- Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -
The problem is the CR progess dialog:
This works:
http://www.codeguru.com/forum/showthread.php?p=1494595
Re: Virtual Directory Access Denied
am 08.06.2007 14:37:01 von mikevanhoff
Thanks for the direction. The final resolution was NTFS permissions on the
physical directory. Crystal Web Server 8.5 requires that the
IUSR_MachineName have full control on the physical directory. Not very
secure, but that is how it is set.
Thanks
"trungtran61@yahoo.com" wrote:
> On May 4, 2:24 am, David Wang wrote:
> > Then maybe the issue has nothing to do with IIS and is caused by some
> > other difference between the systems -- perhaps one got "locked down"
> > and the other did not. There's really no good way to troubleshoot this
> > situation other than rebuilding or painstaking system comparison. It
> > is analogous to someone making thousands of random changes on the
> > system and then asking you to figure them all out - no system makes
> > this easy.
> >
> > Try running FileMon and RegMon fromwww.sysinternals.comto see if
> > there is unexpected AccessDenied on the server for the non-Admins. It
> > may shed a clue about the nature of the 401 and where to look next.
> >
> > Also, check the IIS web log for the exact Win32 error code for the non-
> > Admin users getting Access Denied. It may shed a clue about the exact
> > sort of "Access Denied" since as I describe in this blog entry, there
> > are many types of 401 "Access Denied" which would cause that user
> > login dialog to pop up.
> >
> > http://blogs.msdn.com/david.wang/archive/2005/07/14/HOWTO_Di agnose_II...
> >
> > //Davidhttp://w3-4u.blogspot.comhttp://blogs.msdn.com/David. Wang
> > //
> >
> > On May 3, 5:52 am, mikevanhoff
> > wrote:
> >
> >
> >
> > > Hi David,
> >
> > > This is actually trying to open aCrystalReport. I have set upCrystal
> > >Reportson other Win2k3 server, and do not have this issue. I have triple
> > > checked both the IIS settings and the NTFS settings from one of my other
> > > working installations, I have had no luck see any misconfiguration in these.
> >
> > > "David Wang" wrote:
> > > > On May 2, 1:43 pm, mikevanhoff
> > > > wrote:
> > > > > I have IIS 6 running on a Win2k3 server. A virtual directory has been
> > > > > created under the default Web Site at "C:\Reports" As an Administrator I
> > > > > have no problem running thereports. A non Administrator either gets
> > > > > prompted for a domain user id and password or simply "access denied" The
> > > > > virtual directory is set for anonymous access as is the virtual directory.
> > > > > Both have the integrated options checked since this virtual directory is
> > > > > outside of the default website directory structure. NTFS Persmissions have
> > > > > been set to allow the domain users group and the IUSR_ Any clues to
> > > > > what is going on here will be GREATLY appreciated.
> > > > > Thanks
> >
> > > > Please help me understand what you are trying to do and the
> > > > constraints of any non-IIS software involved.
> >
> > > > Can you clarify what you mean by:
> > > > 1. What action is getting "access denied". What do you mean by
> > > > "running thereports" and how do you do that
> > > > 2. Are you trying to run a program or read a file from the Virtual
> > > > Directory
> > > > 3. What user identity actually has permissions to run the program or
> > > > read a file on the server
> >
> > > > //David
> > > >http://w3-4u.blogspot.com
> > > >http://blogs.msdn.com/David.Wang
> > > > //- Hide quoted text -
> >
> > > - Show quoted text -- Hide quoted text -
> >
> > - Show quoted text -
>
> The problem is the CR progess dialog:
> This works:
>
> http://www.codeguru.com/forum/showthread.php?p=1494595
>
>