Posts

Showing posts from September, 2020

Convert Viewmodel to JSON string using C#, convert json string to JSON Format using C#

//CONVERT POST PARAMETERS INTO JSON-SERIALIZE var json = JsonConvert.SerializeObject(model); // Convert Json String to JSON Format in C# dynamic responseData = Newtonsoft.Json.Linq.JObject.Parse(_responseData);

Accessed JArray values with invalid key value. Array position index expected

Accessed JArray values with invalid key value: “fields”. Array position index expected  ========================================================== { "response" :{ "status" : "ok" , "userTier" : "approved" , "total" : 1 , "startIndex" : 1 , "pageSize" : 10 , "currentPage" : 1 , "pages" : 1 , "orderBy" : "newest" , "results" :[{ "id" : "sustainable-business/sustainable-finance-where-next-open-thread" , "sectionId" : "sustainable-business" , "sectionName" : "Guardian Sustainable Business" , "webPublicationDate" : "2014-02-13T13:27:00Z" , "webTitle" : "Where next for sustainable finance? - open thread" , "webUrl" : "http://www.theguardian.com/sustainable-busi...

The Microsoft.ACE.OLEDB.12.0 provider is not registered on the local machine

Image

recovery pending in sql server

ALTER DATABASE [ DBName ] SET EMERGENCY ; GO ALTER DATABASE [ DBName ] set single_user GO DBCC CHECKDB ([ DBName ], REPAIR_ALLOW_DATA_LOSS ) WITH ALL_ERRORMSGS ; GO ALTER DATABASE [ DBName ] set multi_user GO For more info:  https://www.stellarinfo.com/blog/fix-sql-database-recovery-pending-state-issue/