Sie sind auf Seite 1von 25

Approach Guide for Migration

S.No Tools Used For Migration


1 Visual Studio.Net 2008 Professional
2 Visual Basic 6.0
3 Visual Stuido .Net 2010
Break down of Steps for Migration
S.No Step
1 Running the upgrade wizard
2 Compiling the upgraded project
3 Resolution of unique build errors
4 Executing the application
5 Resolution of execution errors
Developer Comments
Micosoft is shipped VB.Net upgrade wizard till 2008.
This wizard is not part of VS.Net 2010or later versions.
So essentially Visual Stuid .Net 200X should help
Note:Read in one of the articles in internet that for upgrade
wizard to work, VB should be installed prior to Visual Stuido .Net
200X version.
Input
1. ASP files
OR
2. VBP File
Upgraded project
"Upgrade to .Net Errors" worksheet - Refer to respective project
build errors
Compiled Web application/Winform application
"Upgrade to .Net Errors" worksheet - Refer to respective project
execution errors
Output
1. Not tried because the solution was already created with .asp files
2. Depending on the vb project type (dll/exe), respective .Net project
(classlibrary/winform) is created
3. Upgrade report is also generated, which gives the details of the upgrade
for each class file in the VBP
1. If there are build errors, the details of unique build errors are updated in
"Upgrade to .Net Errors" worksheet.
2. If the project compiled successfully, proceeded to STEP 4
1. The cause (if possible) and the resolution details of the build error is
updated in "Upgrade to .Net Errors" worksheet
2. This is recursive until all the build errors are resolved.
1. Start with the default asp page/form
2. Proceed to see the execution of each page
3. If there are any errors, the details of errors is updated in "Upgrade to
.Net Errors" worksheet
1. The cause (if possible) and the resolution details of the error is updated in
"Upgrade to .Net Errors" worksheet
2. This is recursive until all the errors are resolved.
# Project Name # ASP files? # VB (COM)
files?
# 3rd Party
Controls?
# ASP Upgraded to
ASPX?
1 Global Telecommunications Voice Telecom 0
2 Coated Paperboard Sample Request 2
Count of Files to Upgrade (Estimated) Count of Files Upgraded w/ no ERRORS (Actual)
# VB Files Upraded to
VB.NET?
#3rd Party-
Redesigned?
Total Effort
Consumed (hrs.)
Overall Status?
0 Open
2
Count of Files Upgraded w/ no ERRORS (Actual)
Comments
# Project Name Error Observed Error found
in File
No of LOC
affected w/
same error
1 General
HTTP Error 500.0 - Internal Server Error
Calling LoadLibraryEx on ISAPI filter
"c:\Windows\Microsoft.NET\Framewor
k\v4.0.30319\\aspnet_filter.dll" failed
Event Log:
Log Name: Application
Source: Microsoft-Windows-IIS-
W3SVC-WP
Date: 9/21/2012 3:03:51 PM
Event ID: 2274
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer:
RAMACHSU1.asiapacific.hpqcorp.net
Description:
ISAPI Filter
'c:\Windows\Microsoft.NET\Framework
\v4.0.30319\\aspnet_filter.dll' could
not be loaded due to a configuration
problem. The current configuration only
supports loading images built for a
AMD64 processor architecture. The
data field contains the error number. To
learn more about this issue, including
how to troubleshooting this kind of All applications running on IIS
Column No of files
affected w/
same error
Cause Solution (Suggestion) Complexity Effort Status
All applications running on IIS Installing .Net Framwork 1.1 over 4.0 caused this issue
Couple of solutions suggested in net 1)
Registering ASPNET with IIS
2) Reinstalling framework 4.0
Solution that worked for me
Uninstalling and reinstalling framework
4.0 from the following location
http://www.microsoft.com/en-
us/download/confirmation.aspx?id=1785
1
Note: Installer would give us a repair
option. This does not resolve the
problem. Unistall completely and
reinstall 4 Closed
Assigned Date
Assigned
Suganthi 9/21/2012
# Project Name Error Description
1 Global Telecommunications
Voice Telecom
Active Server Pages error 'ASP 0131'
Disallowed Parent Path
/vtelecom/search/locations.asp, line 4
The Include file '../verifysession.asp' cannot contain '..' to indicate
the parent directory.
2 Coated Paperboard Sample
Request
Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/bbbsr/bbbsrupdatepassword.asp, line 8
800401f3
3 International Paper
Solutions\Consumer Packaging
Datastore\Vesta
Upgrading the project to vb.Net using conversion wizard, resulted
in a blank solution
Upgrade Report Atached.
Output project file Vesta.Proj as mentioned in the report is not
created
Vesta_vbp Upgrade Report.mht
Error found in File No of LOC affected
w/ same error
No of files affected w/
same error
/vtelecom/search/locati
ons.asp
1 10
/bbbsr/bbbsrupdatepass
word.asp
Cause
This error occurs when you use relative paths in
include statements with Microsoft Active Server Pages
(ASP)
set objChangePassword =
server.CreateObject("Vesta.clsSecurity")
Error occur because of the above object instantiation
to Vesta.clsSecurity
Solution (Suggestion) Complexity Effort Status
Reference:http://support.microsoft.com/kb/226474
The best solution to the problem is to use absolute virtual paths from the root of the
Web site instead of relative paths.
For example, if you use an include file named "mycode.inc" at the root of your
server, the virtual path would be "/mycode.inc." If you use the same include file in a
virtual directory named "/includes" on your server, the virtual path would be
"/includes/mycode.inc."
Internet Information Services 7.0
1.Start Internet Services Manager.
2.Click Default Web Site, and then click Properties.
3.Double-click ASP in the Features pane.
4.Expand Behavior.
5.Click Enable Parent Paths.
6.Click True for Enable Parent Paths.
7.Click Apply.
Low 0.25 Resolved
3 Open
Assigned Date Assigned
SuganthiR 9/14/2012
Suganthi 9/21/2012
S.No. Project Name COM
1 Coated Paperboard Sample Request BBBSRForms
2 Coated Paperboard Sample Request BBBSR.vbp
3 Coated Paperboard Sample Request clsSecurity.cls
4 Coated Paperboard Sample Request clsSecurity.cls
Description Reason for Code Change
This is just a sample form created for testing the
class libarary
This is the class library project.
This is referred to in ASP page as Vesta.clsSecurity.
Could notlocate the VB project Vesta.vbp
Hence created a .vbp project and added the class
file clsSecurity
Has reference to Vesta.clsDBConnection
Could not locate this class file.
Replaced the call with Vesta.clsVestaConnection
Ln 103
Solution Proposed Effort (in hrs) Complexity
Can be ignored during the uprade 0.5 Simple
Use the VB.Net Upgrade wizard and upgrade
to .Net
0.25 Simple
S.No. Project Name third party control
Description Solution Proposed Effort (in hrs)
Complexity

Das könnte Ihnen auch gefallen