Microsoft Content Management Server - MCMS SP2 InvalidCastException

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > April 2007 > MCMS SP2 InvalidCastException





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 MCMS SP2 InvalidCastException
Mike Sharp

2007-04-26, 1:15 pm

Just installed MCMS 2002 SP2 in my maintenance environment, in preparation
for the security fix, and now I get an InvalidCastException on an API call
to site deployment. I know about the KB 913401 hotfix for SP2/SQL 2005, but
we are not using SQL 2005 at this point, just SQL 2000. Does that hotfix
apply to SP2 with SQL 2000 as well? Any other ideas? Event log message is
below.

Event Type: Warning
Event Source: MCMS
Event Category: None
Event ID: 2000
Date: 4/26/2007
Time: 9:36:02 AM
User: N/A
Computer: {server name}
Description:
MCMS Site Deployment - Error occured. System.InvalidOperationException:
There was an error generating the XML document. --->
System.InvalidCastException: Specified cast is not valid.
at
Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterDeployOb
ject.Write10_Version(Object o)
--- End of inner exception stack trace ---
at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter,
Object o, XmlSerializerNamespaces namespaces, String encodingStyle)
at System.Xml.Serialization.XmlSerializer.Serialize(TextWriter
textWriter, Object o)
at SiteDeployExport. orchestrateXMLGeneration(CDynamicImperso
nationHolder*
dynamicImpersonation)
at SiteDeployExport.DoExport(ExportMode importMode, String indexFile,
String tempDirectory, INRExportObjectPackage* exportPackage,
CProgressHelper* progressHelper, CDynamicImpersonationHolder*
dynamicImpersonation)
at CNRExportObjectPackage.ProcessPackage(CNRExportObjectPackage* ,
INRSiteDeployResponse** ppSiteDeployResponse)

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.


--
Regards,
Mike Sharp

rdcpro is my username
Hotmail.com is the email address
Just put the two together...No Spam Please


Mike Sharp

2007-04-26, 7:14 pm

A short conversation with PSS uncovered the issue, and I'm posting here in
case anyone else runs into it. It turns out the server was loading two
versions of the NRSiteDeployServer.dll, as our deployment application had a
copy of it in it's local folder. Deleting the local copy fixed the issue.

Regards,
Mike Sharp

"Mike Sharp" <rdcpro@hotmail.com> wrote in message
news:e40Sp1CiHHA.4952@TK2MSFTNGP02.phx.gbl...
> Just installed MCMS 2002 SP2 in my maintenance environment, in preparation
> for the security fix, and now I get an InvalidCastException on an API call
> to site deployment. I know about the KB 913401 hotfix for SP2/SQL 2005,

but
> we are not using SQL 2005 at this point, just SQL 2000. Does that hotfix
> apply to SP2 with SQL 2000 as well? Any other ideas? Event log message is
> below.
>
> Event Type: Warning
> Event Source: MCMS
> Event Category: None
> Event ID: 2000
> Date: 4/26/2007
> Time: 9:36:02 AM
> User: N/A
> Computer: {server name}
> Description:
> MCMS Site Deployment - Error occured. System.InvalidOperationException:
> There was an error generating the XML document. --->
> System.InvalidCastException: Specified cast is not valid.
> at
>

Microsoft.Xml.Serialization.GeneratedAssembly. XmlSerializationWriterDeployOb
> ject.Write10_Version(Object o)
> --- End of inner exception stack trace ---
> at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter

xmlWriter,
> Object o, XmlSerializerNamespaces namespaces, String encodingStyle)
> at System.Xml.Serialization.XmlSerializer.Serialize(TextWriter
> textWriter, Object o)
> at

SiteDeployExport. orchestrateXMLGeneration(CDynamicImperso
nationHolder*
> dynamicImpersonation)
> at SiteDeployExport.DoExport(ExportMode importMode, String indexFile,
> String tempDirectory, INRExportObjectPackage* exportPackage,
> CProgressHelper* progressHelper, CDynamicImpersonationHolder*
> dynamicImpersonation)
> at CNRExportObjectPackage.ProcessPackage(CNRExportObjectPackage* ,
> INRSiteDeployResponse** ppSiteDeployResponse)
>
> For more information, see Help and Support Center at
> http://go.microsoft.com/fwlink/events.asp.
>
>
> --
> Regards,
> Mike Sharp
>
> rdcpro is my username
> Hotmail.com is the email address
> Just put the two together...No Spam Please
>
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com