Asked by:
Error when compilation - Urgent Help

Question
-
User55955521 posted
Hi, When i compile my web site, i facing this error
The type 'CP_uc_LstUsrControl' exists in both
'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\WebSite1\eaf01500\1857dc0a\App_Web_6jm_c6gh.dll' and 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\WebSite1\eaf01500\1857dc0a\App_Web_enmtx5tr.dll' i:\work\portals\WebSite1\CP\User\uc_UserTypeControl.ascx
please Help MeTuesday, September 4, 2007 5:18 AM
All replies
-
User595841651 posted
close the project, or better yet close VS, and reopen.
Tuesday, September 4, 2007 8:29 AM -
User55955521 posted
Hi,
this problem solved. i had 2 UserControl with different name but this controls inherited from the same class.
but i have other problem now. when i try to deploy website, i facing this error in last of compilation : "aspnet_merge.exe" exited with code 1.
any one has idea about this problem?
Tuesday, September 4, 2007 9:49 AM -
User-762694769 posted
Could you try running aspnet_merge with the -errorstack flag to see the stack trace?
Tuesday, September 4, 2007 1:04 PM -
User55955521 posted
Could you try running aspnet_merge with the -errorstack flag to see the stack trace?
Hi, How i can do it?
Wednesday, September 5, 2007 3:40 AM -
User-762694769 posted
To do so you would actually need to run the tools aspnet_compiler and aspnet_merge in the command prompt. When you do publish or use Web Deployment project, VS actually does that for you.
Here is an article on using aspnet_compiler and aspnet_merge: http://msdn.microsoft.com/en-us/library/aa479044.aspx
Thursday, September 6, 2007 1:56 PM