Skip to main content

Posts

Showing posts from 2015

How to create and consume web service

Create web service & Consume it with Create As a Website Option This is a tutorial for how to create and consume web service if you are creating ASP.net application with the option of create as a website 
Consume it with Create As a Project Option (Highly Important Check this one also) This is a tutorial for how to create and consume web service if you are creating ASP.net application with the option of create as a website 

Create project as a NEW > Website using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class _Default : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
// it's just a multi view nothing else
        surveyorProfile.SetActiveView(loginInformation);
    }
  protected void Button1_Click(object sender, EventArgs e)
    {
        surveyorProfile.SetActiveView(displayInformation);
   // load profile
        loadProfile(uID.T…

Increase DNN Site Speed

Dear All, 
This is how you can make the dnn faster 
Upgrade the site 6.01.05 >> 6.02.06 >> 7.00.05 (latest version)
Change the following settings in host >> host settings:

Basic settings - turn off copyright credits
Performance settings - cache setting heavy
Authenticated cacheability - Public
Client resource management - Enable Composite Files
Client resource management - Minify CSS
Client resource management - Minify JS
Scheduler mode - Timer Method
Enable Event Log Buffer - on
Auto sync file system - off
In Admin >> Site Settings turn off Enable Skin Widgets if not used
Regards

Crm 2015 import in different domain (You must map your Active Directory user account to at least one enabled Microsoft Dynamics CRM User who has the System Administrator security role before the organization can be imported.)

Dear All,
if you are facing the below issue by importing the CRM in different domain then solution is below:

You must map your Active Directory user account to at least one enabled Microsoft Dynamics CRM User who has the System Administrator security role before the organization can be imported.

Go to you sql Open CRM database Open table SystemUserBase Change the GUID and Domain name with your AD user (for getting GUID check the default organization table) Rest of the user make it IsActiveDirectoryUser Column "False" After that the error will resolve 
Regards  Rashid Imran Bilgrami

Downgrade SQL from Enterprise to Standard “Database cannot be started in this edition of SQL server” : Restore failed for Server Error in CRM 2011

Dear All

If you want to downgrade your database from the enterprise to standard here is the following solution



Reference URL:

https://ashwaniashwin.wordpress.com/2013/02/28/database-cannot-be-started-in-this-edition-of-sql-server-restore-failed-for-server-error-in-crm-2011/



Hello Everyone,

Today while trying to restore the Org_MSCRM Database from production server to one of my testing server, I came across a new Error:“Database ‘Org_MSCRM’ cannot be started in this edition of SQL Server because it contains a partition function ‘AuditPFN’. Only Enterprise edition of SQL Server supports partitioning. Database ‘Org_MSCRM’ cannot be started because some of the database functionality is not available in the current edition of SQL Server. (Microsoft SQL Server, Error:
905)”

The error was very clear indeed as my production server was SQL Server Enterprise Edition and testing server was SQL Server Standard Edition.
Basically while installing CRM 2011 in Enterprise edition, a partition is crea…

Individual css for every li node

Dear All
If you are looking for define individual node for every css here is a code 

for first node


li:first-child {

background: #ff0000;

}

for last node


li:last-child {

background: #ff0000;

}






for nay number of node (change the 2 with the number of node you want to apply the style)


li:nth-child(2) {

background: #ff0000;

}






Regards


Rashid Imran Bilgrami

How to convert and crack windows server 2012 from Evaluation to Full

Dear All

This is a way how you Convert Evalution to Full

Step1:

Open CMD and run following command
DISM /online /Get-CurrentEdition


<edition ID> is like ServerStandard with out Eval

Step 2:
DISM /online /Set-Edition:<edition ID> /ProductKey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX /AcceptEula



WINDOWS SERVER 2012
Serial Key

Windows Server 2012
DataCenter: 48HP8-DN98B-MYWDG-T2DCC-8W83P
Datacenter: Y4TGP-NPTV9-HTC2H-7MGQ3-DV4TW

Standard: XC9B7-NBPP2-83J2H-RHMBY-92BT4
Standard R2: DBGBW-NPF86-BJVTX-K3WKJ-MTB6V

Server Essentials:K2XGM-NMBT3-2R6Q8-WF2FK-P36R2


For Standard R2 here is a command
For R2 its like that
DISM /online /Set-Edition:ServerStandard /ProductKey:DBGBW-NPF86-BJVTX-K3WKJ-MTB6V /AcceptEula

Regards

Enable Multiple Remote Desktop Session in windows 2012

Dear All, Here is the way you can enable Multiple Remote Desktop Sesison

Enable Multiple RDP Sessions

Log into the server using Remote Desktop.Open the start screen (press the Windows key) and type gpedit.msc and open itGo to Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Connections.Set Restrict Remote Desktop Services user to a single Remote Desktop Services session to Disabled.Double click Limit number of connections and set the RD Maximum Connections allowed to 999999.

Adminlte Tabs reset on DNN post back

Dear All,
I worked with Admin Lte tabs and i found when the form has submitted than the respective fist tab will be selected always.

As a result the user focus will be out.

here is a solution for it

Add the following code in ascx control file

<script type="text/javascript">
    $(function () {
        var tabName = $("[id*=TabName]").val() != "" ? $("[id*=TabName]").val() : "tab_1";
        $('#Tabs a[href="#' + tabName + '"]').tab('show');
        $("#Tabs a").click(function () {
            $("[id*=TabName]").val($(this).attr("href").replace("#", ""));
        });
    });
</script>
<asp:HiddenField ID="TabName" runat="server" />

Following code will be added on the code behind
TabName.Value = Request.Form[TabName.UniqueID];

I hope it resolve your issue as well

Regards
Rashid Imran Bilgrami