I have just about finished integrating (very loosely) dashCommerce with
Sitefinity and on the store checkout page are trying to save the Shipping and
billing addresses as XML into the users profile but I get an error
saying won't allow more than 250 chars.
Kinda weird cause I don't run
into this problem with the standard asp.net
membership provider however looking at the database the "profile" table
in the standard provider uses "Text" and the Telerik provider uses
ncharvar(MAX) which should allow more than 250 chars right? Puzzling.
Wondering if you have any ideas to get me past this huddle.
In my web.config under the profile section I have :
<add name="LastShippingAddress" type="Commerce.Common.Address" allowAnonymous="true" />
<add name="LastBillingAddress" type="
Commerce.Common.Address is a custom type and as like I said with the standard asp.net
provider no errors occur but with the Telerik one the error it throws is:
Value for property Text is too long. Maximun length is 250
An unhandled exception occurred during the execution of the current web
request. Please review the stack trace for more information about the error and
where it originated in the code.
Nolics.ORMapper.Base.LengthException: Value for property Text is too long.
Maximun length is 250
An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.
[LengthException: Value for property Text is too long. Maximun length is 250]
Telerik.DataAccess.AspnetProviders.TelerikProfileProvider.SetPropertyValues(SettingsContext context, SettingsPropertyValueCollection properties) +1877
(Object source, EventArgs eventArgs) +2383455
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
Version Information: Microsoft .NET Framework Version:2.0.50727.312;
Got any thoughts...