CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.visual_web_developer_2008_express Tags:
Item Type: NewsGroup Date Entered: 3/1/2008 3:16:22 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 4 Views: 96 Favorited: 0 Favorite
5 Items, 1 Pages 1 |< << Go >> >|
gcricket13
Asp.Net User
'View In Browser' - error: Can't display the web page3/1/2008 3:16:22 PM

0

 Just installed VS 2008 and started to view the ASP.Net videos to experiment with the sample code.

Win/XP Pro SP-2

Verizon/Yahoo DSL

  A simple web site was created with a label, checkbox and login control.  When I click on the 'start debugging' arrow, the website displays correctly with the following URL:

http://localhost:1261/adminTest/Default.aspx

It makes NO difference if  'Use dynamic ports' is set to True or False for the project...

If I try to view a page using the 'View In Browser' method or attempt to invoke the ASP.NET Configuration Tool (from the login control, or Solutions Panel, or Menu option),  The  browser starts and the following warning is displayed:

____________________Yahoo Browser message ___________________________________

"Warning: the page you are about to visit may attempt to request your personal information (such as passwords, credit card numbers and social security numbers) for unauthorized use or may otherwise attempt to harm your computer.

Malicious web sites can use this type of address in order to disguise themselves.

The destination may appear to be:

%22http

but the actual destination is:

%22http

Do you still want to open the webpage.  (Yes and NO Buttons)

____________________________________________________

When I select the 'Yes" button, the browser (Explorer 7) tries to load the page, but navigation fails because the page can't be found, the browser terminates and throws me back into the VS Studio IDE.

Looking at the browser history for %22http - this is what was passed to the browser:

http://%22http//localhost:1286/asp.netwebadminfiles/default.aspx?applicationPhysicalPath=C:\Documents%20and%20Settings\Home.%20PC11\My%20Documents\Visual%20Studio%202008\WebSites\adminTest\&applicationUrl=/adminTest"

The '%22http://' preceeds what I think should be the correct URL (just guessing....) The same result happens weather I create the website using the 'File System" or as 'localhost" in the Win/XP IIS.

Note: I am creating the website as a Net.Framework 3.5, but the ASP.NET Configuration Tool is located at:

Windows\Microsoft.NET\Framework\v2.0.50727\ASP.NETWebAdminFiles (I assume this is OK since it is not in the 3.5 folder...)

Subsequently, I also installed Visual Web Developer Express 2005 - SP 1 and have the same results.

Regards,

Jim

Mikhail Arkhipo
Asp.Net User
Re: 'View In Browser' - error: Can't display the web page3/1/2008 8:41:16 PM

0

Are you using customized browser ("Yahoo Browser")? Try setting regular IE as your default browser in the system.


Thanks

------------------------------------------------------------

This posting is provided "AS IS" with no warranties, and confers no rights.
gcricket13
Asp.Net User
Re: 'View In Browser' - error: Can't display the web page3/2/2008 12:01:51 AM

0

Mikhail,

Thanks for your response!!  You are correct in that Yahoo uses a customized version of IE-7:

"C:\Program Files\Yahoo!\browser\ybrowser.exe"

vs MS IE-7:

"C:\Program Files\Internet Explorer\iexplore.exe"

