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.

1 comment:

Unknown said...

This is the working method, which requires a little more time than just reinstall the software. As a result might not help you. I even tried to download a separate dll file http://fix4dll.com/msvcr71_dll . This helped, but spent more time on the search for this link. Solve the problem as you are comfortable.