473,695 Members | 2,340 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Error accessing website on remote box.

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
3 1813
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
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.c omwrote in message
news:11******** **************@ h48g2000cwc.goo glegroups.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
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.c omwrote in message
news:11******** **************@ h48g2000cwc.goo glegroups.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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
5269
by: Shane Suebsahakarn | last post by:
Hi all, This might be one of those things for which there is no workaround. I'm using A2K2, and using it to perform a very large batch ouput. Both the front and back ends are MDB files, so no SQL Server involved here. Both SP3 and Jet SP8 have been updated, and the platform is running on a dual-processor 3Ghz Xeon Win2K3 Server box with 2GB RAM. The batch run outputs 6 or 7 reports to approximately 16-17,000 snapshot files None of the...
7
2931
by: | last post by:
Hi all, I have a simple .aspx page running on net 2.0 that is trying to do a http post to a remote server. Here is the code Private Function ProcessRequests(ByVal strbody As String) As String Dim returnstr As String Dim URL As String = "http://www.dydomain.com/test.asp"
0
1605
by: phil.stollery | last post by:
Hi, I've currently setup a local user as described in: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/SecNetHT01.asp This users has been created on the remote server, and locally on our web farm servers. All access to NTFS file system has been setup and the users local privileges. However, when I add the
3
6141
by: fniles | last post by:
In our ASP page, we call XMLHttp to download XML files. When calling our page using localhost (localhost/myWebSite/myPage.htm), it works, but when calling using the IP address of the web server (xx.x.x.xxx/myWebSite/myPage.htm), I got "Permission denied" error in the HTTP.Open statement. Set http = CreateObject("Microsoft.XmlHttp") http.open "Get", "http://" & "xx.x.x.xxx" & "/XMLFiles/N-1min.xml", ALSE --> permission denied error
1
4724
by: John Shadel | last post by:
I have the following setup: 1. ASP.NET 2.0 web app hosted on a web server (inetpub directory hosting physical files of the web site on a different drive name, E: than the SQL Server Instance, which is on C:) 2. SQL Server on the same server, with security settings enabling ASPNET group and groups containing users allowed to interact with the website added to SQL Server Instance security settings. 3. Impersonation = true, i.e. ASPNET...
0
1040
by: le0 | last post by:
hi guys can you help me with this, this is my first time to published a website to another server and access it using my browser but this runtime error always appears. Server Error in '/sample' Application. --------------------------------------------------------------------------------
1
1381
by: ken.beutler | last post by:
I am getting a 404 error when trying to access an ASP page from a remote machine (via Internet Explorer). However, the asp page is processed successfully when accessing this page from the local machine. I checked permissions from IIS administration and from explorer and nothing seemed out of the ordinary. Other ASP pages work from other virtual directories, but for some reason this one does not. Any suggestions out there? Thank you...
4
9085
by: lspoulin | last post by:
Hi, We have a webpage browsing folders within the wwwroot. We need to access a remote shared directory the same way. We created a virtual directory in IIS with an alias pointing on this remote directory. The virtual directory is accessible when we type it in the address bar of IE but when we try accessing it with a Scripting.FileSystemObject.
3
4193
by: ros | last post by:
Hi! I have a simple PHP script: $mbox = imap_open ("{localhost:993/imap/ssl}INBOX", "test@domain.com", "123"); if(!$mbox) { echo 'Error: '.imap_last_error().'<br/>'; } Script works fine from local PC, but results to error when executed at web
0
8586
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9137
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9004
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8838
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5842
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4351
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3025
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2289
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
1986
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.