DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Tue, 14 Aug 2007 02:16:48 -0700,    posted on: microsoft.public.dotnet.framework.aspnet        back       

Thread Index
  1    Mike P
          2    Alexey Smirnov
                 3    Mike P
                 4    Juan T. Llibre
                 5    Alexey Smirnov
                        6    Mike P
                               7    Mike P
                        8    Juan T. Llibre
                        9    Alexey Smirnov
                               10    Mike P
          11    Juan T. Llibre
                 12    Mike P
                 13    Juan T. Llibre


file could not be found on localhost   
I have just installed IIS on my XP machine, and created a folder in
inetpub/wwwroot with several asp and html files in, but when I go to
http://localhost/foldername/filename, I just get 'File could not be
found'.  What am I doing wrong?



*** Sent via Developersdex http://www.developersdex.com ***
Date:Tue, 14 Aug 2007 02:16:48 -0700   Author:  

Re: file could not be found on localhost   
On Aug 14, 11:16 am, Mike P  wrote:

> I have just installed IIS on my XP machine, and created a folder in
> inetpub/wwwroot with several asp and html files in, but when I go tohttp://localhost/foldername/filename, I just get 'File could not be
> found'.  What am I doing wrong?
>
> *** Sent via Developersdexhttp://www.developersdex.com***


Is the web server running? What do you have when you navigate http://localhost
?
Date:Tue, 14 Aug 2007 03:09:19 -0700   Author:  

Re: file could not be found on localhost   
In the status bar is ASP.NET Development Server - Port 1073, but when I
click on Start Debugging I get the error  :

http://localhost.lbm-solution.com:1073/default.aspx url could not be
retrieved

When trying to get to an ASP page, I get the error :

The page cannot be found





*** Sent via Developersdex http://www.developersdex.com ***
Date:Tue, 14 Aug 2007 03:50:05 -0700   Author:  

Re: file could not be found on localhost   
Create a virtual directory which points to drive:\inetpub\wwwroot\foldername, using the IIS Manager.
Open the IIS Manager, right-click the "Default Web Site", select "New", and then "Virtual Directory".

Name the virtual directory whatever you want to, point the virtual directory to the physical directory,
and call your files in the browser with:

http://localhost/whateveryounamedthevirtualdir/file.aspx
or
http://localhost/whateveryounamedthevirtualdir/file.html
or
http://localhost/whateveryounamedthevirtualdir/file.asp

If you configure a default document for the site, it will come up ( if the file exists ) with :

http://localhost/whateveryounamedthevirtualdir/




Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
======================================
"Mike P"  wrote in message news:unEXYPl3HHA.5160@TK2MSFTNGP05.phx.gbl...

>I have just installed IIS on my XP machine, and created a folder in
> inetpub/wwwroot with several asp and html files in, but when I go to
> http://localhost/foldername/filename, I just get 'File could not be
> found'.  What am I doing wrong?
Date:Tue, 14 Aug 2007 07:09:15 -0400   Author:  

Re: file could not be found on localhost   
Tried it and it doesn't work



*** Sent via Developersdex http://www.developersdex.com ***
Date:Tue, 14 Aug 2007 04:29:47 -0700   Author:  

Re: file could not be found on localhost   
You tried... what ?

Is IIS running ?

Did you create a virtual directory ?
Did you run into problems creating a virtual directory ?

Did you create the virtual directory but the site doesn't run ?

What happened ? What is the error reported ?




Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
======================================
"Mike P"  wrote in message news:eOlfsZm3HHA.5160@TK2MSFTNGP05.phx.gbl...

> Tried it and it doesn't work
>
>
>
> *** Sent via Developersdex http://www.developersdex.com *** 
Date:Tue, 14 Aug 2007 08:08:34 -0400   Author:  

Re: file could not be found on localhost   
Here's complete instructions on how to enable debugging for ASP.NET applications:
http://msdn2.microsoft.com/en-us/library/e8z01xdh(VS.80).aspx

Keep in mind that you cannot debug in Visual Web Developer Express.
You can only debug if you use Visual Studio.



Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
======================================
"Mike P"  wrote in message news:%23$HigDm3HHA.5160@TK2MSFTNGP05.phx.gbl...

> In the status bar is ASP.NET Development Server - Port 1073, but when I
> click on Start Debugging I get the error  :
>
> http://localhost.lbm-solution.com:1073/default.aspx url could not be
> retrieved
>
> When trying to get to an ASP page, I get the error :
>
> The page cannot be found
>
>
>
>
>
> *** Sent via Developersdex http://www.developersdex.com *** 
Date:Tue, 14 Aug 2007 08:14:07 -0400   Author:  

