The type '<class>' exists in both '<dll location>' and '<dll location 2>'

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
11/24/2010 1:48:31 PM
Gravatar
Total Posts 22

The type '<class>' exists in both '<dll location>' and '<dll location 2>'

This issue is easily fixed (prevented) by implementing a simple fix in the web.config file, according to Microsoft KB Article 919284: "Error messages when you try to run an ASP.NET 2.0 Web application that is built on the .NET Framework 2.0"

Add the [oddly missing] flag of Batch="False" to the compilation section of the web.config file (line #977 in my build, v.2.3.4.3 MSSQL).

Change

<compilation debug="false" defaultLanguage="C#">

to

<compilation batch="false" debug="false" defaultLanguage="C#">

And the issue is prevented.

 

Hope this helps!

/\dobe \/\/an

You must sign in to post in the forums. This thread is closed to new posts.