Reputation: 313
While converting the taget framework of an asp.net web application from 2.0 to 3.5 in visual studio 2008, i am getting the error : Exception of type 'System.Runtime.InteropServices.ExternalException' was thrown
Upvotes: 3
Views: 2116
Reputation: 294
This may be too old, but what worked for me was to convert the Web project to the new framework first.
Upvotes: 0
Reputation: 520
I recently upgraded the target framework in the my web project's (Asp.NET web forms) properties from 4.8 to 4.8.1.
I searched the web.config for any "targetFramework" where it was referencing older versions and changed them to "4.8.1". Save. Recompile.
Upvotes: 1
Reputation: 313
I solved the issue, my web application didn't have a web.config.I added a deafult web.config and then converted it.It worked fine.
Upvotes: 4