473,657 Members | 2,702 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem accessing application through a gateway

Hi,
I've a communication problem with my .NET web application and I need
some suggestions.
My application is composed of few ASP.NET pages running on a Windows
2003
Enterprise Server (.NET 1.1).
When I access these pages from a browser (Explorer 6.x) in my
enterprise LAN
all works right.

When access these pages from an external PC (this means through a
gateway and a firewall) in some cases the browser returns something
like an "Host not found error".

Note that to avoid problems with "natted" addresses I have set the
"natted" name of the server in the host file of the client PC.

The symptoms of the problem are these:
- when I access the first page all works fine
- when I access the second page and submit it (using the standard .NET
postback mechanism) I get an error like "DNS could not locate the
host".

Using a sniffer on the server and on the client I can see that:
- The client correctly sends all the post content on some IP datagrams
- The server seems not to receive all the data: the information about
__EVENTTARGET, __EVENTARGUMENT and __STATEVIEW are lost; I don't
understand if only these pieces of information are lost or if is
missed the entire IP datagram(s) containing them.
On the server this sequence of datagrams seems not to be treated as an
HTTP request (IIS doesn't trace anything about this request) and the
sniffer on the client traps an HTTP 100 message coming from the server
(a continue request).

Note that using a browser on the LAN the server receives all POST data
(included __EVENTTARGET, __EVENTARGUMENT and __STATEVIEW).

I don't understand if the problem is the firewall, the gateway, some
router (fragmentation problem) or something else.

Any ideas?

TIA
Mauro
Nov 17 '05 #1
1 1420
Some firewalls filter not only ports you can connect to,
but also content of datagrams, maybe in your case firewall
filtered html content ?

it seems that it is problems with dns names, maybe try
telnet thatserver 80
then :
GET / HTTP/1.0<enter>
<enter>

and see what data is sent to client in both cases

maybe you should use something like http sniffer to see
all communication inboth cases

-----Original Message-----
Hi,
I've a communication problem with my .NET web application and I needsome suggestions.
My application is composed of few ASP.NET pages running on a Windows2003
Enterprise Server (.NET 1.1).
When I access these pages from a browser (Explorer 6.x) in myenterprise LAN
all works right.

When access these pages from an external PC (this means through agateway and a firewall) in some cases the browser returns somethinglike an "Host not found error".

Note that to avoid problems with "natted" addresses I have set the"natted" name of the server in the host file of the client PC.
The symptoms of the problem are these:
- when I access the first page all works fine
- when I access the second page and submit it (using the standard .NETpostback mechanism) I get an error like "DNS could not locate thehost".

Using a sniffer on the server and on the client I can see that:- The client correctly sends all the post content on some IP datagrams- The server seems not to receive all the data: the information about__EVENTTARGE T, __EVENTARGUMENT and __STATEVIEW are lost; I don'tunderstand if only these pieces of information are lost or if ismissed the entire IP datagram(s) containing them.
On the server this sequence of datagrams seems not to be treated as anHTTP request (IIS doesn't trace anything about this request) and thesniffer on the client traps an HTTP 100 message coming from the server(a continue request).

Note that using a browser on the LAN the server receives all POST data(included __EVENTTARGET, __EVENTARGUMENT and __STATEVIEW).

I don't understand if the problem is the firewall, the gateway, somerouter (fragmentation problem) or something else.

Any ideas?

TIA
Mauro
.

Nov 17 '05 #2

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

Similar topics

1
6261
by: lovkeshanand | last post by:
Dear All, I am using the oracle transparent gateway connectivity with sql server using tg4msql,as far as settings are concerned those were set and Connectivity is working Fine, and getting the response from that server. here is description what I done as:-There is a View on Sqlserver which is Join of 6 tables and have
8
6726
by: cyberco | last post by:
I'm developing for Windows Mobile 2005 PPC using Visual Studio 2005. I need to invoke methods on a DLL (Iphlpapi.dll) but I can't get this working from C# using p/invoke so I want to write some C code that invokes the DLL. Similar to this: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/iphlp/iphlp/getipforwardtable.asp Now how can I, in Visual Studio 2005, create and use such a C class ? Do I have to create an 'MFC...
37
1870
by: Neo | last post by:
Hi, I want to write a program that essentially connects to web, access some web page and pass some parameters and fetch the return values and print like LWP in Perl Context. Can some one suggest me what are the headers I might require and directions to such a documentation.
0
1121
by: hardikpatelmca | last post by:
Hi All, I am working on web application which communicate with Communicator Web Access and Live communication Server. I can successfully logged into LCS system using my web application. And also can start Poll method of Communicator web access Ajax API. But i am getting xml result from communicator web access instead of JSON. I send http web request to communicator web access server and get back the result using http web response. I got...
1
2372
by: pavanG | last post by:
The following is the setup I have at home. The problem is I cannot ping Vista machine(192.168.2.5) from XP machine(192.168.2.2) So accessing it from Internet is Out of question My aim is to host a website on the Vista machine(192.168.2.5). I have the XP machine(192.168.2.2) connected to the gateway router through WLAN. I connected the Vista machine to the Bridge(which is a Belkin router acting as a bridge) through LAN. I'm able...
1
15211
by: eblackmo | last post by:
I have a test network consisting of four servers running windows 2003 server R2 SP2. I have set up a domain which functioned correctly for about a day and a half until the other servers decided they can no longer connect to the domain controller. Ping resolves the domain controllers name to the correct ip nslookup finds the ip but can not resolve the name. When I attempt to log on to a machine on the domain it takes around twenty minutes...
1
2959
by: robin1983 | last post by:
Hi every one, I m using internet, but from two days i m facing problem in accessing www.google.com and www.msn.com. The showing me gateway login fail. I dont know what is the problem. At the same time i can access other site www.orkut.com and other site too. plz i need a help from you people. thanking you..
2
5190
by: dcblair | last post by:
Hi guys and girls. I can't seem to figure this one out. Here is my setup: Speedtouch 536 DSL Modem, Nexxt 4 Port Wireless Router, CNET CIC 920W Wireless IP Camera. The camera is set up in wireless mode and any computer on the wireless or local area network can see the camera and access the video. The setup went perfect for the internal network. But I cannot for the life of me see why the configurations I have set to see the camera...
0
1286
JohanK
by: JohanK | last post by:
Hi there, not sure where to post this so i figured misc would do fine. Right here goes, we have a secondary gateway on our lan which is only supposed to be used for data replication. I need to see which ips on the local lan are accessing this gateway? Unfortuanately I do not have a username or password for the router (cisco 1800) as the router is supposed to be managed by a third party service provider. So in short i want to see...
0
8305
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
8732
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...
1
8503
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
8605
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
7324
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...
0
4151
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...
0
4302
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2726
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
1953
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.