KJB Posted August 13, 2010 Share Posted August 13, 2010 At home, I compiled a DLL using VB.Net. When I NETLOAD the DLL at work and try to run a command, I get the following message: FATAL ERROR: Unsupported version of Windows Presentation Foundation. Unfamiliar with WPF, I thought maybe if I installed the .Net 4.0 framework onto both computers and recompile with a new project this would resolve my problem. It didn’t. Then I thought maybe if I install Microsofts Express compiler at work this would be the solution. Well, my beloved IT department prevented the installation. Grrrrrr. Any suggestion? Quote Link to comment Share on other sites More sharing options...
dbroada Posted August 14, 2010 Share Posted August 14, 2010 I'm no expert but I think I had to compile the DLL in net 3.5 to get it to work. One of my early VB.NET threads here shows my final solution if you can find it. I won't be at work until some time next week to check and I will have forgotten about this thread by then. Quote Link to comment Share on other sites More sharing options...
stmoong Posted August 16, 2010 Share Posted August 16, 2010 The error is due to the .Net framework on your home PC is different from the one at work. Also, you need to compile with the correct ObjectArx library specific for the different versions of AutoCad. More here -> http://usa.autodesk.com/adsk/servlet/item?siteID=123112&id=773128 Quote Link to comment Share on other sites More sharing options...
KJB Posted August 19, 2010 Author Share Posted August 19, 2010 I don't know what the problem is!!! At home, I'm using AutoCAD 2010 just like work but that doesn't matter because I convinced my IT department to install VB express 2008. I removed all the references (dll's) and reselected the references at work, recompiled AND I STILL GET THE SAME FATAL ERROR. I miss VBA. Quote Link to comment Share on other sites More sharing options...
KJB Posted August 19, 2010 Author Share Posted August 19, 2010 Also, both machines are on the .Net 3.5 Quote Link to comment Share on other sites More sharing options...
KJB Posted August 19, 2010 Author Share Posted August 19, 2010 My original DLL works fine. The error was performing NETLOAD from a server. When I copied the DLL to my hard drive it works great. I'm confused but happy. Quote Link to comment Share on other sites More sharing options...
GTVic Posted August 19, 2010 Share Posted August 19, 2010 See the following threads regarding loading a .NET assembly from a network... http://social.msdn.microsoft.com/Forums/en-US/netfxbcl/thread/3e4b804c-994a-4088-9d25-f4c996bb1d02 http://msdn.microsoft.com/en-us/library/w0fa60b5.aspx http://bytes.com/topic/c-sharp/answers/624341-net-security Quote Link to comment Share on other sites More sharing options...
stmoong Posted August 20, 2010 Share Posted August 20, 2010 Hi, KJB. This has got something to do with the .NET framework. You can read more about this error here -> http://through-the-interface.typepad.com/through_the_interface/2009/11/updated-version-of-screenshot-now-available.html Quote Link to comment Share on other sites More sharing options...
KJB Posted August 23, 2010 Author Share Posted August 23, 2010 Hey everyone, Thanks for the help! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.