Friday, July 11, 2014

'Form' is an ambiguous reference between 'System.Windows.Forms.Form' and 'Microsoft.SharePoint.Client.Form'

When I try to use the SharePoint 2013 Client Object model in Windows Application I was getting the following error.

"'Form' is an ambiguous reference between 'System.Windows.Forms.Form' and 'Microsoft.SharePoint.Client.Form'"

Reason is there is a conflict between ‘System.Windows.Forms.Form’ and ‘Microsoft.SharePoint.Client.Form’

Solution:
Just after  changing the code

To

public partial class MainForm : System.Windows.Forms.Form
    {
        public MainForm()
        {
            InitializeComponent();
        }

From 

public partial class MainForm : Form
    {
        public MainForm()
        {
            InitializeComponent();
        }

Problem fixed. 

Monday, June 23, 2014

Windows Phone Emulator is unable to create the virtual machine:

Windows Phone Emulator is unable to create the virtual machine:

Couldn't change Processor of the virtual machine: 'Emulator 8.1 720P 4.7 inch....' failed to modify device 'Processor'. (Virtual machine ID {GUID})

Cannot assign the specified number of processors for virtual machine 'Emulator 8.1 720P 4.7 inch....' is out of range. The range is 1 through 1. (Virtual machine ID GUID)


Solution:

For VMWare, - click on the Edit Virtual Machine Settings and Change the Processor from 1 to more.


Wednesday, May 21, 2014

Restoration of the configuration database by using the built-in backup and restore functionality is not supported in SharePoint products

After having a technical discussion with on the client, I came to notice the key aspect of SharePoint Config DB. Thanks SW :)

I never noticed this specific characteristics of Config DB

We do not support restoration of the configuration database in SharePoint products using the built in backup and restore functionality.

If you restore the configuration database, data in the configuration database will not be synchronized with data in other SharePoint databases. If this data is not synchronized, users may experience various random errors.

For example, a Windows SharePoint Services 3.0 content database may contain data about a newer site. If the configuration database does not contain information about this site, the site is orphaned.

http://support.microsoft.com/kb/948725/en-us

happy learning... 

ASP.NET MVC - Sport Facility Booking system

  The project relies on some external service providers. Thus accessing them via their API requires authentication. An API Key need to be su...