View Full Version : linking to asp page

08-16-2007, 04:04 AM
I need to link to an asp page, which i thought would be very simple.

The link is:

which I copy&pasted from my browser. However, when I use that as a hyperlink, I get "Page can not be found"

I figure there is a way around this, any help?

If it makes a difference, I am trying to access that page from a linux server.


08-16-2007, 04:41 AM
That link works fine when you try to access it from that website (it's the Properties link at the top of the main page, for anyone who might not care to search). They probably have some code on their site to prevent you from accessing that page externally.

Are you trying to put copyrighted content from someone else's site on your own? I certainly hope not.

08-16-2007, 05:23 AM
No, it's not copyrighted, and I do have permission. It is my old site. I just want the new one to point to certain parts of the old one, like that page. A friend was able to do it, using, I thought, the same link I used, but with her info.

08-16-2007, 02:35 PM
I followed the link and got the website cannot be found error. It also says on the page I got that you need to specify an account id as part of your querystring. The link you posted doesn't have that value.
Here's the message:

Try the Following:

The URL specified is invalid.
Make sure the Account ID is specified.

The account specified is either invalid or does not exist.
Make sure the Account ID is not incomplete.

08-16-2007, 11:31 PM
Yes, I agree, that is the issue. however, I do have it included in the link.

In Dreamweaver the link is shown as green, except for the ID # which is blue. I assume that means something, but I have no idea what.


08-17-2007, 03:16 PM
Post the full line of code for the link.

08-20-2007, 02:08 AM
<li><a href="http://www.karengalese.mainlinerealty.com/remaxpamainline/modules/agent/agent.asp?p=text&id=2217">Properties</a></li>


08-20-2007, 01:38 PM
The account id isn't specified in the link unless it's the id value. If so it's not named correctly and that's why the page can't find it. Try this link. I highlighted in red what I changed.

<li><a href="http://www.karengalese.mainlinerealty.com/remaxpamainline/modules/agent/agent.asp?p=text&acc=2217">Properties</a></li>

08-20-2007, 01:50 PM
you have to specify both id and acc in the url:


08-21-2007, 04:41 AM
worked perfectly, thanks!

08-21-2007, 12:29 PM
You are right, it works, I have accessed by curiosity.