ASP.Net temporary folder delte files

Discussion in 'ASP.NET / ASP.NET Core' started by prabhakar, Jul 16, 2014.

  1. Hi



    I get below errors even after deleting the ASP.Net Temporary folder any suggestions please.



    Warning 4 The type 'DacsOnlineWebParts.DacsOnlineControls.CountrySelector' in 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\dacs-website-master\ec1242e9\e12c789a\App_Web_jgeqw53u.15.cs' conflicts with the imported type 'DacsOnlineWebParts.DacsOnlineControls.CountrySelector' in 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\dacs-website-master\ec1242e9\e12c789a\assembly\dl3\d5a669b8\f58d985d_9b9ecf01\DacsOnlineWebParts.DLL'. Using the type defined in 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\dacs-website-master\ec1242e9\e12c789a\App_Web_jgeqw53u.15.cs'. c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\dacs-website-master\ec1242e9\e12c789a\App_Web_jgeqw53u.14.cs 161
    Warning 5 The type 'DacsOnlineWebParts.DacsOnlineControls.MultiTextBox' in 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\dacs-website-master\ec1242e9\e12c789a\App_Web_jgeqw53u.5.cs' conflicts with the imported type 'DacsOnlineWebParts.DacsOnlineControls.MultiTextBox' in 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\dacs-website-master\ec1242e9\e12c789a\assembly\dl3\d5a669b8\f58d985d_9b9ecf01\DacsOnlineWebParts.DLL'. Using the type defined in 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\dacs-website-master\ec1242e9\e12c789a\App_Web_jgeqw53u.5.cs'. c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\dacs-website-master\ec1242e9\e12c789a\App_Web_jgeqw53u.4.cs 188
    Warning 6 The type 'DacsOnlineWebParts.WebParts.DacsOnlineControls.Calendar' in 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\dacs-website-master\ec1242e9\e12c789a\App_Web_jgeqw53u.11.cs' conflicts with the imported type 'DacsOnlineWebParts.WebParts.DacsOnlineControls.Calendar' in 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\dacs-website-master\ec1242e9\e12c789a\assembly\dl3\d5a669b8\f58d985d_9b9ecf01\DacsOnlineWebParts.DLL'. Using the type defined in 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\dacs-website-master\ec1242e9\e12c789a\App_Web_jgeqw53u.11.cs'. c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\dacs-website-master\ec1242e9\e12c789a\App_Web_jgeqw53u.10.cs 167
    Warning 7 Reference to type 'DacsOnline.Service.Service.Interfaces.ICountrySelectorService' claims it is defined in 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\dacs-website-master\ec1242e9\e12c789a\assembly\dl3\545a7eca\e566985d_9b9ecf01\DacsOnline.Service.DLL', but it could not be found
    Warning 8 Reference to type 'DacsOnline.Service.Service.Interfaces.ICountrySelectorService' claims it is defined in 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\dacs-website-master\ec1242e9\e12c789a\assembly\dl3\545a7eca\e566985d_9b9ecf01\DacsOnline.Service.DLL', but it could not be found
    Warning 10 The type 'DacsOnlineWebParts.DacsOnlineControls.CLProduct' in 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\dacs-website-master\ec1242e9\e12c789a\App_Web_olio4mzp.0.cs' conflicts with the imported type 'DacsOnlineWebParts.DacsOnlineControls.CLProduct' in 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\dacs-website-master\ec1242e9\e12c789a\assembly\dl3\d5a669b8\f58d985d_9b9ecf01\DacsOnlineWebParts.DLL'. Using the type defined in 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\dacs-website-master\ec1242e9\e12c789a\App_Web_olio4mzp.0.cs'. c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\dacs-website-master\ec1242e9\e12c789a\App_Web_olio4mzp.0.cs 432
    Warning 11 The type 'DacsOnlineWebParts.DacsOnlineControls.SalesInformation' in 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\dacs-website-master\ec1242e9\e12c789a\App_Web_olio4mzp.2.cs' conflicts with the imported type 'DacsOnlineWebParts.DacsOnlineControls.SalesInformation' in 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\dacs-website-master\ec1242e9\e12c789a\assembly\dl3\d5a669b8\f58d985d_9b9ecf01\DacsOnlineWebParts.DLL'. Using the type defined in 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\dacs-website-master\ec1242e9\e12c789a\App_Web_olio4mzp.2.cs'. c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\dacs-website-master\ec1242e9\e12c789a\App_Web_olio4mzp.2.cs 306
    Error 12 The type 'DacsOnlineWebParts.DacsOnlineControls.CLReproductions' exists in both 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\dacs-website-master\ec1242e9\e12c789a\App_Web_jgeqw53u.dll' and 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\dacs-website-master\ec1242e9\e12c789a\assembly\dl3\d5a669b8\f58d985d_9b9ecf01\DacsOnlineWebParts.DLL' D:\DACS-Website-master\DacsOnlineLocal\Backup\DacsOnlineControls\CLProduct.ascx.cs 323
    Error 13 The type 'DacsOnlineWebParts.DacsOnlineControls.CLReproductions' exists in both 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\dacs-website-master\ec1242e9\e12c789a\App_Web_jgeqw53u.dll' and 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\dacs-website-master\ec1242e9\e12c789a\assembly\dl3\d5a669b8\f58d985d_9b9ecf01\DacsOnlineWebParts.DLL' D:\DACS-Website-master\DacsOnlineLocal\Backup\DacsOnlineControls\CLProduct.ascx.cs 323
    Error 14 The type 'DacsOnlineWebParts.DacsOnlineControls.CLReproductions' exists in both 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\dacs-website-master\ec1242e9\e12c789a\App_Web_jgeqw53u.dll' and 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\dacs-website-master\ec1242e9\e12c789a\assembly\dl3\d5a669b8\f58d985d_9b9ecf01\DacsOnlineWebParts.DLL' D:\DACS-Website-master\DacsOnlineLocal\Backup\DacsOnlineControls\CLProduct.ascx.cs 496
    Error 15 The type 'DacsOnlineWebParts.DacsOnlineControls.CLReproductions' exists in both 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\dacs-website-master\ec1242e9\e12c789a\App_Web_jgeqw53u.dll' and 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\dacs-website-master\ec1242e9\e12c789a\assembly\dl3\d5a669b8\f58d985d_9b9ecf01\DacsOnlineWebParts.DLL' D:\DACS-Website-master\DacsOnlineLocal\Backup\DacsOnlineControls\CLProduct.ascx.cs 496
    Error 16 The type 'DacsOnlineWebParts.DacsOnlineControls.CLReproductions' exists in both 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\dacs-website-master\ec1242e9\e12c789a\App_Web_jgeqw53u.dll' and 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\dacs-website-master\ec1242e9\e12c789a\assembly\dl3\d5a669b8\f58d985d_9b9ecf01\DacsOnlineWebParts.DLL' D:\DACS-Website-master\DacsOnlineLocal\Backup\DacsOnlineControls\CLProduct.ascx.cs 519
    Error 17 The type 'DacsOnlineWebParts.DacsOnlineControls.CLReproductions' exists in both 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\dacs-website-master\ec1242e9\e12c789a\App_Web_jgeqw53u.dll' and 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\dacs-website-master\ec1242e9\e12c789a\assembly\dl3\d5a669b8\f58d985d_9b9ecf01\DacsOnlineWebParts.DLL' D:\DACS-Website-master\DacsOnlineLocal\Backup\DacsOnlineControls\CLProduct.ascx.cs 519
    Error 18 The type 'DacsOnlineWebParts.DacsOnlineControls.CLReproductions' exists in both 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\dacs-website-master\ec1242e9\e12c789a\App_Web_jgeqw53u.dll' and 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\dacs-website-master\ec1242e9\e12c789a\assembly\dl3\d5a669b8\f58d985d_9b9ecf01\DacsOnlineWebParts.DLL' D:\DACS-Website-master\DacsOnlineLocal\Backup\DacsOnlineControls\CLProduct.ascx.cs 572
    Error 19 The type 'DacsOnlineWebParts.DacsOnlineControls.CLReproductions' exists in both 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\dacs-website-master\ec1242e9\e12c789a\App_Web_jgeqw53u.dll' and 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\dacs-website-master\ec1242e9\e12c789a\assembly\dl3\d5a669b8\f58d985d_9b9ecf01\DacsOnlineWebParts.DLL' D:\DACS-Website-master\DacsOnlineLocal\Backup\DacsOnlineControls\CLProduct.ascx.cs 572
     
  2. martino

    martino DiscountASP.NET Staff

    I've seen this before and I think other customers were able to resolve their problem by following the information in the web page article here: http://stackoverflow.com/questions/5425638/asp-net-error-the-type-exists-in-both-directories

    As stated on there: "Try cleaning your solution and then try to rebuilt. Visual Studio is probably still have reference to the old dll after it created the new dll"

    Also this article here: http://stackoverflow.com/questions/...pe-foo-exists-in-both-temp1-dll-and-temp2-dll

    "
    Add the batch="false" attribute to the "compilation" element of the web.config file.

    This problem occurs because of the way in which ASP.NET 2.0 uses the application references and the folder structure of the application to compile the application. If the batch property of the element in the web.config file for the application is set to true, ASP.NET 2.0 compiles each folder in the application into a separate assembly.

    http://www.sellsbrothers.com/news/showTopic.aspx?ixTopic=1995

    http://support.microsoft.com/kb/919284

    "
     
    mjp likes this.

Share This Page