Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryError: Request for the permissionError: Request for the permission
Previous
 
Next
New Post
11/10/2005 12:27 PM
 

Hi

I have DNN 3.1.1. I get the following error when trying to upload a file thru repos. module:

A critical error has occurred.
Request for the permission of type System.Security.Permissions.SecurityPermission, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed.

 

what could be the problem??

 

PLZZ help

 
New Post
11/10/2005 12:37 PM
 

We need more information. Log in with your host account and look at the log viewer. It should show you the exception in more detail. Also, what kind of file were you trying to upload, how big was it, etc. The more info you can give the better chance you'll get the right answer.

 
New Post
11/10/2005 12:42 PM
 

Currently GRM3 does NOT work in Medium Trust

In order to use GRM3, you would have to change your web.config to change the Trust to "Full" instead of "Medium" ( if that's an option for you )

Sorry. Getting GRM3 ( and the upcoming release of DRM3 ) to work in Medium Trust is a top priority, but no solution as yet .

 
New Post
11/10/2005 12:43 PM
 

Did a google search on your error and this is the result... http://support.microsoft.com/kb/836989. It looks like a trust issue. I'll have to defer to Steve on this one.

EDIT: Looks like Steve was answering as I was.

 
New Post
11/10/2005 4:17 PM
 

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

 

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryError: Request for the permissionError: Request for the permission


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out