FP1 - Can't create Target Expression
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
FP1 - Can't create Target Expression

 
Post new topic   Reply to topic    Windows Server Forum Index -> Commerce Server
Author Message
Gerry
Guest





Posted: Mon Nov 22, 2004 7:42 am    Post subject: FP1 - Can't create Target Expression Reply with quote

Try to create Target Expression under Discount manager, got following
error:

System.NullReferenceException: Object reference not set to an instance
of an object.
at Microsoft.CommerceServer.UI.MarketingManager.CampaignExpressionBuilder.AddAttributes(ArrayList
clauseArray, XmlNode node, XmlElement siteTerm, String prefix, String
displayPrefix)
at Microsoft.CommerceServer.UI.MarketingManager.CampaignExpressionBuilder.RecurseXml(ArrayList
clauseArray, XmlNodeList nodeList, XmlElement siteTerm, String prefix,
String displayPrefix)
at Microsoft.CommerceServer.UI.MarketingManager.CampaignExpressionBuilder.RecurseXml(ArrayList
clauseArray, XmlNodeList nodeList, XmlElement siteTerm, String prefix,
String displayPrefix)
at Microsoft.CommerceServer.UI.MarketingManager.CampaignExpressionBuilder.InitTargetExpression()
at Microsoft.CommerceServer.UI.MarketingManager.CampaignExpressionBuilder.InitializeClauseTemplate()
at Microsoft.CommerceServer.UI.MarketingManager.CampaignExpressionBuilder.DefaultSettings(Boolean
isExistingExpression)
at Microsoft.CommerceServer.UI.MarketingManager.CampaignExpressionBuilder..ctor(ExpressionContext
expContext, Boolean isLocal)
at Microsoft.CommerceServer.UI.MarketingManager.MarketingFeatureArea.NewExpressionBuilder(ExpressionContext
context)

Please help.
Back to top
Andy Xu[MSFT]
Guest





Posted: Thu Dec 09, 2004 10:44 am    Post subject: RE: FP1 - Can't create Target Expression Reply with quote

Gerry,

Thanks for using Commerce Server newsgroup.

From the call stack you provided, it looks like when discount manager tried
to build the expression schema from profile definition, it got an invalid
XML node (when it retrieves profile definition, it stores the info in Xml
format) thus the exception is thrown.

One way to track down the problem is using Bizdesk, choose profile
definition designer, then choose "User object", open the profile and try to
go through evey property listed on the left side, watch the detailed
information of the property to see whether the required information is
defined (whether Name, Display Name and Type are defined). Also do the
same thing for "Targeting Context" profile.

Let us know if you need further help.

HTH,
Andy Xu [MSFT]
Commerce Server Team
--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

Note: For the benefit of the community-at-large, all responses to this
message are best directed to the newsgroup/thread from which they
originated.
--------------------
From: gerryl@cbi.bc.ca (Gerry)
Newsgroups: microsoft.public.commerceserver.general
Subject: FP1 - Can't create Target Expression
Date: 21 Nov 2004 17:42:31 -0800
Organization: http://groups.google.com
Lines: 24
Message-ID: <a756c7d8.0411211742.26f301ab@posting.google.com>
NNTP-Posting-Host: 24.84.205.136
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1101087752 17602 127.0.0.1 (22 Nov 2004
01:42:32 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 22 Nov 2004 01:42:32 +0000 (UTC)
Path:
cpmsftngxa10.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.s
ul.t-online.de!t-online.de!news.glorb.com!postnews.google.com!not-for-mail
Xref: cpmsftngxa10.phx.gbl microsoft.public.commerceserver.general:15135
X-Tomcat-NG: microsoft.public.commerceserver.general

Try to create Target Expression under Discount manager, got following
error:

System.NullReferenceException: Object reference not set to an instance
of an object.
at
Microsoft.CommerceServer.UI.MarketingManager.CampaignExpressionBuilder.AddAt
tributes(ArrayList
clauseArray, XmlNode node, XmlElement siteTerm, String prefix, String
displayPrefix)
at
Microsoft.CommerceServer.UI.MarketingManager.CampaignExpressionBuilder.Recur
seXml(ArrayList
clauseArray, XmlNodeList nodeList, XmlElement siteTerm, String prefix,
String displayPrefix)
at
Microsoft.CommerceServer.UI.MarketingManager.CampaignExpressionBuilder.Recur
seXml(ArrayList
clauseArray, XmlNodeList nodeList, XmlElement siteTerm, String prefix,
String displayPrefix)
at
Microsoft.CommerceServer.UI.MarketingManager.CampaignExpressionBuilder.InitT
argetExpression()
at
Microsoft.CommerceServer.UI.MarketingManager.CampaignExpressionBuilder.Initi
alizeClauseTemplate()
at
Microsoft.CommerceServer.UI.MarketingManager.CampaignExpressionBuilder.Defau
ltSettings(Boolean
isExistingExpression)
at
Microsoft.CommerceServer.UI.MarketingManager.CampaignExpressionBuilder..ctor
(ExpressionContext
expContext, Boolean isLocal)
at
Microsoft.CommerceServer.UI.MarketingManager.MarketingFeatureArea.NewExpress
ionBuilder(ExpressionContext
context)

Please help.
Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> Commerce Server All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB