G
Guest
This is really weird,
I have a project with a few hundred pages and usercontrols, the project has
been working for a couple of weeks now and I went to make some changes in my
localhost, when hitting the site I got an error in one page saying it could
not load a usercontrol because it was not the right type, and then when I
opened the page in question in VS 2005 I got a lot of errors everytime I
define a control to be loaded using Loadcontrol("path"). It says:
BC30554: 'commoncontrols_searchlist' is ambiguous.
And now when I tried to hit the site on my localhost It does not work and
gives me the same error. Has anybody else seen this?
The control has a reference on the aspx side that looks like this:
<%@ Reference Control="~/commoncontrols/searchlist.ascx" %>
and then in the vb file I have:
Dim showlist As commoncontrols_searchlist =
LoadControl("/commoncontrols/searchlist.ascx")
It used to work, in fact I have the site in production working but I can not
make changes in my localhost now.
thanks,
Marcelo Cabrera.
I have a project with a few hundred pages and usercontrols, the project has
been working for a couple of weeks now and I went to make some changes in my
localhost, when hitting the site I got an error in one page saying it could
not load a usercontrol because it was not the right type, and then when I
opened the page in question in VS 2005 I got a lot of errors everytime I
define a control to be loaded using Loadcontrol("path"). It says:
BC30554: 'commoncontrols_searchlist' is ambiguous.
And now when I tried to hit the site on my localhost It does not work and
gives me the same error. Has anybody else seen this?
The control has a reference on the aspx side that looks like this:
<%@ Reference Control="~/commoncontrols/searchlist.ascx" %>
and then in the vb file I have:
Dim showlist As commoncontrols_searchlist =
LoadControl("/commoncontrols/searchlist.ascx")
It used to work, in fact I have the site in production working but I can not
make changes in my localhost now.
thanks,
Marcelo Cabrera.