<link>http://www.ncryptoki.com/forum.aspx</link> <description /> <docs>http://www.rssboard.org/rss-specification</docs> <generator>mojoPortal Forum module</generator> <item> <title>Re: Running NCryptoki under IIS 7.5 .NET 4.0 Hi Surinder,

 

Mine was just the licensing issue.  It went away when I installed the license. 

 

Thanks,

 

Jason

]]>
http://www.ncryptoki.com/Forums/Thread.aspx?pageid=9&t=30~-1#post422 Ice3838 http://www.ncryptoki.com/Forums/Thread.aspx?pageid= Thu, 17 Jan 2013 19:49:29 GMT Re: Running NCryptoki under IIS 7.5 .NET 4.0 Hi Ice3838

 

Did you ever get to the bottom of this.

 

I have the same issue, I have  a license.

 

Thanks

Surinder

]]>
http://www.ncryptoki.com/Forums/Thread.aspx?pageid=9&t=30~-1#post421 Ice3838 http://www.ncryptoki.com/Forums/Thread.aspx?pageid= Thu, 17 Jan 2013 13:50:32 GMT
Re: Running NCryptoki under IIS 7.5 .NET 4.0 Yes, exactly.

When you use NCryptoki without the license, a massagebox appears. When you run it in IIS that messagebox appears in the system desktop that you cannot see (so you cannot click on OK), because IIS works as System in the System's desktop,

If you'll buy a license the messagebox doesn't appear and IIS will not hang.

 

]]>
http://www.ncryptoki.com/Forums/Thread.aspx?pageid=9&t=30~-1#post156 Ice3838 http://www.ncryptoki.com/Forums/Thread.aspx?pageid= Fri, 27 May 2011 13:46:56 GMT
Re: Running NCryptoki under IIS 7.5 .NET 4.0 Also I'm still using the trail edition.  I'm wondering if this is causing the issue too.

Thanks,

Jason

]]>
http://www.ncryptoki.com/Forums/Thread.aspx?pageid=9&t=30~-1#post155 Ice3838 http://www.ncryptoki.com/Forums/Thread.aspx?pageid= Thu, 26 May 2011 22:03:59 GMT
Running NCryptoki under IIS 7.5 .NET 4.0 Hi Ugo,

I am running NCryptoki under a web service in IIS 7.5 .NET 4.0.  When the thread tries to create a new Cryptoki("filelocation"), it enters the constructor but never returns.  When I run the same code in a WPF application it is able to create the NCryptoki object just fine.  In the web.config I am using the legacy V2 setting: 

<configuration>
  <configSections>
    <section name="CryptonConfiguration" type="Yellowstone.Crypton.Core.CryptonConfiguration"/>
  </configSections>
  <startup useLegacyV2RuntimeActivationPolicy="true">
    <supportedRuntime version="v4.0"/>
  </startup>

Also the machine is running in 64-bit and the program is using the 64-bit assemblies.  

If I try to run the web service using the cassini/visual studio development studio I get the following error:

Could not load file or assembly 'NCryptokiMngd' or one of its dependencies. An attempt was made to load a program with an incorrect format.

In IIS 7.5 do I need to set something specifically for NCyrptoki to function correctly?

Thanks,

Jason Bogdanski

]]>
http://www.ncryptoki.com/Forums/Thread.aspx?pageid=9&t=30~-1#post154 Ice3838 http://www.ncryptoki.com/Forums/Thread.aspx?pageid= Thu, 26 May 2011 21:46:34 GMT