Compiler Error Message: CS0433 Duplicate Temp Files.

Discussion in 'ASP .Net' started by =?Utf-8?B?TWF0dA==?=, Nov 17, 2005.

  1. 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'
     
    =?Utf-8?B?TWF0dA==?=, Nov 17, 2005
    #1
    1. Advertising

  2. 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\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'
     
    =?Utf-8?B?UGhpbGxpcCBXaWxsaWFtcw==?=, Nov 17, 2005
    #2
    1. Advertising

  3. "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\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'
     
    =?Utf-8?B?UGhpbGxpcCBXaWxsaWFtcw==?=, Nov 17, 2005
    #3
  4. =?Utf-8?B?TWF0dA==?=

    okutbay

    Joined:
    Sep 29, 2007
    Messages:
    1
    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: Sep 29, 2007
    okutbay, Sep 29, 2007
    #4
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?cGFwcw==?=

    Compiler Error Message: CS0433

    =?Utf-8?B?cGFwcw==?=, Jan 3, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    4,184
    =?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=
    Jan 3, 2006
  2. mlcy

    Compiler Error Message: CS0433:

    mlcy, May 3, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    3,229
  3. Replies:
    2
    Views:
    598
    Mark P
    May 9, 2005
  4. Claudia Fong

    Compiler Error Message: CS0433:

    Claudia Fong, Nov 9, 2007, in forum: ASP .Net
    Replies:
    0
    Views:
    395
    Claudia Fong
    Nov 9, 2007
  5. A. Farber
    Replies:
    3
    Views:
    303
    Ben Morrow
    Mar 3, 2004
Loading...

Share This Page