Click to See Complete Forum and Search --> : IIS Loses Virtual Directory..


Robert Fernando
November 17th, 1999, 06:30 AM
Hi,

When I created a new virtual directory through VB (i.e. running an IIS App for the first time) it prompts for a virtual directory. The first time this works ok. However after this I keep getting a 404 document not found.

Blantantly the ASP file is there. Everyone can see the file. But IIS insists that it's not there. I tried renaming it. It's only apecific to .ASP files. Any other file is visible. dows anyone one know whats happening or if there are known bugs in NT SP5? Maybe its an IIS error?

Thanks,

Rob.

Joe Ismert
November 17th, 1999, 04:32 PM
I am not sure if this is the same problem that I am having, but it seems that an empty or text only ASP page is fine, but when I try to implement any server side code then
I start getting all kinds of Creatobject erros, etc. And my server (windows 2000) seems to not understand how to interpret ASP pages even when I open them from the server-- so I started digging around and think that I need to install/reinstall the ctive Server Pages on the Server-- but I am not sure how to do that since windows 2000 is supposed to have this installed already-- if I come across anything I will try to keep you updated.

Robert Fernando
November 17th, 1999, 08:25 PM
I think the problem you are having is with security. Let me guess, when you running through the VB IDE everything is fine. But the moment you use the actual DLL nothing works.

If this is the case then you need to go to the Virtual Directory properties of your project in Management Console (MMC) (or whatever is supported in W2K) and check the Directory Securities.

Make sure that Anonymous Access is checked. Also make sure that the Account (IUSR_macname, or whatever you are using..) has the relevant rights to Create the particular object in question. It is also useful to check the security permission in NTFS for the the IUSR account.

Hope this helps.

Rob.