Fatal Error 211 occurred while trying to open a databse table - sql-server-2008

Warning: Fatal error occurred at sep 20 2022 at 4:18am. Note the error and time, and contact your system administrator.
A severe error occurred on current command. The results, if any, should be discarded. (Microsoft SQL Server, error: 21)
The above is the error I get when I try to access the tables of a particular database while logged in as user "pps2". Meanwhile I can assess this same database tables when I'm logged in as sa.
In the error log, I see the following:
Error: 211, Severity: 23, state: 51
Possible schema corruption. Run dbcc checkcatalog.
I have run the checkcatalog and still same issue persist.

Related

Subscription Status: An error has occurred during report processing

I'm having difficulty sending auto generated e-mails via SSRS. I'm getting a vague error that states "An error has occurred during report processing.". I've detailed the full error below. Does anyone know some of the possible reasons why I would be getting this error?
Here are examples of the Shared Dataset Properties:
Here's the error I'm getting:
library!WindowsService_9!14c0!07/11/2019-10:18:01:: i INFO: Schedule 3d1ac939-3fb6-4313-9e04-bce6353a6825 executed at 07/11/2019 10:18:01.
schedule!WindowsService_9!14c0!07/11/2019-10:18:01:: Creating Time based subscription notification for subscription: a9d6e90a-84fc-439d-b715-49f7479cf69d
library!WindowsService_9!14c0!07/11/2019-10:18:01:: i INFO: Schedule 3d1ac939-3fb6-4313-9e04-bce6353a6825 execution completed at 07/11/2019 10:18:01.
library!WindowsService_9!14c0!07/11/2019-10:18:01:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: AuthzInitializeContextFromSid: Win32 error: 1722, Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: The report server has encountered a configuration error. ;
processing!WindowsService_9!14c0!07/11/2019-10:18:01:: e ERROR: An exception has occurred in data set 'DS_Example'. Details: Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: The report server has encountered a configuration error.
processing!WindowsService_9!14c0!07/11/2019-10:18:01:: i INFO: DataPrefetch abort handler called for Report with ID=. Aborting data sources ...
processing!WindowsService_9!14c0!07/11/2019-10:18:01:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: , Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: An error has occurred during report processing. ---> Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: The report server has encountered a configuration error.
--- End of inner exception stack trace ---;
processing!WindowsService_9!14c0!07/11/2019-10:18:01:: w WARN: Data source ' Data source for shared dataset': Report processing has been aborted.
processing!WindowsService_9!14c0!07/11/2019-10:18:01:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: , Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: An error has occurred during report processing. ---> Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: The report server has encountered a configuration error.
--- End of inner exception stack trace ---;
library!WindowsService_9!14c0!07/11/2019-10:18:01:: i INFO: Initializing EnableExecutionLogging to 'True' as specified in Server system properties.
notification!WindowsService_9!14c0!07/11/2019-10:18:01:: e ERROR: Error occured processing subscription a9d6e90a-84fc-439d-b715-49f7479cf69d: An error has occurred during report processing.
I ran the procedure that the data set reference. The data generates without any issues. I've created subscriptions for existing reports and they all executed without error. I've also check the connections to confirm that it wasn't a credential issue but it connected without error.
The subscription should generate a daily report to specified users.
The Win32 error 1722 is the key to this error message. It's an RPC server not available error. Microsoft has a KB article addressing this exact issue:
https://support.microsoft.com/en-us/help/842423/a-call-to-the-authzinitializecontextfromsid-api-function-fails-during
So it looks like the permissions needed to be granted for the service account database and table. The issue has been resolved!

Error while executing SSIS package from JOB

