-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: Am2pm4
Message 1 in Discussion

 
I am working with ASP.net 2.0 and Commerce server 2007. I am  trying to access 
the Commerce server profile from a console application. But I am  getting an 
‘Object Reference not set…’ exception when ever the code for accessing the 
profile is compiled. The code is as below, 
ProfileContext profileContext = CommerceContext.Current.ProfileSystem; 
All the nessasary referances for the same are added. But there won’t be any 
problem when the same is executed from a Commerce server website.  
Just wanted to know if we can  access the commerce server profiles from a 
Console application or not? Since I need to create a bacth process out of 
console application ? 

-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/BDotNet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member 
Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you 
received this message by mistake, please click the "Remove" link below. On the 
pre-addressed e-mail message that opens, simply click "Send". Your e-mail 
address will be deleted from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to