YAY!! Knowledge Network works!

I installed Knowledge Network, a component of Microsoft Office SharePoint Server 2007 (MOSS 2007), and had issues.  I finally got it up and working.
 
The issue was that the client installation isn’t your typical installation.  According to the client configuration documentation, you have to use a tool called ORCA to edit the database to point your client (KNClient) to the Knowledge Network server (KNServer).  If you don’t do that, you will need to edit your registry.  HKEY_CURRENT_USER\Software\Policies\Microsoft\KnowledgeNetwork\1.0.  You will need to add a REG_SZ value named KNServer that is set to the root URL of the Knowledge Network server (http://<KNServer&gt;).  Now here is where I was having issues. 
 
I could not initially connect to http://<KNServer>/_vti_bin/KnowledgeNetwork/ProfileService.asmx so I went into IIS and looked for the virtual directory.  It existed in a web site which I had given a host header to called "SearchCenter".  So I typed the host header in my browser and it came up.  I then went to the registry and used SearchCenter as the KNServer name.

The first issue was, if your Search Center is using a CNAME (alias) you will need to use the alias or you will get the following error message in the KNClient.log file:

System.Net.WebException: The request failed with HTTP status 404: Not Found.
   at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   at Microsoft.Office.SocialNetwork.Interfaces.ProfileService.GetUserProfile(String userAlias)
   at Microsoft.Office.SocialNetwork.UploadProfileTask.Synchronize(ProfileService service)
   at Microsoft.Office.SocialNetwork.UploadProfileTask.Execute(Scheduler scheduler)

But that was only a THIRD of the problem.  Even after making the change to the alias in the registry I was getting the following error messages:

8/31/2006 11:27:35 AM: Started Upload Profile to Server Task
8/31/2006 11:27:42 AM: Trying again 1.
8/31/2006 11:27:42 AM: Trying again 2.
8/31/2006 11:27:43 AM: System.Net.WebException: The request failed with HTTP status 401: Unauthorized.
   at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   at Microsoft.Office.SocialNetwork.Interfaces.ProfileService.GetUserProfile(String userAlias)
   at Microsoft.Office.SocialNetwork.UploadProfileTask.Synchronize(ProfileService service)
   at Microsoft.Office.SocialNetwork.UploadProfileTask.Execute(Scheduler scheduler)
8/31/2006 11:27:43 AM: Ended Upload Profile to Server Task

So then I thought it was an authentication issue.  So I went into the registry to:

HKCU\Software\Policies\Microsoft\KnowledgeNetwork\1.0

And I created a new DWORD value called ‘UseDefaultCredentials’ and set it to 0.

I then got the following error messages:

9/2/2006 8:48:16 PM: System.Web.Services.Protocols.SoapException: Invalid argument.
Parameter name: aliasUri
   at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   at Microsoft.Office.SocialNetwork.Interfaces.ProfileService.GetUserProfile(String userAlias)
   at Microsoft.Office.SocialNetwork.UploadProfileTask.Synchronize(ProfileService service)
   at Microsoft.Office.SocialNetwork.UploadProfileTask.Execute(Scheduler scheduler)
9/2/2006 8:48:17 PM: Ended Upload Profile to Server Task

If your server is using a port number, you will need to add that as well.  Not adding the port number to the URL will result in you getting the previous error message in the KNClient.log file.

So now everything is working nicely and I am a happy camper again!

 


 

Advertisements

4 Comments

Filed under Technical Post

4 responses to “YAY!! Knowledge Network works!

  1. Unknown

    I am trying to install KN . can to tell me the url from where i can get the setuup for KN server and client both.

  2. Bob

    I\’ve made it through the installation of the server and client, but am having various issues with the Search.  I successfully publish my profile, and the items show up in mysite as External and Keywords, but I cannot search for them.  Search returns The request failed with HTTP status 404: Not Found….Ahy ideas?

  3. Unknown

    保持上动态网的方法。MSN即时通讯:用MSN免费即时消息给dtwip001@hotmail.com, dtwip002@hotmail.com, dtwip003@hotmail.com, dtwip004@hotmail.com,dtwip005@hotmail.com 发一个短信,一分钟内会收到几个IP。如果看不到以上帐号在线,这是因为每个MSN帐号只能接受一定数目的人加其为联系人,超过后再加就显示不在线。用MSN上面的菜单栏里的“操作”那一栏, 然后->“发送即时信息”->“其他”,然后会看见“输入电子邮件地址”,在里面输入以上帐号中的一个如:dtwip005@hotmail.com,然后点“确定”,就会出现和这个帐号的对话框, 随便发几个字母就可以即时得到有效的 IP地址。一个帐号不行,可以多试几个。

  4. Unknown

    Hi,Do you need advertising displays, advertisement screens, LCD digital signage and LCD signages? Please go Here:www.amberdigital.com.hk(Amberdigital).we have explored and developed the international market with professionalism. We have built a widespread marketing network, and set up a capable management team dedicated to provide beyond-expectation services to our customers.
    amberdigital Contact Us
    website:www.amberdigital.com.hk
    alibaba:amberdigital.en.alibaba.com[cbfihjhdfjdifa]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s