Commerce Server General - How To Instantiate ListManager class?

This is Interesting: Free IT Magazines  
Home > Archive > Commerce Server General > February 2006 > How To Instantiate ListManager class?





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 How To Instantiate ListManager class?
gwheeloc

2006-02-17, 10:50 pm

I'm trying to create a mailing list using the ListManager class but I can not
seem to understand how it is done. The documentation only shows for ASP and
I'm trying to do it in ASP.NET. I didn't see a reference to add for
Microsoft.CommerceServer.Interop.Targeting available. I want to use the
CreateFromSql(), method. Can someone post an example and include any
reference I need to add? This must be trivial, but I'm not sure of the
references I need to add to my project.

Thank you,
gwheeloc
gwheeloc

2006-02-17, 10:50 pm

I have included these on my page
using LISTMANAGERLib;
using Microsoft.CommerceServer.Interop.Targeting;

And I added the LISTMANAGERLib reference to my project. VS is still
indicating it can't find either of these. It is showing an errosr of:

The type or namespace name 'LISTMANAGERLib' could not be found (are you
missing a using directive or an assembly reference?)
and
The type or namespace name 'Targeting' does not exist in the class or
namespace 'Microsoft.CommerceServer.Interop' (are you missing an assembly
reference?)


gwheeloc

2006-02-20, 2:47 am

Problem solved. I was adding the reference to the wrong ASP.NET project.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com