Afternoon all,
I'm developing a web part in which I would like to reference functionality that exists in one of our other company Visual Studio projects (.net assembly/dll). I'm having trouble doing this and hoping someone can point me in the right direction J I've created a simple VS web part project which works if I deploy it just by itself (not using the library functionality). I then added a reference to my dll, added a 'using' to import the namespace into my code (if I deploy again at this point it still works), but if I add one line of code that uses the external library into CreateChildControls() and deploy, I get a generic 'Error An Unexpected error has occurred' message on a page the webpart exists on. Visual Studio is automatically adding a <SafeControl Assembly=..> to my web.config for my web part assembly but not the external library assembly, do I need to add that? Both assemblies are automatically being added to the GAC. Any help is appreciated! Kind regards, Chris -------------------------------------------------------------------------------- Support procedure: http://www.codify.com/lists/support List address: [email protected] Subscribe: [email protected] Unsubscribe: [email protected] List FAQ: http://www.codify.com/lists/ozmoss Other lists you might want to join: http://www.codify.com/lists
