ASP help please

  • Wurn
  • Graduate
  • Graduate
  • User avatar
  • Joined: May 19, 2005
  • Posts: 114
  • Loc: Cape Town
  • Status: Offline

Post February 6th, 2008, 4:44 am

Hey guys, my client switched service providers and i ftp'd his old website to the new service provider. I have no clue as to what or how they did his old site but now i am getting this error:

Active Server Pages error 'ASP 0131'

Disallowed Parent Path

/fma/Default.asp, line 2

The Include file '../Connections/Aquanutro.asp' cannot contain '..' to indicate the parent directory.


How do i fix it, it looks like it does not like the ../ function. The site is : http://www.aquanutro.com
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post February 6th, 2008, 4:44 am

  • kbergmann
  • Expert
  • Expert
  • User avatar
  • Joined: Dec 04, 2007
  • Posts: 660
  • Loc: USA
  • Status: Offline

Post February 6th, 2008, 6:07 am

Is the folder structure EXACTLY the same? If you look at them side by side, are both structures identical? Do you know for certain the new server allows ASP :) not all do, if mine did I would use it.
  • kbergmann
  • Expert
  • Expert
  • User avatar
  • Joined: Dec 04, 2007
  • Posts: 660
  • Loc: USA
  • Status: Offline

Post February 6th, 2008, 6:12 am

Google My Friend ...

http://support.microsoft.com/kb/226474

http://www.bellaonline.com/articles/art42211.asp

Good Luck :)
  • Wurn
  • Graduate
  • Graduate
  • User avatar
  • Joined: May 19, 2005
  • Posts: 114
  • Loc: Cape Town
  • Status: Offline

Post February 6th, 2008, 7:00 am

First off thx for reply, second i endabled the ASP functionality myself so yes it works, therefore the error message, and thirdly i copied ALL the files as is and ftp'd them to new server.

Also as not to sound cocky or arrogant, what is the puropse of a site like this and forums like this if everyone should be googling... I learn the most and get most of my answers by asking questions in forums like this... As it is i only asked here because i am pressed for time, heap loads of work and no time to google for an answer. Your info helped thx


kbergmann wrote:
Is the folder structure EXACTLY the same? If you look at them side by side, are both structures identical? Do you know for certain the new server allows ASP :) not all do, if mine did I would use it.
:)

Thx for your help!
  • kbergmann
  • Expert
  • Expert
  • User avatar
  • Joined: Dec 04, 2007
  • Posts: 660
  • Loc: USA
  • Status: Offline

Post February 6th, 2008, 7:10 am

The second link I posted for you states how to enable the parent paths on a IIS Server / Manager. It tells you how get rid of your specific error.

@wurn - I used to manage a fairly large aspx app on an intranet and I asked my questions as the IT group kindly renamed folders for me and shuffled stuff around without me knowing and wanted to make sure that you didn't overlook any of that. As I left one day and on Monday broken and it was "my fault" and had to prove it wasn't :)
  • Wurn
  • Graduate
  • Graduate
  • User avatar
  • Joined: May 19, 2005
  • Posts: 114
  • Loc: Cape Town
  • Status: Offline

Post February 6th, 2008, 7:19 am

Gotcha, thx, sorry if i sounded abrubt, your help IS much appreciated.

I have now enabled the parent paths option, just giving the server time to respond to it. Honestly i have no idea how they did this website, its all over the show. I copied anything and everything and hopefully ftp'd the correct files up again.

I am currently busy with this http://www.nutroscience.com site which is the main site and http://www.aquanutro.com links to it. I am going to redesign aquanutro.com site asswell and others asswell. So my client is waiting for the aquanutro site to work properly...

Ta!

kbergmann wrote:
The second link I posted for you states how to enable the parent paths on a IIS Server / Manager. It tells you how get rid of your specific error.

@wurn - I used to manage a fairly large aspx app on an intranet and I asked my questions as the IT group kindly renamed folders for me and shuffled stuff around without me knowing and wanted to make sure that you didn't overlook any of that. As I left one day and on Monday broken and it was "my fault" and had to prove it wasn't :)
  • kbergmann
  • Expert
  • Expert
  • User avatar
  • Joined: Dec 04, 2007
  • Posts: 660
  • Loc: USA
  • Status: Offline

Post February 6th, 2008, 7:38 am

NP man, let us know how you make out .... Just trust that when people reshuffle folders on you ... that it is NOT a fun mess to fix :)
  • kbergmann
  • Expert
  • Expert
  • User avatar
  • Joined: Dec 04, 2007
  • Posts: 660
  • Loc: USA
  • Status: Offline

Post February 6th, 2008, 7:42 am

Another thing to try view both of the IIS Servers side by side and the Managers to double check that all the settings match.
  • Wurn
  • Graduate
  • Graduate
  • User avatar
  • Joined: May 19, 2005
  • Posts: 114
  • Loc: Cape Town
  • Status: Offline

Post February 11th, 2008, 2:37 am

AS you said shuffling sites from one service provider to another can be tricky, well you allmost said it.

OK so here is what i am getting now, when going to the resoursce link

Microsoft JET Database Engine error '80004005'

'c:\aquanutro.com\wwwroot\data\aquanutro.mdb' is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides.

/resources/news/Default.asp, line 15

IT keeps on wanting to pull the database from the c: drive. Although it is here - aquanutro.com\wwwroot\data\aquanutro.mdb

I am noooo fundy on databases, please help
  • Wurn
  • Graduate
  • Graduate
  • User avatar
  • Joined: May 19, 2005
  • Posts: 114
  • Loc: Cape Town
  • Status: Offline

Post February 11th, 2008, 2:42 am

oh it use to be calling this:

c:\Inetpub\vhosts\aquanutro.com\httpdocs\data\aquanutro.mdb
  • kbergmann
  • Expert
  • Expert
  • User avatar
  • Joined: Dec 04, 2007
  • Posts: 660
  • Loc: USA
  • Status: Offline

Post February 11th, 2008, 6:35 am

Looking at what you posted, I would say that the set ups do not match exactly. I am fairly certain you will need to mirror the original set up EXACTLY or move the database and modify your code. Depends what you (and your employers) decide on doing.
  • Wurn
  • Graduate
  • Graduate
  • User avatar
  • Joined: May 19, 2005
  • Posts: 114
  • Loc: Cape Town
  • Status: Offline

Post February 11th, 2008, 6:53 am

I think a complete modifying of code to see the database is unavoidable for me. I really dont want to look at someone else code to figure out what theyve done, besides we are not getting paid to do so. Only paid to transfer the job.

Oh well i'll have to get on it then.

THx for your help!
  • kbergmann
  • Expert
  • Expert
  • User avatar
  • Joined: Dec 04, 2007
  • Posts: 660
  • Loc: USA
  • Status: Offline

Post February 11th, 2008, 6:58 am

NP ... Wish I could have been more helpful.

Post Information

  • Total Posts in this topic: 13 posts
  • Users browsing this forum: No registered users and 180 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© Unmelted Enterprises 1998-2009. Driven by phpBB © 2001-2009 phpBB Group.