473,549 Members | 2,733 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

webbrowser can not find the website in localhost

I have an vs2008 app that generates a website.

I have a vs2008 app that uses the webbrowser and does this:
WebBrowser1.Nav igate(New Uri(address))

the address is:

http://localhost:1226/Mr.%20Louis%20Jones/

If I'm running the app that generates the website and it has open the
website, the webbrowser app will open the website OK

But if the generating app is not showing the website the webbrowser app can
not find/show the website.

If you know what is going on I'd appreciate learning about it.

Thanks


Jul 29 '08 #1
11 3285
AAron,

You generate the website in the Cassino server, which is integrated in
Visual Studio Net now. Capable for one user to connect.

As you run the the website outside of the IDE it has to be on the IIS
webserver in this case from the machine you run your program in.

You can see this by the :1226, which is not in the localhost as the IIS (the
normal webserver part) is installed.

Cor

"AAaron123" <aa*******@road runner.comschre ef in bericht
news:ea******** ******@TK2MSFTN GP04.phx.gbl...
>I have an vs2008 app that generates a website.

I have a vs2008 app that uses the webbrowser and does this:
WebBrowser1.Nav igate(New Uri(address))

the address is:

http://localhost:1226/Mr.%20Louis%20Jones/

If I'm running the app that generates the website and it has open the
website, the webbrowser app will open the website OK

But if the generating app is not showing the website the webbrowser app
can not find/show the website.

If you know what is going on I'd appreciate learning about it.

Thanks

Jul 30 '08 #2

"Cor Ligthert[MVP]" <no************ @planet.nlwrote in message
news:E3******** *************** ***********@mic rosoft.com...
AAron,

You generate the website in the Cassino server, which is integrated in
Visual Studio Net now. .
Does Cassino look identical to IE?
I ask because my display looked identical to IE.
Could my VS be configured to us IE instead of Cassino.

>Capable for one user to connect
But it seems that the WebBrowser app can only display the site when the site
generation app is running?
>
As you run the the website outside of the IDE it has to be on the IIS
webserver in this case from the machine you run your program in.

You can see this by the :1226, which is not in the localhost as the IIS
(the normal webserver part) is installed.
What does the 1226 indicate? I've unsuccessfully looked for a folder with
that name.\

Thanks a lot
>
Cor

"AAaron123" <aa*******@road runner.comschre ef in bericht
news:ea******** ******@TK2MSFTN GP04.phx.gbl...
>>I have an vs2008 app that generates a website.

I have a vs2008 app that uses the webbrowser and does this:
WebBrowser1.Na vigate(New Uri(address))

the address is:

http://localhost:1226/Mr.%20Louis%20Jones/

If I'm running the app that generates the website and it has open the
website, the webbrowser app will open the website OK

But if the generating app is not showing the website the webbrowser app
can not find/show the website.

If you know what is going on I'd appreciate learning about it.

Thanks


Jul 30 '08 #3
On Jul 30, 4:20 pm, "AAaron123" <aaaron...@road runner.comwrote :
"Cor Ligthert[MVP]" <notmyfirstn... @planet.nlwrote in message

news:E3******** *************** ***********@mic rosoft.com...
AAron,
You generate the website in the Cassino server, which is integrated in
Visual Studio Net now. .

Does Cassino look identical to IE?
I ask because my display looked identical to IE.
Could my VS be configured to us IE instead of Cassino.
Capable for one user to connect

But it seems that the WebBrowser app can only display the site when the site
generation app is running?
As you run the the website outside of the IDE it has to be on the IIS
webserver in this case from the machine you run your program in.
You can see this by the :1226, which is not in the localhost as the IIS
(the normal webserver part) is installed.

What does the 1226 indicate? I've unsuccessfully looked for a folder with
that name.\

Thanks a lot
Cor
"AAaron123" <aaaron...@road runner.comschre ef in bericht
news:ea******** ******@TK2MSFTN GP04.phx.gbl...
>I have an vs2008 app that generates a website.
I have a vs2008 app that uses the webbrowser and does this:
WebBrowser1.Nav igate(New Uri(address))
the address is:
>http://localhost:1226/Mr.%20Louis%20Jones/
If I'm running the app that generates the website and it has open the
website, the webbrowser app will open the website OK
But if the generating app is not showing the website the webbrowser app
can not find/show the website.
If you know what is going on I'd appreciate learning about it.
Thanks
It must be port number you're trying to connect through. Maybe the
port 1226 is blocked by your router and you need to forward it or LAN
admin related to the problem.

Thanks,

Onur Güzel
Jul 30 '08 #4
a qeb site NEED a webserver to run

