error when publishing asp.net user control RRS feed

  • Question

  • User1468703118 posted

    I worked my way through this compilation error and thought I would share how I solved it.

    Here is the error Visual Studio reported when I tried to publish my ASP.NET web site:

    Error 75 The type 'Components_ListProductCap1' exists in both 'c:\Users\duong_000\AppData\Local\Temp\Temporary ASP.NET Files\dientuthaithang.com.vn\a4812a8e\2f0b8d24\App_Web_0x45a4fg.dll' and 'c:\Users\duong_000\AppData\Local\Temp\Temporary ASP.NET Files\dientuthaithang.com.vn\a4812a8e\2f0b8d24\App_Web_xfif450t.dll' F:\dienthuthaithang.com.vn\code web\dientuthaithang.com.vn\dientuthaithang.com.vn\Components\ListProduct.ascx 64

    need the help and problem solving were lying still thanks

    Tuesday, February 11, 2014 11:59 PM


  • User398825048 posted

    This is usually caused by having two different user controls that have the same class name.  This happens if you copy a control.  It works fine at runtime, but if you try to precompile,  it won't work

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, February 12, 2014 4:18 AM