PDA

View Full Version : Migrated to IIS7/Windows 2008 - getting ASP 0131 Error


ColdSun
08-05-2008, 07:23 AM
Hello,

I upgraded to IIS7 and Windows 2008. After the upload everything seems to work ok except on one of my classic ASP applications I get this error:

Active Server Pages error 'ASP 0131'
Disallowed Parent Path

I can't seem to find anywhere in the control panel for IIS to change the parent paths option. I also loaded up the new IIS 7 Application Manager and can't seem to find the setting in there either. Any help would be appreciated - the only thing stopping my application from running is this parent paths issue. It has my connection to the database!

Regards,
ColdSun

wisemx
08-05-2008, 07:34 AM
Hi,
If you're only running ASP for now log into the Control Panel and change your IIS7 mode to Classic.
That may just do it.
Salute,
Mark

ColdSun
08-05-2008, 07:42 AM
That didn't do it but thanks much for helping out. :)



wisemx said...
Hi,
If you're only running ASP for now log into the Control Panel and change your IIS7 mode to Classic.
That may just do it.
Salute,
Mark

wisemx
08-05-2008, 07:47 AM
Hi,
Check to see if you are using "file" for includes.
It's even more important now on IIS7 to change each include method to "virtual".
http://support.microsoft.com/kb/226474

I started doing that with Classic ASP when the v3 server directives came out years ago.
Salute,
Mark

ColdSun
08-05-2008, 08:15 AM
Thanks Mark. I was thinking of creating a virtual directory so I could point to things in it. The only problem is I don't see the capability of doing that anywhere in these new controls.

ColdSun
08-05-2008, 08:33 AM
Support fixed me up. They are really good here. Thanks guys!

bruce
08-06-2008, 12:06 AM
With IIS 7, we disabled Parent Path by default and you need to create a ticket to enable it.

Bruce

DiscountASP.NET
www.DiscountASP.NET (http://www.DiscountASP.NET)

wisemx
08-06-2008, 12:10 AM
Thanks for lettingus know about that bro.
I'll make a note...Had no idea. http://community.discountasp.net/emoticons/tongue.gif