I'm trying to use the "Silverlight Multi-file Uploader" code (http://slfileupload.codeplex.com), which uses an ashx to dynamically upload files, and I can't seem to get the code to work in the shared hosting environment. I have everything working locally...do we have to do some permission settings to allow directory creation from within out shared sandbox? Thanks, James
Sure "The remote server returned an error: Not found" Here's the live url: http://www.thirstyapps.com/Upload_TestPage.aspx and this is the ashx it's trying to post to http://www.thirstyapps.com/HttpUploadHandler.ashx I even hard coded the url the Silverlight app is looking for and it doesn't seem to want to resolve? I'm not sure if there's a certain application startpoint I need to set up in IIS?
So after firing up Fiddler, it looks like this is the actual exception: [SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.] System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) +0 System.Security.CodeAccessPermission.Demand() +58 System.IO.Directory.InternalCreateDirectory(String fullPath, String path, DirectorySecurity dirSecurity) +595 System.IO.Directory.CreateDirectory(String path, DirectorySecurity directorySecurity) +150 HttpUploadHandler.ProcessRequest(HttpContext context) +1112 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75