By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,667 Members | 2,611 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,667 IT Pros & Developers. It's quick & easy.

Error accessing website on remote box.

P: n/a
Jay
I created a website in Visual studio 2005.
I did a build and I can browse it on my local box.
http://localhost/gpweb/gpkey.aspx
When I try to access it on a remote box, it doesn't work.
http://<myservername>/gpweb/gpkey.aspx
I get the "Page cannot be displayed" error.
Sep 12 '06 #1
Share this Question
Share on Google+
3 Replies


P: n/a
It sounds like an IIS error.

If it was a problem with your asp application, you would receive a
runtime error.

Verify that the virtual directory "gpweb" is setup as an Application (
this is on the first tab when you right click and go to properties
under IIS)

Also, place just a basic html file in that directory and see if you can
access it, if you cannot then something is wrong with your IIS Setup on
the remote box.

Hope this helps!

dkode

Jay wrote:
I created a website in Visual studio 2005.
I did a build and I can browse it on my local box.
http://localhost/gpweb/gpkey.aspx
When I try to access it on a remote box, it doesn't work.
http://<myservername>/gpweb/gpkey.aspx
I get the "Page cannot be displayed" error.
Sep 12 '06 #2

P: n/a
Jay
It is setup as an application.

I created a test HTML file and am able to access it using this URL on my
local box.
http://<myserver>/GPWeb/test.htm
When I use the same URL on the remotebox, it doesn't work.

Should be somehing with the setup on <myserver>.
What could be wrong with the IIS?
(I website is hosted on my server and am trying to access it from remote
box. My guess is I dont have to setup anything on the remote server)

I appreciate your help.

"dkode" <dk****@gmail.comwrote in message
news:11**********************@h48g2000cwc.googlegr oups.com...
It sounds like an IIS error.

If it was a problem with your asp application, you would receive a
runtime error.

Verify that the virtual directory "gpweb" is setup as an Application (
this is on the first tab when you right click and go to properties
under IIS)

Also, place just a basic html file in that directory and see if you can
access it, if you cannot then something is wrong with your IIS Setup on
the remote box.

Hope this helps!

dkode

Jay wrote:
>I created a website in Visual studio 2005.
I did a build and I can browse it on my local box.
http://localhost/gpweb/gpkey.aspx
When I try to access it on a remote box, it doesn't work.
http://<myservername>/gpweb/gpkey.aspx
I get the "Page cannot be displayed" error.

Sep 13 '06 #3

P: n/a
If you are unable to access test.htm on the remote box, then it is a
problem with IIS,

Does the virtual directory "GPWeb" exist on the remote server?

can you access any page on the remote box?

At this point, it is not a problem with .NET, but a problem with IIS
serving out pages. Could be a number of things.

I would suggest making a posting to IIS NG to explore further.

Jay wrote:
It is setup as an application.

I created a test HTML file and am able to access it using this URL on my
local box.
http://<myserver>/GPWeb/test.htm
When I use the same URL on the remotebox, it doesn't work.

Should be somehing with the setup on <myserver>.
What could be wrong with the IIS?
(I website is hosted on my server and am trying to access it from remote
box. My guess is I dont have to setup anything on the remote server)

I appreciate your help.

"dkode" <dk****@gmail.comwrote in message
news:11**********************@h48g2000cwc.googlegr oups.com...
It sounds like an IIS error.

If it was a problem with your asp application, you would receive a
runtime error.

Verify that the virtual directory "gpweb" is setup as an Application (
this is on the first tab when you right click and go to properties
under IIS)

Also, place just a basic html file in that directory and see if you can
access it, if you cannot then something is wrong with your IIS Setup on
the remote box.

Hope this helps!

dkode

Jay wrote:
I created a website in Visual studio 2005.
I did a build and I can browse it on my local box.
http://localhost/gpweb/gpkey.aspx
When I try to access it on a remote box, it doesn't work.
http://<myservername>/gpweb/gpkey.aspx
I get the "Page cannot be displayed" error.
Sep 13 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.