Skip to main content
Nintex Community Menu Bar

Hi,

 

i downloaded nintex example code for custom control and deployed/register at our server with the below command.

controlutil.exe register -assembly:"dll path here"

 

after that i am unable to open designer/management of k2. below error showing

Server Error
Could not load file or assembly 'K2Documentation.Samples.Extensions.SmartForms.CustomControl.ExampleControls' or one of its dependencies. The system cannot find the file specified.
 
i also deregister that control. but still same error showing. i cannot do anything.
 
restated iis and k2 service as well. but still the same.
Please help how can i restore my environment.
 
Regards,

Please try the following:



1. Open the solution in Visual Studio.



 



2. Open definition.xml for each of the below controls:



ExampleControls > HelloWorld



ExampleControls > Textbox



ExampleControls > WithStyles



 



3. Make the following change to remove ExampleControls at the end: 



E.g. 



From:<FullName>K2Documentation.Samples.Extensions.SmartForms.CustomControl.ExampleControls.HelloWorld.Control, K2Documentation.Samples.Extensions.SmartForms.CustomControl.ExampleControls</FullName>



 



To: 



<FullName>K2Documentation.Samples.Extensions.SmartForms.CustomControl.ExampleControls.HelloWorld.Control, K2Documentation.Samples.Extensions.SmartForms.CustomControl</FullName>



 



4. Deploy the solution in Visual Studio.



 



5. Open a command prompt window and run this command to register the control again:



 



controlutil.exe register -assembly: “file path to K2Documentation.Samples.Extensions.SmartForms.CustomControl.dll here” 



 



 



 


Hi,



 



Thanks for your response. it fixed the issue.



but why its showing error with the previous setting?



 



Regards,


Reply