Solved

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

Posted on 2010-09-10
7
387 Views
Last Modified: 2012-05-10
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
0
Comment
Question by:E43509
  • 4
  • 3
7 Comments
 
LVL 3

Expert Comment

by:packratt_jk
ID: 33650838
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.
0
 

Author Comment

by:E43509
ID: 33650887
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
0
 
LVL 3

Expert Comment

by:packratt_jk
ID: 33650915
Is it compiled to 32, 64, or any cpu?

Try making a new iis application pool and set it to 32 bit.
0
Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

 

Author Comment

by:E43509
ID: 33650937
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.
0
 
LVL 3

Accepted Solution

by:
packratt_jk earned 500 total points
ID: 33650960
Yes, the enable 32-bit applications is what i was referring to.  Did you change the web app to be in that pool?  If you right click on the app pool and select "view applications", is your app there?
0
 

Author Comment

by:E43509
ID: 33651016
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.
0
 

Author Closing Comment

by:E43509
ID: 33651019
Very fast response
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question