Link to home
Start Free TrialLog in
Avatar of rhkennerly
rhkennerlyFlag for United States of America

asked on

ASP VB, IIS 5, Access, localhost, & 404 Error - new install DW

ASP VB, IIS 5, Access, localhost & 404 Error - new install DW  I've not seen this before.  

I've got a new machine I've installed dw on.  I've set up the site as usual in dw (loal, remote, & testing all point to the same directory).  

I'm trying to be more secure by using virtual directories instead of putting everything in inetpub/wwwroot.  I've created the virtural pointer in IIS.  

I've given Everyone & IUSER full control permissions along the directory path that forms the IIS virtual directory.  

I've created an ODBC connection that points to an access.db.  


Now, whenever I try to defie a database in DW (application/databases), I get this message when I click the "Use Testing DSN" radio button and click the "Define" button:

HTTP Error Code 404 File Not Found. Here are some possible reasons for the problem:

1) There is no testing server on the server machine.  
2. The testing server specified for this site does not map to the http://localhost/_mmServerScripts/MMHTTPDB.asp URL.  Verify that the URL Prefix maps to the root of the site.  

Also, If I try to preview my template.asp page, I get the browser 404 File Not Found error page.  Internet Information Services.

I've deleted the _mmServerScripts folder and let the site setup rebuild it.  What am I doing wrong here?
Avatar of rhkennerly
rhkennerly
Flag of United States of America image

ASKER

Okay, I just put the whole shooting match into a directory off of the inetpub/wwwroot director and everything works perfectly.  What's the secret to creating a virtual directory outside the root?  
Avatar of iscode
iscode

Maybe this gives you some inside into
>>What's the secret to creating a virtual directory outside the root?  
http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/5adfcce1-030d-45b8-997c-bdbfa08ea459.mspx

hope that helps you
iscode
this one specifies more on IIS 5 as thats what your using
http://support.microsoft.com/default.aspx?scid=kb;en-us;172138&sd=tech

iscode
Thanks for the effort.  I'd done all the things they suggested.  Still, won't work a VD outside the inetpub root.  Very odd.  

ASKER CERTIFIED SOLUTION
Avatar of dalia33
dalia33

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
No, did that too.  But thanks.  What else can you think of?
Under "Application Protection", have you tried changing the default "Medium(Pooled)" to Low(IIS Process)?

I'm going to assume that you have the latest Service Packs, if the answer to the question above is "Yes".

Also, could you post your DW Site information: Local Info, Remote Info, and Testing Server.

Also, did you try uninstalling IIS after you loaded the fresh DW and then re-installing it? IIS might have gotten corrupted.

Have you tested your global.asa to ensure that it isn't corrupted?

Let's work with these for now.
Dalia

A few more things for thought:

Do you have the latest Access drivers?

How are you connecting to the database? DSN or a Connection String?

Have you tried getting the virtual path of your page using Request.ServerVariables and then getting the physical path with Server.MapPath and then comparing them? Are your files actually located in the directory that the physical path points to?

I'll keep trying to think of more things to check.
Dalia