Moving from SharePoint 2007 (x86) to SharePoint 2010

Mar 19, 2010 at 2:47 AM
Edited Mar 23, 2010 at 9:36 PM

Hi, as anybody installed the Protocol Handler on SharePoint 2010 ? If so, anything different we need to do to make it work ?

Thank you

Mar 22, 2010 at 6:26 PM

Hello,

My custom PH made with VS2008 is working fine in Sharepoint 2007 on Windows Server 2003 SP2 x86. I'm trying to move it to Sharepoint 2010 on Windows Server 2008 R2 Standard (x64) and recompiled the sources with VS2010 RC1.  The installation was pretty much the same beside these changes :

I ajusted the .reg so that it  is added here :

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\14.0\Search\Setup\ProtocolHandlers]
"MOSSPH"="MOSSPH.ProtocolHandler"

Added the content source using this method :

http://httpcode.com/blogs/PermaLink,guid,25e758cd-bdcc-4bfd-972c-af0fb7497c44.aspx

When I do a Full crawl I get this error in the log file :

03/22/2010 12:55:13.25  mssearch.exe (0x0750)                    
0x1184 Office Search Server  Gatherer   cd11 Warning  
The start address mossph://fake.myp cannot be crawled.  Context: Application 'Search_Service_Application', Catalog 'Portal_Content'  Details:  The protocol handler cannot be found. Check that the handler has been installed.   (0x80040d1a)

Not sure why it can't find the protocol handler. Anybody has an idea ? Is it a Sharepoint 2010 configuration problem ? a x86 to x64 problem ?  or else ?

Thank you for your time. Good day.

Alex

Mar 23, 2010 at 8:26 AM

Just 2 thoughts on the matter.

1. Did you register your DLL from the x86 hive (default) or the x64 hive (manually)?

2. Sometimes I need to de a IISRESET or reboot to get the handler to work for the first time.

Mar 23, 2010 at 8:36 PM

Thank you very much for your response. I fixed the problem by registering manually the assembly using the x64 version of regasm :

C:\Windows\Microsoft.NET\Framework64\v2.0.50727\regasm MOSSPH.ProtocolHandler.dll /codebase

Have a good day.

I forgot to say in my earlier post that I also applied the following fix to the code :
http://blog.hompus.nl/2009/07/09/moss_2007_-_c_protocol_handler_errors_fixed/

Jul 28, 2011 at 7:22 PM
Edited Jul 28, 2011 at 7:33 PM

Guys,

   I'm trying to convert our PH to work with Search Server 2010 on Windows 2008 R2 64 bit.  I'm using Visual Studio 2008 on a windows 2003 32bit development box.  I updated the project reference for Microsoft.Office.Server.Search to v14 (2010) from v12 (2007).  I can not get the app to compile.  I think it's because this assembly is 64 bit only and VS is 32 bit.  Am I missing something?  How are you guys getting the code to compile?

Aug 12, 2011 at 2:56 PM

Hi smithga2000,

Try to build your project for 64bit, it is possible on 32bit environment - just need to setup solution configuration in VS.

Aug 25, 2011 at 11:01 PM
Bonjour,

je suis absent pour tout le mois d'Aout. Pour toute urgence, contacter Mme.Chantal Lamarre par t�l�phone au 514-920-0020 (poste 282) ou par courriel � l'adresse lamarre@irosoft.com

Merci. Bonne journ�e.

Alexandre Laberge
Analyste principal
Irosoft inc.

3100, C�te-Vertu, bureau 510
St-Laurent (Qu�bec) H4R 2J8
T�l�phone : (514) 920-0020 p. 244
T�l�copieur : (514) 920-0028
Courriel : laberge@irosoft.com
Site Internet : www.irosoft.com