473,734 Members | 2,647 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 1818
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
5274
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
2933
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
1608
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
6142
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
4726
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
1041
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
1388
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
4196
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
8776
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
9449
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...
1
9236
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
8186
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6735
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6031
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
4550
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
3261
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
2724
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.