Welcome Guest Search | Active Topics | Sign In | Register

Compiler error Options
patrick
Posted: Thursday, July 9, 2015 8:04:17 AM
Rank: Newbie
Groups: Member

Joined: 7/9/2015
Posts: 2
Hello everyone,
I've been using e.o. for some weeks in my Asp.net C# application. I used some calendars. Now I wanted to add an editor and I added it without any problems.
But when compiling I got the error below. And even after removing the editor control I still get the same error.
I'm completely stuck!!
Please any help is highly appreciated!
Patrick

Compiler Error Message: CS0433: The type 'EO.Web.ElementStyle' exists in both 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\vs\9f79c651\142c7c58\assembly\dl3\8ca9e5d9\004364a0_808dd001\EO.Web.DLL' and 'c:\Windows\assembly\GAC_MSIL\EO.Web\15.1.76.2__e92353a6bf73fffc\EO.Web.dll'

Source Error:


Line 346:
Line 347: [System.Diagnostics.DebuggerNonUserCodeAttribute()]
Line 348: private global::EO.Web.ElementStyle @__BuildControl__control5() {
Line 349: global::EO.Web.ElementStyle @__ctrl;
Line 350:


Source File: c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\vs\9f79c651\142c7c58\App_Web_admin_president.aspx.f0178443.cogwmjuj.0.cs Line: 348
eo_support
Posted: Thursday, July 9, 2015 11:53:21 AM
Rank: Administration
Groups: Administration

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

That can occur if you have added reference to different version of EO.Web.dll multiple times (one is your project's bin folder and one in GAC). You can

1. Change your project to only reference from GAC and set the reference item's "Copy Local" to false;
2. Delete EO.Web.dll from your project's bin folder;

The version in your GAC is older than the current version. So you may want to update to the current version first.

Thanks!
patrick
Posted: Friday, July 10, 2015 3:19:50 AM
Rank: Newbie
Groups: Member

Joined: 7/9/2015
Posts: 2
Thanx you for your prompt help. I'm sorry what you told me didn't work. For sure I've not understood what you are telling me.
I'm quite a newbie so I had to look what you meant by GAC (is it global assembly cache?)

In any case I don't know how to reference from gac. I just set copy local= false and it said that it couldn't find the eoweb.

Then I removed the reference from eoweb and re-added from a local dir. Is this the correct way to add it?!?! I've always had only one version of the dll and it is 12.0.19.2.
Thanx for helping me!!
eo_support
Posted: Friday, July 10, 2015 11:30:41 AM
Rank: Administration
Groups: Administration

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

You may want to ask someone around you to help you on this in this case. Generally we do not troubleshoot compiler error at all since compiler error only has to do with your project and syntax. I would recommend you try to install the current version (your version is a few build old), then start a new project to use the new version and then see if you can find what triggered the compiler error for you. GAC (global assembly cache) is a generic .NET issue, so you will need to know that part yourself. You can use our tools GACTools.exe (in the installation folder) to add/remove our DLLs from GAC.

Thanks!


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.