Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 3.5 > ASP.NET 3.5 Basics
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
ASP.NET 3.5 Basics If you are new to ASP or ASP.NET programming with version 3.5, this is the forum to begin asking questions. Please also see the Visual Web Developer 2008 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 3.5 Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 30th, 2009, 07:13 PM
Registered User
 
Join Date: Mar 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Unable to connect to the ASP.NET Development Server

What is the fix to connect to localhost in VS 2008 Pro - ASP.NET Development Server"


ISSUE: After creating ASP.NET website in Visual Studio 2008 Pro - SP1 / and launch page from Solution Explorer by right click the webpage >select view in browser with Launch IE - ERROR message I receive:

"Internet Explorer cannot display the webpage"

I'm working with OS: Vista Home Edition Prem SP1
ASP.NET 3.5
VISUAL STUDIO 2008 PRO SP1
MS SQL SERVER 2005
INTERNET EXPLORER 8


I have a port manager I see the TCP localhost ports that Visual Studio is using error when using ports and hitting f5 to refresh

http://localhost:49161/WebSites/Default.aspx (i tried ports 49161-49168)
http://localhost:8080/WebSites/Default.aspx

Cant use port 80 in use is the error



I turn off firewall still issues



I confirmed setting ---

I check setting everything is installed - control panel > program and features >

turn on window feature – settings are good IIS and ASP.NET and Window Authentication


I can't use IIS to create website it telling me I am not the Administrator and I only have one account -- I check there is no other account to switch to or to administer -- My account is then admin acct on my laptop....
  #2 (permalink)  
Old March 31st, 2009, 01:02 AM
Wrox Author
 
Join Date: Jul 2008
Location: Des Moines, IA, USA.
Posts: 74
Thanks: 1
Thanked 8 Times in 8 Posts
Send a message via MSN to msellers
Default

A few notes.

1.) If VS is preventing you from creating IIS websites you are most likely not running Visual Studio as an administrator. On Vista it is VERY important to run as an administrator.

2.) For the "Right click" -> "Show in Browser" issue. If you start the project for debugging, does it display correctly?
__________________
Mitchel Sellers
Microsoft C# MVP, MCITP
Director of Development
IowaComputerGurus Inc.

My blog for .NET and DotNetNuke info

Author of "Professional DotNetNuke Module Programming"

Tech Editor on "Visual Studio 2010 six-in-one" and "Pro C# 4.0"
  #3 (permalink)  
Old March 31st, 2009, 10:39 AM
Lee Dumond's Avatar
Wrox Author
Points: 4,942, Level: 29
Points: 4,942, Level: 29 Points: 4,942, Level: 29 Points: 4,942, Level: 29
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2008
Location: Decatur, IL, USA.
Posts: 923
Thanks: 12
Thanked 166 Times in 162 Posts
Default

Did this start happening only recently?

If so, you may want to check the following blog post:

http://leedumond.com/blog/asp-net-de...efender-issue/
__________________
Visit my blog at http://leedumond.com
Follow me on Twitter: http://twitter.com/LeeDumond

Code:
if (this.PostHelpedYou)
{
   ClickThanksButton(); 
}
  #4 (permalink)  
Old March 31st, 2009, 12:17 PM
Registered User
 
Join Date: Mar 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by msellers View Post
A few notes.

1.) If VS is preventing you from creating IIS websites you are most likely not running Visual Studio as an administrator. On Vista it is VERY important to run as an administrator.

I am the administrator I only have one account and when I view the account right under my name it says Administrator....How can I make sure I am absolutely make sure? How I make sure VS is allowed to be ran as the admin? I only have one environment and thats admin

2.) For the "Right click" -> "Show in Browser" issue. If you start the project for debugging, does it display correctly?
NO error too... I hit f5 launch browser still error --- debug an error

This is a very know issue with VS 2008 it seem it work for some and not work for others - one day
ASP.NET Web Server can be working for others next day stop-- I can't even follow the exercise in this book Wrox ASP.NET

I even tried this solution that did work for me
Step 1: Select the “Tools->External Tools” menu option in VS or Visual Web Developer. This will allow you to configure and add new menu items to your Tools menu.
Step 2: Click the “Add” button to add a new external tool menu item. Name it “WebServer on Port 8010” (or anything else you want).
Step 3: For the “Command” textbox setting enter this value: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\WebD ev.WebServer.EXE (note: this points to the web-server that VS usually automatically runs).

There talking about 2010 version already with all the bugs in 2008 come on - I tried ever documentation on the support sites nothing works

My only solution reinstall everything what is the tool I can use to make sure I delete all traces of VS 2008 and Framework? Perhaps there is a conflict with the old VS 2008 express which I had on my labtop before VS 2008 Pro
  #5 (permalink)  
Old March 31st, 2009, 12:30 PM
Lee Dumond's Avatar
Wrox Author
Points: 4,942, Level: 29
Points: 4,942, Level: 29 Points: 4,942, Level: 29 Points: 4,942, Level: 29
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2008
Location: Decatur, IL, USA.
Posts: 923
Thanks: 12
Thanked 166 Times in 162 Posts
Default

Did you try the solution in the link I posted?
__________________
Visit my blog at http://leedumond.com
Follow me on Twitter: http://twitter.com/LeeDumond

Code:
if (this.PostHelpedYou)
{
   ClickThanksButton(); 
}
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to connect to asp.net development server Komila ASP.NET 3.5 Basics 5 April 15th, 2013 11:48 PM
unable to connect to asp.net development server Komila ASP.NET 3.5 Basics 4 April 15th, 2011 08:57 AM
ASP.NET development server angshujit ASP.NET 2.0 Basics 4 January 18th, 2007 05:07 AM
IIS and ASP.NET Development Server conflict ASPNewbie2 BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 1 December 28th, 2006 08:23 AM
[000] Unable to connect to server 'SERVER\SQL'; SQ ctanchan SQL Server 2000 1 August 15th, 2003 07:18 AM



All times are GMT -4. The time now is 11:31 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.