C# Find the next perfect square!

You might know some pretty large perfect squares. But what about the NEXT one? Complete the findNextSquare method that finds the next integral perfect square after the one passed as a parameter. Recall that an integral perfect square is an integer n such that sqrt(n) is also an integer. If the parameter is itself not… Continue reading C# Find the next perfect square!

PowerShell script to configure SQL Server Reporting Services in SharePoint mode

Originally posted on Vignesh's SharePoint Thoughts:
The below mentioned script will take care of the steps listed below : Installs Reporting Services service and service proxy, and starts the service.2 Creates a service proxy named “Reporting Services”. Creates a Reporting Services service application named “Reporting Services Application”. Enables the Power View feature for a…

SharePoint Health Analyzer + Windows Eventviewer daily mailer from localhost and remotely logs via e-mail

Hello and Happy New Year After holidays break I decided to share script that I wrote the other day. The script can handle daily routine job of some of SharePoint and Windows Administrators and do all the automation. Recieved all error and warnings about entire SharePoint and Widows Servers Environments via e-mail day by day… Continue reading SharePoint Health Analyzer + Windows Eventviewer daily mailer from localhost and remotely logs via e-mail

Solving ULS Log Files Being Created But Empty (0 Kb)

Interestingly enough; this happened to several customers at just about the same time the other week on new servers that we added into the farm.  In servers in the farm, we had set a Diagnostic Logs location to a customized location (e.g. D:\Logs); and we even gave the WSS_WPG and WSS_Admin_WPG accounts full control permissions… Continue reading Solving ULS Log Files Being Created But Empty (0 Kb)

Enabling NTLM Authentication (Single Sign-On) in Firefox

How many of you have noticed that when you are using Internet Explorer and you browse to your companies intranet page that it will automatically authenticate you but when you use Firefox you will be prompted with a login box? I recently, in searching for solutions to allow NTLM authentication with Apache, stumbled across how… Continue reading Enabling NTLM Authentication (Single Sign-On) in Firefox

Entity Framework cannot update database – SaveChanges() related to SetClrFeatureSwitchMap error

I had the issue with saving data to DB using Entity Framework and SaveChanges() method, and fixed it by adding the following lines to the web.config of my application: <runtime> <assemblyBinding xmlns=”urn:schemas-microsoft-com:asm.v1″> <dependentAssembly> <assemblyIdentity name=”Microsoft.SqlServer.Types” publicKeyToken=”89845dcd8080cc91″ /> <bindingRedirect oldVersion=”1.0.0.0-11.0.0.0″ newVersion=”10.0.0.0″ /> </dependentAssembly> </assemblyBinding> </runtime> This forces the EntityFramework to use the version 10 of the… Continue reading Entity Framework cannot update database – SaveChanges() related to SetClrFeatureSwitchMap error