Calling K2 Process from Asp.net User Control

  • 26 September 2008
  • 1 reply
  • 2 views

Badge +2

Hi,


We are using smartpart webpart to host an asp.net user control in sharepoint. This user control kicks off a K2 process on a button click event using K2ROM.


I'm able instantiate a k2 process from asp.net user control of a Asp.net Ajax enabled web application. However i'm facing problems(error) when i host the same usercontrol with "Smartpart With Ajax" web part in sharepoint. The user control is loading perfectly in sharepoint but when i click the button it gives me an error after completing the page load event and It never goes to  the button click event. Error message is general sharepoint message : "An unexpected error has occurred." Go back to site....


Please suggest If any permissions are required for K2Rom.dll when called from sharepoint ? or i'm missing anything.


Technologies Used : 1) K2.net 2003 2) MOSS 3) Smart Part ( Code Plex).


I appreciate your help...Thanks in advance.


SP


1 reply

Badge +10

Sharepoint will generally throw an error with more detail either in the EventLog or in the ULS log, is there anyting in there that sheds more light on this?

Reply