| |
Last Post 4/20/2009 12:09:09 PM By Bahram.
12 replies.
4/9/2009 3:15:10 PM |
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
|
V3.1
|
-
|
4/9/2009 4:15:07 PM |
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
|
Re: V3.1 not working
|
You need to post the exact exception rather than just saying it's not working if you need us to help you. One thing that I can think is the store procedure permission got messed up after migration. Try running this again.
DotShoppingCart Staff
|
4/13/2009 4:19:39 PM |
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
|
Re: V3.1 : Caregory List with Toggling SubCat
|
The New Caregory List with Toggling SubCat : Seems one point is missed :
The Default State of the Tree when WebSite is opened , should be Shrinked at the top level , then Toggling each node will expand the node as it is now.
You can put a chekbox value in Advanced setting for this Block : Auto Expand ( if True then like what it is now, if False the Not Collpsed )
Note That is important for UI design and first page of Website.
Bahram
|
4/13/2009 5:04:15 PM |
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
|
Re: V3.1
|
You can control it category by category. Use the "Expand Depth" field in category edit page.
DotShoppingCart Staff
|
4/14/2009 9:44:59 AM |
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
|
Re: V3.1 Select Default Theme
|
Hi Luke,
When I select and saved the default theme, this error raise :
Description: 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.
Exception Details: System.InvalidOperationException: Sequence contains no elements
Source Error:
<table width="100%" bgcolor="#ffffcc">
<tbody>
<tr>
<td>
Line 57: if (null != Data) {
Line 58: htmlData = Utils.FromXml<HtmlData>(Data.ToString());
Line 59: content = DbHtml.GetById(htmlData.CurrentHtmlId).Data;
Line 60: }
Line 61:
</td>
</tr>
</tbody>
</table>
Source File: c:\AcrEStore_3.1\Web\Controls\Blocks\HtmlBox.ascx.cs Line: 59
Stack Trace:
<table width="100%" bgcolor="#ffffcc">
<tbody>
<tr>
<td>
[InvalidOperationException: Sequence contains no elements]
System.Data.Linq.SqlClient.SqlProvider.Execute(Expression query, QueryInfo queryInfo, IObjectReaderFactory factory, Object[] parentArgs, Object[] userArgs, ICompiledSubQuery[] subQueries, Object lastResult) +847
System.Data.Linq.SqlClient.SqlProvider.ExecuteAll(Expression query, QueryInfo[] queryInfos, IObjectReaderFactory factory, Object[] userArguments, ICompiledSubQuery[] subQueries) +113
System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query) +344
System.Data.Linq.Table`1.System.Linq.IQueryProvider.Execute(Expression expression) +49
System.Linq.Queryable.Single(IQueryable`1 source, Expression`1 predicate) +301
DotShoppingCart.Commercial.Core.DbHtml.GetById(Int32 id) +308
Controls_Blocks_HtmlBox.Page_Load(Object sender, EventArgs e) in c:\AcrEStore_3.1\Web\Controls\Blocks\HtmlBox.ascx.cs:59
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
</td>
</tr>
</tbody>
</table>
|
4/14/2009 10:08:05 AM |
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
|
Re: V3.1
|
It seems that htmlData.CurrentHtmlId is invalid. Try setting a breakpoint and get the HtmlId. Then query DSC_Html table to see if the record exists.
DotShoppingCart Staff
|
4/14/2009 11:27:29 AM |
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
|
Re: V3.1
|
I can not debug since my website is remote....do you have a databse clue or fix this.
Thanks,
Bahram
|
4/15/2009 1:13:23 PM |
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
|
Re: V3.1 Stocked
|
......Still HTML error.................... No able to debug at this time.........I Started with a new database and new migration.
Thanks,
|
4/17/2009 1:15:29 PM |
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
|
Re: V3.1
|
I did debugged. CurrentHtmlid is 238 which is not exists in db................... What should I do know?
I think this id due to a Block Deletion....... I have Templates of a HtML block. and Wanted to replace it. so copied the template and removed the numbered block......................
This will create an error like this
I also found the Blockid of table DS_block which holds the invalid htmlid......... If I edit XML Data in DSC_Block .....will it fix the problem....
Thanks,
Bahram
|
4/17/2009 1:25:13 PM |
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
|
Re: V3.1
|
Either fix the database by hand or roll back to the known good backup.
DotShoppingCart Staff
|
4/17/2009 1:46:30 PM |
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
|
Re: V3.1
|
Hi Luke,
This is the second time it happend in a new database.... it may happens during the day while I havd so many changes during the day..... and backup is just the initial..... since it is under test ....
I need to know a manual fix on the data. Is it possible....
Bahram
|
| | |
|