.NET App Error: Unable to make the session state request to the session state server.
Error: Unable to make the session state request to the session state server. Fix: Make sure the following service is running… ASP.NET State Service
Error: Unable to make the session state request to the session state server. Fix: Make sure the following service is running… ASP.NET State Service
2 Options… Use a DELETE without a where clause and then RESEED the identity (or) Remove the FK, truncate the table, and recreate the FK. TRUNCATE TABLE xxxxxxxx; — Cannot truncate table ‘tblImageReference’ because it is being referenced by a FOREIGN KEY constraint. DELETE FROM xxxxxxxxxx; Because TRUNCATE TABLE is a DDL command, it cannot... » read more
Error: Getting the following error when trying to build SQL project… Only one statement is allowed per batch. A batch separator, such as ‘GO’, might be required between statements. Fix: I have found the problem. When I added the file in VS I forgot to set Build Action = None from the file properties. So changing that... » read more
Error: Running into the following error when trying to publish a SQL Server project in Visual Studio… A project which specifies SQL Server 2022 or Azure SQL Database Managed Instance as the target platform cannot be published to SQL Server 2019 Fix: Go to Project -> Properties Change the “Target platform:” to SQL Server 2019
Error: Msg 976, Level 14, State 1, Line 1The target database, ‘xxxxx’, is participating in an availability group and is currently not accessible for queries. Either data movement is suspended or the availability replica is not enabled for read access. To allow read-only access to this and other databases in the availability group, enable read... » read more
Issue: Secondary database stuck in “Initializing / In Recovery” mode or “Reverting / In Recovery” mode after AlwaysOn failover. Fix: Wait until the secondary database has synced up with the database on the primary. This may take a while if there are pending transactions. Recommend waiting for the secondary database to sync back up with... » read more
Issue: There was a server crash on the database server. After the crash, Always On has been failing. Windows Failover Cluster log indicate cluster resource failure. SQL Server log has a lot of “sql server i/o request taking longer than 15 seconds”. Cluster Event: EventID 1069 Cluster resource ‘xxxxx’ of type ‘SQL Server Availability Group’... » read more
Rebuilding an index does two things. First, since you’re literally rebuilding the index, it reorders the pages and the rows on those pages. This has a benefit in that it can eliminate some pages, making the index smaller and condensing the rows to pages, based on your fill factor. Second, as a part of the... » read more
Issue: Database shrink cause database full and log backups to fail. Fix: Make sure to disable database backups when running database shrink.
Make sure the DDL file is place in this folder and has the following property set… D:\Program Files\Microsoft SQL Server Reporting Services\SSRS\ReportServer\bin File -> Properties -> General -> Unblock checked Checked the “Unblock” in file permission, restart SSRS services, and try uploading the RDL file again. Sources: https://forums.ivanti.com/s/article/Error-when-attempting-to-preview-a-report-in-BIDS-Failed-to-grant-permission-to-execute-Exception-from-HRESULT-0x80131418?language=en_US https://learn.microsoft.com/en-us/sql/reporting-services/custom-assemblies/deploying-a-custom-assembly?view=sql-server-ver16