Search EggHeadCafe's Job Board
EggHeadCafe Silverlight WPF ASP.NET VB.NET C# Excel SQL Server SharePoint
search
IIS GroupsView
Inetserver Asp Db
Inetserver Asp General
Inetserver Iis
Inetserver Iis Security
Frontpage Client
Frontpage Extensions Windowsnt
Frontpage Programming

Group SummariesView
.NET Framework
Access
BizTalk
Certifications
CRM
DDK
Exchange Server
FoxPro
French
French .NET
Games
German
German .NET
Graphic Design
IIS
Internet
ISA Server
Italian
Italian .NET
Maps
MCIS
Miscellaneous
Mobile Apps
Money
MSN
Networking
Office
Ops Mgr
Publisher
Security
SharePoint
Small Business
Spanish
Spanish .NET
SQL Server
Systems Management Server
Transaction Server
Virtual PC / Virtual Server
Visual Studio
Win32
Windows 2000
Windows 2003 Server
Windows 7
Windows Live
Windows Media
Windows Update
Windows Vista
Windows XP
 

View All Microsoft Inetserver Asp General Posts  Ask A New Question 

UNC, GetFolder & Windows Authentication

Rick posted on Wednesday, June 13, 2007 3:57 PM

I have an IIS 6 server on Windows 2003 running in an AD domain attempting to
enumerate the files on another Windows 2003 server on the same domain.  The
code and UNC path are sound as it works if I set anonymous access and enter
domain credentials in the page properties but if I check "Integrated Windows
Authentication" it gives a "Path not found" 800a004c error in the browser.
The IIS logs report a 500 0 0 status but it does show that it attempts to use
the end user's credentials as you can see them in the logs.  The IIS server
is set for "Trust this computer (for Kerberos only)" but the the other server
is not.  The user running the page has full permissions to the remote UNC and
can access it outside the web page.

The two significant lines in the classic ASP page (with the server, share &
folder names replaced) are:

spmsmmpath="\\server\share\folder\"
SET ofolder=ofs.GetFolder(spmsmmpath)

What am I missing?  Does the file server need to be trsuted too?  Do I need
to use a MapPath command or am I using the wrong slashes?  Remmeber the code
works as is if I pass literal credentials.
reply


Previous Microsoft Inetserver Asp General conversation.