Page not displayed using Links from SQL 2000 DB

TomV

New member
Joined
Nov 19, 2007
Messages
3
Programming Experience
Beginner
Hi,

Hope this is the correct spot in the forums for this:

Website crashed and am rebuilding from scratch. Basically an ASP site, Data driven by SQL Server 2000 running II6 on Windows Server 2003 SP2.

Problem is that any URL links that are generated from the SQL DB cause a Page Not Displayed 404 error.

So when surfing you will see a link that looks like www.mysite.com/notes/7.zip

In reality, through the SQL Server DB, the links might be changed to www.mysite.com/note/paper/mypapers.zip using code similar to below (Mind you this worked fine until the crash) :

<a target=_new href=note/<%=rs("id")%>.zip><%=rs("num")%>

So it should redirect to the new link but for some reason we get a 404 error.
If we type the exact path in it works as advertised. But for some reason when retrieving the link from the Database it doesn't.

IIS Log files show an SC-Status of 404 , and the Sc-Win32-Staus code of 3.
I've checked every metabase setting and permissions I can think of and it looks good.

In fact used the METABASE XML File from the crashed server to create this site.

I'm thinking I've missed a setting somewhere and hope some one can help.

Thanks !!!
 
Back
Top