This topic is locked

Virtual Directory doesn't show up

1/20/2008 4:59:59 AM
PHPRunner General questions
bbarker author

ON the OUTPUT DIRECTORY screen, the button for a virtual directory is grayed-out... It won't let me enter one.
I have saved the OUTPUT files to "Program Files" directory and then created a Virutal Directory in IIS 7 (Vista) but when I try to view it, it says not found. eg. http://localhost/databasevirtualdirectory
When I save them to wwwroot, I get everything just fine... eg. http://localhost/databaseoutputdirectory
Any idea why the VIRTUAL NEW button is grayed out?

Alexey admin 1/22/2008

Bill,
to get PHPRunner working with IIS on Vista you need to turn off Admin approval mode.
Follow instructions under "Disable Admin Approval Mode" in this article:

http://technet2.microsoft.com/WindowsVista...3.mspx?mfr=true
The other way is to save your projects in a folder outside of Program Files directory and create virtual directories manually.

bbarker author 1/22/2008

Thank you... that was exactly what I needed.

bbarker author 1/22/2008

<img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=25107&image=1&table=forumreplies' class='bbc_emoticon' alt='B)' />--><div class='quotetop'>QUOTE(Bill B @ Jan 22 2008, 08:49 AM) <{POST_SNAPBACK}></div><div class='quotemain'><!--quotec-->to get PHPRunner working with IIS on Vista you need to turn off Admin approval mode.
Follow instructions under "Disable Admin Approval Mode" in this article:

http://technet2.microsoft.com/WindowsVista...3.mspx?mfr=true
The other way is to save your projects in a folder outside of Program Files directory and create virtual directories manually.[/quote]
I was too optimistic.

  1. The technet article says " ...This procedure is not supported on... Windows Vista Home Premium." So it didn't work. There is no "secpol.msc" command.
  2. I copied all of the files to c:\phprunnerdb\ONE and created a new virtul directory to point to it. I get a 404 error.
    NOTE: In IIS7 when looking at the virtual directory, all of the files show up on the left side listing, and when I click on "Explore" it works. But when I click on "Browse" it returns the 404 error.
    Any more ideas? I have also completely disabled UAC on my Admin account.

bbarker author 1/23/2008

About 20 minutes after I posted the note above, it started working!!!!!!!!! I don't know for sure what I did to fix it (because I made sooooo many changes), but here's some more info for anyone else who has this problem.
I did save my files outside of "Program Files" but that didn't do anything. eg. c:\phpdb\one It still didn't work.
My best guess, is that I "think" that removing UAC was the key... I will experiment more with it later.
Also, in my tweaking, one of the things that I did was that I REMOVED all of my virtual directories using IIS7 and restarted IIS.
Then by magic, the NEW button for allowing virutal locations on the Runner screen showed up for the very first time.
Now, one of the things that was a surprise to me, and isn't documented very well, is that Runner actually creates the virtual directory itself!! Once I entered a virtual name and a physical name it worked. And the location that I chose was INSIDE the WWWROOT folder.
Naturally the templates_c error showed up but was fixed by changing the permissions on that folder to "write".
I'll try to post more later.