Security Exception on Medium Trust Level

  •  03-27-2009, 8:39 AM

    Security Exception on Medium Trust Level

    Hello, I'm trying the simple-upload demo (with Magic Ajax) in a shared hosting (Godaddy) with medium trust level, but is not working.
    When the page is loading the following error raises: System.Security.SecurityException: Request failed.
     
    I have already added this lines to the web.config and the dll files to the bin folder.
     
        <appSettings>
                  <add key="CuteWebUI.AjaxUploader.TempDirectory" value="~/UploaderTemp"/>
    ...
        </appSettings>
     
        <controls>
            <add namespace="CuteWebUI" assembly="CuteWebUI.AjaxUploader" tagPrefix="CuteWebUI"/>
            <add namespace="MagicAjax.UI.Controls" assembly="MagicAjax" tagPrefix="MagicAjax"/>
    ...
        </controls>
        <httpModules>
            <add name="MagicAjaxModule" type="MagicAjax.MagicAjaxModule, MagicAjax"/>
            <add name="CuteWebUI.UploadModule" type="CuteWebUI.UploadModule,CuteWebUI.AjaxUploader"/>
    ...
         </httpModules>
     
    Can you tell me what else should I do?
    Thank you in advance
     
    Jonathan
View Complete Thread