missing assembly reference - any ideas? Resolved

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
User avatar
bobr2k
Commander (CMDR)
Commander (CMDR)
Posts: 183
Joined: Fri Oct 26, 2007 2:31 pm
Location: Illinois

missing assembly reference - any ideas? Resolved

Post by bobr2k » Tue May 06, 2008 12:11 pm

I'd swear I clicked on categories a couple days ago and everything worked great but this morning I get this:

[[ConLib:CategoryGridPage]] d:\Websites\{store name}\ConLib\CategoryGridPage.ascx.cs(28): error CS0234: The type or namespace name 'conlib_categorysearchsidebar_ascx' does not exist in the namespace 'ASP' (are you missing an assembly reference?)

I see CategorySearchSidebar.ascx and CategorySearchSidebar.ascx.cs in the /conlib directory so I'm not sure why the message is occuring.

Could someone please give me a hint or two about what might be going on?
Last edited by bobr2k on Tue May 06, 2008 1:35 pm, edited 1 time in total.
Bob R.
"Bills travel through the mail at twice the speed of checks." -- Steven Wright

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: missing assembly reference - any ideas?

Post by jmestep » Tue May 06, 2008 12:35 pm

I don't have an error to check against, but should there be a dot before .aspx instead of an _?
conlib_categorysearchsidebar_ascx
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

User avatar
bobr2k
Commander (CMDR)
Commander (CMDR)
Posts: 183
Joined: Fri Oct 26, 2007 2:31 pm
Location: Illinois

Re: missing assembly reference - any ideas?

Post by bobr2k » Tue May 06, 2008 1:14 pm

jmestep wrote:I don't have an error to check against, but should there be a dot before .aspx instead of an _?
conlib_categorysearchsidebar_ascx
I compared our installed version to the original download and they're identical except for a breadcrumbs line which was removed ... this error message apparently comes from a statement in /ConLib/CategoryGridPage.ascx.cs
public partial class ConLib_CategoryGridPage : System.Web.UI.UserControl
{
private int _Cols = 3;
private int _Rows = 5;
.... {lines deleted}
private int _LastPageIndex;
ASP.conlib_categorysearchsidebar_ascx searchBar = null; <=====
.... {lines deleted}
Bob R.
"Bills travel through the mail at twice the speed of checks." -- Steven Wright

User avatar
bobr2k
Commander (CMDR)
Commander (CMDR)
Posts: 183
Joined: Fri Oct 26, 2007 2:31 pm
Location: Illinois

Re: missing assembly reference - any ideas?

Post by bobr2k » Tue May 06, 2008 1:34 pm

Got it! Our stylist had accidentally removed the register statement from the ascx file
<%@ Register Src="~/ConLib/CategorySearchSidebar.ascx" TagName="CategorySearchSidebar" TagPrefix="uc" %>
.. I put that back and everything is great. Thanks Judy, your response got me thinking about checking something else, one thing led to another ... :mrgreen:
Bob R.
"Bills travel through the mail at twice the speed of checks." -- Steven Wright

Post Reply