Translate

Home > January 2014

January 2014

Unable to load one or more of the requested types. (C#)

Thursday, January 16, 2014 Category : 0

System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.

Error was found : when we are developing an application using .net framework 4, on visual 2010, using entity framework, it works perfectly on local or devlopement pc.

but in clinet side it's not working. and give the above error. after trying lot of things we are able to discover soltion
if we change the reference properties behavious which we use in our project. it work

so the solution is

select the follwoing references 


  • System.Data.Entity
  • System.Web.Entity
and change the property of copy local to True. build the solution now, and now you will get those reference dll in your bin. and now problem will solve.

System.ComponentModel.Win32Exception: Access is denied Error [Solved]

Wednesday, January 15, 2014 Category : 0

IIS ExternalException (0x80004005): Cannot execute a program. The command being executed was "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe 

Solution : Go to your application app pool . open advance settings. focus on Identity and then set your administrator privilege account. then restart app pool. and visit it again.


Powered by Blogger.