thanks for you answers, here are the details of the error:
AssemblyVersion: 03.01.01
Method: N/A - Reflection Permission required
FileName:
FileLineNumber: 0
FileColumnNumber: 0
PortalID: 0
PortalName: ******************
UserID: ***
UserName: host
ActiveTabID: ****
ActiveTabName: Download
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://********/Download/tabid/70/ctl/UserUpload/mid/431/Default.aspx
ExceptionGUID: 8ccfbf87-52c1-421f-8ceb-f93e6fafb174
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: Request for the permission of type System.Security.Permissions.SecurityPermission, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed.
Message: DotNetNuke.Services.Exceptions.PageLoadException: Request for the permission of type System.Security.Permissions.SecurityPermission, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed. ---> System.Security.SecurityException: Request for the permission of type System.Security.Permissions.SecurityPermission, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed. at Gooddogs.Repository.RepositoryBL.AddFile(String strFileNamePath, String strExtension, String strImagePath, String strImageExtension, RepositoryInfo pRepository, String strContentType, String strImageContentType) at Gooddogs.Repository.RepositoryBL.UploadFiles(Int32 PortalID, Int32 ModuleID, String fileURL, String imageURL, Object objFile, Object objImageFile, RepositoryInfo pRepository) at Gooddogs.Repository.UserUpload.btnUpdate_Click(Object sender, EventArgs e) at System.Web.UI.WebControls.Button.OnClick(EventArgs e) 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() --- End of inner exception stack trace ---
I tried to change the Trust level to Full, but still NOT working
I tried to upload file such as PDF, DOC , JPG without results.
Any ideas
I appreciate you answers