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

Re: Deployment error - PopulateStringMap by Mike

Mike
Tue Dec 21 16:25:54 CST 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...
>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(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



Re: Deployment error - PopulateStringMap by Freek

Freek
Wed Dec 22 03:45:03 CST 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:

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

Re: Deployment error - PopulateStringMap by John

John
Wed Dec 22 23:55:11 CST 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/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



Re: Deployment error - PopulateStringMap by Freek

Freek
Thu Dec 23 02:11:02 CST 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:

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

Re: Deployment error - PopulateStringMap by Freek

Freek
Fri Mar 04 07:45:05 CST 2005

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

Re: Deployment error - PopulateStringMap by PadraigMcIntyre

PadraigMcIntyre
Wed Mar 09 11:25:03 CST 2005

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

Re: Deployment error - PopulateStringMap by Freek

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