Posts

Showing posts from September, 2018

Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1819,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly " ". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. Azure Error

I faced this problem during development of application https://www.qfles.com Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1819,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "PageOne.Dependency". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. [D:\home\site\repository\QflesAdmin\QflesAdmin.csproj] This Error I was facing when I was deploying the Code to Azure from GitHub. Problem - Your Solution referring the dlls by HintPath like this.  <Reference Include="PageOne.PD">       <HintPath>..\PageOne.PD\bin\Debug\PageOne.PD.dll</HintPath>     </Reference>     <Reference Include="PageOne.Services">       <HintPath>..\PageOne.Services\bin\Debug\PageOne.Services.dll</HintPath>     </Reference> Solution - It should not refer the dlls by hint Path. It shou

Error during serialization or deserialization using the JSON JavaScriptSerializer. The length of the string exceeds the value set on the maxJsonLength property

Error during serialization or deserialization using the JSON JavaScriptSerializer. The length of the string exceeds the value set on the maxJsonLength property in DotNet with jquery or AngularJS. write your action method as below [HttpGet] public ContentResult LoadBackDoorCustomers() { var data = adminService.ListBackDoorCustomers(); var json = JsonConvert.SerializeObject(data); //return Json(new { success = true, data = json }, JsonRequestBehavior.AllowGet); var result = new ContentResult { Content = json, ContentType = "application/json" }; return result; } angularjs Call $scope.listBackDoorCustomers = function () { $http({ method: 'GET', url: '/Customer/LoadBackDoorCustomers', dataType: 'json', }).then(function (response) { $scope.gr