473,387 Members | 1,545 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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.Navigate(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 3264
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*******@roadrunner.comschreef in bericht
news:ea**************@TK2MSFTNGP04.phx.gbl...
>I have an vs2008 app that generates a website.

I have a vs2008 app that uses the webbrowser and does this:
WebBrowser1.Navigate(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**********************************@microsof t.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*******@roadrunner.comschreef in bericht
news:ea**************@TK2MSFTNGP04.phx.gbl...
>>I have an vs2008 app that generates a website.

I have a vs2008 app that uses the webbrowser and does this:
WebBrowser1.Navigate(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...@roadrunner.comwrote:
"Cor Ligthert[MVP]" <notmyfirstn...@planet.nlwrote in message

news:E3**********************************@microsof t.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...@roadrunner.comschreef in bericht
news:ea**************@TK2MSFTNGP04.phx.gbl...
>I have an vs2008 app that generates a website.
I have a vs2008 app that uses the webbrowser and does this:
WebBrowser1.Navigate(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.WebServer.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\Microsoft.NET\Framework\v2.0.50727\Web Dev.WebServer.EXE
/path: C:\Documents and Settings\Georges\Mes documents\ironspeed

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

I have a vs2008 app that uses the webbrowser and does this:
WebBrowser1.Navigate(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*******@roadrunner.comschreef in bericht
news:Oj**************@TK2MSFTNGP06.phx.gbl...
>
"Cor Ligthert[MVP]" <no************@planet.nlwrote in message
news:E3**********************************@microsof t.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*******@roadrunner.comschreef in bericht
news:ea**************@TK2MSFTNGP04.phx.gbl...
>>>I have an vs2008 app that generates a website.

I have a vs2008 app that uses the webbrowser and does this:
WebBrowser1.Navigate(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.invalidwrote in message
news:6f************@mid.individual.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.invalidwrote in message
news:6f************@mid.individual.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
AAaron123 wrote:
"Andrew Morton"wrote
>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??
Exactly. It means that IIS can be running on the same machine at the same
time: no more than one application can be assigned per port.

Andrew
Aug 1 '08 #11
Thanks, It took a while but I think I got it
"Andrew Morton" <ak*@in-press.co.uk.invalidwrote in message
news:6f************@mid.individual.net...
AAaron123 wrote:
>"Andrew Morton"wrote
>>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??

Exactly. It means that IIS can be running on the same machine at the same
time: no more than one application can be assigned per port.

Andrew

Aug 1 '08 #12

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

Similar topics

5
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...
4
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...
11
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...
11
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
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...
0
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...
4
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...
2
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....
6
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
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,...
0
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...
0
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,...
0
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...

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.