VS2008 Throws COMException

  • Thread starter Thread starter mavrick_101
  • Start date Start date
M

mavrick_101

Hi,

I'm converting an appliction from .net 1.1 to .net 2.0 using VS2008.
Conversion goes fine, I'm able to compile and execute the application.

But when I close the application in the IDE and retry to open the project ,
VS2008 throws a COM Exception.

As a work around, I create a new application using VS2008, copy over all the
files and then rebuild the solution and it works fine. Now even if I close
the solution and reopen a new instance of VS08 and then reopen this new
solution, it works like a charm and doesn't throw the same exception.

My question is why does VS2008 throws COMException when opening back the
same solution, which was successfully converted from .net 1.1 to .net 2.0
using VS2008.
 
Hi,

I'm converting an appliction from .net 1.1 to .net 2.0 using VS2008.
Conversion goes fine, I'm able to compile and execute the application.

But when I close the application in the IDE and retry to open the project,
VS2008 throws a COM Exception.

As a work around, I create a new application using VS2008, copy over all the
files and then rebuild the solution and it works fine. Now even if I close
the solution and reopen a new instance of VS08 and then reopen this new
solution, it works like a charm and doesn't throw the same exception.

My question is why does VS2008 throws COMException when opening back the
same solution, which was successfully converted from .net 1.1 to .net 2.0
using VS2008.

Maybe this is something related to built-in webserver in VS.NET. When
you close IDE it should stop the server and maybe that's the reason of
this issue. The old project did use .NET 1.1, probably some re-
registration problem because of conversion.
 
Back
Top