PSI throwing exception

Aug 22, 2007 at 3:03 PM
Hi,
We have problems when updating Project server from TFS. No new assignments are created on Project Server when new task is added on TFS. In debugging we find that exception is raised after call of function
statusingService.CreateNewAssignment(taskName, projectId, taskId, assignmentId, sumTaskId, startDate, finishDate, true, true, Resources.SubmitViaStatusingComment);



Exception message :

Message "Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'.\r\nThe request failed with the error message:\r\n--\r\n<HTML dir=\"ltr\">\r\n<HEAD><meta name=\"GENERATOR\" content=\"Microsoft SharePoint\" /><meta name=\"progid\" content=\"SharePoint.WebPartPage.Document\" /><meta HTTP-EQUIV=\"Content-Type\" content=\"text/html; charset=utf-8\" /><meta HTTP-EQUIV=\"Expires\" content=\"0\" /><meta name=\"ROBOTS\" content=\"NOHTMLINDEX\" /><title>\r\n\t\r\n\tError\r\n\r\n</title><link rel=\"stylesheet\" type=\"text/css\" href=\"/layouts/1033/styles/core.css?rev=5msmprmeONfN6lJ3wtbAlA%3D%3D\"/>\n<script type=\"text/javascript\" language=\"javascript\" src=\"/layouts/1033/init.js?rev=VhAxGc3rkK79RM90tibDzw%3D%3D\"></script>\n<script type=\"text/javascript\" language=\"javascript\" src=\"/layouts/1033/core.js?rev=F8pbQQxa4zefcW%2BW9E5g8w%3D%3D\"></script>\n\r\n\t<meta name=\"Robots\" content=\"NOINDEX \" />\r\n\t<meta name=\"SharePointError\" content=\"\"/>\r\n</HEAD>\r\n<BODY scroll=\"yes\" onload=\"javascript:if (typeof(spBodyOnLoadWrapper) != 'undefined') spBodyOnLoadWrapper();\">\r\n <form name=\"aspnetForm\" method=\"post\" action=\"../../../layouts/error.aspx\" id=\"aspnetForm\" onsubmit=\"return spFormOnSubmitWrapper();\">\r\n<div>\r\n<input type=\"hidden\" name=\"_VIEWSTATE\" id=\"_VIEWSTATE\" value=\"/wEPDwUKLTU2NjkxODU3M2RkwVIu5a2bkQcnWgQgi9DpIXjGZeg=\" />\r\n</div>\r\n\r\n <TABLE class=\"ms-main\" CELLPADDING=0 CELLSPACING=0 BORDER=0 WIDTH=\"100%\" HEIGHT=\"100%\">\r\n\t<tr><td>\r\n\t <table CELLPADDING=0 CELLSPACING=0 BORDER=0 WIDTH=\"100%\">\r\n\t\t<tr>\r\n\t\t <td colspan=4 class=\"ms-globalbreadcrumb\" align=\"right\">\r\n\t\t  
Coordinator
Aug 23, 2007 at 2:39 PM
I think either your siteGuid or SSP are incorrect. Can you please check out the thread at http://www.codeplex.com/pstfsconnector/Thread/View.aspx?ThreadId=1156 and look specifically for help re: siteGuid and SSP and see if that helps?
Aug 24, 2007 at 6:27 AM
Hi, we already solved this problem by changing sspURL to right address. Thanks for help :)