"System.Security.SecurityException: That assembly does not allow partially trusted callers."
I got this error after Vault installed and trying to log into the website to admin the user. I'm using the latest valut, one seat free version.
the server is my colo server which is use for share hosting enviroment with MS SQL 2005, IIS6 and Windows2003. Sharepoint is not install. The server have Frontpage installed which is called sharepoint for some retarded reason by MS.
I can get to the valutservice.asmx just fine but i can't log in and the login.aspx is a blank page. i can't connect to vault with vault client either. i will get the same security expection error.
how can i fix this?
Vault setup error
Moderator: SourceGear
-
- Posts: 10
- Joined: Sun Oct 14, 2007 5:05 pm
-
- Posts: 10
- Joined: Sun Oct 14, 2007 5:05 pm
"Server Error in '/VaultService' Application.
--------------------------------------------------------------------------------
Security Exception
Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.
Exception Details: System.Security.SecurityException: That assembly does not allow partially trusted callers.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[SecurityException: That assembly does not allow partially trusted callers.]
VaultService.Global.Application_Start(Object sender, EventArgs e) +0
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433 "
This is the error i got after install vault.
--------------------------------------------------------------------------------
Security Exception
Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.
Exception Details: System.Security.SecurityException: That assembly does not allow partially trusted callers.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[SecurityException: That assembly does not allow partially trusted callers.]
VaultService.Global.Application_Start(Object sender, EventArgs e) +0
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433 "
This is the error i got after install vault.
-
- Posts: 28
- Joined: Tue Feb 17, 2004 7:42 am
- Location: UK
- Contact:
Vault is presumably not designed to run under partial trust. Discuss with your colocated server host - presumably they set it up - whether they are happy to run ASP.NET under full trust. However, if you intend to run any internet-visible applications on this server I would strongly recommend leaving partial trust enabled; there are potential security problems associated with full-trusted hosts, not least that in a full trust environment, the .NET IL code verification is disabled.
Technically, Vault might be fine if some of their helper assemblies were marked with the AllowPartiallyTrustedCallers attribute, but that's SourceGear's call.
Technically, Vault might be fine if some of their helper assemblies were marked with the AllowPartiallyTrustedCallers attribute, but that's SourceGear's call.