Showing posts with label Solution. Show all posts
Showing posts with label Solution. Show all posts

Tuesday, June 2, 2020

[Error Solved]: @angular/material/index.d.ts' is not a module

Here in this article I am going to explain how to resolve the @angular/material/index.d.ts' is not a module error.

 

After upgraded currently working Angular application to Angular 9 and Angular Material 9, I get the error :

@angular/material/index.d.ts' is not a module

 

Now the question arise why this error comes and how to fix this error.

 

Reason:

Saturday, January 18, 2020

[Solved] SQL SERVER (Error Message) : Invalid object name 'string_split'.

Tuesday, September 24, 2019

SQL Server Installation Rule Error: “Oracle JRE 7 Update 51 (64-Bit) Or Higher Is Required For Polybase”


Here in this article I am going to explain how to resolve the error rule “Oracle JRE 7 Update 51 (64-Bit) Or Higher Is Required For Polybase”.

Error :
This error occurred when we are installing the SQL Server. I got this error during installation of Sql Server 2016 or above version. For more information about error click on failed link button.

Oracle JRE 7 Update 51 (64-Bit) Or Higher Is Required For Polybase


Reason:
SQL Server 2016 introduced Polybase feature for external data. It enables SQL Server instance to process Transact-SQL queries that read data from Hadoop. Check out this article for more info of Polybase.

Friday, July 26, 2019

Error Message : Failed to update database “Aspmantra” because the database is read-only


While working on one of project, I have get below given error:
Error Message : Failed to update database “Aspmantra” because the database is read-only

As you can see error message explain the reason why you are not able to write the database. There is no way to write into database when it is read only state. To write into database you have change the state of database from read only to read-write.

Solution:
To resolve this issue we have 2 ways. One using Sql server management studio and 2nd one using Sql query.

Thursday, November 9, 2017

[Solved]: [Provided: Named Pipes Provider, error: 40- Could not open a connection to the SQL Server (Microsoft SQL Server, Error: 2)]

In this article I am going to explain how to resolve the Error: [Provided: Named Pipes Provider, error: 40- Could not open a connection to the SQL Server (Microsoft SQL Server, Error: 2)]

Description:
When I am trying to connect the Sql server, got an error:

Saturday, October 28, 2017

[Solved]: Error:40–could not open a connection to SQL server

In this article I am going to explain how to resolve the Error: 40 – could not open a connection to SQL server.

Description:
When I am trying to connect the Sql server, got an error:

Cannot connect to localhost. :
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that the SQL Server is configured to allow remote connections. (provided: Named Pipes Provider, error: 40- Could not open a connection to the SQL Server) (Microsoft SQL Server, Error: 2).

Friday, March 10, 2017

[Solved]: XML parsing: unrecognized encoding

In this article I am going to explain how to solve the XML parsing: line 1, character 39, unrecognized encoding error.

Description:
When I am working on XML file I have got an error “XML parsing: line 1, character 39, unrecognized encoding” in asp.net.

Solution:
This error is occurred because of encoding issue. SQL Server expects the XML file should be UTF-16. We have to change the encoding from utf-1, utf-8 to utf-16.

Friday, February 17, 2017

[Solved ]:A network-related or instance-specific error occurred while establishing a connection to SQL Server

How to resolve “a network-related or instance-specific error occurred while establishing a connection to SQL Server” error.

Description:
While I am working on window application I have received the error:


“A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: shared memory provider, error:40 could not open a connection. to sql server)”

Saturday, October 8, 2016

Report Viewer Configuration Error [Solved]

While working with RDLC report I have faced an error “Report Viewer Configuration Error“. Here is the complete error message:

Report Viewer Configuration Error
The Report Viewer Web Control HTTP Handler has not been registered in the application's web.config file. Add <add verb="*" path="Reserved.ReportViewerWebControl.axd" type = "Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> to the system.web/httpHandlers section of the web.config file, or add <add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> to the system.webServer/handlers section for Internet Information Services 7 or later.

Sunday, July 17, 2016

[Solved] Google Maps API error: MissingKeyMapError

In this article I am going to explain how to solve the Google Maps API MissingKeyMapError.

Description:
I am working on Google Maps and notice an error in JavaScript Console:

Google Maps API error: MissingKeyMapError https://developers.google.com/maps/documentation/javascript/error-messages#missing-key-map-error

Solution:

Thursday, May 26, 2016

AngularJs Error: $injector:nomod Module is not available

I have got an error while working with AngularJs. Error is:
angular.js:4587 Uncaught Error: [$injector:modulerr] Failed to instantiate module mvcapp due to:
Error: [$injector:nomod] Module 'mvcapp' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.

AngularJs Error $injectornomod Module is not available


This error occurs because I have not defined the module.

Solution:

Thursday, April 14, 2016

RDLC Error: Report Viewer Configuration Error

In this article I am going to explain how we can resolve the Report Viewer Configuration Error when using RDLC report in asp.net.

When we are working in RDLC report, get the error at run time like given below:

Report Viewer Configuration Error

The Report Viewer Web Control HTTP Handler has not been registered in the application's web.config file. Add <add verb="*" path="Reserved.ReportViewerWebControl.axd" type = "Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" /> to the system.web/httpHandlers section of the web.config file, or add <add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" /> to the system.webServer/handlers section for Internet Information Services 7 or later.

Solution:
The error of reason is web.config file is not set up correctly. To solve this issue add the following in web.config file.

Tuesday, July 21, 2015

Error: Maximum request length exceeded

In this post I am going to explain how to solve the error Maximum request length exceeded
Error: Maximum request length exceeded

Description:
Default maximum size to upload file is 4 MB (4096KB) and execution time is 110 seconds. This error occurs when we are uploading files larger than 4 MB.

Solution:
To solve this error add the below given line in web.config of project/website.

Monday, July 20, 2015

Solution: WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for jQuery

In this article I am going to explain how to solve the error: WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for jQuery

Description:
I have faced an error while I am working on Asp.net “WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for 'jquery'. Please add a ScriptResourceMapping named jquery(case-sensitive).