We have two different types of sites setup on our MOSS server that i am testing against. One site seems to work fine (i can browse to it through the K2 Studio InfoPath process wizard, i can upload process instance xml docs to it from InfoPath activities etc) but the other site causes problems. The site that works has a url like this http://employee.mysite.net/workflow. 'workflow' is a subsite for the employee publishing site. The other site looks like this http://employee.mysite.net/sites/workflow. 'sites/workflow' is a virtual directory within SharePoint (only SharePoint recognizes it, not IIS). From K2 Studio if i try to browse to the sites/workflow area it will not come up. I can only see doc libraries if i put the full path in the Virtual server url box and nothing in the site box. No matter what i seem to put in my ProcessDataFields for these values can i get an InfoPath activity to work. When the spslist.UploadDocument method is called i get the following error:
System.Exception: There is no Web named "/sites/workflow".
at K2Code216126.SendDocURL(ClientEventContext K2)
at K2Code216126.Main(ClientEventContext K2)
For clarification we are running K2.net 2003 SP4 and MOSS with the additonal components and hotfix installed. Any ideas? For now we are just going to use the subsite but i'd like to understand what the difference is and how to work around this if possible in case we want to setup sites in that manner in the future with MOSS. Thanks in advance.