Microsoft Content Management Server - SPS search integration

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > June 2004 > SPS search integration





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author SPS search integration
Chandy

2004-06-20, 11:04 pm

Hi,

I am trying to setup a MCMS site which uses SPS search and Sharepoint
document placeholders.

Development machines have MCMS 2002 Sp1a and SPS 2003 installed, with
SPS configured as Web Front ends only and sharing the same
configuration database as the central SPS server.

For deployment I obviosuly don't want to have to install (and
therefore license) another SPS install on the MCMS box. Bascially a
Small server-farm with 3 servers approach (SQL is also seperate so I
have SQL, MCMS and SPS boxes).

The SPS box has the Connector for Sharepoint Technologies installed.

The MCMS box has the connector installed.

My templates work on the development machines (which, as I said, have
SPS installed themselves).

The templates work for searching MCMS using SPS and showing SPS
content in MCMS templates on the MCMS machine.

However, when trying to update or add new SPS content into the
Sharepoint placeholder in the MCMS template on the MCMS machine I get
the following error:

========================================
==

Server Error in '/MCMSApp' Application.
--------------------------------------------------------------------------------

Parser Error
Description: An error occurred during the parsing of a resource
required to service this request. Please review the following specific
parse error details and modify your source file appropriately.

Parser Error Message: File or assembly name Microsoft.SharePoint, or
one of its dependencies, was not found.

Source Error:


Line 134: </tr>
Line 135: <tr>
Line 136: <td runat="server"
id="DocSelectorCell"><CIP:WSSDOCUMENTSELECTORCONTROL id="DocSelector"
runat="server"></CIP:WSSDOCUMENTSELECTORCONTROL></td>
Line 137: <td runat="server"
id="TemplateSelectorCell"><CIP:WSSRENDERINGTEMPLATESELECTORCONTROL
id="TemplateSelector"
runat="server"></CIP:WSSRENDERINGTEMPLATESELECTORCONTROL></td>
Line 138: </tr>


Source File: C:\Program Files\Microsoft Content Management
Server\Server\IIS_CMS\WssIntegration\Dia
logs\WssDocumentFinder\WssDocumentFinder
.aspx
Line: 136

Assembly Load Trace: The following information can be helpful to
determine why the assembly 'Microsoft.SharePoint' could not be loaded.


=== Pre-bind state information ===
LOG: DisplayName = Microsoft.SharePoint, Version=11.0.0.0,
Culture=neutral, PublicKeyToken=71e9bce111e9429c
(Fully-specified)
LOG: Appbase = file:///C:/websites/MCMS/MCMSApp
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===

LOG: Publisher policy file is not found.
LOG: No redirect found in host configuration file
(C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet.config).
LOG: Using machine configuration file from
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
LOG: Post-policy reference: Microsoft.SharePoint, Version=11.0.0.0,
Culture=neutral, PublicKeyToken=71e9bce111e9429c
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/ehutchie/6589aad7/fad51599/Microsoft.SharePoint.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/ehutchie/6589aad7/fad51599/Microsoft.SharePoint/Microsoft.SharePoint.DLL.
LOG: Attempting download of new URL
file:///E:/websites/MCMS/eHutchie/bin/Microsoft.SharePoint.DLL.
LOG: Attempting download of new URL
file:///E:/websites/MCMS/eHutchie/bin/Microsoft.SharePoint/Microsoft.SharePoint.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/ehutchie/6589aad7/fad51599/Microsoft.SharePoint.EXE.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/ehutchie/6589aad7/fad51599/Microsoft.SharePoint/Microsoft.SharePoint.EXE.
LOG: Attempting download of new URL
file:///E:/websites/MCMS/eHutchie/bin/Microsoft.SharePoint.EXE.
LOG: Attempting download of new URL
file:///E:/websites/MCMS/eHutchie/bin/Microsoft.SharePoint/Microsoft.SharePoint.EXE.


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573;
ASP.NET Version:1.1.4322.573

========================================


What am I missing? Do I just need to register the
Microsoft.Sharepoint.dll from the main SPS box on the MCMS box? If
so, how?

As I said, the MCMS machine has MCMS Sp1a and the connector ONLY. So
WSS and Frontpage Extensions are NOT installed.

TIA.

Chandy
Stefan [MSFT]

2004-06-20, 11:04 pm

Hi Chandy,

