Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Compiler Error Message: CS0433 Duplicate Temp Files.

Reply
Thread Tools

Compiler Error Message: CS0433 Duplicate Temp Files.

 
 
=?Utf-8?B?TWF0dA==?=
Guest
Posts: n/a
 
      11-17-2005
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\Tem porary ASP.NET
Files\testpopoff\90b00d8e\4772ca2f\assembly\dl3\a9 d383b3\5a6f804f_a7ebc501\App_Web_5n48zyrm.DLL'
and 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\Tem porary ASP.NET
Files\testpopoff\90b00d8e\4772ca2f\assembly\dl3\80 314b0c\b1d1824f_a7ebc501\App_Web_mb4c_l8p.DLL'
 
Reply With Quote
 
 
 
 
=?Utf-8?B?UGhpbGxpcCBXaWxsaWFtcw==?=
Guest
Posts: n/a
 
      11-17-2005
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.

--
[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" wrote:

> 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\Tem porary ASP.NET
> Files\testpopoff\90b00d8e\4772ca2f\assembly\dl3\a9 d383b3\5a6f804f_a7ebc501\App_Web_5n48zyrm.DLL'
> and 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\Tem porary ASP.NET
> Files\testpopoff\90b00d8e\4772ca2f\assembly\dl3\80 314b0c\b1d1824f_a7ebc501\App_Web_mb4c_l8p.DLL'

 
Reply With Quote
 
 
 
 
=?Utf-8?B?UGhpbGxpcCBXaWxsaWFtcw==?=
Guest
Posts: n/a
 
      11-17-2005
"Phillip Williams" wrote:

> 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" wrote:
>
> > 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\Tem porary ASP.NET
> > Files\testpopoff\90b00d8e\4772ca2f\assembly\dl3\a9 d383b3\5a6f804f_a7ebc501\App_Web_5n48zyrm.DLL'
> > and 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\Tem porary ASP.NET
> > Files\testpopoff\90b00d8e\4772ca2f\assembly\dl3\80 314b0c\b1d1824f_a7ebc501\App_Web_mb4c_l8p.DLL'

 
Reply With Quote
 
okutbay okutbay is offline
Junior Member
Join Date: Sep 2007
Posts: 1
 
      09-29-2007
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 by okutbay; 09-29-2007 at 09:52 PM..
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiler Error Message: CS0433: Claudia Fong ASP .Net 0 11-09-2007 08:37 AM
Error CS0433 Mark Rae ASP .Net 21 11-01-2006 05:34 AM
Got error CS0433 for Crystal Report on Windows 2000 Server =?Utf-8?B?bG9kYXRva2Fi?= ASP .Net 3 08-02-2006 10:13 AM
Compiler Error Message: CS0433: mlcy ASP .Net 1 05-03-2006 11:12 PM
Compiler Error Message: CS0433 =?Utf-8?B?cGFwcw==?= ASP .Net 1 01-03-2006 02:02 PM



Advertisments