Link to home
Start Free TrialLog in
Avatar of E43509
E43509Flag for United States of America

asked on

How to migrate an asp.net framework 1.1 app from W2003 32 bit server to a w2008r2 64 bit

First off, I'm a novice on asp.net and inherited this task.
What are my options here that will be the least amount of pain? The server I'm migrating onto is a shared server already running other apps so I don't want to cause them issues.  I tried to recompile the app to at least framework 2.0 and there were a lot of errors.  It still compiles ok under the 1.1 framework on the w2003 box.   There was a makeall.bat file that I repointed to the .net 2.0 framework and it spewed out a bunch of warnings but no errors.  Even if these functions are obsolete, are they still available?
When I got to the site I get Server Error in '/WrkTrngStatus/STAGE' Application.
--------------------------------------------------------------------------------
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Could not load type 'WrkTrngStatus.clsGlobal'.
Source Error:
Line 1:  <%@ Application Codebehind="Global.asax.vb" Inherits="WrkTrngStatus.clsGlobal" %>

Thougths?
make.log
makeall.txt
Avatar of packratt_jk
packratt_jk
Flag of United States of America image

Is your primary task to upgrade to .net 2.0, or getting running on the 2008 server?

If you just want to move it to the new server, just leave it at 1.1.
Avatar of E43509

ASKER

Looking for the low hanging fruit ... primarily need to get it running on the 64 bit 2008 server.  Wasn't sure if I could easily upgrade it to .net 2.0 since that is 'installed' on the new server and 1.1 is not.  My googling on how to install 1.1 on that box scared me a little as there are other apps that are sharing it and I don't want to break them.  
As an aside, I ran the make pointing to the .net 2.0 and changed the site on the w2003 box to be be 2.0 asp.net version and the web app worked.  
When I just move it over to the w2008 64 bit box, I get now get a different error.
Server Error in '/' Application.
--------------------------------------------------------------------------------
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Could not load type 'WrkTrngStatus.WrkReadyGrid.WrkReadyGridPage'.
Source Error:
Line 1:  <!--ASPX page @1-5DAFC528-->
Line 2:      <%@ Page language="vb" Codebehind="WrkReadyGrid.aspx.vb" AutoEventWireup="false" Inherits="WrkTrngStatus.WrkReadyGrid.WrkReadyGridPage" %>
Line 3:        
Line 4:        <%@ Import namespace="WrkTrngStatus.WrkReadyGrid" %>
Source File: /WrkTrngStatus/WrkReadyGrid.aspx    Line: 2
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.4952; ASP.NET Version:2.0.50727.4927
Is it compiled to 32, 64, or any cpu?

Try making a new iis application pool and set it to 32 bit.
Avatar of E43509

ASKER

Compiled on w2003 machine (32 bit).  on w2008, creating an application pool did not give me any option of 32 or 64 bit.     Under advance settings, there was a value 'enable 32 bit applications' and I set it to true.  restarted both the pool and the site.  Same error.  it looks like you might be on to something but not sure what I need to click to make it happy.
ASKER CERTIFIED SOLUTION
Avatar of packratt_jk
packratt_jk
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of E43509

ASKER

You gave me enough to noodle it out.  Thx
In the w2003 world, it was set up as a virtual directory and that was all that was set for it on the w2008 box.  I removed the virtual directory and told IIS to make it an application and now it is happy.
Thanks again for your quick response.
Avatar of E43509

ASKER

Very fast response