|
Home > Archive > Content Selection Framework > December 2004 > Coupon creation error
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 |
Coupon creation error
|
|
|
| I tried to add a coupon to a discount using the Discount Manager.
At the last step, after getting the "Coupon Generation Summary" page(with
all the values which I have selected), when I clicked on "Create" button, I
got the following error
====================================
An error occured on the server during your operation. Try the operation
again or contact teh administrator if the error persists. The details of the
error are captured in the event log on the server
====================================
When I checked the application event log, this is what I got
======================================
Event Type: Error
Event Source: CS Web Services
Event Category: None
Event ID: 2
Date: 12/1/2004
Time: 5:38:45 PM
User: N/A
Computer: MyComp
Description:
An exception occurred in the 'MarketingWebService' Web service. Exception
details follow:
System.IO.FileNotFoundException: File or assembly name
Microsoft.CommerceServer.Marketing.PromoCodeGen, or one of its dependencies,
was not found.
File name: "Microsoft.CommerceServer.Marketing.PromoCodeGen"
at
Microsoft.CommerceServer.Internal.Marketing.PromoCodeStorage.GenerateRandomCodes(Int32
promoCodeDefinitionId, String batchName, Int32 numCodes,
RandomGenerationParameters generationParameters, String siteName)
at
Microsoft.CommerceServer.Marketing.WebService.MarketingWebService.GenerateRandomPromoCodes(Int32
promoCodeDefinitionId, String batchName, Int32 numCodes,
RandomGenerationParameters generationParameters)
=== Pre-bind state information ===
LOG: DisplayName = Microsoft.CommerceServer.Marketing.PromoCodeGen,
Version=5.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
(Fully-specified)
LOG: Appbase = file:///c:/inetpub/wwwroot/MarketingWebService
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===
LOG: Publisher policy file is not found.
LOG: No redirect found in host configuration file
(C:\WINNT\Microsoft.NET\Framework\v1.1.4322\aspnet.config).
LOG: Using machine configuration file from
C:\WINNT\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
LOG: Post-policy reference: Microsoft.CommerceServer.Marketing.PromoCodeGen,
Version=5.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/marketingwebservice/92182ec3/34f53d27/Microsoft.CommerceServer.Marketing.PromoCodeGen.DLL.
LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/marketingwebservice/92182ec3/34f53d27/Microsoft.CommerceServer.Marketing.PromoCodeGen/Microsoft.CommerceServer.Marketing.PromoCodeGen.DLL.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/MarketingWebService/bin/Microsoft.CommerceServer.Marketing.PromoCodeGen.DLL.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/MarketingWebService/bin/Microsoft.CommerceServer.Marketing.PromoCodeGen/Microsoft.CommerceServer.Marketing.PromoCodeGen.DLL.
LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/marketingwebservice/92182ec3/34f53d27/Microsoft.CommerceServer.Marketing.PromoCodeGen.EXE.
LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/marketingwebservice/92182ec3/34f53d27/Microsoft.CommerceServer.Marketing.PromoCodeGen/Microsoft.CommerceServer.Marketing.PromoCodeGen.EXE.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/MarketingWebService/bin/Microsoft.CommerceServer.Marketing.PromoCodeGen.EXE.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/MarketingWebService/bin/Microsoft.CommerceServer.Marketing.PromoCodeGen/Microsoft.CommerceServer.Marketing.PromoCodeGen.EXE.
========================================
===========
Is it some include problem or is it some configuration problem?
How can I get around this problem?
Thanks In Advance.
| |
| David Messner [MSFT] 2004-12-02, 8:48 pm |
| During install did you select the promotion code generator component? It
is optional and has an MSMQ dependency. If you did, try running setup and
selecting "repair" option.
To see if this assembly is in the GAC, try running gacutil (from .NET
Framework SDK) like this:
> gacutil -l | findstr /is promo
expected output:
Microsoft.CommerceServer.Marketing.PromoCodeGen, Version=5.0.1.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35, Custom=null
regards
-djm
--
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2004 Microsoft Corporation. All rights
reserved.
--------------------
Thread-Topic: Coupon creation error
thread-index: AcTXpqYj2iUGTUwnQSCkxNUtFdg09A==
X-WBNR-Posting-Host: 164.164.166.11
From: =?Utf-8?B?R2Vv?= <Geo@discussions.microsoft.com>
Subject: Coupon creation error
Date: Wed, 1 Dec 2004 05:07:02 -0800
Lines: 82
Message-ID: <D697F67C-CA89-49D8-9509-C3C8740A0D4E@microsoft.com>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
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:2905
X-Tomcat-NG: microsoft.public.commerceserver.campaigns_csf
I tried to add a coupon to a discount using the Discount Manager.
At the last step, after getting the "Coupon Generation Summary" page(with
all the values which I have selected), when I clicked on "Create" button, I
got the following error
====================================
An error occured on the server during your operation. Try the operation
again or contact teh administrator if the error persists. The details of
the
error are captured in the event log on the server
====================================
When I checked the application event log, this is what I got
======================================
Event Type: Error
Event Source: CS Web Services
Event Category: None
Event ID: 2
Date: 12/1/2004
Time: 5:38:45 PM
User: N/A
Computer: MyComp
Description:
An exception occurred in the 'MarketingWebService' Web service. Exception
details follow:
System.IO.FileNotFoundException: File or assembly name
Microsoft.CommerceServer.Marketing.PromoCodeGen, or one of its
dependencies,
was not found.
File name: "Microsoft.CommerceServer.Marketing.PromoCodeGen"
at
Microsoft.CommerceServer.Internal.Marketing.PromoCodeStorage.GenerateRandomC
odes(Int32
promoCodeDefinitionId, String batchName, Int32 numCodes,
RandomGenerationParameters generationParameters, String siteName)
at
Microsoft.CommerceServer.Marketing.WebService.MarketingWebService.GenerateRa
ndomPromoCodes(Int32
promoCodeDefinitionId, String batchName, Int32 numCodes,
RandomGenerationParameters generationParameters)
=== Pre-bind state information ===
LOG: DisplayName = Microsoft.CommerceServer.Marketing.PromoCodeGen,
Version=5.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
(Fully-specified)
LOG: Appbase = file:///c:/inetpub/wwwroot/MarketingWebService
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===
LOG: Publisher policy file is not found.
LOG: No redirect found in host configuration file
(C:\WINNT\Microsoft.NET\Framework\v1.1.4322\aspnet.config).
LOG: Using machine configuration file from
C:\WINNT\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
LOG: Post-policy reference:
Microsoft.CommerceServer.Marketing.PromoCodeGen,
Version=5.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/marketingwebservice/92182ec3/34f53d27/Microsoft.CommerceServer.Marketi
ng.PromoCodeGen.DLL.
LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/marketingwebservice/92182ec3/34f53d27/Microsoft.CommerceServer.Marketi
ng.PromoCodeGen/Microsoft.CommerceServer.Marketing.PromoCodeGen.DLL.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/MarketingWebService/bin/Microsoft.CommerceServer.
Marketing.PromoCodeGen.DLL.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/MarketingWebService/bin/Microsoft.CommerceServer.
Marketing.PromoCodeGen/Microsoft.CommerceServer.Marketing.PromoCodeGen.DLL.
LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/marketingwebservice/92182ec3/34f53d27/Microsoft.CommerceServer.Marketi
ng.PromoCodeGen.EXE.
LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/marketingwebservice/92182ec3/34f53d27/Microsoft.CommerceServer.Marketi
ng.PromoCodeGen/Microsoft.CommerceServer.Marketing.PromoCodeGen.EXE.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/MarketingWebService/bin/Microsoft.CommerceServer.
Marketing.PromoCodeGen.EXE.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/MarketingWebService/bin/Microsoft.CommerceServer.
Marketing.PromoCodeGen/Microsoft.CommerceServer.Marketing.PromoCodeGen.EXE.
========================================
===========
Is it some include problem or is it some configuration problem?
How can I get around this problem?
Thanks In Advance.
|
|
|
|
|