User1146927980 posted
I have an older website created around 2003 on my Windows 8 X64 bit machine.
I am using Visual Studio 2012 Professional to open it on my development machine.
The website runs fine in production (Windows Server 2008) but when i download the code to run on my machine and run the website from Visual Studio 2012 i get the following error:
Retrieving the COM class factory for component with CLSID {5C2EA2BC-4F5D-11D4-A1CF-C1BD8A54860E} failed due to the following error: 80040154.
The error happens on line : Public MapExtents As New Asp.Map.Rectangle
Imports AspMap
Imports ADODB
Partial Class MapImage
Inherits System.Web.UI.Page
Public Width As Integer = 400
Public Height As Integer = 300
Public Shape As String = ""
Public MapExtents As New AspMap.Rectangle
Public ShowBattalions As Boolean = True
Public UseFilters As Boolean = False
Public KeepFiltersOnRestore As Boolean = False
The web site is on .NET Framework 2.0
Any ideas?