Click here to Skip to main content
15,910,277 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
C#
[System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()]
  public class aboutus_aspx : global::AboutUs, System.Web.SessionState.IRequiresSessionState, System.Web.IHttpHandler {
       private static bool @__initialized;

with it i got error
The type 'Client' exists in both 'c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\feb\d2853315\ac6c022b\assembly\dl3\df564e00\a5d8f5f6_5a0ece01\App_Web_ogkl7msx.DLL' and 'c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\feb\d2853315\ac6c022b\assembly\dl3\c67869eb\e080e1f7_5a0ece01\App_Web_jkfcjctd.DLL'
Posted
Updated 19-Feb-13 19:26pm
v3
Comments
Ankur\m/ 20-Feb-13 1:30am    
Delete the contents in Temporary ASP.NET Files and try again. The first page load will take some time after that.
If it doesn't help, you will need to republish it.

Try adding the proper System.Data.Entity assembly to your web.config with regards to your framework.
Such as for 4.0:
XML
<compilation debug="true" targetFramework="4.0">
  <assemblies>
    <add assembly="System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
  </assemblies>
</compilation>


Good luck,
OI
 
Share this answer
 
v2
Comments
[no name] 20-Feb-13 1:34am    
@Orcun Iyigun:our framework is vs 3.5 then can you tell me what to do
Your sum logic are not a use so remove this logic or comment
 
Share this answer
 
Comments
Devang Vaja 20-Feb-13 6:19am    
elaborate the answer plz....

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900