an ASP.NET Open Source CMS & eCommerce platform
Search:
Skip Navigation LinksHome > DotShoppingCart Forums > Support > Using DotShoppingCart > Error when modifying htl box
Last Post 2/11/2010 1:43:16 PM By lukezy. 1 replies.
2/11/2010 9:54:07 AM
bansal_db
Posts: 181
Joined: 4/13/2009
Error when modifying htl box
<span>
</span>
<span>Luke, I am getting this error when i try to modify the html box. I don't get this error when i do the modification from Visual Studio through debugger. Also the changes done while the debugger was on, doesn't show up when i type in the url. I checked the DSC_HTMLtable and there are multiple entries for the same page. The new one i am trying to create is there too. How does the site decide which one to pick up on load?</span> Because when i access the url from the brower i get the old one but when i go through the debugger, i get the new one.

Cannot insert the value NULL into column 'Url', table 'dotshoppingcart.dbo.DSC_Html'; column does not allow nulls. INSERT fails.
The statement has been terminated.

I am not able to modify the block from the url because of this error.
 
Thanks
 
 
 
2/11/2010 1:43:16 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Error when modifying htl box
Basically the url column is null when inserting into DSC_Html table. Try tracing back to the method call which is passing null for url column and then check it is null.
DotShoppingCart Staff