Author Archives: Sanghamitra

Resolution for C# Unit test project error : UTA002: TestClass attribute cannot be defined on generic class

if you ever have tried writing a generic class with attribute set to [TestClass] ass below , you might have got Runtime error which begin with “UTA002: TestClass attribute  cannot be defined on generic class”  & follows multiple such codes … Continue reading

Posted in C#, UnitTest | Tagged , , , , , , , | Leave a comment

Manually Deploy SSRS RDL reports to Report Server using SSRS Report Manager Site URL

Recently I had to deploy some of my SSRS reports in a remote VM, where no Visual studio was present, so I followed the manual process steps followed are as below Step 1 : find the report manager URL by … Continue reading

Posted in SQL 2008, SQL Express, SQL Reporting, SQL Server, SSRS, Windows Server 2012 | Tagged , | Leave a comment

Error while accessing Localhost SQL Reporting Services Url – user ‘DomainUserName’ does not have required permissions. Verify that sufficient permissions have been granted and Windows User Account Control (UAC) restrictions have been addressed

In my machine I have 3 SQL server instances installed. 1> SQL Server 2012 2> SQL Server 2012 Express 3> SQL Server 2008 Express   so the corresponding default local host report server names are as below 1>http://localhost/reportserver   for my … Continue reading

Posted in SQL 2012, SQL Express, SQL Reporting, SSRS, Windows 8 | Tagged , , , , | Leave a comment

SQL Server Configuration Manager SQL Server Services access error “remote procedure call failed[0x800706be]”

In My laptop I have multiple versions of SQL server installed like SQL Express 12, SQL 2008 Express and SQL server 2012, so on my widows 8.1 machine when I goto start -> type SQL Server Configuration Manager in the … Continue reading

Posted in SQL 2012, Windows 8 | Tagged , , , | 1 Comment

How to Add event log source in eventViewer with check of if not exists usingPowerShell

I recently used this PowerShell script for my project , in order to create Windows event log source in event viewer. hope it can be useful for other too. $logFileExists = Get-EventLog -list | Where-Object {$_.logdisplayname -eq “My_Logs”} if (! … Continue reading

Posted in Powershell | Tagged , , | Leave a comment

How to get the QueueItem details for an Object – CRM 2011/CRM 2013

If you have noticed, in CRM 2011/2013, it is common that when you click on an QueueItem record in any of the Queue Item views, it always opens the Actual Object i.e. the case record or activity record or Lead … Continue reading

Posted in CRM 2011, CRM 2011 Online, CRM2013, java script, OData | Tagged , , , | Leave a comment

How to make CRM 2011/2013 OData RetrieveMultiple call from Java Script

though I have mentioned that this code will work for both CRM 2011 and CRM 2013, but only in one place we have used getClientUrl() call, which is CRM 2013 specific, for more details on this please see my previous blog … Continue reading

Posted in CRM 2011, CRM 2011 Online, CRM2013, java script, OData | Tagged | Leave a comment

CRM 2013 New and Beautiful getClientUrl() method instead of getServerUrl()

In CRM 2013 Microsoft has introduced this new client context method called “getClientUrl” This is the replacement to the previous method called “getServerUrl” that was present in CRM 2011. This method was faulty because it always returns the server name … Continue reading

Posted in CRM 2011, CRM 2011 Online, CRM 2011 SDK, CRM2013, java script | Tagged , , | Leave a comment

Object doesn’t support property or method while executing new XMLHttpRequest from CRM 2011/2013 html resource

Recently I faced this weird error Object doesn’t support property or method while My CRM 2013 html web resource invoked from a CRM ribbon button was trying to execute the below method required before making the CRM Ajax based call. function GetRequestObject() { if (window.XMLHttpRequest) … Continue reading

Posted in CRM 2011, CRM2013, java script, JQuery, OData | Tagged , , | Leave a comment

How to achieve Single Select option in a html table using check box control and jscript

the below sample will help in constructing a html table with a check box column and the script to achieve single select of the check box button among all the datarows of the table. <!DOCTYPEhtml> <html> <head> <script type=”text/javascript” src=”http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js”&gt; … Continue reading

Posted in HTML, java script, JQuery | Tagged , , | Leave a comment