Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > Commerce Server General > Error getting C...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 2385 of 2446
Post > Topic >>

Error getting CommerceContext and ProfileContext

by =?Utf-8?B?R2lsIEAgU1NT?= <GilSSS@[EMAIL PROTECTED] > Oct 22, 2007 at 01:52 PM

When I try to get the profilecontext, it throw an exception
The code is:
Dim csContext As CommerceContext
Dim profContext As ProfileContext = csContext.Current.ProfileSystem

The exception is:
System.ObjectDisposedException: Cannot access a disposed object named 
"Category".
Object name: "Category".
   at 
Microsoft.CommerceServer.Runtime.CommerceContext.ThrowObjectDisposedException()
   at Microsoft.CommerceServer.Runtime.CommerceContext.CheckState()
   at Microsoft.CommerceServer.Runtime.CommerceContext.get_ProfileSystem()

Help me please

-- 
Regards,

Gil
 




 2 Posts in Topic:
Error getting CommerceContext and ProfileContext
=?Utf-8?B?R2lsIEAgU1NT?=   2007-10-22 13:52:01 
RE: Error getting CommerceContext and ProfileContext
=?Utf-8?B?R2lsIEAgU1NT?=   2007-10-23 06:53:03 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 17:00:34 CST 2008.