Data at the root level is invalid. Line 1, position 1 on sitecore upgrade to 9.2 - sitecore9

I am trying to update sitecore from 9.0.2 to 9.2
I have installed a new instance of 7.5
Currently my sitecore site is using solr 6.6.2.
I have changed the solr.search connection string to new 7.5 solr instance.
But when I tried to load the site it is showing below error
Server Error in '/' Application.
Data at the root level is invalid. Line 1, position 1.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Xml.XmlException: Data at the root level is invalid. Line 1, position 1.

Try deleting and restoring you license.xml file, this worked for me.

Related

How to fix this error [FireDAC][Phys][ODBC][Microsoft][SQL Server Native Client 11.0][SQL Server]Invalid object name 'FDQA_TransTable'

I am trying to run this sample project by Embarcadero on Delphi 11 Enterprise with no changes to the source code:
Embarcadero\Studio\21.0\Samples\Object Pascal\Database\FireDAC\Samples\Comp Layer\TFDBatchMove\Main
and after logging into the database (using the dropdown menu and selecting "MSSQL_Demo") and clicking "1.) Move text to table" I encounter this error "Invalid object name 'FDQA_TransTable'."
I was trying to dig down to the actual line where the error occurs (using F7/trace into) but this is the furthest I can go before the error message comes up:
FDBatchMove.Execute;
Heres the stack trace in case this helps.
Heres my MSSQL version in case this helps.
Are there additional steps I need to do before I am able to run this sample project? Maybe do something with the database like add tables or setup permissions? This is my first time setting up MSSQL and using FireDAC.

SQL Server runs out of internal resources producing query plan

I'm having issues using Visual Studio 2019 to publish a database project to a target server where the database does not yet exist. During the publish process, the following error happens:
(46075,1): SQL72014: .Net SqlClient Data Provider: Msg 8623, Level 16, State 1, Line 14 The query processor ran out of internal resources and could not produce a query plan. This is a rare event and only expected for extremely complex queries or queries that reference a very large number of tables or partitions. Please simplify the query. If you believe you have received this message in error, contact Customer Support Services for more information.
(46062,0): SQL72045: Script execution error. The executed script:
The error does not appear to be related to specific SQL as the error message would suggest. If I comment out a script that generates the error, the error shows up in the next script in the sequence. Overall, the publish script produced by VS2019 is approximately 72k lines. The error pops up after approximately 46k lines.
EDIT:
Server details:
SQL Server 2019 Developer edition (15.0.2000.5). 4 processors, 16 gb memory
This was my system having the problem that Anthony posted about for me. We've now figured out the cause. The root cause was a post deployment script to populate a table with initial values. The script uses a reasonably complex merge statement and tried to insert about 18,500 rows of data.
We were thrown off initially because the error output pointed to a different script in the set, not the one causing a problem. Evidently just what was in the error buffer when it burped.

An error occurred creating the configuration section handler for system.data: invariant-name is constrained to be unique

i'm getting error in my SQL SERVER when click in object explorer to open table, design, select top 200 rows, etc... i'm getting this of error.
Exception has been thrown by the target of an invocation. (SQLEditors)
ADDITIONAL INFORMATION:
An error occurred creating the configuration section handler for system.data: Column 'InvariantName' is constrained to be unique. Value 'FirebirdSql.Data.FirebirdClient' is already present. (C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\machine.config line 154) (System.Configuration)
and also i'm getting same error in my Visual studio 2015 when i add existing Project and built it getting same error , and i'm unable add new ADO.NET connect in my Visual Studio 2015 when i click NEW Connection and when enter database server name it automatically closing new connection window. so please get out of this...
Severity Code Description Project File Line Suppression State
Error Error 175: The ADO.NET provider with invariant name 'System.Data.SqlClient' is either not registered in the machine or application config file, or could not be loaded. See the inner exception for details. Biznaltic C:\Users\mukesh\Source\Repos\Biznaltic\Biznaltic\Models\Model.edmx 7

SQL server Assertion failed error while sending mail with Excel or PDF attachments

I used to send mails from SQL server using the sp_send_dbmail with attachments.
But for the past 10 days the mails are not triggered. I checked the procedure and tried it without the attachments and it works. If an Excel or a PDF attachment is there, the procedure throws the below error...
Location: SpcAlloc.cpp:914
Expression: pPage->IsType (Page::TEXT_MIX_PAGE)
SPID: 89
Process ID: 2108
Msg 3624, Level 20, State 1, Procedure sp_send_dbmail, Line 449
A system assertion check has failed. Check the SQL Server error log for details. Typically,
an assertion failure is caused by a software bug or data corruption. To check for database
corruption, consider running DBCC CHECKDB. If you agreed to send dumps to Microsoft during
setup, a mini dump will be sent to Microsoft. An update might be available from Microsoft
in the latest Service Pack or in a QFE from Technical Support.
Msg 0, Level 20, State 0, Line 0
A severe error occurred on the current command. The results, if any, should be discarded.
Any Suggestions ?
you will see more details in sqlserver error log and errorlog points out to dump location as well..
Right now,here are your options
1.Try checking if you are on the latest version of sqlserver and if you are not try upgrading to latest CU or SP
2.If you get this error even after upgrading to latest CU or SP,try contacting microsoft support
IF you are latest version of sqlserver,you will have more luck as it has some extensions like SQL Server Diagnostics (Preview) .Once you are done installing this extension, you will provide below screen to upload dump
after uploading,SSMS will analyze the dumps for you and present relevant KB's like below

Deploying SSIS 2010 to Integration Service Catalog SQL Server 2012

I am new in using the SSIS and had created my first project on SSIS2010 Shell. At the moment, I have reached the stage to deploy the project to the SSISDB which has been created through the Integration Service Catalog. However, I battled for hours and hours to get the project deployed but has zero luck as it always fails and gives me an error of:
Failed to deploy project. For more information, query the
operation_messages view for the operation identifier '18'.
I ran the following query on the SSISDB level to diagnose or look at the the position of the error but didn't clarify anything to me and it sounds even more ambiguous:
SELECT [message] FROM [SSISDB].[internal].[operation_messages]
where [operation_id] = 18
I also created two Nonclustered Indexes on the SSISDB to run the process faster in case of time out issue, but this didn't work either!
Within the Additional Data in the error log I have notice the following message:
Server Name: DODI Error Number: 27203 Severity: 16 State: 1 Procedure:
deploy_project Line Number: 139
I have no idea why the project fail to be deployed? I spent hours looking at similar error, most of I already tried, as it seems fairly complicated! Does any one know the solution for this problem??

Resources