Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...The type The type '' exists in both 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Previous
 
Next
New Post
5/9/2011 11:03 AM
 

Hi,
My DNN website compiles quickly and runs in debug perfectly well and always has done, using the default <compilation> setting in web.config, batch=true. I have the ready-compiled version of DNN (not the install version). I use VS 2008 to compile and run DotNetNuke locally, where I can debug code quickly and work on it.

I recently installed a module (EasyDNNGallery), and now it does not compile, giving the errors as below.
I asked the vendors to clarify what is going on and did a lot of googling, but neither haver been very helpful. Please help since I now cannot work on the site using VS2008 and cannot debug. The only way to get it to compile is to set batch=false in <compilation> but this takes literally 10 minutes to compile EVERY time I run or do changes which makes it unusable. It has been suggested that I need the install version of DNN, where I can select 'Clean solution', or it has been suggested that several items in the code have the same classname in the codebehind which causes a conflict and the error. I've cleared my entire temporary ASP.NET files area but this happens every time.

Can anyone advise please on how I can get around this ? Is it definately a code problem with the module I've installled ? If so, how do I advise them what to recify?

Many thanks in advance,

Rob


Error    52    The type 'EasyDNN.Modules.EasyDNNGallery.DesktopModules_EasyDNNGallery_Controls_AudioGallery2Control' exists in both 'c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dnnlive\25685c57\8c8b11be\assembly\dl3\19c6d901\0609d1ee_bddbcb01\App_Web_audiogallery2-0.ascx.c7b91827.DLL' and 'c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dnnlive\25685c57\8c8b11be\assembly\dl3\f6850a9a\0609d1ee_bddbcb01\App_Web_audiogallery0.ascx.c7b91827.DLL'    c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dnnlive\25685c57\8c8b11be\App_Web_4vul8a6t.0.cs    232   
> > > > Error    53    The type 'EasyDNN.Modules.EasyDNNGallery.DesktopModules_EasyDNNGallery_Controls_AudioGallery2Control' exists in both 'c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dnnlive\25685c57\8c8b11be\assembly\dl3\19c6d901\0609d1ee_bddbcb01\App_Web_audiogallery2-0.ascx.c7b91827.DLL' and 'c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dnnlive\25685c57\8c8b11be\assembly\dl3\f6850a9a\0609d1ee_bddbcb01\App_Web_audiogallery0.ascx.c7b91827.DLL'    c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dnnlive\25685c57\8c8b11be\App_Web_4vul8a6t.1.cs    232   
> > > > Error    54    The type 'EasyDNN.Modules.EasyDNNGallery.DesktopModules_EasyDNNGallery_Controls_AudioGallery2Control' exists in both 'c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dnnlive\25685c57\8c8b11be\assembly\dl3\19c6d901\0609d1ee_bddbcb01\App_Web_audiogallery2-0.ascx.c7b91827.DLL' and 'c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dnnlive\25685c57\8c8b11be\assembly\dl3\f6850a9a\0609d1ee_bddbcb01\App_Web_audiogallery0.ascx.c7b91827.DLL'    c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dnnlive\25685c57\8c8b11be\App_Web_4vul8a6t.2.cs    232

 
New Post
5/9/2011 5:10 PM
 
Did you leave source code for this new module in the web application as well? What is compilation model for this module? Can you post just the first line of your module from ASCX where control definition is specified?
 
New Post
5/10/2011 5:34 AM
 
Hi ByteBlocks, thanks for your reply.

I have only the compiled code for the module, ie. a bunch of .ascx controls and a load of DLL's in the BIN folder.

There are 3 ascx controls, AudioGallery0.ascx, AudioGallery2-0.ascx, AudioGallery2-1.ascx, with the first line respectively as below:

<%@ control language="C#" autoeventwireup="true" inherits="EasyDNN.Modules.EasyDNNGallery.DesktopModules_EasyDNNGallery_Controls_AudioGallery2Control, App_Web_audiogallery0.ascx.c7b91827" %>

<%@ control language="C#" autoeventwireup="true" inherits="EasyDNN.Modules.EasyDNNGallery.DesktopModules_EasyDNNGallery_Controls_AudioGallery2Control, App_Web_audiogallery2-0.ascx.c7b91827" %>

<%@ control language="C#" autoeventwireup="true" inherits="EasyDNN.Modules.EasyDNNGallery.DesktopModules_EasyDNNGallery_Controls_AudioGallery2Control, App_Web_audiogallery2-1.ascx.c7b91827" %>

So I guess this is it (from my limited knowledge) - the 3 controls each try to create a type EasyDNN.Modules.EasyDNNGallery.DesktopModules_EasyDNNGallery_Controls_AudioGallery2Control, and so we get the error since it already exists.

But presumably this is what they want to do, ie. share the backend code. Any ideas on what would normally be done in this situation?

Thanks,

Rob
 
New Post
6/26/2012 8:12 AM
 
can anyone help me, I am having same issue.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...The type The type '' exists in both 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out