Symptoms
Dear,
If the page not found, How can we redirect to Custom Error Page.
For ex:
1. When we try to access the below URL which is not available in our system
https://ss-jhd-wfsft/Runtime/Runtime/test . We are geeting the Out Of Box message as "Form 'test' could not be found or its not checked-in".
2. https://ss-jhd-wfsft/Runtime/_trustadmin/Login.aspx
Getting the Server Error with the message "The file '/Runtime/_trustadmin/Login.aspx' does not exist. "
Instead of displaying the Out of Box Error Message .We need to redirect to custom Error page.
Please find attached for more info.
Kindly check and feedback.
Diagnoses
The respected customer closed the ticket after the following note:
"
System-wide customization of such error messages at the moment is possible by editing HostServerLogging.config. This is the only supported option for SmartForm 1.0.5 and earlier versions. Unfortunately set of error messages which you can customize with use of this method is limited by errors mentioned in this file HostServerLogging.config
For the customization of the rest of the error messages as well as logging part this request has been linked with existing feature request:
TFS 589112 "K2Blackpearl Core Error message feature request to be able to filter on certain error codes and words and customize the error message."
Unfortunately there is no ETA for implementation of this coldfix as for now.
"
Also
Regarding your question " If the page not found Error occurs, Is it possible to redirect to another form?" the answer is "Kindly note that currently K2 does not support that tfs 573984 was already created to handle custom error handling"
Resolution
The respected customer closed the ticket after the following note:
"
System-wide customization of such error messages at the moment is possible by editing HostServerLogging.config. This is the only supported option for SmartForm 1.0.5 and earlier versions. Unfortunately set of error messages which you can customize with use of this method is limited by errors mentioned in this file HostServerLogging.config
For the customization of the rest of the error messages as well as logging part this request has been linked with existing feature request:
TFS 589112 "K2Blackpearl Core Error message feature request to be able to filter on certain error codes and words and customize the error message."
Unfortunately there is no ETA for implementation of this coldfix as for now.
"
Also
Regarding your question " If the page not found Error occurs, Is it possible to redirect to another form?" the answer is "Kindly note that currently K2 does not support that tfs 573984 was already created to handle custom error handling"