الاثنين، 25 نوفمبر 2013

CRM2011:Could not load file or assembly 'microsoft.crm.sdk' or one of its dependencies.

When you publish your website you face this error to solve:
1- Open Microsoft CRM bin Folder
      C:\Program Files\Microsoft Dynamics CRM\CRMWeb\bin
2- Copy the following dll and paste to your site bin folder
     Microsoft.Crm.Sdk.dll
     Microsoft.Crm.Sdk.Proxy.dll


السبت، 23 نوفمبر 2013

السبت، 16 نوفمبر 2013

Sharepoint:The password supplied with the username Domain\username was not correct. Verify that it was entered correctly and try again

This error occurs if there has been change of password of the account and same has not been updated in SharePoint.

To solve:
1- Log in as Administrator
2- Open Command prompt
3- Write the following
cd C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN
stsadm -o updatefarmcredentials -userlogin Domain\UserName -password newpassword

4- if get the following message "Operation completed successfully" Now reset IIS, then the problem solved and you will be able to create web application.

http://cloudytech.blogspot.com/2013/05/the-password-supplied-with-username.html

الجمعة، 25 أكتوبر 2013

Interview Question and Answers

1- what is the the difference between const and readonly in C#?
   •const fields has to be initialized while declaration only, while readonly fields can be initialized at declaration     or in the constructor.
   •const variables can declared in methods ,while readonly fields cannot be declared in methods.
   •const fields cannot be used with static modifier, while readonly fields can be used with static modifier.
2- What is Boxing in C#?
   converting a value type to the reference type.
3- what is an Assembly?what is its type?