|  | 
	
	
	| Rank: Newbie Groups: Member
 
 Joined: 3/14/2011
 Posts: 3
 
 | 
		    In AJAXUploader, I have set MaxDataSize to 500. When trying to upload a file that exceeds that size, a client side error message is displayed as expected, but then the following exception is thrown:
 Exception was thrown at line 6, column 16676 in http://localhost:2886/eo_web.ashx?id=db7535c9-5c17-450c-80bf-fae171fad6de
 
 0x80070005 - JavaScript runtime error: Access is denied.
 
 The offending code is var b=a.contentWindow.document
 
 And yes, the web.config file does allow anonymous access to eo_web.ashx. It is only MaxDataSize that is causing an issue. I also have AllowedExtension=".gif|.jpg|.jpeg|.png" and this behaves correctly.
 
 I am using VS2012 on a Win 8 virtual machine. Thanks.
 | 
|  | 
	
	
	| Rank: Administration Groups: Administration
 
 Joined: 5/27/2007
 Posts: 24,425
 
 | 
		    Hi,
 Thanks for posting in the forum. Have you tried .NET 4.0 (instead of 4.5) on Windows 7 or with a different browser than IE? This might be a problem related to VS2012 and Windows 8. We do not officially support either yet.
 
 Thanks!
 | 
|  | 
	
	
	| Rank: Newbie Groups: Member
 
 Joined: 3/14/2011
 Posts: 3
 
 | 
		    Thanks for the reply. I'm not going to pursue this as my web host only supports medium trust whereas AJAXUploader requires partial trust.
		 | 
|  | 
	
	
	| Rank: Administration Groups: Administration
 
 Joined: 5/27/2007
 Posts: 24,425
 
 | 
		    Hi,
 OK. That might be a dead end. AJAXUploader requires full trust. So it won't work in a partial trust environment.
 
 Thanks!
 | 
|  |