File won't upload on Prod servers

Apr 7, 2009 at 7:57 AM
Edited Apr 7, 2009 at 8:06 AM
Hi - This control works fantastically locally, but on migration to our production servers, the upload fails silently.  IIS is setup to run annonymous.  Are there any issues with this control using DB Session state or web farms?  Locally the FileStateChanged function gets fired twice - the first time with file.State=2, the second with file.State=3.  The File_Uploading value is 2 and the httpstatus is 200 both times.  When run on the servers however, the FileStateChanged only gets fired once with a file.state = 2, and httpstatus=200, and File_Uploading=2.  It doesn't get fired the second time, and the upload just silently fails, and the server side code never gets fired.  Any thoughts?

Edit:  On reading some of your other posts, I checked the SessionState tag re cookieless='true' - my tag is
<sessionstate timeout="20" cookieless="false" sqlConnectionString="Data Source=SqlStateServer\SQL01;Integrated Security=SSPI;Persist Security Info=False;Pooling=true" stateConnectionString="tcpip=127.0.0.1:42424" mode="SQLServer" />

Coordinator
Apr 7, 2009 at 11:32 AM
Have you done this http://flajaxian.com/flajaxian.com/FileUploader2.0Help.html#HowToOvercomeFlashBug ?

Use Fiddler to see the status on the request.
Apr 8, 2009 at 1:24 AM
Edited Apr 8, 2009 at 2:59 AM
Global asax had the relevant code.
Fiddler data:
GET /crossdomain.xml HTTP/1.1
Accept: */*
Accept-Language: en-AU
x-flash-version: 10,0,12,36
UA-CPU: x86
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1; .NET CLR 3.0.04506.30; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Host: ABCanonymous.hhw.dev.idc
Proxy-Connection: Keep-Alive

HTTP/1.1 502 Fiddler - DNS Lookup Failed
Content-Type: text/html
Connection: close
Timestamp: 10:20:01:3853
Fiddler: DNS Lookup for ABCanonymous.hhw.dev.idc failed.

Just a quick rundown on our environment, to see if it helps determine if its a probelm with the fileuploader control or our environment:
DNS entry for web tier URL - connect to either 1 of 2 Web servers in a web farm, which in turn connect to 1 of 2 com tier servers.  Hosts file on web servers have DNS entries for com tier host headers.

Coordinator
Apr 8, 2009 at 4:00 AM
It is something related to the setup of your servers but given only this information I can't tell you more. 
Apr 17, 2009 at 1:49 AM
Problem solved.  It may be worth noting that if this control is to be used in an environment that uses ISA servers, you need to get the Link Translation turned on.