Posts

Showing posts from 2018

ctrl+r was pressed waiting for second key of chord sql server

1. Open the Tools menu and select the Options menu 2. Under the Environment node click on the Keyboard node again click on Keyboard node 3. Click on the Reset button 4. Click Yes button on the dialog popup

Javascript code displayed in white color in visual studio 2017

Visual Studio Formatting Issues / Displayed JavaScript Code With Comment Its also known issue when copy text/code in visual studio showing "formatting selection" popup it will be also solved by below solution Solved: Goto in visual studio ( Options --> Text Editor --> JavaScript / TypeScript --> Language Service )

Error serializing - Exception of type System.Web.HttpUnhandledException was thrown.

Solved: You have to add [Serializable] attribute in the class and also add inherited class if you extend on that class. Why? Because you have created List or Dictionary type of property Inner Exception: System.ArgumentException: Error serializing value 'ModelClass' of type 'ModelClass.' ---> System.Runtime.Serialization.SerializationException: Type 'IMR.Model.Models.Admin.UserInOutLogSearch' in Assembly 'IMR.Model, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' is not marked as serializable.    at System.Runtime.Serialization.FormatterServices.InternalGetSerializableMembers(RuntimeType type)    at System.Runtime.Serialization.FormatterServices.GetSerializableMembers(Type type, StreamingContext context)    at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitMemberInfo()    at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSerialize(Object obj, ISurrogateSelector surrogateSelector, Strea...