I changed the 'default' browser to IE 7, rebooted and tested.  As before the app runs fine when executed as F5 (Run (debug mode or not). It does use the Yahoo Browser and I get a message informing that Yahoo Browser in not the default browser. I click on 'No" to keep IE as the default browser.

When I use the 'View In Browser' option or Admin for the 'Login' control, I get a message informing that Yahoo Browser in not the default browser. I click on 'No" to keep IE as the browser and then the Yahoo Browser launches with the same warning popup and unable to load page.

Looked at all the registry entries for Visual Studio, but there is no direct reference to the browser pgm name. Aslo, did a search for aspx to see if a 'File Type' Open List might default to the Yahoo Brower.. no luck there...  No reference in the Visual Developer 'Options' either.

I think your suggestion is correct, but somehow Visual Studio is bypassing the default browser and launches the Yahoo Browser...  VS has to be looking at some registry entry as a reference...

Regards,

Jim

 

Mikhail Arkhipo
Asp.Net User
Re: 'View In Browser' - error: Can't display the web page3/2/2008 12:13:14 AM

0

You are correct, VS maintains its own list of browsers since you may use one browser for general Web access and may wish to use another one for debugging. To change VS browser, right click on aspx ot html file in the Solution Explorer, choose Browse With..., select IE7 in the list and click 'Set As Default'


Thanks

------------------------------------------------------------

This posting is provided "AS IS" with no warranties, and confers no rights.
gcricket13
Asp.Net User
Re: 'View In Browser' - error: Can't display the web page3/2/2008 3:42:34 AM

0

Mikhail,

I right clicked on the aspx and project  to access the 'Browse With" selection. 

It Listed: Enternal Web Browser

              Internet Explorer (Default)

              Yahoo! Browser

Even though Internet Explorer showed 'default', I assumed that was a product of setting the option within Internet Explorer as per your earlier reply.

Selected IE and clicked on the <Set as Default> button...  Tested the "View in Browser' and admin access via the 'Login' control..

It worked fine!!!  Thanks for your help and quick responses.. 

Regards,

Jim 

 

 

5 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
How to do everything with Adobe Acrobat 7.0 Authors: Doug Sahlin, Pages: 496, Published: 2005
How to Do Everything with Adobe Acrobat 8 Authors: Doug Sahlin, Pages: 508, Published: 2007
Sad Macs, bombs, and other disasters: and what to do about them Authors: Ted Landau, Pages: 955, Published: 2000
HTML 4 for dummies Authors: Ed Tittel, Mary C. Burmeister, Pages: 407, Published: 2005
The Essential Guide to Dreamweaver CS3 with CSS, Ajax, and PHP Authors: David Powers, Pages: 784, Published: 2007

Web:
"Internet Explorer cannot display the webpage" ERROR - ASP.NET Forums Re: "Internet Explorer cannot display the webpage" ERROR ... click on EmpForm. aspx in the Solution Explorer and click View in Browser, I get the same error. ...
'Internet Explorer cannot display the webpage' OR "Failed to ... Failed to Connect Firefox can't establish a connection to the server at ... by right clicking as selecting 'view in browser' Internet Explorer gives a normal ' Internet Explorer cannot display the webpage' Error But when ...
PDF Display Problems and Solutions, Information Technology ... Jun 27, 2008 ... Try disabling the "View In Browser" or "Web Browser Integration" feature .... If the viewer can't display an online guide, the viewer itself may be ... or returns an error, the PDF file is probably damaged. Top of Page ...
PDF pages don't appear in web browser window (Acrobat 7.0 and 3D ... A blank page in the web browser. -- A broken object link (for example, .... If you receive the error "Cannot use Adobe Reader to view PDFs in your web ... If Acrobat or Adobe Reader can display PDF files from the Adobe web site, ...
Viewable with Any Browser: Campaign Apr 16, 2008 ... "Anyone who slaps a 'this page is best viewed with Browser X' label on a Web page ... I know I can't change the web by myself, but every little bit counts, ... If you would rather not display a graphic on your site, ...

View in Browser shortcut key - ng.asp-net-forum.visual_studio_2005 ... NET Forums View in Browser shortcut key. Last post 06-26-2006 12:46 PM by lrr81765. 5 replies. ... cannot drag controls from toolbox to a webpage. ...
VWD 2008 + Vista Localhost not working - ng.asp-net-forum ... ASP.NET Web Site. Trying to show Default.aspx by clicking the Button: Show in Browser. This results in Page cannot be displayed. ...

Videos:
Design Coding The Poetic Prophet (AKA The SEO Rapper) is back with another marketing rap. This time he describes how web standards and proper design can affect ...
FREE Website Traffic New FREE Methods http://www.sitevacuum.com/default.aspx?src=youtube_mike Dear Publisher Site owner or Blogger Create your own SiteVacuum within a minute ...
IMTC 2007 - Service Broker and Asynchronous processing in SQL ... Session Description: We all want to do more with our data, but sometimes we can't do it in TSQL, we also don't want to affect our users ...
rpg maker xp side view battle script tutorial *READ BEFORE WATCHING* WATCH MY NEW TUTORIAL!!! http://www.youtube.com/watch?v=GVUgqwsRPzY the main problems that very few people are ...
Site Production Basics How do you take those first steps to creating the actual web site. It is easier than you think - borrow from someone else's. this video will take ...






request for information about visual studio 2008

vs2008 multi targeting bug?

enable linq support

orcas beta 1 download location

vs 2008 ide - splitter bar (located above the scroll bar)

uninstall vs2008-how to ?????

hover over an object in debug mode in javascript

css

msdatasetgenerator failed

vs 2008 nested master pages support

problems when converting vs2005 asp.net 2.0 app to vs2008 asp.net 3.5

vs.net 2008 rtm download issues

.net framework version for new reportviewer

generating event entries is slow

vs 2008 various issues

vs2008 dataset designer problem

regions in the vs.net editor

vs2008: frequently crashes (bsod) while debugging

pretty unimpressed

visual studio 2005 and 2008 compatibility

built in web server not working correctly

orcas and ajax control toolkit problem

undersanding web application project in vs 2008

controls do not exist errors for my aspx page in vs 2008 beta 2

vs2008 team products & licenses

how test project works

vs.net 2008 90 day trial

delete all breakpoints

very slow vs2008 editor

i always get a security issue with asp.net and linq

   
  Privacy | Contact Us
All Times Are GMT