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

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

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.

SSRS Data Driven Subscription Not Generating File

In SQL Server 2014 I have a data driven subscription that is executing successfully, but no file is generated. It is a Windows File Share subscription and the report has three parameters. I've tried removing all the parameters to see if it was an issue with that, but it still does not work. I've also verified the file path and the query the subscription is based is correct so don't think there is an issue there.
The subscription returns the message:
Processing: 0 processed of 281 total; 0 errors.
EDIT #1:
More information:
I'm trying to save the files to a shared drive on test computer.
I've given "full control" rights to the service for SQL Server Agent and
SSRS to the folder.
I'm logged in as a user on a domain.
Images of steps followed:
EDIT #2:
I'm getting the following errors from the log file located at "C:\Program Files\Microsoft SQL Server\MSRS12.MYINSTANCE\Reporting Services\LogFiles"
1) Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: AuthzInitializeContextFromSid: Win32 error: 1355, Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: The report server has encountered a configuration error. ;
2) Error occurred processing subscription XX: Failure writing file filename : The report server has encountered a configuration error.
3) Microsoft.ReportingServices.Diagnostics.Utilities.RSException: The report server has encountered a configuration error. ---> Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: The report server has encountered a configuration error.
You can check the Subscriptions table in the ReportServer database for more detail about the subscriptions. For more detail, you can refer to the How to monitor report subscriptions.
You can check the UserName column values the user have permissions and other details.
SELECT *
FROM ReportServer.dbo.Subscriptions AS s
JOIN
ReportServer.dbo.Users AS us
ON us.UserID = s.OwnerId;
At the same time you can check the ExecutionLog3 table RowCount column in order to figure out the subscribed report returned any rows.Therefore, you can find out more details about the issue of the report.
EDITED
I simulated your error in my SSRS and then handled the problem with the help of the following steps.
Checked the error log files of the SSRS and find out the find out the
"An impersonation error occurred using the security context of the
current user"
error.
At first I refered to Configuration Manager Report Subscription to File Share fails with “An impersonation error occurred using the security context of the current user.” link but it didn't help to me.
Create a new data-driven subscription
Change the path share \ComputerName\Share to \ComputerName\c$\Share
In the data-driven subscription settings, I set the admin account to User name and Password fields.

SSRS 2016 reporting server error: Object reference not set to an instance of an object

I'm in the process of setting up a report in SSRS 2016. The report works well in Report Viewer, however when I run it in SSRS 2016 it gives me this from SSRS error log:
library!ReportServer_0-1!23e8!03/22/2019-09:21:03:: e ERROR: Error rending control: System.NullReferenceException: Object reference not set to an instance of an object.
library!ReportServer_0-1!23e8!03/22/2019-09:21:03:: e ERROR: Error rending control: System.NullReferenceException: Object reference not set to an instance of an object.
Please advise. Has anybody seen this kind of behavior in SSRS 2016? We are using SQL Server 2016 SP2 Standard Edition
To get a better idea of the error, try checking the trace log files for a more detailed error message. You should see this in the LogFiles folder of the file path below. Find the most recent trace log file and search for the errors from your report by opening the file in a text editor and doing a find (CRTL + F) for the name of the report. These files are updated with the more recent records at the end of the file, so when searching you may want to begin at the bottom of the file and search upwards. If there aren't enough details to determine the cause of the error, increase the tracing level. This can be done by increasing the value of the DefaultTraceSwitch property in the ReportingServicesService.exe.config file. The referenced article above outlines the various modes and their corresponding values, with 0 (tracing disabled) being the lowest and 4 (Verbose) providing the most comprehensive details. After changing this setting, it will be effective for all reports executed once the file is saved.
C:\Program Files\Microsoft SQL Server\MSRS13.MSSQLSERVER\Reporting Services\LogFiles

SSIS - Execute SQL Task - Foreach Loop Container

