Friday, March 28, 2014

Failed to retrieve data for this request. (Microsoft.SqlServer.Management.Sdk.Sfc)


Problem: After a while using some tasks like detaching, putting offline, shrinking on SQL Server Management Studio, I couldn't attach a database and the following error appear:

"Failed to retrieve data for this request. (Microsoft.SqlServer.Management.Sdk.Sfc)
An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)"

Refreshing and reconnecting won't work but don't give up...

Solution: Simply Restart SQL Server Management Studio!

Friday, March 14, 2014

Disable / Remove share button, follow button and synchronize button Sharepoint 2013

In spite of deploying code or jquery scripts, I wanted to know if there was a way of disabling buttons in SharePoint itself..
So I found out that you don't need any code/script to disable those buttons (share, follow and synchronize).

Here's how:
  • Disable "Share button" 
    1. Go to Site Permissions
    2. Select Access Request Settings
    3. Unmark Allow access request
Remember: You have to do for each Site and Button will still be visible for Admins

  • Disable "Follow button"
    1. Go to Site Features
    2. Deactivated Following Content Feature
Remember: You have to do for each Site

  • Disable "Synchronize button"
    1. Go to library settings
    2. Go to Advanced settings
    3. Say No to Offline Client Availability
Remember: You have to do for each Library

All done :)

Wednesday, March 12, 2014

The breakpoint will not currently be hit. No symbols have been loaded for this document

What i have done to resolve the issue:

  • I selected to start the right project - Source: stackoverflow
  • Attached the specific process - Someone's Blog
  • tested IE 8 and 9 - Someone's Blog

None of these worked.


Solution: I tested switching from debug mode, to release...deploy
Then back to debug ... deploy and unexpected breakpoints started to work!!

Have a happy day