BugNET

Open source issue tracking & project management
Welcome to BugNET Register | Login |

BugNET Forums

 
  Forum  Support  Installation pr...  Security Exception
Previous Previous
 
Next Next
New Post 9/5/2007 4:30 PM
User is offline tscherf
6 posts
No Ranking


Security Exception 

Hi,

I've installed BugNet on a dedicated BugNet Server.  The app is set up under the primary IIS server (another physical machine), and the directory points back to the dedicated machine and it's BugNet shared directory.
If I try to access the directory from its designated web URL address I get a Security Exception:

SecurityException: Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.]
   System.Reflection.Assembly.GetType(String name, Boolean throwOnError, Boolean ignoreCase) +0
   System.Web.UI.Util.GetTypeFromAssemblies(ICollection assemblies, String typeName, Boolean ignoreCase) +140
   System.Web.UI.TemplateParser.GetType(String typeName, Boolean ignoreCase, Boolean throwOnError) +295
   System.Web.UI.TemplateParser.ProcessInheritsAttribute(String baseTypeName, String codeFileBaseTypeName, String src, Assembly assembly) +163
   System.Web.UI.TemplateParser.PostProcessMainDirectiveAttributes(IDictionary parseData) +192

I am not sure why I am getting this.  Does anybody have any idea as to what can be done to get this to work?  If you need more information let me know.

Thanks for any help.

 
New Post 7/21/2008 3:49 AM
User is offline sluc23
1 posts
No Ranking


Re: Security Exception 

hi,

 

same problem installing on a windows server 2003 & ASP.NET 2.0.

any help?

 

thanks

 
New Post 7/21/2008 5:16 AM
User is offline admin
621 posts
bugnetproject.com
1st Level Poster




Re: Security Exception 

This error has to do with code access security.  Unfortunatly, I have no experience with this type of setup but I believe you will have to do configure the code access policies to allow assemblys to execute on another machine.  Have you set up other .net applications like this?


Davin Dubeau
BugNET - Core Developer

 
New Post 7/22/2008 11:30 PM
User is offline smoss
91 posts
www.orbitsolutions.co.za
No Ranking


Re: Security Exception 

I had an issue with this once.

Basically we had a virtual directory on the IIS server pointing to a folder on a virtual machine.  We had to make sure both the virtual machine and the IIS machine were on the domain. Then we allowed everyone access to the folder on the virtual machine. Then configured the IIS service to run as an authenticated network user then it worked.

After that we started to lock down access and get the security back the way we wanted.

Good luck it was not easy and took a lot of playing.

 
Previous Previous
 
Next Next
  Forum  Support  Installation pr...  Security Exception

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.