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
388 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

740 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