473,323 Members | 1,547 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,323 software developers and data experts.

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 1414
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__EVENTTARGET, __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
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...
8
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...
37
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...
0
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...
1
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...
1
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...
1
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...
2
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...
0
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...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.