|
|
 |  |  |
 |
|
 |
 |
|
|
|
|
(you must be logged in to post)
| Author |
Messages |
|
Doug
Posts:1
 |
| 11/10/2007 4:38 PM |
|
Hi, I've installed the Silverlight Video module but whenever I try to upload a video file, I get the below error: A critical error has occurred. "Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed." Do I need to grant permissions to a particular directory? I'm able to upload other video files (via the Media module). My site is hosted on GoDaddy so could their settings be causing a conflict? Below is part of the Event Viewer message for this error. Thanks for any suggestions. "InnerException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. FileName: FileLineNumber: 0 FileColumnNumber: 0 Method: System.Security.CodeAccessSecurityEngine.Check StackTrace: Message: DotNetNuke.Services.Exceptions.PageLoadException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. ---> System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet)at System.Security.CodeAccessPermission.Demand()at System.IO.DirectoryInfo.get_Parent()at DotNetNuke.Modules.SilverLightEdit.EnsureDirectory(DirectoryInfo oDirInfo)at DotNetNuke.Modules.SilverLightEdit.EnsureDirectory(DirectoryInfo oDirInfo)at DotNetNuke.Modules.SilverLightEdit.btnUpload_Click(Object sender, EventArgs e)at System.Web.UI.WebControls.Button.OnClick(EventArgs e)at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) The action that failed was: Demand The type of the first permission that failed was: System.Security.Permissions.FileIOPermission The Zone of the assembly that failed was: MyComputer--- End of inner exception stack trace ---" |
|
|
|
|
Michael Washington (admin)
Posts:67

 |
| 11/10/2007 5:50 PM |
|
| The Silverlight video module is trying to upload the file to the DesktopModules directory not the Portals directory where you would normally upload a file to. So that is why other videos would work and this one would not. |
|
|
|
|
David Kirchner
Posts:2
 |
| 02/22/2008 5:03 PM |
|
I am having the same problem. GoDaddy deluxe host account. DotNetNuke is at 4.8. My DesktopModules and Portals directory have the same permissions, Read and Write. I can also use the Media module, but sure would love to have the Silverlight. First I wondered if DNN 4.8 was the issue, but I see other forum users can work in 4.8. Above I see the issue has been around since November 2007. I am also working with Godaddy on a weather module that does not have correct permissions 'The permission problem is like the one when IIS is serving from a networked attached drive'. Do you anything I can test to figure out where the problem is? The Stadard DotNetNuke modules seem to all run with my GoDaddy hosting account. Half the free modules I have been testing this week are having problems. |
|
|
|
|
Michael Washington (admin)
Posts:67

 |
| 02/22/2008 6:11 PM |
|
| I have nothing to test the permissions. Basically if you get the error indicated in the post it is a permissions issue. |
|
|
|
|
David Kirchner
Posts:2
 |
| 02/29/2008 7:51 PM |
|
| I created a local DotNetNuke server and all is working on my local machine. The Godaddy server is still having permision problems with your DNN module and others. I will probably harden my local machine and use a the public web server because it works and GoDaddy has not. |
|
|
|
|
shinji14
Posts:3
 |
| 12/09/2008 6:17 AM |
|
maybe is beacuse your hosting is with medium trust. i could resolve this in the album case, but i guest in the video is the same 1.- create a "videos" folder in ~\DesktopModules\SilverlightVideo 2.- in "SilverLightEdit.ascx.cs" comment the method call to EnsureDirectory(new System.IO.DirectoryInfo(path)) or just simply delete that line |
|
|
|
|
|
| You are not authorized to post a reply. |
|
|
|
ActiveForums 3.7
|
|
|
|
 |  |  |
|