in

But it works on my PC!

The random thoughts of Richard Fennell on technology and software development

CCNet WebDashboard getting assembly does not allow partially trusted callers exception

Whilst installing a TFS & CCNet demo system I got an exception

System.Security.SecurityException: That assembly does not allow partially trusted callers

when I tried to load the CCNet WebDashboard.

The problem was that default CCNet installer had created the WebDashboard on the default web site as the virtual directory

http://localhost/ccnet

As this was also a TFS server the default web site was a WSS3 server. Bascially the SharePoint did not like (trust) the CCNet virtual directory's DLLs.

The fix I used was to create a new website and point it as the WebDashBoard directory so it could be accessed without effecting the SharePoint e.g.

http://localhost:81

I could also have edited the SharePoint's web.config to trust the CCNet DLLs

Published Jan 13 2008, 10:33 PM by Richard
Filed under: ,

Comments

 

CCNet WebDashboard getting assembly does not allow partially trusted callers exception | Website Directory said:

Pingback from  CCNet WebDashboard getting assembly does not allow partially trusted callers exception | Website Directory

January 13, 2008 11:21 PM
 

Assissotom said:

WOW, so much stuff here, an excellent resource. Thanks guys!

January 17, 2008 11:35 AM
 

Cory Foy said:

Thanks a ton. I figured that was what the problem was going to be, but it was nice just hearing it from someone else (and it worked fine). Thanks!

April 25, 2008 2:35 PM
Black Marble 2004-2008
Powered by Community Server (Commercial Edition), by Telligent Systems