02-27-04 04:37 PM
Hi,
for a placeholder control no strong name is necessary - only for a
placeholder definition!
Usually you will not place it in the GAC but add it to the toolbar.
The error message you receive is not related to your placeholder control.
Check out this article for possible reasons:
http://download.microsoft.com/downl...>
MCMS+2002+-+(complete)+FAQ.htm#C7A729AD-CC26-4D07-B82D-C2981802BB31
Cheers,
Stefan
--
This posting is provided "AS IS" with no warranties, and confers no rights.
"KINNELIKKEN" <anonymous@discussions.microsoft.com> wrote in message
news:C711F640-A501-4584-B28E-6F72FAE072E7@microsoft.com...
> Hi!
> I have created a custom placeholder control exactly following the tutorial
from MS.
>
> I have also generated a Strong Name for my control using the SN utility.
In my custom control projekt in AssemblyInfo.cs i have added my snk-file
refrence [assembly:
AssemblyKeyFile(" C:\\MyPlaceholderControls\\MyPlaceholder
Controls.snk")].
>
> Then after compilation the dll is successfully added to C:/WINNT/assembly.
>
> Finally i have added the definition of my placeholder control to the MCMS
config file with the right assemblyname, version-nr, token, classname and so
forth. Everything fine so far.
>
> The problem occurs when I'm opening my project i VS.Net. I get a message
that says: "Could not get the root template gallery". In details/more
information it says:
>
> Error message:
> The type 'McmsWebControlLibrary.PlaceholderControls.McmsXmlPlaceholder'
found in the configuration file 'C:\Program Files\Microsoft Content
Management
Server\Server\config\Microsoft.ContentManagement.Publishing.config' is not a
valid PlaceholderDefinition type.
>
> Time at which error occurred:
> 2004-02-27 17:06:45
>
> Exception type:
> Microsoft.ContentManagement.Publishing.CmsPublishingConfigurationException
>
> Machine on which error occurred:
> OVEKERW2KS1
>
> Error source:
> Microsoft.ContentManagement.Publishing
>
> Error stack trace:
> at
Microsoft.ContentManagement.Publishing.CmsContext.get_PlaceholderDefinitionT
ypes()
> at
Microsoft.ContentManagement.DeveloperTools.ToolsModel.ToolsModel.initializeP
laceholderDefinitionTypes(PapiPersistenc
eManager papiManager)
> at
Microsoft.ContentManagement.DeveloperTools.ToolsModel.ToolsModel.initializeP
apiContext()
> at
Microsoft.ContentManagement.DeveloperTools.ToolsModel.ToolsModel.get_RootTem
plateGallery()
>
> Error AppDomain:
> DefaultDomain
>
> Error thread ID:
> 2452
>
> Searching the Internet indicates that this is a permission problem in
MCMS!!!??? I am running VS.Net and MCMS on the same machine logged in as
administrator. Something seems to be wrong with the PlaceholderDefinition
type?
>
> I get the same problem with the same procedures in the Woodgrove.Net
McmsXmlPlaceholder example.
>
> Thanks!
[ Post a follow-up to this message ]
|