I try new project SSIS and i have an error
Exception deserializing the package "The package failed to load due to error 0xC0011008 "Error loading from XML. No further detailed error information can be specified for this problem because no Events object was passed where detailed error information can be stored.". This occurs when CPackage::LoadFromXML fails.
". (Microsoft.DataTransformationServices.VsIntegration)
and Foreach Container no show variables load from Executed SQL task
[SQL Server 2014, Visual studio 2015]
Please help me!
Executed SQL Task - configuration
Foreach Loop Container
I sloved
Click properties solution and change target sql server with version running in your system.

SSIS project fail to build - CPackage::LoadFromXML fails

I have been trying to solve a SSIS project related problem for a week now.
The SSIS solution/project has been working fine for two years but is not working at all for a second user after adding him two weeks ago.
The user can open the solution and execute packages after connecting to the source code via VSO/TFS or by using a local copy.
But after making changes to the project the other user got the error message (1) below when trying to build the project or executing a package.
Trying to import the project from the server results in another error message (2).
Most posts I have find refer to versions of SQL/visual studio (project created on a version that differs to the one currently in use) it is not appicable to my case
Any help or feedback highly appriciated.
My conditions are:
SQL Server 2014 (including SSIS) on win server 2012 r2
Dev machine with win 10 and SQL Server Data Tools 2013 (latest version)
Visual Studio Online for source code/versioning (GIT)
SSIS project deployment model
ProtectionLevel = EncryptSensitiveWithPassword
What I have tried so far:
Tried all cominations of user and dev machine
Tried different versions of Data tools
Tried to find differences in project/solution files as well as in packages to identify user related code etc.
Tried the SSI project with and without source control
Tried to change the Run64BitRunTime property
(1)
Error 1 Microsoft.SqlServer.Dts.Runtime.DtsRuntimeException: The package failed to load due to error 0xC0010014 "One or more error occurred. There should be more specific errors preceding this one that explains the details of the errors. This message is used as a return value from functions that encounter errors.". This occurs when CPackage::LoadFromXML fails. ---> System.Runtime.InteropServices.COMException: The package failed to load due to error 0xC0010014 "One or more error occurred. There should be more specific errors preceding this one that explains the details of the errors. This message is used as a return value from functions that encounter errors.". This occurs when CPackage::LoadFromXML fails. at Microsoft.SqlServer.Dts.Runtime.Wrapper.ApplicationClass.LoadPackage(String FileName, Boolean loadNeutral, IDTSEvents100 pEvents) at Microsoft.SqlServer.Dts.Runtime.Application.LoadPackage(String fileName, IDTSEvents events, Boolean loadNeutral) --- End of inner exception stack trace --- at Microsoft.SqlServer.Dts.Runtime.Application.LoadPackage(String fileName, IDTSEvents events, Boolean loadNeutral) at Microsoft.SqlServer.Dts.Runtime.Application.LoadPackage(String fileName, IDTSEvents events) at Microsoft.DataTransformationServices.Project.ProjectBuildItemInfo.Update(DateTime lastWriteTime, PackageItem packageItem, Project project, String projectDirectory) at Microsoft.DataTransformationServices.Project.ProjectBuildItemInfo..ctor(String name, DateTime lastWriteTime, PackageItem packageItem, Project project, String projectDirectory) at Microsoft.DataTransformationServices.Project.ProjectBuildValidator.RefreshCache(PackageItem item) at Microsoft.DataTransformationServices.Project.ProjectBuildValidator.CheckBuildItem(PackageItem item) at Microsoft.DataTransformationServices.Project.ProjectBuildValidator.CheckConsistency(String& errors, String buildLogFullName) at Microsoft.DataTransformationServices.Project.DataTransformationsProjectBuilder.IncrementalBuildThroughObj(IOutputWindow outputWindow) at Microsoft.DataTransformationServices.Project.DataTransformationsProjectBuilder.BuildIncremental(IOutputWindow outputWindow)
(2)
The package failed to load due to error 0xC0011008 "Error loading from XML. No further detailed error information can be specified for this problem because no Events object was passed where detailed error information can be stored.". This occurs when CPackage::LoadFromXML fails.
A bit late to the party I'm afraid, but I managed to resolve the 2nd error (in my case anyway) by using importing using the .ispac file rather than connecting to the catalogue in the database.

Resources