Content Selection Framework - RE: (FP1) Discount Manager create expression fails (missing Biz Da

This is Interesting: Free IT Magazines  
Home > Archive > Content Selection Framework > February 2005 > RE: (FP1) Discount Manager create expression fails (missing Biz Da





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author RE: (FP1) Discount Manager create expression fails (missing Biz Da
David Messner [MSFT]

2005-02-07, 5:54 pm


Try using code like this inside your site (FP1Site). It will dump out all
resources and you can hopefully spot the issue. Perhaps you unpacked the
resource to the wrong site?

using Microsoft.CommerceServer.Runtime;
using Microsoft.CommerceServer.Runtime.Catalog;
using Microsoft.CommerceServer.Runtime.Configuration;
using Microsoft.CommerceServer.Runtime.Diagnostics;

private void TestResources()
{
CommerceResourceCollection resColl = CommerceContext.Current.Resources;
lock (resColl.SyncRoot)
{

Response.Write("Number of resources: " + resColl.Count.ToString());
Response.Write("<BR>");


foreach (CommerceResource res in resColl)
{
Response.Write("<P><B>");
Response.Write(res.Name);
Response.Write("</B><BR>");

// write out the resource version information.
int majorVer, minorVer, revision;
majorVer = res.MajorVersion;
minorVer = res.MinorVersion;
revision = res.Revision;
Response.Write("VersionInfo: Major:" + majorVer.ToString() + " Minor:" +
minorVer.ToString() + " Revision:" + revision.ToString() + "<BR>");

foreach (string propName in res)
{
Response.Write(propName);
Response.Write(" = ");

DumpUtils.DumpObject(res[propName], new
HtmlTextWriter(Response.Output), propName, 1);
Response.Write("<BR>");
}
}

}
}

regards
-djm
--
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2005 Microsoft Corporation. All rights
reserved.

--------------------
Thread-Topic: (FP1) Discount Manager create expression fails (missing Biz Da
thread-index: AcUNNlVnlsQcQPFnQKKJkNBcKwGflw==
X-WBNR-Posting-Host: 213.133.57.61
From: "=?Utf-8?B?dmlwMzI=?=" <vip32@discussions.microsoft.com>
References: <193BD9DC-0075-4A78-8172-17331232D68A@microsoft.com>
<#lXeLz8AFHA.644@cpmsftngxa10.phx.gbl>
<80FB3D2B-1FC8-46B8-8FAC-8CC98E561FB7@microsoft.com>
<ms1icvUCFHA.3048@cpmsftngxa10.phx.gbl>
Subject: RE: (FP1) Discount Manager create expression fails (missing Biz Da
Date: Mon, 7 Feb 2005 08:59:06 -0800
Lines: 170
Message-ID: <8C4DCF0F-E250-4D4C-911D-CE30C7754A4D@microsoft.com>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 8bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.commerceserver.campaigns_csf
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
Path:
cpmsftngxa10.phx.gbl!TK2MSFTNGXA06.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTNGXA0
3.phx.gbl
Xref: cpmsftngxa10.phx.gbl
microsoft.public.commerceserver.campaigns_csf:3063
X-Tomcat-NG: microsoft.public.commerceserver.campaigns_csf

ok, then i have the necessary resources allready installed. How come i
cannot
access the expression functionality of the discount mananger?

"David Messner [MSFT]" wrote:

> I believe it shows up as "Profiles" in the PUP UI but the resource is
> called "Biz Data Service".
>
> This is in all of the primary packages shipped with CS2002 (Csharp.pup,
> VB.PuP, etc) as well as the CS2002 solution sites, which you can download
> from http://www.microsoft.com/commerceserver.
>
> regards
> -djm
> --
> This posting is provided "AS IS" with no warranties, and confers no

rights.
> You assume all risk for your use. © 2005 Microsoft Corporation. All

rights
> reserved.
>
> --------------------
> Thread-Topic: (FP1) Discount Manager create expression fails (missing Biz

Da
> thread-index: AcUJDhmZbBtCyZ5bT06R/szx8z2F8g==
> X-WBNR-Posting-Host: 213.133.57.61
> From: "=?Utf-8?B?dmlwMzI=?=" <vip32@discussions.microsoft.com>
> References: <193BD9DC-0075-4A78-8172-17331232D68A@microsoft.com>
> <#lXeLz8AFHA.644@cpmsftngxa10.phx.gbl>
> Subject: RE: (FP1) Discount Manager create expression fails (missing Biz

Da
> Date: Wed, 2 Feb 2005 02:01:01 -0800
> Lines: 104
> Message-ID: <80FB3D2B-1FC8-46B8-8FAC-8CC98E561FB7@microsoft.com>
> MIME-Version: 1.0
> Content-Type: text/plain;
> charset="Utf-8"
> Content-Transfer-Encoding: 8bit
> X-Newsreader: Microsoft CDO for Windows 2000
> Content-Class: urn:content-classes:message
> Importance: normal
> Priority: normal
> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
> Newsgroups: microsoft.public.commerceserver.campaigns_csf
> NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
> Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl
> Xref: cpmsftngxa10.phx.gbl
> microsoft.public.commerceserver.campaigns_csf:3047
> X-Tomcat-NG: microsoft.public.commerceserver.campaigns_csf
>
> ok i have tried several supplied pup packages, but none of them contains
> the
> biz data resource. Which package are you meaning?
>
> "David Messner [MSFT]" wrote:
>
Commerce
resource.[vbcol=seagreen]
> rights.
> rights
Biz[vbcol=seagreen]
Data)[vbcol=seagreen]
> manager's
which[vbcol=seagreen]
>

----------------------------------------------------------------------------
-------------------------------------------------------------------------[vbcol=seagreen]
>

Microsoft.CommerceServer.ServiceAgent. TryHandleWebMethodException(Exception[vb
col=seagreen]
>

Microsoft.CommerceServer.Internal.Marketing.MarketingServiceProxy.Authorized
>

Microsoft.CommerceServer.Internal.Marketing.MarketingServiceProxy.GetProfile
>

Microsoft.CommerceServer.Internal.Marketing.AgentMarketingSystemImpl.GetProf
>

Microsoft.CommerceServer.Marketing.ProfileDefinitionReader.GetProfileDefinit
in[vbcol=seagreen]
>

----------------------------------------------------------------------------
-------------------------------------------------------------------------[vbcol=seagreen]
> Exception
for[vbcol=seagreen]
> resource.
>

Microsoft.CommerceServer.Marketing.WebService.MarketingWebService.GetCommerc
>

Microsoft.CommerceServer.Marketing.WebService.MarketingWebService.GetStringF
siteName)[vbcol=seagreen]
>

Microsoft.CommerceServer.Marketing.WebService.MarketingWebService.GetConnStr
siteName,[vbcol=seagreen]
>

Microsoft.CommerceServer.Marketing.WebService.MarketingWebService.get_Profil
>

Microsoft.CommerceServer.Internal.Marketing.ProfileDefinitionRetriever.GetDe
>

Microsoft.CommerceServer.Marketing.WebService.MarketingWebService.GetProfile
>


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com