Message
Executed as user: UKDBT91DB05V\SYSTEM. Microsoft (R) SQL Server
Execute Package Utility Version 10.50.2500.0 for 64-bit Copyright
(C) Microsoft Corporation 2010. All rights reserved. Started:
14:58:34 Error: 2013-04-01 14:58:34.45 Code: 0xC0016016
Source: Description: Failed to decrypt protected XML node
"DTS:Property" with error 0x8009000B "Key not valid for use in
specified state.". You may not be authorized to access this
information. This error occurs when there is a cryptographic error.
Verify that the correct key is available. End Error Error:
2013-04-01 14:58:34.76 Code: 0xC001000E Source:
ReceiveDGDinformation Description: The connection "stock" is not
found. This error is thrown by Connections collection when the
specific connection element is not found. End Error Error:
2013-04-01 14:58:34.80 Code: 0xC0202009 Source:
ReceiveDGDinformation Connection manager "Stock" Description: SSIS
Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error
code: 0x80040E4D. An OLE DB record is available. Source: "Microsoft
SQL Server Native Client 10.0" Hresult: 0x80040E4D Description:
"Login failed for user 'DOTCOM\UKDBT91DB05V$'.". End Error Error:
2013-04-01 14:58:34.80 Code: 0xC020801C Source: Populate
Staginng Table Populate DGD Staging table [34] Description: SSIS
Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The
AcquireConnection method call to the connection manager "Stock" failed
with error code 0xC0202009. There may be error messages posted before
this with more information on why the AcquireConnection method call
failed. End Error Error: 2013-04-01 14:58:34.80 Code: 0xC0047017
Source: Populate Staginng Table SSIS.Pipeline Description:
component "Populate DGD Staging table" (34) failed validation and
returned error code 0xC020801C. End Error Error: 2013-04-01
14:58:34.80 Code: 0xC004700C Source: Populate Staginng Table
SSIS.Pipeline Description: One or more component failed
validation. End Error Error: 2013-04-01 14:58:34.80 Code:
0xC0024107 Source: Populate Staginng Table Description: There
were errors during task validation. End Error DTExec: The package
execution returned DTSER_FAILURE (1). Started: 14:58:34 Finished:
14:58:34 Elapsed: 0.624 seconds. The package execution failed. The
step failed.
Meaningful bits of the error message
Failed to decrypt protected XML node "DTS:Property" with error 0x8009000B "Key not valid for use in specified state.". You may not be authorized to access this information. This error occurs when there is a cryptographic error
Login failed for user 'DOTCOM\UKDBT91DB05V$'
This is probably a problem with your ProtectionLevel setting and how you are configuring the job.
If ProtectionLevel is at the default "EncryptSensitiveWithUserKey" setting, then the development environment is encrypting things like your connection string database password using a key that depends on the user who is doing the development. After you deploy it to the production server and schedule a SQL Server Agent job, it will most likely run under a different user account, and then it will be unable to decrypt the database password. You will get this error.
One possibility would be to make sure the development user and the job execution user are the same user account, but this is not a good idea. Usually you want your production user accounts to be separate from your development user accounts.
Instead, you should set ProtectionLevel to "DontSaveSensitive". Then the password won't get saved with the SSIS package at all. You create a configuration file for the connection string, but the password won't get saved to the configuration file either. You will have to edit the configuration file manually if you want it to include a password. But the best way to do this is to configure the password when you schedule the job that executes the SSIS package. That keeps the password in a safe place, and it isn't floating around all over the place with the SSIS package.
Some useful links here and here.
Good luck!

copy table to mysql to mysql

Hi all
I want to copy table from mysql to mysql.
Source MYSQL server IP is :172.16.10.50
Destination MYSQL server IP is :172.16.10.152
I used ADO.Net source and Ado.Net Destination.
but at time of execution i faced this error.
[ADO NET Destination [16]] Error: An exception has occurred during
data insertion, the message returned from the provider is: You have an
error in your SQL syntax; check the manual that corresponds to your
MySQL server version for the right syntax to use near '"status",
"status_name", "selectable", "campaign_id", "human_answered",
"categor' at line 1
[SSIS.Pipeline] Error: SSIS Error Code DTS_E_PROCESSINPUTFAILED. The
ProcessInput method on component "ADO NET Destination" (16) failed
with error code 0xC020844B while processing input "ADO NET Destination
Input" (19). The identified component returned an error from the
ProcessInput method. The error is specific to the component, but the
error is fatal and will cause the Data Flow task to stop running.
There may be error messages posted before this with more information
about the failure.
Kindly help me to resolve this issue.
Regards
Neha Prajapati
If you read your error message carefully (or maybe vaguely enough) you can see that the error message states that you have a Syntax Error. What is the query that you are trying to run through SSIS?

Scheduled job failure

I have a schedule job to take backup for every 8 hours in SQL Server 2008. Till day before yesterday everything was working fine but all of sudden the job got failed with the error message below.
Executed as user: NT AUTHORITY\SYSTEM. A nonrecoverable I/O error occurred on file "FilePath\FileName.BAK:" 112(failed to retrieve text for this error. Reason: 15105). [SQLSTATE 42000] (Error 3271) BACKUP DATABASE is terminating abnormally. [SQLSTATE 42000] (Error 3013). The step failed.
I tried searching in google bout didn't get the exact idea. Consider me a newbee in SQL Server 2008
Any suggestions will be higly appriciated.
Thanks.
The most common reason for this error is lack of space to perform the backup.
Other reasons are a corrupt database or hardware problems.
Suggest you run DBCC CHECKDB as soon as you can.

how to take backup to a network share?

when i tried to back up the database to a shared network i am getting the following error can any one help me?
Msg 3201, Level 16, State 1, Procedure Full_BCK, Line 21
Cannot open backup device '\prabha\Rajniprabha\SivaBaba2008_Full.bak'. Operating system error 5(failed to retrieve text for this error. Reason: 15105).
Msg 3013, Level 16, State 1, Procedure Full_BCK, Line 21
BACKUP DATABASE is terminating abnormally.
Error 5 means Access denied. Are you sure the user running SQL Server has access to that folder?
Also you seem to be missing the first backslash (which could translate to an access denied error), it should be
\\prabha\Rajniprabha\SivaBaba2008_Full.bak