if you are using Visual Web Develloper
you have somewhere on you hard drive a file named "WebDev.WebServ er.EXE"

find it run it with the apropriate parrameter and you'll be able to acces
your web site from a webbrowser

it should be something like this
"C:\WINDOWS\Mic rosoft.NET\Fram ework\v2.0.5072 7\WebDev.WebSer ver.EXE
/path: C:\Documents and Settings\George s\Mes documents\irons peed

"AAaron123" <aa*******@road runner.comwrote in message
news:ea******** ******@TK2MSFTN GP04.phx.gbl...
I have an vs2008 app that generates a website.

I have a vs2008 app that uses the webbrowser and does this:
WebBrowser1.Nav igate(New Uri(address))

the address is:

http://localhost:1226/Mr.%20Louis%20Jones/

If I'm running the app that generates the website and it has open the
website, the webbrowser app will open the website OK

But if the generating app is not showing the website the webbrowser app
can not find/show the website.

If you know what is going on I'd appreciate learning about it.

Thanks

Jul 30 '08 #5
AAron,

Casino is a replacement the IIS server for situation where there is a Home
OS version used. Those have no IIS.

To make it easier it is now in fact implemented in Visual Studio (with
another name, it stared as Personal WebServer on Windows '98).

Your OS itself is using a real Internet Information Server from which the
data is normally located in the Root from your C direve and has the name
InetPub.

You normally can install IIS with Configuration Software and then Microsoft
parts, there is than a checkbox (in Vista) or something else that you can
check to install it.

At the moment I am behind a Dutch OS so I am not sure about the names in
English. Normally somebody else will show the correct names in English.

Cor
"AAaron123" <aa*******@road runner.comschre ef in bericht
news:Oj******** ******@TK2MSFTN GP06.phx.gbl...
>
"Cor Ligthert[MVP]" <no************ @planet.nlwrote in message
news:E3******** *************** ***********@mic rosoft.com...
>AAron,

You generate the website in the Cassino server, which is integrated in
Visual Studio Net now. .

Does Cassino look identical to IE?
I ask because my display looked identical to IE.
Could my VS be configured to us IE instead of Cassino.

>>Capable for one user to connect

But it seems that the WebBrowser app can only display the site when the
site generation app is running?
>>
As you run the the website outside of the IDE it has to be on the IIS
webserver in this case from the machine you run your program in.

You can see this by the :1226, which is not in the localhost as the IIS
(the normal webserver part) is installed.

What does the 1226 indicate? I've unsuccessfully looked for a folder with
that name.\

Thanks a lot
>>
Cor

"AAaron123" <aa*******@road runner.comschre ef in bericht
news:ea******* *******@TK2MSFT NGP04.phx.gbl.. .
>>>I have an vs2008 app that generates a website.

I have a vs2008 app that uses the webbrowser and does this:
WebBrowser1.N avigate(New Uri(address))

the address is:

http://localhost:1226/Mr.%20Louis%20Jones/

If I'm running the app that generates the website and it has open the
website, the webbrowser app will open the website OK

But if the generating app is not showing the website the webbrowser app
can not find/show the website.

If you know what is going on I'd appreciate learning about it.

Thanks


Jul 30 '08 #6
Cor Ligthert[MVP] wrote:
You normally can install IIS with Configuration Software and then
Microsoft parts, there is than a checkbox (in Vista) or something
else that you can check to install it.

At the moment I am behind a Dutch OS so I am not sure about the names
in English. Normally somebody else will show the correct names in
English.
The OP appears to be using XP Pro, so IIS installation will be through the
Add/Remove Windows Components section of the Add/Remove Software control
panel.

http://www.webwizguide.com/kb/asp_tu..._winXP_pro.asp

Andrew
Jul 31 '08 #7
Thanks I had it installed before the post ( and it is XP).
I think Cor probably answered my original question but I don't have the
background to understand the answer. That is, how come:
If the generating app is showing the website, the webbrowser app can
find/show the website.
But if the generating app is not showing the website, the webbrowser app can
not find/show the website.

Thanks

"Andrew Morton" <ak*@in-press.co.uk.inv alidwrote in message
news:6f******** ****@mid.indivi dual.net...
Cor Ligthert[MVP] wrote:
>You normally can install IIS with Configuration Software and then
Microsoft parts, there is than a checkbox (in Vista) or something
else that you can check to install it.

At the moment I am behind a Dutch OS so I am not sure about the names
in English. Normally somebody else will show the correct names in
English.

The OP appears to be using XP Pro, so IIS installation will be through the
Add/Remove Windows Components section of the Add/Remove Software control
panel.

http://www.webwizguide.com/kb/asp_tu..._winXP_pro.asp

Andrew

Jul 31 '08 #8
AAaron123 wrote:
Thanks I had it installed before the post ( and it is XP).
[I googled your OE version from the post headers to find that.]
>
I think Cor probably answered my original question but I don't have
the background to understand the answer. That is, how come:

If the generating app is showing the website, the webbrowser app can
find/show the website.

But if the generating app is not showing the website, the webbrowser
app can not find/show the website.
I think you're asking the question to which the answer is [I think that] the
Visual Studio Development Server is only invoked from VS. Once you stop
debugging/viewing a page from VS, the VSDS is shut down.

To make an ASP.NET project default to using IIS, you can change it in the
project's properties (under the Project menu).

Seeing as you want it to eventually run under IIS, you might as well test it
under IIS. And it stops those incredibly annoying pop-ups from the tray.

Andrew
Jul 31 '08 #9

"Andrew Morton" <ak*@in-press.co.uk.inv alidwrote in message
news:6f******** ****@mid.indivi dual.net...
AAaron123 wrote:
>Thanks I had it installed before the post ( and it is XP).

[I googled your OE version from the post headers to find that.]
>>
I think Cor probably answered my original question but I don't have
the background to understand the answer. That is, how come:

If the generating app is showing the website, the webbrowser app can
find/show the website.

But if the generating app is not showing the website, the webbrowser
app can not find/show the website.

I think you're asking the question to which the answer is [I think that]
the Visual Studio Development Server is only invoked from VS. Once you
stop debugging/viewing a page from VS, the VSDS is shut down.
And the port number is directed to VSDS??
>
To make an ASP.NET project default to using IIS, you can change it in the
project's properties (under the Project menu).

Seeing as you want it to eventually run under IIS, you might as well test
it under IIS. And it stops those incredibly annoying pop-ups from the
tray.

Andrew

Jul 31 '08 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
7542
by: Noozer | last post by:
I've got a WebBrowser control (AxBrowse - VCMAXB.DLL) and I'm having a few difficulties with it. Just looking for a few pointers, not whole solutions here. I've tried looking at the MSDN help files with little success. - When a new window is trying to pop up, how do I determine the target URL? How can I get the page to open in the current...
4
2870
by: Randy | last post by:
Hi, ok, I found a way to connect to a running instance of an (external) Internet Explorer and access - for example - the html source. That works fine! But now I have running application with an embedded IE webBrowser Control. Is there a possibility for my application to access the webBrowser control in the other application, too? ...
11
14269
by: Craig Francis | last post by:
Ok I'm making a fairly simple application. It contains 2 web browsers, the top one is used so that you can view a website (i.e. one you have created). Every time you load a page, the HTML which was received is then sent to the http://validator.w3.org website to validate your HTML / XHTML. So far I've got everything to work, even the part...
11
2808
by: Anil Gupte | last post by:
....and how do I insert one into my form? I used in VB 6.0 last, but cannot figure out where it is in .Net Thanx, -- Anil Gupte www.keeninc.net www.icinema.com
1
4492
by: JP2006 | last post by:
I'm trying to write a control that will take a screen capture of a particular website when a user submits a form in a web application; one of the form fields is for a URL - the control needs to get an image of that web site so that it can be displayed later as a thumbnail image. I have code for taking a normal screen capture using GDI+ which...
0
5536
by: gunimpi | last post by:
http://www.vbforums.com/showthread.php?p=2745431#post2745431 ******************************************************** VB6 OR VBA & Webbrowser DOM Tiny $50 Mini Project Programmer help wanted ******************************************************** For this teeny job, please refer to: http://feeds.reddit.com/feed/8fu/?o=25
4
4182
by: dennijr | last post by:
sry its long, questions in the last sentance if u wanna jump to it. i just decided that i would include everything that led up to the problem i made a gif video that i wanted to put into a program, and i couldnt figure out how to get it into VB6. finally i found out that the Microsoft Internet Control would play the gif file if i...
2
2558
by: Antonio Ceballos | last post by:
Hello, I am trying to open a URL on a new browser or new tab from an HTML page created from a python cgi script. On Apache in my localhost, it works, both with Internet Explorer and Firefox. However, when I upload the script to a remote server, it does not. A 500 Internal Server Error is displayed on the browser. The (simplified) piece...
6
1771
by: SpikeHimself | last post by:
Hello folks. I've googled my arse off the past few days, but I can't seem to find anything that solves the issue I've stumbled upon. I have a form which contains a WebBrowser control. Then I have a second form in which I would like to display an image extracted from a website, but this seems an impossible task.. I found a workaround though;...
0
7524
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7451
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7720
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7960
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7475
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
1
5372
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5089
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3501
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
766
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.