Cannot access ASP webpage

Posted on 2011-04-25
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
    LVL 38

    Expert Comment

    by:Aaron Tomosky
    Right click vd, convert to application
    LVL 2

    Author Comment

    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.
    LVL 2

    Accepted Solution

    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.
    LVL 2

    Author Closing Comment

    Solution was database issue- not ASP

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    Suggested Solutions

    Title # Comments Views Activity
    SSRS 2012 URL 11 39
    API not working 33 41
    Hide row when retrieving data from database 6 23
    SSO via Webmail site, Exchange 2010. 1 20
    I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
    Lync server 2013 Backup Service Error ID 4049 – After File Share Migration
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…

    758 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

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now