I received the following error when trying to create a signature file. It was solved by granting "Full" trust in web.config per Winhost knowldgebase post. Thanks! Message=System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.KeyContainerPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) at System.Security.CodeAccessSecurityEngine.Check(CodeAccessPermission cap, StackCrawlMark& stackMark) at System.Security.CodeAccessPermission.Demand() at System.Security.Cryptography.RSACryptoServiceProvider.ImportParameters(RSAParameters parameters) at System.Security.Cryptography.RSA.FromXmlString(String xmlString) at myDomain.Library.WebServices.SignatureAdministrator.Sign(StringReader keyDocument, XmlDocument xmlDoc, Debug_Actions debugMode)
Thanks for that follow up. Also you may want to check this kb article for some of the common errors caused by an inadequate trust level setting. http://support.Winhost.com/KB/a722/common-errors-associated-with-inadequate-trust-level.aspx