[Last Call] Learn how to a build a cloud-first strategyRegister Now


Cannot access ASP webpage

Posted on 2011-04-25
Medium Priority
Last Modified: 2012-06-27
I am attempting to configure a W2003 Server to host an ASP website built in VB with .NET 2.0.
I first created a virtual directory to the site files but recieved an error message about the SQL connection, but the default.aspx page was being read.  I then installed the .NET 2.0 SDK and ran aspnet_regiis.exe, removed the site, restarted the server, and reinstalled the site in IIS.  Now I get "The page cannot be found".  Other non-ASP sites hosted from the server are working fine.  I am trying to connect using http://localhost/jobmanager (jobmanager being the alias of the Virtual Directory.  
Question by:STS-Tech
  • 3
LVL 39

Expert Comment

by:Aaron Tomosky
ID: 35462355
Right click vd, convert to application

Author Comment

ID: 35462453
I found that the some .NET and ASP fuctions were 'prohibited' on the server.  I've enabled them and now I'm getting an "Unable to open the physical file "C:\'filepath'\'database'" error message.

As for your suggestion- I don't have a convert option, just the usual Explore, Open, Permissions, Browse adn so forth.

Accepted Solution

STS-Tech earned 0 total points
ID: 35755481
Found the problem- if you attach to the database in SQL Express Man Studio, it cannot be accessed by IIS.  Simply detaching the database made it start working.

Author Closing Comment

ID: 35783761
Solution was database issue- not ASP

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses
Course of the Month18 days, 6 hours left to enroll

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question