Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ReflectionTypeLoadException: Unable to load one or more ... types 1

Status
Not open for further replies.

murrayja

Programmer
May 6, 2000
90
US
This exception is thrown when loading an 'aspx' module that includes "ajaxToolkit:ToolkitScriptManager ... ". I am developing a web page and the page loads and executes correctly using the VS2010 express debugger and when using 'localhost' through Apache after 'publishing' the page to the file system. When I ftp the page to my godaddy site I get this failure. Help?

regards
jim murray
 
You need to make sure the AjaxControlToolkit's reference has the property "Copy Local" = true. You can do this by expanding the references node in your solution explorer, right-clicking the AjaxControlToolkit reference and selecting "Properties". What this will do is include the .dll with the publish so that the remote server can read from it. It works locally for you because you have the .dll in the GAC and it is finding it there. GoDaddy doesn't keep it in the GAC for you.

This is just a guess. Good luck.

-Mark
 
Thank you.
I have avoided the use of the ajaxtoolkit but I will keep your advice in mind for when I next use it.
What is the "GAC"?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top