Last post Mar 30, 2013 03:43 AM by oned_gk
Mar 29, 2013 12:40 PM|JLX17|LINK
I've been programming in VB .NET seven years or so but have not done anything in ASP .NET yet. So we were in need of a simple website so I created it is ASP .NET, VS 2005. I create a page that takes some information and saves it to our SQL Server(2008) with
an ODBC connection. This all works correctly when I run it through the IDE. I then right clicked the website and selected Publish website. I used the default settings.
I then copied the folder and pasted into c:\inetpub\wwwroot\ on the machine I would be hosting the website. The machine is a Windows Server 2008 R2 Datacenter running Windows 7. I Installed the Web Server (IIS) role.
I then went into the IIS Manager and on Default Web Site I did and Add Virtual Directory, put in an alias, and set the Physical Path to the folder I copied to wwroot. I then switched the virtual directoy to an application. When I browse to the location or
the aspx page I get an 404 "The requested resource is not available".
I also tried adding it as a new website under Sites and that did not work either. Under this scenario however I get an "Internat unable to display the page webpage" error.
It might be something really trivial since I haven't been trained in this but I've found a coulpe walkthroughs on the internat for publishing a website, follow them, and did not get the site to work.
Mar 29, 2013 01:22 PM|thirumaran007|LINK
1. try to restart your appool
2. click on remove web site button and then create website again.
Mar 30, 2013 01:04 AM|ramiramilu|LINK
Cross check your deployment steps with those in here -
Mar 30, 2013 01:18 AM|GaurangNaik|LINK
Here is the quick checklist:
Mar 30, 2013 01:57 AM|ninianne98|LINK
make sure you checked the ASP.net feature as part of IIS - if ASPX has not been configured, you will get 404s when trying to access pages
also, make sure that .Net is registered with IIS aspnet_regiis -i -enable
aspnet_regiis -i -enable
Mar 30, 2013 03:43 AM|oned_gk|LINK