~~Title: Knowledge Base: Cloud = Web~~

<html><br><br><br><font color=#990000 size="+2"><b>Knowledge Base: Cloud + Web</b></font></html>

This knowledgebase covers recurring issues with Cloud applications, Vendor specific issues and Web environments.  Specific browser issues are also covered as well as considerations for Javascript and HTTP applications.

\\

====Installation and Setup Issues====


\\

<WRAP left round info 100%>
This section covers errors or issues that come up durring installation and setup of runtime and workbench on the Windows platform.
Windows installer makes the assumption that users have administrative privilidges to install software on their system and to write
to the application data, profile and global variables area.  Subsequent installation of the Workbench product (ie. for upgrades) will 
not over-write these areas, thereby allowing you to upgrade to future versions of the tools without loosing prior settings.
</WRAP>
<WRAP clear/>

^ Issue ^ Description           ^
| [[kb:win:stroot-vars | STROOT Variable]]   | Secifying wrong values or omitting the **STROOT** variable can affect runtime start-up.  |
| [[kb:win:sec-profile | Security Profiles]]  | Non-administrators have issues with installer. |
| [[kb:win:sec-profile | Installer Compatibility]]  | Installer halts with an error saying it can't run. |
| [[kb:win:sec-profile | Installer Hangs]]  | Installer hangs near completion. |
| [[kb:win:sec-profile | Workbench Resolution Issues]]  | Workbench starts with an extremley small-scale resolution. |


\\

====Browser-Specific Issues====


\\


Current version of Huge ASP upload is designed to work with up to 4GB files (2GB 2.2 version and older). The reason for the limit is simple - major browsers did not support upload of bigger files than 2GB over internet and ASP in both 32bit/64bit IIS3-5 also accepts only 2GB files, no more. New browsers (Opera, Chrome) support bigger files, IIS6 and IIS7 suport 4GB limit in 32/64bit versions, so the 2.3 version of Huge ASP upload has the 4GB limit.
Software	Versions	Upload limit
Internet explorer 32bit	All versions (3-8)	2GB-1
Internet explorer 64bit	v. 8	2GB-1 (!)
Mozilla Firefox	All versions	2GB-1
Google chrome	All versions	>4GB
Opera	10	>4GB
IIS	1-5	2GB-1
IIS	6-7	4GB-1
ASP	All versions	2GB-1
Huge ASP upload	2.3	4GB-1
Huge ASP upload	<2.2	2GB-1
    I tried several browsers to upload files over 2gb and results ot the tests are on this page.
Mozilla firefox
   Upload file over 2GB - you cannot post such file, Mozilla does not send request with bigger file to server
   Upload two or more files with size summary size >2GB - Mozilla send such files, but http headers are funny:
POST /content-length-test.htm HTTP/1.1
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US) Gecko/20060909 Firefox/1.5.0.7
Content-Type: multipart/form-data; 
			boundary=---------------------------28146504217367
Content-Length: -1618952669
			
   But IIS doesn't  know what means "Content-Length: -1618952669" and it answers "Bad request"
Internet Explorer
   The results with IE are similar - IE allows to post file over 2GB, but the http headers looks like in Mozilla:
POST /upload/Upload-Progress ASP HTTP/1 1 
Referer: http://triple/upload/Upload-Progress ASP  
User-Agent: Mozilla/4 0 (compatible; MSIE 8 0; Windows NT 6 1; Win64; x64; Trident/4 0;  NET CLR 2 0 50727; SLCC2) 
Content-Type: multipart/form-data; boundary=---------------------------7da3dd296066e
UA-CPU: AMD64
Content-Length: -205730541
			
   Both of 32bit and 64bit versions of Internet Explorer has the same bug - they can only upload files up to 2GB. 
   Both major internet browsers (IE, FF) simply count content-length of uploads in 32bit signed integer, so their results are unusable for very large uploads over 2GB.
Google Chrome, Opera
   Google chrome (32bit version) and Opera can upload files of 2GB, 4GB or more size without problems.
IIS, ASP, V6.0
   I have prepared a simple test for IIS6 - POST with 30GB Content-Length:
POST /content-length-test.asp HTTP/1.1
Content-Type: multipart/form-data; boundary=--------------------------------08235985
Content-Length: 30000000000
User-Agent: Hammoun/1.0 (WinNT 5.2.3790;Service Pack 1)
      And the IIS/ASP answer is next:
HTTP/1.1 500 Internal Server Error
Content-Type: text/html
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET

<html><head><title>Error</title></head><body>Arithmetic result exceeded 32 bits.
</body></html>			

      You can post up to 4GB to IIS Huge ASP upload accepts 4GB as maximum form size.
      ASP Request.Totalbytes returns -1 for post size over 2GB, ASP self can process 2GB data.
Other links for Upload limits for Internet Eplorer, Mozilla firefox,

