Compiler Error Message: CS0433 Duplicate Temp Files.

G

Guest

Get this wierd compiler error on my production machine after publishing the
site in VS 2005, have no idea what it is..removed the temp files and it just
remakes them.

Compiler Error Message: CS0433: The type '_Default' exists in both
'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\Temporary ASP.NET
Files\testpopoff\90b00d8e\4772ca2f\assembly\dl3\a9d383b3\5a6f804f_a7ebc501\App_Web_5n48zyrm.DLL'
and 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\Temporary ASP.NET
Files\testpopoff\90b00d8e\4772ca2f\assembly\dl3\80314b0c\b1d1824f_a7ebc501\App_Web_mb4c_l8p.DLL'
 
G

Guest

You have 2 assemblies (ddl files) within the same web application bin folder
named _Default. This could happen if another ddl had a web page named
default.aspx whose codebehind was compiled in that ddl but you (or someone
else) replaced the default.aspx whose codebehind was in another assembly.
 
G

Guest

Phillip Williams said:
You have 2 assemblies (ddl files) within the same web application bin folder

(Correction) ... containing 2 class definitions ...
named _Default. This could happen if another ddl had a web page named
default.aspx whose codebehind was compiled in that ddl but you (or someone
else) replaced the default.aspx whose codebehind was in another assembly.

--
[note: if this post answers your question, you can mark it as an answer
using the web-based newsreader functions]
-----
HTH,
Phillip Williams
http://www.societopia.net
http://www.webswapp.com


Matt said:
Get this wierd compiler error on my production machine after publishing the
site in VS 2005, have no idea what it is..removed the temp files and it just
remakes them.

Compiler Error Message: CS0433: The type '_Default' exists in both
'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\Temporary ASP.NET
Files\testpopoff\90b00d8e\4772ca2f\assembly\dl3\a9d383b3\5a6f804f_a7ebc501\App_Web_5n48zyrm.DLL'
and 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\Temporary ASP.NET
Files\testpopoff\90b00d8e\4772ca2f\assembly\dl3\80314b0c\b1d1824f_a7ebc501\App_Web_mb4c_l8p.DLL'
 
Joined
Sep 29, 2007
Messages
1
Reaction score
0
Compiler Error Message: CS0433

In your case you can solve this problem by changing the class name..

Sometimes this messeage can occur when there is a version conflict... If someone have 2 reference same dll with different versions.

In visual studio 2005 right click your web site and check "References" in properties.

You can remove the old version dll reference...

Ozan Kutlu BAYRAM
MCTS: Web Developer
 
Last edited:

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top