error install NT service hosting SOAP listener -
10-12-2006
, 03:47 AM
I try to install a windows service hosting a WS soap listener as mentionned in
http://msdn.microsoft.com/library/en-us/wse3.0/html/a59d232c-53a3-401f-82e5-2e49588923b9.asp?frame=true
Host an ASP.NET Web Service Outside of IIS
my application is working fine through test made with Nunit
it uses external libs like NHibernate and Nlog
when launching (in VS2005 command prompt) installutil.exe:
An exception occurred during the Install phase.
System.InvalidOperationException: Unable to create an instance of the
Airbus.Airfase.FPS.FPCServer.CentralWindowsService .ProjectInstaller installer
type.
The inner exception System.Reflection.TargetInvocationException was thrown
with the following error message: Exception has been thrown by the target of
an invocation..
The inner exception System.Security.SecurityException was thrown with the
following error message: That assembly does not allow partially trusted
callers..
of course i add the attribute
[assembly: AllowPartiallyTrustedCallers()]
in every single assembly of my own in my project, and also signed all of them.
any idea? |