Simple membership provider "looses" connectionstring after timeout
Steps to reproduce:In VS2012, create a new ASP.NET MVC 4 Application.Change the connectionstring in web-config to point to an Azure SQL DB.Set [Authorize(Roles = "Admin")] on the About Method in the...
View ArticleSQL Express database file auto-creation error but web-config changed to Azure...
I have an app that is based on the new MVC4 template with SImple Membership provider.I've deployed the app to an Azure website and changed the connection string from a local express-database to an...
View ArticleCreating one or more indexes on composite primary key?
So I have this new table, and I want to create a compound primary key on. How do I handle the index with this situation ?The table will typically be queried with a join to it with a condition that...
View ArticleCannot start sql server (cluster)
Hi.I have set up a cluster, identical in two environments. In vmware vphere 5.sql 2008r2 on server 2008r2 x64One of them will no longer start the sql service.Don't know exactly what has happened here,...
View ArticleMaintanance backup plan fail
Hi allI have a maintenance plan to backup ALL databases on everyday 11:00am. however it failed start from wednesday.I see the log is so strange:Executing the query " declare @backupSetId as int select...
View ArticleTime-out occurred while waiting for buffer latch type 3 for page (1:203),...
Strange effect when running a manual checkpoint in TEMPDB (don't ask me why I did this).It took 5min to complete and finally failed generating error: Time-out occurred while waiting for buffer latch...
View ArticleResource governour, howto see/proof setup is working ?
Hi all, I have a SQL 2008 R2 server with 20 databases in one instance. Users in one of those db's are causing somtimes high cpu usage and I want to avoid that.So I set up resource governour with a new...
View ArticleGet a notification when free space into a database is going to terminate
Hi all,is there a way to receive a notification when free space (unused + unallocated) of a database is going to be spent?
View ArticleData deleted, unallocated space NOT regained.
I need to regain UNALLOCATED SPACE inside a database file, so that I can avoid 'out of space' errors that stop queries from running.I've deleted about 12GB worth of data from a 20GB database, but no...
View Articlecan backup leave database in restoring state?
I recently had a problem with the 'model' database remaining stuck in RESTORING state and keeping SQL Server from starting up. I eventually recovered by restoring system databases from a 10 days old...
View ArticleWhy is "instead of delete" trigger not fired by delete from within "after...
One of my tables has both an "after update" and an "instead of delete" trigger. When I perform a delete within the after update trigger, the instead of delete trigger is not fired. Although I don't...
View ArticleWould a composite unique constraint also fulfill a need of a non-unique index...
Current Setup:Suppose if I have a table called [Table1] with the following fields in it (only relevant fields are shown)[RowId] int non null identity (1, 1) primary key[OwnerId] int non null has unique...
View ArticleIs there any reference sites or configuration to run SQL DB in PCI-E flash...
Hi experts, I run our SAP/SQL in HP EVA 8400 now but the MA will be expired soon. I plan to migrate to an ex: P7400 mid-range storage. However, a consultant give me a very interesting idea. Our...
View ArticleWhy MODEL database recovery is full eventhough it is template for tempdb
HiWe all know that model database recovery model is full and tempdb is simple. But we also know that model database is template for tempdb. Then what exactly changes tempdb recovery model during sql...
View ArticleChanging sql collation settings in a sql failover cluster.
Hi,We have 5 branch offices and 1 head office, recently we installed a sql failover clustering with 2 nodes in the head office. The problem now is the 5 branch offices are having sql collation as...
View Article833 warnings when doing Transaction Log Backups
We have many instances of SQL Server 2008 Workgroup Edition that ran great on SQL Server 2008 SP1 however after these nodes have been upgraded to SQL Server 2008 SP2 or SP3 we have had an issue where...
View ArticleBuiltin\Administrators cannot login in SQL 2008 R2
I created a Windows Login, Admin2, and added that to the Windows Administrators Group.I then added the Builtin\Administrators login to SQL and assigned it to the Sysadmin Server role.I then logged into...
View ArticleTempDb getting full
Hi , I have a Sp which is generating Dynamic select query, that query returning some 75000 records. When I am runing this sp Its getting very slow after few minutes I am getting result like "Msg 1105,...
View ArticleHow to increase row size in SQL 2008
Hi, While altering my table in sql 2008 standard. It throws errorWarning: The table "t1_Data" has been created, but its maximum row size exceeds the allowed maximum of 8060 bytes. INSERT or UPDATE to...
View ArticleHow to fix "There is insufficient system memory in resource pool 'internal'...
Server Setup Windows Server 2008 R2 x64. Installed Memory: 5GB Server also runs three sites on IIS. SQL Server 2012 Standard x64 (updated to CU5) Minimum Memory Setting (in SQL Server): 0MB Maximum...
View Article