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