Saturday, March 24, 2012

VS 2003 to VS 2005 Migration Issues

We have a fairly big size ASP.NET web application that was written VB.NET.
We are in the process converting the web project.
We used the migration wizard included in VS 2005. I followed step by step
guide outlined in here:
http://msdn.microsoft.com/asp.net/r...ojectsvs05.asp.
I was able to convert the project without any problem.
Compiling and building them is another problem. There were 204 errors
(VS2005 stopped compilation when it this number) and 11 Warnings. Most of
the errors came from some temporary files which seems to be created during
the migration process.
Here are just the sample of them:
Error 2 Attribute 'GeneratedCodeAttribute' cannot be applied multiple times.
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\2\a52902f6\c1095f62\App_Code.ckwbouy-.36.vb 19
Error 8 Attribute 'HelpKeywordAttribute' cannot be applied multiple times.
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\2\a52902f6\c1095f62\App_Code.ckwbouy-.36.vb 25
Error 13 'Public ReadOnly Property _Table() As _TableDataTable' has
multiple definitions with identical signatures.
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\2\a52902f6\c1095f62\App_Code.ckwbouy-.36.vb 81
Error 176 'Public Sub SetFrom_DateNull()' has multiple definitions with
identical signatures.
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\2\a52902f6\c1095f62\Sources_App_Co
de\_2.underwriterfundeddeals.xsd.d9a
dfd4c.vb
669 24 http://localhost/2/
I tried MSDN's online concierge and the person I chatted with have no clue.
I would really appreciate any help you can send my way.
Thanks
Bonggoy CruzHi,
1) Did you upgrade the migration wizard with update released in December,
before trying the conversion?
http://www.microsoft.com/downloads/...&displaylang=en
That fixes a big bunch of problems
2) Consider easing the migration by taking use of Web Application project
add-on with VS2005. it is designed to ease the migration from VS2003 model
8since VS2005's default web site model is very different from VS2003's
model). Web Application provides similar model to VS2005 as the model is in
VS2003 today.
http://weblogs.asp.net/scottgu/arch.../05/442032.aspx
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU
http://blogs.aspadvice.com/joteke
"Bonggoy Cruz" <bonggoy_cruz@.hotmail.com> wrote in message
news:u7R%23%23MoWGHA.1900@.TK2MSFTNGP04.phx.gbl...
> We have a fairly big size ASP.NET web application that was written VB.NET.
> We are in the process converting the web project.
> We used the migration wizard included in VS 2005. I followed step by step
> guide outlined in here:
> http://msdn.microsoft.com/asp.net/r...ojectsvs05.asp.
> I was able to convert the project without any problem.
> Compiling and building them is another problem. There were 204 errors
> (VS2005 stopped compilation when it this number) and 11 Warnings. Most of
> the errors came from some temporary files which seems to be created during
> the migration process.
> Here are just the sample of them:
> Error 2 Attribute 'GeneratedCodeAttribute' cannot be applied multiple
> times. C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
> Files\2\a52902f6\c1095f62\App_Code.ckwbouy-.36.vb 19
> Error 8 Attribute 'HelpKeywordAttribute' cannot be applied multiple times.
> C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
> Files\2\a52902f6\c1095f62\App_Code.ckwbouy-.36.vb 25
> Error 13 'Public ReadOnly Property _Table() As _TableDataTable' has
> multiple definitions with identical signatures.
> C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
> Files\2\a52902f6\c1095f62\App_Code.ckwbouy-.36.vb 81
> Error 176 'Public Sub SetFrom_DateNull()' has multiple definitions with
> identical signatures.
> C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
> Files\2\a52902f6\c1095f62\Sources_App_Co
de\_2.underwriterfundeddeals.xsd.d
9adfd4c.vb
> 669 24 http://localhost/2/
> I tried MSDN's online concierge and the person I chatted with have no
> clue.
> I would really appreciate any help you can send my way.
> Thanks
> Bonggoy Cruz
>

0 comments:

Post a Comment