Re: file could not be found on localhost   
On Aug 14, 12:50 pm, Mike P  wrote:

> In the status bar is ASP.NET Development Server - Port 1073, but when I
> click on Start Debugging I get the error  :
>
> http://localhost.lbm-solution.com:1073/default.aspxurl could not be
> retrieved
>
> When trying to get to an ASP page, I get the error :
>
> The page cannot be found
>


It cannot find your server.

If you develop a web application, you should specify the server. Go to
Project - <appname> Properties and check what you have under Servers.
I guess you specified Use Visual Studio development server and port
number is 1073. In this case http://localhost/ will not work, but
http://localhost:1073 should work.

I'm not sure why VS.NET server is pointing you to
http://localhost.lbm-solution.com:1073/default.aspx, try http://localhost:1073/
instead
Date:Tue, 14 Aug 2007 05:22:48 -0700   Author:  

Re: file could not be found on localhost   
When I try http://localhost:1073/, it gets redirected to
http://localhost.lbm-solution.com:1073/default.aspx.  This is what
happens run an ASP.NET app through VS 2005.  Writing an ASP app using
Dreamweaver and then going to http://localhost/appname/pagename just
gets 'Page could not be found'.

I have never seen anything like this before, maybe I should
uninstall/reinstall all the relevant software?  Although this would
still not explain why the ASP created in Dreamweaver or Notepad does not
work.



*** Sent via Developersdex http://www.developersdex.com ***
Date:Tue, 14 Aug 2007 06:09:47 -0700   Author:  

Re: file could not be found on localhost   
Strangely, when I run VS 2005, it only gives me the option to Open or
Create a Project, and not a Website as it usually does...?


*** Sent via Developersdex http://www.developersdex.com ***
Date:Tue, 14 Aug 2007 06:19:47 -0700   Author:  

Re: file could not be found on localhost   
re:
!> Writing an ASP app using Dreamweaver and then going to
!> http://localhost/appname/pagename just gets 'Page could not be found'.

Is appname a virtual directory's name ?
As soon as you make appname a virtual directory, the file will be "found".

Dreamweaver doesn't create IIS applications.
You must create them with the IIS Manager.




Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
======================================
"Mike P"  wrote in message news:%23W04kRn3HHA.484@TK2MSFTNGP06.phx.gbl...

> When I try http://localhost:1073/, it gets redirected to
> http://localhost.lbm-solution.com:1073/default.aspx.  This is what
> happens run an ASP.NET app through VS 2005.  Writing an ASP app using
> Dreamweaver and then going to http://localhost/appname/pagename just
> gets 'Page could not be found'.
>
> I have never seen anything like this before, maybe I should
> uninstall/reinstall all the relevant software?  Although this would
> still not explain why the ASP created in Dreamweaver or Notepad does not
> work.
>
>
>
> *** Sent via Developersdex http://www.developersdex.com *** 
Date:Tue, 14 Aug 2007 09:58:15 -0400   Author:  

Re: file could not be found on localhost   
On Aug 14, 3:09 pm, Mike P  wrote:

> When I tryhttp://localhost:1073/, it gets redirected tohttp://localhost.lbm-solution.com:1073/default.aspx.  This is what
> happens run an ASP.NET app through VS 2005.  Writing an ASP app using
> Dreamweaver and then going tohttp://localhost/appname/pagenamejust
> gets 'Page could not be found'.
>
> I have never seen anything like this before, maybe I should
> uninstall/reinstall all the relevant software?  Although this would
> still not explain why the ASP created in Dreamweaver or Notepad does not
> work.
>


Mike, I would recommend you to follow advice of Juan: go to IIS
(Control Panel - Administrative Tools) and check the settings of
default website. If it has been properly configured and started, you
should get default document (e.g. default.htm, or default.aspx from
your inetpub/wwwroot) when you type http://localhost in your web
browser. If it works, you can change settings of the web server in
VS.NET to run your site on IIS. If the site in IIS doesn't work, try
to find the reason, for example, look in the Event Log.
Date:Tue, 14 Aug 2007 07:15:00 -0700   Author:  

Re: file could not be found on localhost   
Thanks guys for your help...it turned out that there were 2 components
for IIS that hadn't been installed, so once I had installed them I no
longer got this problem. Although on loading up VS2005, I still don't
have the option to create or amend a website, which is a bit strange.

Thanks,

Mike



*** Sent via Developersdex http://www.developersdex.com ***
Date:Wed, 15 Aug 2007 01:36:46 -0700   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us