Smart Client Error

I'm trying to host my application in IIS.

When I attempt to access my application (ie: http://www.mysite.com/myapp.exe) it downloads all the assemblies correctly but when it tries to run it throws a "System.TypeIntialization" exception... this seems to be thrown by System.Drawing.

I have the assembly set for full permission.

Any ideas?

[354 byte] By [codefund.com] at [2008-3-1]
# 1
See http://www.superdotnet.com/csharp_onlinespec/232.aspx - this simply means that no handler for the exception was found, and the CLR has hit a static constructor. You need to debug and look at InnerException to find out what's going down here.

Do you get the same exception when launching locally? (I assume no.)

codefund.com at 2007-9-8 > top of Msdn Tech,Windows Forms,ClickOnce and Setup & Deployment Projects...