Hi,
does anyone of you know what that error message means:
InfoPath cannot open the selected form because of an error in the form's code. The dll initialization routine failed for file 'K2ROM.dll'.
I have an Infopath form and imported the K2Rom.dll via
using SourceCode.K2ROM.dll and also referenced the dll.
The strange thing is that if I want to start my process the first time i get the message mentiond above, but when i try to start it a second time the process starts and i can fill out my form. Anyway afterwards I cannot open the worklist items from the workspace, showing the same error message again. ??????????????????
Ok, there is another error message shown when i just complie my infopath project with visual studio.net. it says:
InfoPath cannot open the selected form because of an error in the form's code.
Unverifiable assembly 'K2ROM.dll' failed policy check.
Has somebody any idea?????
Thx in advance
Page 1 / 1
You propably have Windows Sharepoint Services and K2.net 2003 Workspace in Internet Information Services (IIS) installed on the same port, you will experience the following error: "Unverifiable assembly 'K2ROM' failed policy check". Have a look at the following KB article:
http://kb.k2workflow.com/Articles/KB000068.aspx
http://kb.k2workflow.com/Articles/KB000068.aspx
Also have a look at the included document on "How to run workspace on the same site as Sharepoint". Just change the extension back to .doc.
Ok I am gonna check the KnowledgeBase article, but the thing is that I am not using sharepoint actually. However I know that there was an installation of if so may be that might cause the problem.
I'll let you know if I can solve the problem.
I'll let you know if I can solve the problem.
Ok that, did not solve it.
There is no SharePoint installation anymore on the developement server i am using. By the way what included document were you talking about.
It would be really important for me to get that problem solved but I have no ideas left. So any further help is appreciated.
Thx
There is no SharePoint installation anymore on the developement server i am using. By the way what included document were you talking about.
It would be really important for me to get that problem solved but I have no ideas left. So any further help is appreciated.
Thx
Couple of things to try:
1. Make sure there's NO web.config in your IIS root left over from a previous SPS or WSS installation.
2. Reset your .NET runtime security policies
3. Give 'Authenticated Users' - 'Modify' permissions on 'C:WINDOWSMicrosoft.NETFrameworkv1.1.4322Temporary ASP.NET Files' and 'C:WINDOWSTemp'.
4. Do the 'DisableLoopbackCheck' Registry change discussed in KB #98.
5. Reboot the machine.
I have previously struggled with something similar and in the end could only fix it with a complete system rebuild.
Good luck!!
Ockert
1. Make sure there's NO web.config in your IIS root left over from a previous SPS or WSS installation.
2. Reset your .NET runtime security policies
3. Give 'Authenticated Users' - 'Modify' permissions on 'C:WINDOWSMicrosoft.NETFrameworkv1.1.4322Temporary ASP.NET Files' and 'C:WINDOWSTemp'.
4. Do the 'DisableLoopbackCheck' Registry change discussed in KB #98.
5. Reboot the machine.
I have previously struggled with something similar and in the end could only fix it with a complete system rebuild.
Good luck!!
Ockert
Ok thx, I'll try all these things. May be I can get it work. But as already asked here http://forum.k2workflow.com/viewtopic.php?t=1021
I can may be avoid a new installation (if all the other things won't work) when I put my code into K2 and not in the Infopath OnLoad event. My problem is that till now always worked great with almost no line of Code in K2 so I am not sure where I should put the Code to set the status of the WorklistItems.
If you have some advise for me it would be great.
Thx anyway
I can may be avoid a new installation (if all the other things won't work) when I put my code into K2 and not in the Infopath OnLoad event. My problem is that till now always worked great with almost no line of Code in K2 so I am not sure where I should put the Code to set the status of the WorklistItems.
If you have some advise for me it would be great.
Thx anyway
I opened a support ticket for my problem. Is's solved now.
Thx anyway for all the help.
Thx anyway for all the help.
For completeness, the solution was:
The error "Unverifiable assembly 'xxxxx.dll' failed policy check" is thrown by the .NET CLR - The dll is being restricted somewhere in the Framework.
You can try to resolve the issue by enabling 'FullTrust' on the Machine level for 'All code'. This is done in the .NET Framework Configuration
control panel applet.
Regards,
Ockert
The error "Unverifiable assembly 'xxxxx.dll' failed policy check" is thrown by the .NET CLR - The dll is being restricted somewhere in the Framework.
You can try to resolve the issue by enabling 'FullTrust' on the Machine level for 'All code'. This is done in the .NET Framework Configuration
control panel applet.
Regards,
Ockert
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.