Posts

Showing posts from August, 2009

Assembly 'AjaxControlToolkit, Version=3.0.30512.20315, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e' uses 'System.Web.Extensions, Version=3.5.0.0,

ErrorAssembly 'AjaxControlToolkit, Version=3.0.30512.20315, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e' uses 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version than referenced assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'

The solution worked for me is...
1) I changed target framework to 3.5 in all the projects in my solution
2) Clean all the projects in the solution
3) Rebuild the full solution
4) Open the web.config file and remove the content
<runtime >
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35">
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0">
</dependentAssembly>
<dependentAssembly>
<assemblyIde…

Visual Studio 2008 - The requested page cannot be accessed because the related configuration data for the page is invalid

Error

---------------------------
Microsoft Visual Studio
---------------------------
Unable to start debugging on the web server.


Server Error
Internet Information Services 7.0


Error Summary
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.



Detailed Error InformationError Summary
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.



Config Source
-1:
0:



Make sure the server is operating correctly. Verify there are no syntax errors in web.config by doing a Debug.Start Without Debugging. You may also want to refer to the ASP.NET and ATL Server debugging topic in the online documentation.
---------------------------
OK Help
---------------------------

Solution
You are using IIS 7.0 on a computer that is running Windows Vista. Additionally, you configure the Web site to use UNC Passthrough authentication to access a rem…

Types and there definitions in C#.NET

TypeBase class that represents any type.Value TypeBase class that represents any value type.Reference TypesAny data types that are accessed through a reference and stored on the heap.Built-in Value TypesIncludes most of the standard primitive types, which represent numbers, Boolean values, or characters.EnumerationsSets of enumerated values.User-defined Value TypesTypes that have been defined in source code and are stored as value types. In C# terms, this means any struct.Interface TypesInterfaces.Pointer TypesPointers.Self-describing TypesData types that provide information about themselves for the benefit of the garbage collector .ArraysAny type that contains an array of objects.Class TypesTypes that are self-describing but are not arrays.DelegatesTypes that are designed to hold references to methods.User-defined Reference TypesTypes that have been defined in source code and are stored as reference types. In C# terms, this means any class.Boxed Value TypesA value type that is tempor…