Installing SharePoint 2013 on Windows Server 2012 Error

When you try to install SharePoint 2013 on Windows Server 2012 you need to install he prerequisites before SharePoint 2013.

You may get this error.

And when you open the log file, you will see the below error

Error when enabling ASP.NET v4.0.30319


Go to Server Manager >> add roles

use Role-based

Select Web Server (IIS)

Pass the Features and Web Server Role (IIS)

You may need to restart the server after above changes


New Document Disabled in PowerPivot Gallery

When you create a new PowerPivot site and go to Power Pivot Gallery, you find the “New Document” disabled by default.


Go to “Library Settings

Click on “Advanced settings

Choose “Yes” in “Allow management of content types?

Now,,,, fixed

PowerShell Issue after Installing SharePoint 2010 SP1

After installing SharePoint 2010 SP1 on my VM, I opened the PowerShell to execute one Cmdlet.

But L , I got the following error in any CmdLet..

The complete error is:

Install-SPRSServiceProxy : Microsoft SharePoint is not supported with version

4.0.30319.17626 of the Microsoft .Net Runtime.

At line:1 char:1

+ Install-SPRSServiceProxy

+ ~~~~~~~~~~~~~~~~~~~~~~~~

+ CategoryInfo : InvalidData: (Microsoft.Repor…ingServiceProxy:

InstallReportingServiceProxy) [Install-SPRSServiceProxy], PlatformNotSuppo


+ FullyQualifiedErrorId : Microsoft.ReportingServices.SharePoint.PowerShel



Right click on “SharePoint 2010 Management Shell”

After the properties windows opened, you will see the below screen

Add “-version 2” in the Target field

Try now 😉

Report of Installed Features in SQL Server 2008,2012

Actually I need to know which features of my sql server 2012 instance have been installed on.

After a little time of search I found the solution.

Now, go to Tools

This wills generate a report of all installed features…

Could not find stored procedure ‘sp_dboption’ – Installing SharePoint 2010 on SQL Server 2012

I installed SQL Server 2012 on my VM and I installed SharePoint 2010 , In SharePoint Products Configuration Wizard I got the following Message:

Could not find stored procedure ‘sp_dboption’




  1. SharePoint 2010 Foundation SP1
  2. SharePoint Server 2010 SP1


Custom Paging In SQL Server 2012 (Denali)

SQL Server 2012 solved big problem in custom paging with easy way. lets start.

The paging now can be done using ORDER clause.

  • Return all rows sorted by FirstName

  FROM [AdventureWorks2012].[Person].[Person]
  ORDER BY FirstName ASC
  • Skip the top 10 rows and return all the next rows, OFFSET <int> ROWS (NEW)

  FROM [AdventureWorks2012].[Person].[Person]
  ORDER BY FirstName ASC
  • Paging (NEW)
DECLARE @PageSize int;
SET @PageSize=10;

DECLARE @CurrentPage int;
SET @CurrentPage=0;


  FROM [AdventureWorks2012].[Person].[Person]
  ORDER BY FirstName ASC

  OFFSET (@PageSize * @CurrentPage) ROWS FETCH NEXT @PageSize ROWS ONLY 

Prevent saving changes that require the table to be re-created in SQL Server 2012


When you try to save a table after you did modifications on this table you got a message:

Saving Changes is not permitted. The changes you have made require the follwoing tables to be dropped and re-created. You have either made changes to a table that can’t be re-created or enabled the option Prevent saving changes that require the table to be re-created.