BugNET

Open source issue tracking & project management
| Login

Import Update!

We are currently in transition and have moved our discussions to CodePlex. These forums will remain as reference until we launch of our new site in the upcoming weeks. After that they will be removed.

Thank you for your patience during our transition.

Forums

HomeHomeSupportSupportInstalling BugN...Installing BugN...Install.aspx problem on godaddyInstall.aspx problem on godaddy
Previous
 
Next
New Post
12/7/2009 9:06 AM
 

When I try to run Install.aspx for the first time I get following error. I have given the correct permissions and the Microsoft.ReportViewer....dlls are in the bin directory. Any help would be appreciated.

Required permissions cannot be acquired.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Security.Policy.PolicyException: Required permissions cannot be acquired.

Source Error:

System.Security.SecurityManager.ResolvePolicy(Evidence evidence, PermissionSet reqdPset, PermissionSet optPset, PermissionSet denyPset, PermissionSet& denied, Boolean checkExecutionPermission) +7602199
   System.Security.SecurityManager.ResolvePolicy(Evidence evidence, PermissionSet reqdPset, PermissionSet optPset, PermissionSet denyPset, PermissionSet& denied, Int32& securitySpecialFlags, Boolean checkExecutionPermission) +57

Stack Trace:
[FileLoadException: Could not load file or assembly 'Microsoft.ReportViewer.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417)]
   System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0
   System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +43
   System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +127
   System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +142
   System.Reflection.Assembly.Load(String assemblyString) +28
     System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +46 


 
New Post
12/7/2009 10:29 AM
 

I think I figured out the problem. It was the "Full" trust levels that microsoft report viewer. Most hosting providers only allow medium trust level.

See also:
http://support.bugnetproject.com/Bugs/BugDetail.aspx?bid=586
http://bugnetproject.com/Forums/tabid...

Version 0.8.140.0 seems to have Microsoft reports removed. Although I still had to remove a reference to it in the web.config file to get it to run.

 
New Post
12/7/2009 10:55 AM
 

now getting following error when I run Install.aspx:

Error: An error occurred loading a configuration file: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. (machine.config)


 
New Post
12/8/2009 4:39 AM
 
johnbe2 wrote:

now getting following error when I run Install.aspx:

Error: An error occurred loading a configuration file: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. (machine.config)

There may still be some issues on medium trust using the installer when it tries to modify the web.config.



Davin Dubeau

follow us on twitter facebook users group google plus
 
New Post
5/14/2010 5:11 AM
 
I am having the same problem, how do you get around it to get the thing installed?
 
Previous
 
Next
HomeHomeSupportSupportInstalling BugN...Installing BugN...Install.aspx problem on godaddyInstall.aspx problem on godaddy


Forum Policy

These Discussion Forums are dedicated to the discussion of the BugNET issue tracker.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:
1. No Advertising.
2. No Flaming or Trolling.
3. No Profanity, Racism, or Prejudice.
4. Site Moderators have the final word on approving/removing a thread or post or comment.
5. English language posting only, please.