MCMS SP2 InvalidCastException
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Content Management Server > MCMS SP2 InvalidCastException




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    MCMS SP2 InvalidCastException  
Mike Sharp


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-26-07 06: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







[ Post a follow-up to this message ]



    Re: MCMS SP2 InvalidCastException  
Mike Sharp


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-27-07 12:14 AM

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
>
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 06:11 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register