Compiler Error Message: CS0433:

Discussion in 'ASP .Net' started by mlcy, May 3, 2006.

  1. mlcy

    mlcy Guest

    hi there,

    i got this Compiler Error Message when i tried to access my site. all
    files were built in vs2005 without error.
    Compiler Error Message: CS0433: The type 'FrontEnd.AppConfig' exists
    in both 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary
    ASP.NET
    Files\newsearch\0d2e701c\83b0a639\assembly\dl3\167b1fd7\e5dc9ac8_ea6ec601\FrontEnd.DLL'
    and 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
    Files\newsearch\0d2e701c\83b0a639\App_Code.xakiif68.dll'

    i have tried to deleting site folder from Temporary ASP.NET Files
    directory, but no help. i have tried renaming the namespace to
    AppConfig, but no help. i have checked that i didn't include extra
    files contain same class in the project. really don't know where the
    conflit came from. does anyone have any idea what happened and how to
    fix it?

    thanks alot!
     
    mlcy, May 3, 2006
    #1
    1. Advertising

  2. mlcy

    mlcy Guest

    found this article:

    Re: The type '<class>' exists in both '<dll location>' and '<dll
    location 2>'

    With Web Applcation Project you want to make sure that you don't use a
    app_code directory, since classes within that directory will indeed get
    compiled twice (once in the code-behind and once at runtime) unless you
    explictly exclude the file from WAP project. Try renaming the app_code
    directory to something else to fix it.

    BTW - this tutorial walksthrough how to migrate an existing VS 2005 Web
    Site Project to a VS 2005 Web Application Project:
    http://webproject.scottgu.com/CSharp/Migration2/Migration2.aspx

    Big help!
     
    mlcy, May 4, 2006
    #2
    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?TWF0dA==?=

    Compiler Error Message: CS0433 Duplicate Temp Files.

    =?Utf-8?B?TWF0dA==?=, Nov 17, 2005, in forum: ASP .Net
    Replies:
    3
    Views:
    24,164
    okutbay
    Sep 29, 2007
  2. =?Utf-8?B?cGFwcw==?=

    Compiler Error Message: CS0433

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

    Got error CS0433 for Crystal Report on Windows 2000 Server

    =?Utf-8?B?bG9kYXRva2Fi?=, Aug 1, 2006, in forum: ASP .Net
    Replies:
    3
    Views:
    3,500
    Steven Cheng[MSFT]
    Aug 2, 2006
  4. Mark Rae

    Error CS0433

    Mark Rae, Oct 19, 2006, in forum: ASP .Net
    Replies:
    21
    Views:
    2,543
    Patrick
    Nov 1, 2006
  5. Claudia Fong

    Compiler Error Message: CS0433:

    Claudia Fong, Nov 9, 2007, in forum: ASP .Net
    Replies:
    0
    Views:
    388
    Claudia Fong
    Nov 9, 2007
Loading...

Share This Page