L G
L G

Reputation: 313

getting error while converting target framework of an asp.net web application from 2.0 to 3.5

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

Answers (3)

Leibniz
Leibniz

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

T H
T H

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

L G
L G

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

Related Questions