VWD 2008 + Vista Localhost not working

Last post 07-11-2008 2:15 PM by Greatboy. 18 replies.

Sort Posts:

  • VWD 2008 + Vista Localhost not working

    01-25-2008, 12:59 PM
    • Loading...
    • lexy
    • Joined on 02-14-2006, 10:35 PM
    • Posts 441

    Hi,

    I have VWD 2008 Express Edition in combination with Vista on two boxes, both with the same problem.

    This is what I try to do:

    • Starting with the option File, New Web SIte...ASP.NET Web Site
    • Trying to show Default.aspx by clicking the Button: Show in Browser

    This results in Page cannot be displayed.

    No doubt it must be something simple as more people would have tried this, but not for me I'm afraid.

    Thanks,


     

     

     

     

    I use VB
  • Re: VWD 2008 + Vista Localhost now working

    01-25-2008, 1:33 PM
    • Loading...
    • dparsons
    • Joined on 12-13-2007, 3:26 PM
    • Akron, Ohio
    • Posts 191

    Does this happen when you hit Shift F5 or F5?  Does it happen if you right click on the Document and select 'View in Browser' from the context menu?

    Did you set the site up to run on the FileSystem (Cassini) or in IIS?

    ===========================================================
    Hope that helped.
    -Doug

    If this post solved your problem please mark it as being the answer so that we all
    know you have been helped!
  • Re: VWD 2008 + Vista Localhost now working

    01-25-2008, 1:54 PM
    • Loading...
    • lexy
    • Joined on 02-14-2006, 10:35 PM
    • Posts 441

    Hi,

    It happens right after I installed the program and exactly following my steps from the first post.

    No further steps taken, so the file system.

    View in Browser Context Menu isn't that the same Option as I described?

     

     

    I use VB
  • Re: VWD 2008 + Vista Localhost now working

    01-25-2008, 2:07 PM
    • Loading...
    • dparsons
    • Joined on 12-13-2007, 3:26 PM
    • Akron, Ohio
    • Posts 191

    Just trying to eliminate possiblities.  If all of the other methods displayed your page correctly, then there could be an issue (bug) with VWD and that particular button.  Have you tried to view the page using the other methods i have described?

    ===========================================================
    Hope that helped.
    -Doug

    If this post solved your problem please mark it as being the answer so that we all
    know you have been helped!
  • Re: VWD 2008 + Vista Localhost now working

    01-25-2008, 2:12 PM
    • Loading...
    • lexy
    • Joined on 02-14-2006, 10:35 PM
    • Posts 441

    Hi,

    And i appreciate that!

    No, all ways lead to the same problem. Localhost is simply not working

    I thought it could have something to do with Intranet Settings as thas is what VWD starts about just after install on XP

    But I think I have tried all sorts of security options in Vista

     

    Thanks,

    Lx

    I use VB
  • Re: VWD 2008 + Vista Localhost now working

    01-25-2008, 2:19 PM
    • Loading...
    • dparsons
    • Joined on 12-13-2007, 3:26 PM
    • Akron, Ohio
    • Posts 191

    Well if you are using the FileSystem as your web host then LocalHost really has nothing to do with it.  I run VWD 2008 on Vista Business at home and I did not have any issues.  Of course I am the administrator of the PC so I don't have any security issues. 

    What do you mean by this:

    I thought it could have something to do with Intranet Settings as thas is what VWD starts about just after install on XP

    ===========================================================
    Hope that helped.
    -Doug

    If this post solved your problem please mark it as being the answer so that we all
    know you have been helped!
  • Re: VWD 2008 + Vista Localhost now working

    01-25-2008, 2:41 PM
    • Loading...
    • lexy
    • Joined on 02-14-2006, 10:35 PM
    • Posts 441

    Well perhaps I misunderstood.

    I make the Website somewhere on C:

    When I try to view Default.aspx I see a little window in System tray saying:

    ASP.NET Development server

    Http://Localhost:50212/xxx

    In the Browser I get the problem

     

     

    I use VB
  • Re: VWD 2008 + Vista Localhost now working

    01-25-2008, 4:22 PM
    • Loading...
    • lexy
    • Joined on 02-14-2006, 10:35 PM
    • Posts 441

    Perhaps this can clarify things a little bit.

    I just found out that when I choose View with Internal Browser all goes well.

    When I choose Default (IE7) it errors out.

     

    I use VB
  • Re: VWD 2008 + Vista Localhost now working

    01-25-2008, 9:43 PM
    • Loading...
    • dparsons
    • Joined on 12-13-2007, 3:26 PM
    • Akron, Ohio
    • Posts 191

    Sorry about the late response, gut hung up on some things.

    Ok, I can not reproduce your error in VWD using the method you described earlier. 

    Couple of things, in your web.config do you have this line:

    <compilation debug="true">

     and also do you have the CustomErrors tag set to "Off"? 

    Have you tried accessing the site from directly in IE as opposed to clicking view in browser? (The development server must be running which is denoted by the icon in your system tray)

    ===========================================================
    Hope that helped.
    -Doug

    If this post solved your problem please mark it as being the answer so that we all
    know you have been helped!
  • Re: VWD 2008 + Vista Localhost now working

    01-25-2008, 10:21 PM
    • Loading...
    • taskmeister
    • Joined on 12-06-2007, 2:50 PM
    • Posts 4

    Hello,

     I was checking for the same solution. I have been running VWD 2008 Express on a Windows XP machine since mid December and things operate correctly. I also installed it on my wife's PC which is running Vista Home Premium. Neither installations reported any problem. Everything runs the same on both machines except when she is ready to test the site. In both cases either using F5 or Ctrl-F5 you can see the local host server open in the tray, but the browser receives a can not access local host and the website address. On the XP machine the browser opens the website and runs as if it were on the internet.

     
    I thought maybe it was an Intranet security problem also as my wife's e-mail address comes up on the Webmaster hotlink on the error message.

     

    Of course this means she can not open the webconfig tool either as it runs on a local host. It can't be the code for her website as an empty Aspnet website will not display either.
     

  • Re: VWD 2008 + Vista Localhost not working

    01-26-2008, 3:25 AM
    • Loading...
    • lexy
    • Joined on 02-14-2006, 10:35 PM
    • Posts 441

    Yes, this sounds like the same problem exactly.

    The option to use the Internal browser sort of solves the problem as far as that I can at least use VWD on Vista.

     

    I use VB
  • Re: VWD 2008 + Vista Localhost not working

    01-26-2008, 8:35 AM
    • Loading...
    • taskmeister
    • Joined on 12-06-2007, 2:50 PM
    • Posts 4

     I tried changing the browser options and changing my default browser to the internal browser. I see it still opens a local host, but it actually operates similar to the way it would operate on my XP machine. I checked the XP computer and I have it set to operate with Firefox as the default browser, which is the way my wife's machine had been set.

     

    Would this mean that I should have looked at the options in the browsers for a security block? I haven't attempted to use any of the debug features yet, and I am constantly hearing that websites display differently in different browsers, so should I really continue to pursue another answer? I noticed the internal browser brings up an Explorer window and I had changed her default browser to Explorer once on Vista and had the same problem viewing the site. However that was done on Vista and not in VWD.

    Chuck 

  • Re: VWD 2008 + Vista Localhost not working

    01-26-2008, 8:47 AM
    • Loading...
    • Bdbodger
    • Joined on 11-29-2007, 11:49 AM
    • Posts 12

    Does disabling the windows firewall make any difference ?

  • Re: VWD 2008 + Vista Localhost not working

    01-26-2008, 10:18 AM
    • Loading...
    • lexy
    • Joined on 02-14-2006, 10:35 PM
    • Posts 441

    No, I tried security settings of IE (and completely disabled Firewall), it had no effect.

    Chuck:

    The Internal Browser opens the Website. I's just that browserwindow runs inside VWD.

    I prefer that it runs in IE7  (like on my other computer which runs on XP with VWD)

    How your site appears in different browsers has a lot to do with how you program your stuff (CSS and so on)

     

     

     

    I use VB
  • Re: VWD 2008 + Vista Localhost not working

    01-26-2008, 8:33 PM
    • Loading...
    • taskmeister
    • Joined on 12-06-2007, 2:50 PM
    • Posts 4

     I checked my wife's machine and her Firewall was turned off. We recently installed Norton 360, but this was occurring before and after that installation.

     
    Is using the browser to access the local host considered an intranet connection or does the browser treat it as if it were an internet connection?

    Chuck
     

Page 1 of 2 (19 items) 1 2 Next >