the sample templates of Connector for SharePoint Technologies only work if
SPS is installed on the same box.
If you write your own templates without dependencies to SPS then you can get
them working with only WSS installed.
See also here:
http://download.microsoft.com/downl...6a/MCMS+2002+-+(complete)+FAQ.htm#471BC7E1-1D3B-4540-B6FB-AC10EC620E25

Cheers,
Stefan.

--
This posting is provided "AS IS" with no warranties, and confers no rights.

MCMS FAQ:
http://download.microsoft.com/downl...6a/MCMS+2002+-+(complete)+FAQ.htm
MCMS Blog: http://blogs.msdn.com/stefan_gossner/category/4983.aspx
MCMS Sample Code:
http://www.gotdotnet.com/community/...t+S
erver

MCMS Whitepapers and other docs:
http://blogs.msdn.com/stefan_gossne...2/07/41859.aspx
--------------------------------


"Chandy" <chandy@totalise.co.uk> wrote in message
news:5af0375a.0406160324.4d7c7766@posting.google.com...
> Hi,
>
> I am trying to setup a MCMS site which uses SPS search and Sharepoint
> document placeholders.
>
> Development machines have MCMS 2002 Sp1a and SPS 2003 installed, with
> SPS configured as Web Front ends only and sharing the same
> configuration database as the central SPS server.
>
> For deployment I obviosuly don't want to have to install (and
> therefore license) another SPS install on the MCMS box. Bascially a
> Small server-farm with 3 servers approach (SQL is also seperate so I
> have SQL, MCMS and SPS boxes).
>
> The SPS box has the Connector for Sharepoint Technologies installed.
>
> The MCMS box has the connector installed.
>
> My templates work on the development machines (which, as I said, have
> SPS installed themselves).
>
> The templates work for searching MCMS using SPS and showing SPS
> content in MCMS templates on the MCMS machine.
>
> However, when trying to update or add new SPS content into the
> Sharepoint placeholder in the MCMS template on the MCMS machine I get
> the following error:
>
> ========================================
==
>
> Server Error in '/MCMSApp' Application.
> --------------------------------------------------------------------------

------
>
> Parser Error
> Description: An error occurred during the parsing of a resource
> required to service this request. Please review the following specific
> parse error details and modify your source file appropriately.
>
> Parser Error Message: File or assembly name Microsoft.SharePoint, or
> one of its dependencies, was not found.
>
> Source Error:
>
>
> Line 134: </tr>
> Line 135: <tr>
> Line 136: <td runat="server"
> id="DocSelectorCell"><CIP:WSSDOCUMENTSELECTORCONTROL id="DocSelector"
> runat="server"></CIP:WSSDOCUMENTSELECTORCONTROL></td>
> Line 137: <td runat="server"
> id="TemplateSelectorCell"><CIP:WSSRENDERINGTEMPLATESELECTORCONTROL
> id="TemplateSelector"
> runat="server"></CIP:WSSRENDERINGTEMPLATESELECTORCONTROL></td>
> Line 138: </tr>
>
>
> Source File: C:\Program Files\Microsoft Content Management
>

Server\Server\IIS_CMS\WssIntegration\Dia
logs\WssDocumentFinder\WssDocumentFi
nder.aspx
> Line: 136
>
> Assembly Load Trace: The following information can be helpful to
> determine why the assembly 'Microsoft.SharePoint' could not be loaded.
>
>
> === Pre-bind state information ===
> LOG: DisplayName = Microsoft.SharePoint, Version=11.0.0.0,
> Culture=neutral, PublicKeyToken=71e9bce111e9429c
> (Fully-specified)
> LOG: Appbase = file:///C:/websites/MCMS/MCMSApp
> LOG: Initial PrivatePath = bin
> Calling assembly : (Unknown).
> ===
>
> LOG: Publisher policy file is not found.
> LOG: No redirect found in host configuration file
> (C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet.config).
> LOG: Using machine configuration file from
> C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
> LOG: Post-policy reference: Microsoft.SharePoint, Version=11.0.0.0,
> Culture=neutral, PublicKeyToken=71e9bce111e9429c
> LOG: Attempting download of new URL
> file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
> Files/ehutchie/6589aad7/fad51599/Microsoft.SharePoint.DLL.
> LOG: Attempting download of new URL
> file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
>

Files/ehutchie/6589aad7/fad51599/Microsoft.SharePoint/Microsoft.SharePoint.D
LL.
> LOG: Attempting download of new URL
> file:///E:/websites/MCMS/eHutchie/bin/Microsoft.SharePoint.DLL.
> LOG: Attempting download of new URL
>

