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
379 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
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future 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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

758 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now