ASP Page produces 500 error

D

David Wolfe

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
 
K

Kevin Spencer

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.
 
G

Guest

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
 
K

Kevin Spencer

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.
 
Top