PC Review


Reply
Thread Tools Rate Thread

ASP Page produces 500 error

 
 
David Wolfe
Guest
Posts: n/a
 
      8th Jan 2004
While using FrontPage 2003 against a Windows 2003
Server,I created a form/database connection. This runs
fine in the root folder of the server but when I create
the same file in a sub-directory, I get a 500 server
error.

I've checked NTFS permissions and both folders give
EVERYONE and server/users RWX permission.

Any Ideas?

-dw
 
Reply With Quote
 
 
 
 
Kevin Spencer
Guest
Posts: n/a
 
      8th Jan 2004
The 500 server error number indiates only that a server application threw an
error. You need more information. Make sure that "Friendly HTTP Error
Messages" is turned off in your IE Advanced settings, and send us the exact
error message that you get when you run it.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"David Wolfe" <(E-Mail Removed)> wrote in message
news:06fe01c3d5ff$4b5def90$(E-Mail Removed)...
> While using FrontPage 2003 against a Windows 2003
> Server,I created a form/database connection. This runs
> fine in the root folder of the server but when I create
> the same file in a sub-directory, I get a 500 server
> error.
>
> I've checked NTFS permissions and both folders give
> EVERYONE and server/users RWX permission.
>
> Any Ideas?
>
> -dw



 
Reply With Quote
 
Guest
Posts: n/a
 
      8th Jan 2004
Yup..

That Friendly HTTP Error Messages is oh so useful. It
turns out that the error has to do with the file name of
the includes.

When I accidentally created the forM--->database page in
the root of the server, all was well. It failed when th
form page is saved in a sub-folder.

--------

Active Server Pages error 'ASP 0131'
Disallowed Parent Path
/cis125/wolfe/test1.asp, line 70
The Include file '../../_fpclass/fpdbform.inc' cannot
contain '..' to indicate the parent directory.
-------

In fact, when I edited the WebBot code...

"U-ASP-Include-Url="fpdbform.inc"

....and moved a copy of fpdbform.inc into the same
directory as the page containing the form, the webbot
code no longer needs the absolute path and worked fine.

Doesn't it seem odd that one can't save a DBWebbot page
into a directory other than the root?

-DW


>-----Original Message-----
>The 500 server error number indiates only that a server

application threw an
>error. You need more information. Make sure

that "Friendly HTTP Error
>Messages" is turned off in your IE Advanced settings,

and send us the exact
>error message that you get when you run it.
>
>--
>HTH,
>Kevin Spencer
>..Net Developer
>Microsoft MVP
>Big things are made up
>of lots of little things.
>
>"David Wolfe" <(E-Mail Removed)> wrote in message
>news:06fe01c3d5ff$4b5def90$(E-Mail Removed)...
>> While using FrontPage 2003 against a Windows 2003
>> Server,I created a form/database connection. This runs
>> fine in the root folder of the server but when I create
>> the same file in a sub-directory, I get a 500 server
>> error.
>>
>> I've checked NTFS permissions and both folders give
>> EVERYONE and server/users RWX permission.
>>
>> Any Ideas?
>>
>> -dw

>
>
>.
>

 
Reply With Quote
 
Kevin Spencer
Guest
Posts: n/a
 
      8th Jan 2004
Wish I could comment, but I never use the Database wizards. I prefer to roll
my own.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

<(E-Mail Removed)> wrote in message
news:092201c3d615$52fd38d0$(E-Mail Removed)...
> Yup..
>
> That Friendly HTTP Error Messages is oh so useful. It
> turns out that the error has to do with the file name of
> the includes.
>
> When I accidentally created the forM--->database page in
> the root of the server, all was well. It failed when th
> form page is saved in a sub-folder.
>
> --------
>
> Active Server Pages error 'ASP 0131'
> Disallowed Parent Path
> /cis125/wolfe/test1.asp, line 70
> The Include file '../../_fpclass/fpdbform.inc' cannot
> contain '..' to indicate the parent directory.
> -------
>
> In fact, when I edited the WebBot code...
>
> "U-ASP-Include-Url="fpdbform.inc"
>
> ...and moved a copy of fpdbform.inc into the same
> directory as the page containing the form, the webbot
> code no longer needs the absolute path and worked fine.
>
> Doesn't it seem odd that one can't save a DBWebbot page
> into a directory other than the root?
>
> -DW
>
>
> >-----Original Message-----
> >The 500 server error number indiates only that a server

> application threw an
> >error. You need more information. Make sure

> that "Friendly HTTP Error
> >Messages" is turned off in your IE Advanced settings,

> and send us the exact
> >error message that you get when you run it.
> >
> >--
> >HTH,
> >Kevin Spencer
> >..Net Developer
> >Microsoft MVP
> >Big things are made up
> >of lots of little things.
> >
> >"David Wolfe" <(E-Mail Removed)> wrote in message
> >news:06fe01c3d5ff$4b5def90$(E-Mail Removed)...
> >> While using FrontPage 2003 against a Windows 2003
> >> Server,I created a form/database connection. This runs
> >> fine in the root folder of the server but when I create
> >> the same file in a sub-directory, I get a 500 server
> >> error.
> >>
> >> I've checked NTFS permissions and both folders give
> >> EVERYONE and server/users RWX permission.
> >>
> >> Any Ideas?
> >>
> >> -dw

> >
> >
> >.
> >



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Same report, same data, produces extra page BrianDP Microsoft Access Reports 1 28th Sep 2011 06:24 PM
Merge produces a blank page after every page dkoleno Microsoft Word Document Management 2 29th Apr 2008 10:50 PM
IE send page produces .htm attachment not .txt =?Utf-8?B?V29v?= Windows XP Internet Explorer 0 15th Dec 2004 03:07 PM
Minus key produces Invalid Page Fault Ian Microsoft Excel Crashes 0 16th Aug 2004 10:32 AM
browser produces blank page Sheeren Windows XP Internet Explorer 1 31st Jan 2004 02:21 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:38 PM.