Skip to main content

Hi all,


I have deployed successfully a workflow built on K2 Designer.


The problem starts when I try to access an active instance. It's retrieving a 404 http error.


I have verified that the Physical Path ( C:Program FilesK2 blackpearlK2 SmartForms RuntimeRuntimeFormDenallix+College+Application ) does not exists. So, the forms built on K2 Designer are not being deployed.


Any suggestions ?


Thanks in advance,


Tiago


Hi Tiago, 


Not seeing anything created under “….K2 SmartForms
RuntimeRuntimeForm” is expected. At what point to you get the 404? Does this happen
when you attempt to run the form from K2 Designer using the “Run” option?



Hi Renier,


When I run a form from the K2 Designer it goes perfect.


That error happens when the I, in workspace, access the worklist and try to open an active instance that was started by a form.


I have additional details of my debug;


Through the worklist in workspace, the url being accessed is http://
<server> /Runtime/Runtime/Form/Denallix+College+Application/?_State=Applicant+Approval&SerialNo=2_39 that retrieves a 404 error. When I translate it to http://<server>:80/Runtime/Form.aspx?_name=Denallix+College+Application it opens fine. So, I conclude that is something related with the IIS module that translates the URL to the main URL, because I can access this one.


Thanks



Thank you for the additional info, one more question: can
you perhaps tell me what is the URL for the page if you expand the properties section
when the smartform is selected in K2 Designer and if you open the form using this
link does it also generate the 404 error?



Yes, it also generates the 404 error. The URL presented is http://<server>/Runtime/Runtime/Form/Denallix+College+Application/


 


 



Hi Tcalado, 


To get a speedy resolution on this I would suggest
opening a support ticket, if possible also update the thread once you get more
info back from the support team.



Hi Renier,


I opened a ticket and the problem is solved. Was identified as bug.


Context:



"After smartforms has been installed, HTTP handler will be
added to Runtime and Designer application in IIS. From the above screenshots,
the OS is 32bit. Hence there is no Framework64
folder in C:WindowsMicrosoft.NET


Irrespective of the folder not present, we still configure
the handler pointing to Framework64"



 


The solution provided by the support was:


Modify the SFVanityHandler (IIS Manager->Handler Mappings) executable path to C:WindowsMicrosoft.NETFrameworkv2.0.50727aspnet_isapi.dll




for both Runtime and Designer applications in IIS.


Then open web.config of Runtime and Designer applications-
search for “bitness”


<add name="SFVanityHandler" path="*"
verb="*" modules="IsapiModule" scriptProcessor="C:WindowsMicrosoft.NETFrameworkv2.0.50727aspnet_isapi.dll"
resourceType="Unspecified" requireAccess="None" preCondition="classicMode,runtimeVersionv2.0,bitness64" />


<<to>>


<add name="SFVanityHandler" path="*"
verb="*" modules="IsapiModule" scriptProcessor="C:WindowsMicrosoft.NETFrameworkv2.0.50727aspnet_isapi.dll"
resourceType="Unspecified" requireAccess="None"
preCondition="classicMode,runtimeVersionv2.0,bitness32" />


Followed by IISRESET



 


 


thank you for the update.


Reply