Welcome Guest Search | Active Topics | Sign In | Register

'ElementStyle' is ambiguous' Options
DiscoverSoft
Posted: Thursday, June 9, 2016 3:44:04 PM
Rank: Advanced Member
Groups: Member

Joined: 2/27/2010
Posts: 69
I keep getting this error which references the eo:grid control on one of my pages. But I cannot find a problem to save my life. Every reference I can find is for version: 15.2.10.0. Can you suggest how I can find it?

'ElementStyle is ambiguous in the namespace 'EO.Web'

Thanks.
DiscoverSoft
Posted: Wednesday, June 15, 2016 12:13:18 PM
Rank: Advanced Member
Groups: Member

Joined: 2/27/2010
Posts: 69
I really need help with this message. It is extremely random for eo.web controls. When I clean the project it goes away then randomly returns. I upgraded to version 16.1.12.0 and ensured that all previous versions had been removed. Here are other things I have tried:
- Checked line in web.config:
Quote:
<add assembly="EO.Web, Version=16.1.12.0, Culture=neutral, PublicKeyToken=E92353A6BF73FFFC"/>

- Ensured that license in global.asax is correct for version.
- Ensured that the EO.Web.dll reference points to: C:\Program Files (x86)\Essential Objects\EO.Total 2016
- Ensured that all EO.Web and EO.Base files in the bin are 16.1.12.0
- Checked all aspx pages where the controls are in use to ensure they are properly assigned as:
Quote:
<%@ Register Assembly="EO.Web" Namespace="EO.Web" TagPrefix="eo" %>

- Deleted all files from the obj folder and cleaned the solution

But the error keeps returning. What am I missing here?
Please advise.
Tod
eo_support
Posted: Wednesday, June 15, 2016 2:41:27 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Hi,

We do not know exactly why you are having this issue either. Our guess is that it has to be a versioning issue. I would recommend you to try a few things:

1. Try a blank new project and see if you run into the same problem;
2. Try to deploy the project to a different location;
3. Try to register our DLLs in GAC and then only reference it from GAC instead of from local DLLs;

Thanks!
DiscoverSoft
Posted: Wednesday, June 15, 2016 2:51:29 PM
Rank: Advanced Member
Groups: Member

Joined: 2/27/2010
Posts: 69
Thanks, I'll try that. This project is using Bootstrap... would there be any reason Bootstrap css would conflict with yours?
eo_support
Posted: Wednesday, June 15, 2016 3:13:57 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
I don't think so. Bootstrap has nothing to do with .NET. They are in entirely two different worlds.
DiscoverSoft
Posted: Thursday, June 16, 2016 3:52:48 PM
Rank: Advanced Member
Groups: Member

Joined: 2/27/2010
Posts: 69
Thanks for the reminder about the gac. There were some old versions in there and none of the current one. That seems to have fixed it.
eo_support
Posted: Thursday, June 16, 2016 4:00:28 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Great. Glad to hear that it is resolved!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.