Posts

Showing posts from 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

ERR_CONNECTION_RESET - when you run application from visual studio over https

This site can’t be reached The connection was reset. Try: Checking the connection Checking the proxy and the firewall Running Windows Network Diagnostics ERR_CONNECTION_RESET This error normally comes when local iis express certificate has corrupt. So please repair the IIS it will solve your Problem. How-to-enable-ssl-for-a-net-project-in-visual-studio How-do-i-restore-a-missing-iis-express-ssl-certificate