Last post Feb 22, 2011 04:47 AM by Lyra Belaqua
Feb 21, 2011 06:47 AM|sg0510|LINK
I faced a problems that after converted a old program from asp.net 1.1 to asp.net 2.0 it display the following error,
CS0433: The type 'ASP.DataGridPagingControl' exists in both 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\tsmo\8f39c19a\bea2b217\App_Web_otcbkd2c.dll' and 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary
I had search from google about this error and try a lot of solution but still getting the error.
May I have your suggestion?
I had tested the following solution
1.) Delete the temp folder in C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files and rebuild the project
2.) Double check did any duplicate files name and dll in the same folder.
3.) remove dll files in bin folder manually and rebuild the project.
I am jammed in this situtaion for few days. :(
Thank you so much.
Feb 21, 2011 08:35 AM|Lyra Belaqua|LINK
I think first solution is perfect for this kind of error.
Could you please check it with restarting visual studio. It may work.
Feb 22, 2011 01:49 AM|kctt|LINK
After deleting asp.net temp folders and re-compile, do you see the two dll files in error message are re-created?
Feb 22, 2011 04:47 AM|Lyra Belaqua|LINK
Restarting visual studio and deletion of temp files will surely resolve the issue.