I guess you have just copied the entire folder structure under inetpub folder and when you opened the same in iis you just right clicked any .aspx page to run it. Right click the folder in iis go to properties>under directory tab click “Create application” under Application settings. After creating the application try the page. Alternatively you can create a new site or new virtual directory using the wizard provided by iis and map the folder at the time when the wizard will ask you for the folder location.
On Fri, Jul 17, 2009 at 11:40 PM, [email protected] <[email protected] > wrote: > > So I have always done windows apps. Now I am doing a web app. Pretty > easy stuff it seems. > > It runs fine when I click on start on the IDE, IO can run the app just > fine. > > So, I took the entire development directory tree and copied it to a > iis server (iis 6.0 running on win2003 server). > > If I try to go to http://localhost/CamUtils/Default.aspx I get the > dreaded "the page cannot be found" screen. Of note... > > I created a Default.htm and when I right hand mose click on it in IIS > manager it opens right up. But even if I right-click on the > Default.aspx I get the page cannot be found. > > I know I have the framework installed, because the iis server IS the > machine I did development on in VS 2008. > > Any thought would be greatly appreciated. -- Jay
