Saturday 20 July 2013

Load operation failed for query 'GetAuthenticationInfo'. Could not load file or assembly 'Location' or one of its dependencies. The system cannot find the file specified.

I find this error when I am trying to upgrade my application from lightswitch2011 to Lightswitch2012. After a long search I found the solution that some of the reference files are missing from the specified location. While we are including some extension then some files are not copping to the location. Then this kind of errors occur.
 
When some of the files are missing in he specified folder. Then same kind of error occurs. Copy some dll files and paste them to the desired location as shown in the following figure.

Check the specified location which is shown in the above figure. Some of the dll file which are related to DevExpress reporting. 


Copy the other reference files and paste them to the specified location.


Now try to run your application.


It will works fine.

If this problem Still occurs then restart your visual studio and application as well.

I hope this will work for you.

Saturday 6 July 2013

Visual Studio LightSwtich Extension Installer

Error: The installation was unable to install the extension to all the selected products. For more information, Click on the install log link at the bottom of the dialog.


Steps to Resolve the above error

Step1: This error occurs when Microsoft Visual Studio 2010 SDK SP1 setup is not installed on your system.

Install Microsoft Visual Studio 2010 SDK SP1



Step2 :  Now try to install Visual Studio LightSwitch Extension. This time it will be installed successfully on your system.