Solved

file conflicts - type exist in both A and B files

Posted on 2010-11-23
5
546 Views
Last Modified: 2012-05-10
Compiler Error Message: CS0433: The type 'System.Web.UI.UpdatePanel' exists in both 'c:\WINDOWS\assembly\GAC_MSIL\System.Web.Extensions\3.5.0.0__31bf3856ad364e35\System.Web.Extensions.dll' and 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\7073199f\ac695c9f\assembly\dl3\b2531efd\00b86e4c_ff3cc701\System.Web.Extensions.DLL'

If I am getting a lot of these, or the same error over and over, even after deleting all sub items in my Temporary ASP.NET Files folder...what is likely the problem here?

How do I fix this, both quickly....and also permanently?


This is very frustrating, as the files (or folders!!!!) are often locked and I have to find the process and kill it, usually inetinfo.exe.

I have published on other hosted environments and not had this problem with conflicting DLLs
0
Comment
Question by:knowlton
  • 2
  • 2
5 Comments
 
LVL 5

Author Comment

by:knowlton
ID: 34201612
How do I view files in the GAC?
0
 
LVL 21

Expert Comment

by:Alfred1
ID: 34202062
You can use the .NET Framework Configuration Tool

http://msdn.microsoft.com/en-us/library/2bc0cxhc%28v=VS.90%29.aspx

if you haven't installed it yet.  Check this out.

http://www.technowise.in/2009/03/net-framework-20-configuration-tool.html
0
 
LVL 21

Accepted Solution

by:
Alfred1 earned 450 total points
ID: 34202077
I believe your error is due to multiple System.Web.Extension existing in your web.config.  Try removing one of them in the web.config.

<compilation debug="true" strict="false" explicit="true">
                  <assemblies>
                        
                        <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
                        
                  </assemblies>
            </compilation>
0
 
LVL 20

Assisted Solution

by:informaniac
informaniac earned 50 total points
ID: 34202091
Go to Run and type C:\WINDOWS\assembly\gac_msil
0
 
LVL 5

Author Closing Comment

by:knowlton
ID: 34207660
thx for your time and advice!  :)
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on www.johnchapman.name could not pull conte…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question