Tech Support > Microsoft Windows > Windows CRM > Deployment error - PopulateStringMap
Deployment error - PopulateStringMap
Posted by Freek on December 21st, 2004


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.XmlCustomizati on.PopulateStringMap(Object
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

Posted by Mike R on December 21st, 2004


There is a very good chance that the source system may be installed with a
different language than the destination system i.e US English instead of UK
English

I had the same issue (one of many ), my laptop exported customisations with
a languagecode="2057", the system i was imported into exported with a
languagecode of 1033.

The solution , using notepad - search and replace in the exported XML file
languagecode="2057" with languagecode="1033". After this my import worked
fine. Check you source and destinate before doing this...and please note MS
dont like you editing XML files.


Have you

Regards

Mike



"Freek" <Freek@discussions.microsoft.com> wrote in message
news:E3A03586-C814-484A-99D5-841D4A3B85F0@microsoft.com...


Posted by Freek on December 22nd, 2004


This was what I thougt too, but the language on development server and
production server is the same. Furthermore, the problem occurs on the
development server, when I try to publish my customization from the
deployment manager. I have just tried to export/import the development
environment into itself and the problem still remains the same. the XML
looks fine, but there are errors during the import and the stringmap table
still does not contain the correct values.

Freek

"Mike R" wrote:

Posted by John O'Donnell on December 23rd, 2004


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/BusinessSol...aqLanding.aspx


"Freek" <Freek@discussions.microsoft.com> wrote in message
news:E3A03586-C814-484A-99D5-841D4A3B85F0@microsoft.com...
t


Posted by Freek on December 23rd, 2004


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:

Posted by Freek on March 4th, 2005


this problem has been solved. It was a known bug with the customization and
publishing of the preferredContactMethod picklist for accounts.

"Freek" wrote:

Posted by Padraig McIntyre on March 9th, 2005


Freek,

what was the solution to this problem?

"Freek" wrote:

Posted by Freek on April 27th, 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:


Similar Posts