file:///E:/websites/MCMS/eHutchie/bin/Microsoft.SharePoint/Microsoft.SharePoint.DLL.
> LOG: Attempting download of new URL
> file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
> Files/ehutchie/6589aad7/fad51599/Microsoft.SharePoint.EXE.
> LOG: Attempting download of new URL
> file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
>

Files/ehutchie/6589aad7/fad51599/Microsoft.SharePoint/Microsoft.SharePoint.E
XE.
> LOG: Attempting download of new URL
> file:///E:/websites/MCMS/eHutchie/bin/Microsoft.SharePoint.EXE.
> LOG: Attempting download of new URL
>

file:///E:/websites/MCMS/eHutchie/bin/Microsoft.SharePoint/Microsoft.SharePoint.EXE.
>
>
> --------------------------------------------------------------------------

------
> Version Information: Microsoft .NET Framework Version:1.1.4322.573;
> ASP.NET Version:1.1.4322.573
>
> ========================================

>
> What am I missing? Do I just need to register the
> Microsoft.Sharepoint.dll from the main SPS box on the MCMS box? If
> so, how?
>
> As I said, the MCMS machine has MCMS Sp1a and the connector ONLY. So
> WSS and Frontpage Extensions are NOT installed.
>
> TIA.
>
> Chandy



Chandy

2004-06-20, 11:04 pm

"Stefan [MSFT]" <stefang@online.microsoft.com> wrote in message news:<u6UA1f5UEHA.760@TK2MSFTNGP12.phx.gbl>...
> Hi Chandy,
>
> the sample templates of Connector for SharePoint Technologies only work if
> SPS is installed on the same box.
> If you write your own templates without dependencies to SPS then you can get
> them working with only WSS installed.
> See also here:
> http://download.microsoft.com/downl...6a/MCMS+2002+-+(complete)+FAQ.htm#471BC7E1-1D3B-4540-B6FB-AC10EC620E25
>
> Cheers,
> Stefan.
>


Hi Stefan,

'the sample templates of Connector for SharePoint Technologies only
work if
> SPS is installed on the same box' - That doesn't quite seem to be the case for me! Let me clarify. I have templates containing the connector-supplied search and Sharepoint placeholders.


The FAQ states that neither SPS nor WSS is required on a read-only
MCMS site. Trying to run my MCMS site read-only without either
installed causes exceptions as the search components cannot be run.
Templates containing even the search input control do not render.

I then installed WSS onto the MCMS box as a server farm and pointed it
towards my main SPS server's configuration and content databases.

At this point my MCMS site is still read-only and I have only WSS
installed. Now the pages render (including the Sharepoint content)
and searching works!

If I then make my MCMS site read-write (still only WSS installed),
still the same site, I cannot edit or add Sharepoint placeholder
content as an error is thrown, but searching still works.

========================================
============
Server Error in '/MCMSApp' Application.
--------------------------------------------------------------------------------

Cannot complete this action. Please try again.
Description: An unhandled exception occurred during the execution of
the current web request. Please review the stack trace for more
information about the error and where it originated in the code.

Exception Details: System.Runtime.InteropServices.COMException: Cannot
complete this action. Please try again.

Source Error:

An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of
the exception can be identified using the exception stack trace below.

Stack Trace:


[COMException (0x80004005): Cannot complete this action.

Please try again.]
Microsoft.SharePoint.Library.SPRequestInternalClass.OpenWeb(String
bstrUrl, String& pbstrServerRelativeUrl, String& pbstrTitle, String&
pbstrDescription, Guid& pguidID, UInt32& pnAuthorID, UInt32&
pnLanguage, UInt32& pnLocale, UInt16& pnTimeZone, Boolean& bTime24,
Int16& pnCollation, UInt32& pnCollationLCID, Int16& pnCalendarType,
Int16& pnAdjustHijriDays, Int16& pnMeetingCount, Int32& plFlags,
Boolean& bConnectedToPortal, Int32& plWebTemplateId, Int16&
pnProvisionConfig, String& pbstrDefaultTheme, String&
pbstrDefaultThemeCSSUrl, String& pbstrAlternateCSSUrl, String&
pbstrCustomJSUrl, String& pbstrAlternateHeaderUrl, Int32&
pAnonymousState, Boolean& bUserIsSiteAdmin, Boolean& bHasUniquePerm)
+0
Microsoft.SharePoint.Library.a.a(String A_0, String& A_1, String&
A_2, String& A_3, Guid& A_4, UInt32& A_5, UInt32& A_6, UInt32& A_7,
UInt16& A_8, Boolean& A_9, Int16& A_10, UInt32& A_11, Int16& A_12,
Int16& A_13, Int16& A_14, Int32& A_15, Boolean& A_16, Int32& A_17,
Int16& A_18, String& A_19, String& A_20, String& A_21, String& A_22,
String& A_23, Int32& A_24, Boolean& A_25, Boolean& A_26)

