?
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
Medium Priority
?
392 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
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 

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 2000 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

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.

Question has a verified solution.

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

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
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…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

764 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