Freek
Wed Apr 27 05:02:04 CDT 2005
Microsoft changed the publish XML file. In the XML node of the picklist
values for this field, there was one child with an empty value. By either
removing this child node or filling out the correct value manually, you can
fix this problem.
Freek
"Padraig McIntyre" wrote:
> Freek,
>
> what was the solution to this problem?
>
> "Freek" wrote:
>
> > this problem has been solved. It was a known bug with the customization and
> > publishing of the preferredContactMethod picklist for accounts.
> >
> > "Freek" wrote:
> >
> > > yes, I sure do. And everything is shown correctly. the application looks
> > > fine, the xsl files have the correct values, when I do an export from the
> > > deployment manager, the XML file has the correct values. Only in the
> > > database stringmap table, the wrong values are still there. Even when I
> > > re-import the XML file into the testsystem (which gives the same dmsnapin
> > > error), nothing is changed in the database. The problem here is that I'm
> > > using the CRMCustomization class in a post callout to update the
> > > closeProbability field, depending on the value of a picklist, which clearly
> > > doesn't work with the wrong picklist values in the database. So I'm really
> > > in the dark here.
> > >
> > > "John O'Donnell" wrote:
> > >
> > > > after you do your publish do you then do an iisreset to make sure the web
> > > > server is in sync with the changes?
> > > >
> > > > --
> > > > John O'Donnell
> > > > Microsoft CRM MVP
> > > >
http://www.microsoft.com/BusinessSolutions/Community/CRMFaqLanding.aspx
> > > >
> > > >
> > > > "Freek" <Freek@discussions.microsoft.com> wrote in message
> > > > news:E3A03586-C814-484A-99D5-841D4A3B85F0@microsoft.com...
> > > > > I have done some customization in our test system. When I publish this,
> > > > > everything looks fine, but still I get a message : published with errors.
> > > > > When I go to the eventviewer, I get the following error :
> > > > >
> > > > > Event Type: Error
> > > > > Event Source: DMSNAPIN
> > > > > Event Category: None
> > > > > Event ID: 0
> > > > > Date: 12/21/2004
> > > > > Time: 8:13:18 PM
> > > > > User: N/A
> > > > > Computer: CYGNUS
> > > > > Description:
> > > > > PopulateStringMap Error : Object reference not set to an instance of an
> > > > > object. , StackTrace : at
> > > > >
> > > > Microsoft.Crm.Tools.ImportExportXml.XmlCustomization.PopulateStringMap(Objec
> > > > t
> > > > > Progress)
> > > > >
> > > > >
> > > > > Our test application looks fine, when I export the XML file, the dropdown
> > > > > box values are correct, but when I go to the stringmap table in the
> > > > database,
> > > > > the values for the dropdown boxes are still the old values. I need the
> > > > new
> > > > > values for a postcallout. Does anybody have a clue what this error might
> > > > be
> > > > > about ?
> > > > >
> > > > > Freek
> > > >
> > > >
> > > >