[SPException: Cannot complete this action.

Please try again.]
Microsoft.SharePoint.Library.a.a(String A_0, String& A_1, String&
A_2, String& A_3, Guid& A_4, UInt32& A_5, UInt32& A_6, UInt32& A_7,
UInt16& A_8, Boolean& A_9, Int16& A_10, UInt32& A_11, Int16& A_12,
Int16& A_13, Int16& A_14, Int32& A_15, Boolean& A_16, Int32& A_17,
Int16& A_18, String& A_19, String& A_20, String& A_21, String& A_22,
String& A_23, Int32& A_24, Boolean& A_25, Boolean& A_26)
Microsoft.SharePoint.SPWeb.g()
Microsoft.SharePoint.SPWeb.get_Title()
Microsoft.ContentManagement.SharePoint.Dialogs.WssDocumentSelectorControl.updateCurrentVirtualServer(Int32
selectedIndex) +260
Microsoft.ContentManagement.SharePoint.Dialogs.WssDocumentSelectorControl.CreateChildControls()
+716
System.Web.UI.Control.EnsureChildControls() +100
Microsoft.ContentManagement.SharePoint.Dialogs.WssDocumentSelectorControl.OnInit(EventArgs
e) +457
System.Web.UI.Control.InitRecursive(Control namingContainer) +241
System.Web.UI.Control.InitRecursive(Control namingContainer) +179
System.Web.UI.Control.InitRecursive(Control namingContainer) +179
System.Web.UI.Control.InitRecursive(Control namingContainer) +179
System.Web.UI.Page.ProcessRequestMain() +174

========================================
============

This behaviour seems to be inconsistent with the FAQ as search results
are displayed without the need for SPS?

Advice appreciated. I really don't want to have to install SPS on the
MCMS machine just to get search running if possible, and to me it
seems it is? If only I could get the Sharepoint placeholders to
function correctly.

Thanks,

Chandy
Stefan [MSFT]

2004-06-20, 11:04 pm

Hi Chandy,

I haven't yet tried to run the search controls on a box without SPS
installed but this is a supported scenario.
If the problem persists, you should open a support case on this.

Cheers,
Stefan.

--
This posting is provided "AS IS" with no warranties, and confers no rights.

MCMS FAQ:
http://download.microsoft.com/downl...6a/MCMS+2002+-+(complete)+FAQ.htm
MCMS Blog: http://blogs.msdn.com/stefan_gossner/category/4983.aspx
MCMS Sample Code:
http://www.gotdotnet.com/community/...t+S
erver

MCMS Whitepapers and other docs:
http://blogs.msdn.com/stefan_gossne...2/07/41859.aspx
--------------------------------


"Chandy" <chandy@totalise.co.uk> wrote in message
news:5af0375a.0406170537.55cc3190@posting.google.com...
> "Stefan [MSFT]" <stefang@online.microsoft.com> wrote in message

news:<u6UA1f5UEHA.760@TK2MSFTNGP12.phx.gbl>...
if[vbcol=seagreen]
get[vbcol=seagreen]
http://download.microsoft.com/downl...6a/MCMS+2002+-+(complete)+FAQ.htm#471BC7E1-1D3B-4540-B6FB-AC10EC620E25[vbcol=seagreen]
>
> Hi Stefan,
>
> 'the sample templates of Connector for SharePoint Technologies only
> work if
case for me! Let me clarify. I have templates containing the
connector-supplied search and Sharepoint placeholders.[vbcol=seagreen]
>
> The FAQ states that neither SPS nor WSS is required on a read-only
> MCMS site. Trying to run my MCMS site read-only without either
> installed causes exceptions as the search components cannot be run.
> Templates containing even the search input control do not render.
>
> I then installed WSS onto the MCMS box as a server farm and pointed it
> towards my main SPS server's configuration and content databases.
>
> At this point my MCMS site is still read-only and I have only WSS
> installed. Now the pages render (including the Sharepoint content)
> and searching works!
>
> If I then make my MCMS site read-write (still only WSS installed),
> still the same site, I cannot edit or add Sharepoint placeholder
> content as an error is thrown, but searching still works.
>
> ========================================
============
> Server Error in '/MCMSApp' Application.
> --------------------------------------------------------------------------

