Link to home
Start Free TrialLog in
Avatar of Woodie_Weiss
Woodie_Weiss

asked on

IIS 7 virual directory log on issue

We'd like to update our MS web server W2K3 to W2K8, so I put together a test system consisting of a W2K8 server in the workgroup "WORKGROUP" and an Integrity OpenVMS server running CIFS (Samba) in the NT domain "LANGROUP" with the CIFS share allowing public  / guest access. I put the web site on the server and mapped a virtual directory to the Integrity. The W2K8 server has no problem displaying the files in the CIFS share, but when IIS 7 tries to open it from the authentication icon in "features view" I get an error \\?\UNC\rx2660\webreports\web.config - cannot read configuration file. Yet IIS 7 sees the entire directory when using the "content view". I tried adding a user of the same name and password on both machines and that changed the IIS error message, but still didn't work. I tried with no web.config file and a blank one. The error message is:

500.19, error 0x8007052e, can not log on locally to \\rx2660\webreports as user langroup\samba$user with virtual directory password. Yet, when I right click the virtual directory and go to change permissions, it takes the username and password just fine.

Any ideas would be appreciated! Thank you.
ASKER CERTIFIED SOLUTION
Avatar of Netcraft
Netcraft
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Woodie_Weiss
Woodie_Weiss

ASKER

Thank you for your quick response. The Default AppPool uses NetworkService, which is naturally on the local W2K8 server. There isn't any way I know of to add that user to the remote OpenVMS CIFS server. But the share is public, so I would have thought anyone can read, write any file on it. I think that's the part that confuses me so much. The share can be mapped and used normally on the W2K8 server, but IIS 7 can't.

Woodie
Try Process Monitor to determine what security is needed. Maybe you created the virtual directory on a share with not enough permissions.
I think I got some decent info from Process Monitor.
Logfile.CSV
I've created a virtual directory on the W2K8 server and naturally it works fine. I ran process monitor and captured the filtered data for an attempt at opening first the virtual directory on the remote OpenVMS CIFS server and then the virtual directory on the host server. The "NotifyChangeDirectory" command returned different results. Googling this brought up this explanation:

http://msdn.microsoft.com/en-us/library/aa489282.aspx

Is there something that needs to be implemented on the CIFS server to complete this command?

I've attached the process monitor log file in an abbreviated form.

Many thanks!
Logfile.CSV
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks for the suggestions...

Attached is the output filtered for path containing rx2660. The first section is the IIS attempt to get to the virtual directory. The second section is the actual web application trying to retrieve a file from that directory. It seems like they both fail on the NotifyChangeDirectory line. The OpenVMS trace is something I would need help from HP support to decipher. I have asked for their help on the issue in general and sent them the process monitor output to look at. I'll keep you posted.

Woodie
Logfile.xls
I ran process monitor, same filter, on a server 2003 that works fine. I see the notifychangedirectory fails there as well, so I understand why you say it does not matter. The part where it gets the pdf is what does not work on server 2008, yet it is the same web code.....
Logfile.xls
With help from HP we were able to turn on the NotifyChangeDirectory feature of the Samba share and presto - it now works... Odd that server 2003 didn't have any issue, but Server 2008 surely does.

Even though you didn't feel that was the issue, you were extremely helpful by suggesting I use Process Monitor (which I never heard of) so I would like to award points to you.

Thanks,

Woodie
Logfile.CSV
Behavior of CIFS (Samba) share on OpenVMS is unusual and difficult to diagnose from Windows server side. Suggestions led me to solution for which I'm very appreciative.