![]() |
Compiler Error Message: CS0433 Duplicate Temp Files.
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' |
RE: Compiler Error Message: CS0433 Duplicate Temp Files.
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' |
RE: Compiler Error Message: CS0433 Duplicate Temp Files.
"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' |
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 |
| All times are GMT. The time now is 03:37 AM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.