------
>
> Cannot complete this action. Please try again.
> Description: An unhandled exception occurred during the execution of
> the current web request. Please review the stack trace for more
> information about the error and where it originated in the code.
>
> Exception Details: System.Runtime.InteropServices.COMException: Cannot
> complete this action. Please try again.
>
> Source Error:
>
> An unhandled exception was generated during the execution of the
> current web request. Information regarding the origin and location of
> the exception can be identified using the exception stack trace below.
>
> Stack Trace:
>
>
> [COMException (0x80004005): Cannot complete this action.
>
> Please try again.]
> Microsoft.SharePoint.Library.SPRequestInternalClass.OpenWeb(String
> bstrUrl, String& pbstrServerRelativeUrl, String& pbstrTitle, String&
> pbstrDescription, Guid& pguidID, UInt32& pnAuthorID, UInt32&
> pnLanguage, UInt32& pnLocale, UInt16& pnTimeZone, Boolean& bTime24,
> Int16& pnCollation, UInt32& pnCollationLCID, Int16& pnCalendarType,
> Int16& pnAdjustHijriDays, Int16& pnMeetingCount, Int32& plFlags,
> Boolean& bConnectedToPortal, Int32& plWebTemplateId, Int16&
> pnProvisionConfig, String& pbstrDefaultTheme, String&
> pbstrDefaultThemeCSSUrl, String& pbstrAlternateCSSUrl, String&
> pbstrCustomJSUrl, String& pbstrAlternateHeaderUrl, Int32&
> pAnonymousState, Boolean& bUserIsSiteAdmin, Boolean& bHasUniquePerm)
> +0
> Microsoft.SharePoint.Library.a.a(String A_0, String& A_1, String&
> A_2, String& A_3, Guid& A_4, UInt32& A_5, UInt32& A_6, UInt32& A_7,
> UInt16& A_8, Boolean& A_9, Int16& A_10, UInt32& A_11, Int16& A_12,
> Int16& A_13, Int16& A_14, Int32& A_15, Boolean& A_16, Int32& A_17,
> Int16& A_18, String& A_19, String& A_20, String& A_21, String& A_22,
> String& A_23, Int32& A_24, Boolean& A_25, Boolean& A_26)
>
> [SPException: Cannot complete this action.
>
> Please try again.]
> Microsoft.SharePoint.Library.a.a(String A_0, String& A_1, String&
> A_2, String& A_3, Guid& A_4, UInt32& A_5, UInt32& A_6, UInt32& A_7,
> UInt16& A_8, Boolean& A_9, Int16& A_10, UInt32& A_11, Int16& A_12,
> Int16& A_13, Int16& A_14, Int32& A_15, Boolean& A_16, Int32& A_17,
> Int16& A_18, String& A_19, String& A_20, String& A_21, String& A_22,
> String& A_23, Int32& A_24, Boolean& A_25, Boolean& A_26)
> Microsoft.SharePoint.SPWeb.g()
> Microsoft.SharePoint.SPWeb.get_Title()
>

Microsoft.ContentManagement.SharePoint.Dialogs.WssDocumentSelectorControl.up
dateCurrentVirtualServer(Int32
> selectedIndex) +260
>

Microsoft.ContentManagement.SharePoint.Dialogs.WssDocumentSelectorControl.Cr
eateChildControls()
> +716
> System.Web.UI.Control.EnsureChildControls() +100
>

Microsoft.ContentManagement.SharePoint.Dialogs.WssDocumentSelectorControl.On
Init(EventArgs
> e) +457
> System.Web.UI.Control.InitRecursive(Control namingContainer) +241
> System.Web.UI.Control.InitRecursive(Control namingContainer) +179
> System.Web.UI.Control.InitRecursive(Control namingContainer) +179
> System.Web.UI.Control.InitRecursive(Control namingContainer) +179
> System.Web.UI.Page.ProcessRequestMain() +174
>
> ========================================
============
>
> This behaviour seems to be inconsistent with the FAQ as search results
> are displayed without the need for SPS?
>
> Advice appreciated. I really don't want to have to install SPS on the
> MCMS machine just to get search running if possible, and to me it
> seems it is? If only I could get the Sharepoint placeholders to
> function correctly.
>
> Thanks,
>
> Chandy



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com