And... What is inside of the Default.aspx? I ask because... if you mirror non-existent web page, it will save the server 404 response instead of what you wanted...
2009/7/20 Mitch <[email protected]> > > OK > > So, > > 1. I copied the website into c:\inetpub\wwroot\ProgramA > 2. I refreshed the view in IIS and it now shows that folder. > 3. In IIS, I went to the properties of that folder and ran create > application. That sees to work, the icon in IIS changed to this yellow > wheel. > 4. I go to Default.aspx in IIS, right hand mouse click and select > browse. Up comes a "The page cannot be found" screen in iis. On the > address bar it reads > > http://localhost/ProgramA/Default.aspx > > 5. I tried changing it it http://192.0.0.5/ProgramA/Default.aspx and > the same thing happens (192.0.0.5 is the machines IP address on our > lan) > > Any thoughts? > > One thing I noted. > > I turned directory browsing on for the root inside IIS. If I go to > > http://localhost, the entire directory tree comes up. I can see the > directory ProgramA. > > When I click on that direrctory, no dice, it comes up with "The page > cannot be found" > > > > On Jul 18, 4:17 pm, Juan <[email protected]> wrote: > > You can try creating a web set up project and then install your > > application this will do the iis configuration for you.... > > > > On Jul 18, 5:32 am, Cerebrus <[email protected]> wrote: > > > > > To add to what Jay Dan has mentioned, sites running through the local > > > IIS server need to be configured as a virtual directory and their > > > permissions need to be set. In addition, for ASP.NET > > > <http://asp.net/>sites, you need > > > to "create an application" so that IIS can recognize the directory as > > > a whole application. > > > > > On Jul 18, 1:30 pm, Jay Dan <[email protected]> wrote: > > > > > > 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 tohttp://localhost/CamUtils/Default.aspxIgetthe > > > > > 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- Hide quoted text - > > > > > > - Show quoted text - >
