Loss of posted data during a HTML Post using ASP (Classic) And Network Load Balancer (NLB)

We have a web based application which uses Classic ASP. There are currently two instances of the application. The first setup is a single webserver which reads and writes to a seperate file server. The second scenario has two webservers and a file server which also hosts the load balancer. Both setups are on our Intranet.

The first scenario works perfect but an issue arises with the load balanced environment in that when it performs an HTML post the data is not carried to the receiving page (poster and receiver are the same page). The asp page that performs both actions uses anoymous access (using service account). This is required to display images from the file server on the web page.

Our networking guy who has never been involved with NLB says that Sticky Sessions have been activated. As a developer I have limited knowlege of NLB. All help will be greatful!!!!

solobuttAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

meverestCommented:
Hi,

I doubt that this has anything to do with the load balancing.  are you sure the forms code is ok?  (I.e. uses method=post?)

try running fiddler (www.fiddlertool.com) on the server to see if the form data is even getting as far as that.  use it on the client to see whether the client is even sending it.

Cheers.
0
solobuttAuthor Commented:
Hi Meverest,

The code works perfect when you remove one of the servers from the load balanced environment and use that server as a standalone web server writing/ reading from the file server.

Therefore the issue either lies with
1. A setting with the Load Balancer (NLB) we have missed
2. A configuration between the load balancer and IIS
3. Classic ASP and the load balancer

I have also altered the HTML Post to a Get (method = get) and modified the code to retreive querystring value(s). This works fine at this stage of the application when using the Get method, but at a later stage we use an ActiveX control which performs a post action to a HTML Page. So I defintely need to get this HTML Post issue resolved.

Cheers.
0
meverestCommented:
Hi,

use fiddler as a tool to determine which of the above (1 or 2) is happening.

there is no reason I can think of (or concoct) that would suggest 3 is remotely likely (yet not impossible).

Cheers.
0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

kevp75Commented:
my guess would be, since you are using load balancing is that the IUSR account on one server is setup to accept the incoming fiels, however since the other server does not have that exact IUSR account, it is not working.

Try cloning the IUSR account to both machines and give it a whirl
0
solobuttAuthor Commented:
Hi kevp75,

We are not using the IUSR Account, as this is machine specific. We have a service account which is part of a specific group on the company domain. The group has full access permissions (for now) on all the required directories on the web and file servers. Also the service account has admin rights (for now).

Like i said before, take one server off the load balancer and the application works fine.

Cheers,
0
solobuttAuthor Commented:
I have decided to take the alternative route which does not do a post and instead uses the querystring approach at both the ActiveX (no longer performing a post) and ASP page. This solution is a work around but does not resolve the loss of data issue when posted.

Thanks for your time guys.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2003

From novice to tech pro — start learning today.