Skip to main content


 

Symptoms


Initially we configured SP2013 to use HTTP. After switching to HTTPS, we are no longer able to build PandD packages with our solutions that were built before the time.

Error: ''ViewName]' View is referencing the 'SiteURL: http:///URL]' property that could not be found.
 

Diagnoses


We used "APEX SQL Search" to look for the erroneous SiteURL. Looking at the form.control table, we noticed that in the "Properties" column, there was a SiteURL XML node that was still referencing the "old" HTTP URL of a view that was placed on a form.
 

Resolution

Regenerating the K2 artifacts would have worked, because it would have regenerated the views and changed the URL of the view to HTTPS. But, because of the fear of loosing customizations that were made on the views/forms, regenerating the artifacts was not an option.

What we ended up doing, was to run a couple of SQL update queries to change the SiteURL nodes, in the properties column of the Form.Control table. After doing that, we were able to create a PandD package as expected.




 
Be the first to reply!

Reply