Migration issues from VS.Net 2003 to VS.Net 2005

I have a ASP.Net 1.x web application developed using VS 2003. The language used for this application is VB.Net. When I tried to migrate to VS 2005 I am getting the list of errors and warnings as shown below. I have been trying the migration in a new machine which does not have VS 2003. 

List of Error: 

1. Expression of type 'String' can never be of type 'System.DBNull'.

 

List of Warnings:

1. The referenced component 'CDONTS' could not be found.  

2. Cannot load type library for reference "CDONTS". Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED))

3. Property without an 'As' clause; type of Object assumed.

4. Variable declaration without an 'As' clause; type of Object assumed.

5. 'Public Shared ReadOnly Property AppSettings() As System.Collections.Specialized.NameValueCollection' is obsolete: 'This method is obsolete, it has been replaced by System.Configuration!System.Configuration.ConfigurationManager.AppSettings'

 6. 'Public Function Add(parameterName As String, value As Object) As System.Data.SqlClient.SqlParameter' is obsolete: 'Add(String parameterName, Object value) has been deprecated.  Use AddWithValue(String parameterName, Object value).  http://go.microsoft.com/fwlink/?linkid=14202'

7. Function without an 'As' clause; return type of Object assumed. 

I believe for the warnings 1 & 2 if I register the cdonts.dll and add  the reference to it will solve the issue. So kindly help me to fix the errors and warnings listed above.

Thanks in advance.

Regards,

Ravi 

 

 

 

0
u_ravi
3/15/2007 11:41:24 PM
asp.net.migrating-from-1.x-2.0 1016 articles. 0 followers. Follow

1 Replies
1426 Views

Similar Articles

[PageSpeed] 53

these errors are certain, this might be useful

http://msdn2.microsoft.com/en-us/library/ms247241(VS.80).aspx


Jagjot Singh
MCP, CCNA
0
jagjot
3/16/2007 9:03:07 AM
Reply:

Similar Artilces:

Migration VS.Net 2003 to VS.Net 2005
I want to migrate to framework 2.0.Questions :1) Can i use Vs.Net 2005 and framework 2.0 with Sql Server 2000 ? or must i migrate too 2005 2) I read in some forums there is some problem to migrate vs.net 2003 solutions/project to 2005, It's right ?3) Is it necessery to modify a lot of c# code (deprecate, ...) ?4) Can i work both Vs.Net2003 framework 1.1 ans Vs.net 2005 framework 2.0 on the same development machine ?Thanks. Patrick Ducret Hi, 1) Yes you can. You can use SQL2000 from .NET 2.0 as you did from .NET 1.x. SQL2005 just has some additional features to offer. 2) It can be if...

Migration issues in UI portion of .Net 1.1 from VS 2003 to VS 2005
Hi there, We are trying to migrate VS2003 app (client and web app) into VS 2005. We were successful compiling the application. But when we try to run the app from Web it gives us the following error: Unable to locate the file containing one of the providers referenced in web.config.  Please check your file and correct the errorCould not load file or assembly 'file:///C:\DDDD\UI\bin\some..dll' or one of its dependencies. The system cannot find the file specified. Everything seems to be going well but I am not sure what I need to do.Thanks JOhn   Hi John - Is the client app ...

VS.NET 2005 vs VS.NET 2003 #2
why there is no datagrid anymore when i drag the tables in design view? it's the gridview,and where is the data adapter. How will i connect the tables now? Here are a couple videos on the new Data model in VS2005.  I think you will find it much easier to use.  I have watch the first one, but the second is by Fritz Onion.  I think there is an Advanced Data Binding Video in the same series done by him as well. ASP.NET HOW DO I Video Series: Data MSDN Webcast: Essential ASP.NET for the Web Developer (Part 5 of 15): Introduction to Data Binding (Level 200) Hope this helpsTh...

Migrating from VS.NET 2003 to VS.NET 2008
 We are getting ready to start migrating all our applications from Visual Studio 2003 to Visual Studio 2008. Is anyone aware of any direct conversion issues? Also. a lot of our 1.1 apps use datatables as the datasource can we still do this in 2008? Yes you can.I have done some migration between 1.1 and 2.0 and there were some small issues but in general most of the things worked fine.For example Microsoft has changed the html validator in Visual Studio.also some events works a little different. If you share session cookie between some 1.1 and 2.0 (or) later apps you have to do so...

VS.NET 2005 vs VS.NET 2003
I have used VS.NET 2003 extensively and exploited all features like drag and drop functions for creating components, drag and drop data access components...For example VS.NET 2003 allows creating sqldataadapter for table mapping , stored proc parameters mappings etc..We can drag pretty much any object on component designer....Not it seems like all that gone...VS.NET 2005, there is no way we can drag the typed dataset, sqldata adapter, sqlcommand on forms designer . There is no concept of component. There is no component designer any more....Biggest flaw i found is sqldatasource and...

Differences between .net 1, .net 1.1, .net 2.0 and .net 3.0 #2
Hi, This seems to be a common question, but i havent got an answer yet:(Can, any one please explain me the differences between these versions.If you keep your feet firmly on the ground, you'll have trouble putting on your pants! There are too many differences for one email - - from 1.0 to 1.1 (not a whole lot of real change, other than fixes, at least compared to 1.1 to 2.0) With 2.0, there were many new declarative controls, with many new ideas added in With 3.0, it's a superset of 2.0 - instead of replacing the installation completely, it just 'added on' new functionality - I would...

VS.Net 2003 Conversion to VS.Net 2005 issues
I've recently installed and started using VS.Net 2005 and have converted a web service solution to .Net 2.0 which works fine. I have an ASP.Net application [still .Net 1.1] that consumed this web service and now I cannot get it to work. Previously this was referencing the binary created for the web service but obviously this binary is no longer created. I have changed this reference to a web reference and now use the WSDL files i've generated from the web service but I get the following error.// Error DetailsException Details: System.Net.WebException: The request failed with the error m...

Upgrade/migration issues from VS2003+.NET 1.1 to VS2005+.NET 2.0
Hi,  Visual Studio is great when everything works well and you don't know what is happening under the hood. However when things don't work it is really frustrating since you just don't know what is going on.  I have a project (a web site) that was originally developed for VS2003 and ASP.NET 1.1. When I loaded this project on VS2005 (and ASP.NET 2.0), VS told me that it will migrate it to the new environment: it did a number of things, generated a migration report and created/moved files under App_code and such directories. I tried this process a number of times b...

Differences between .net 1, .net 1.1, .net 2.0 and .net 3.0
Hi, This seems to be a common question, but i havent got an answer yet:(Can, any one please explain me the differences between these versions.If you keep your feet firmly on the ground, you'll have trouble putting on your pants! Have a look into this links http://en.wikipedia.org/wiki/.NET_Framework http://blogs.msdn.com/mohammadakif/archive/2006/12/03/net-3-0-different-versions-of-the-net-framework.aspx http://www.codeproject.com/aspnet/ComparisonASP1xASP20.aspAshok Rajawww.iGold.inDon't forget to click "Mark as Answer" on the post that helped you. This credits that m...

VS.NET 2003 to VS.Net 2005
Hi   I just converetd my VS.Net 2003 project to VS.NET 2005 using the convert wizard in Visual Studio 2005 Web Application Project. It compiled with no build errors and a few warnings. When Iam trying to view the project, then it gives me 404 error. Can someone help ? Thanks Could you confirm you are using WAP (Web Application Projects) versus the built-in WSP (Web Site model)? If you have a project file after converting, then you are using WAP. Could you post the actual 404 error you got? Also, did you set your start page in the converted project?  -Mike-...

Migration from .NET 1.1 to .NET 2.0
Hi All, Well i hoped that the migrating went smoother then is does so far. I had a few problem which i could fix with blogs from other developers, but i didn't find a good solution for this problem. Somehow i get the following error: "Make sure that the class defined in this code file matches the 'Inherits' attribute, and that it extends the correct base class" Well i worked very good before the migration. Some advise would be very welcome! Regards,Dennis van de Laarhttp://dennisv.net/Don't forget to mark the most helpful reply/replies as Answer. Maybe this post will hel...

VS .NEt 2003/ .Net 1.1 issues
Hi, I have a couple of issues with VS 2003/1.1 development on a machine.  I have no problems working with VS 2005/2.0 on the very same machine.   When creating a Web Application on my localhost IIS install, as soon as the WebForm1.aspx is created I get an ExecutionEngineException in DefaultDomain and the IDE closes.   Thinking that this could be an IDE issue, I attempted to install VS 2003 SP1.  When I try that, I get a Fatal Execution Engine Error 0x7925dc14. I have googled that error and it seems to come up in the context of some other applications a...

Can you have VS .net 2003 AND VS.net 2005 Beta 2 installed on same machine?
Right now I have Visual Studio 2005 Beta 2 installed on my machine, but I also need to put on the Visual Studio 2003 Professional to work with some older projects. Can I installed the Visual Studio 2003 Professional on the same machine with out messing anything up?Thanks Yes you can have them side by side!   Also see http://blogs.msdn.com/robcaron/archive/2005/04/20/410224.aspx link of Robcorn, it also could helps you!Sreedharhttp://www.w3coder.orgweblog http://weblogs.asp.net/skoganti great thanks, I am installing the 2003 version now on my machine that already has the ...

Migrate DataGrid .NEt 1.1 to .NEt 2.0
Hi I has just convert my ASP.NET web application from .NET 1.1 to .NEt 2.0 so far there is no problem but my datagrid seems to be acting really weird my datagrid has 3 columns and have paging enabled. When there is one/two row of data. The paging(which shows us the number of page) seems to have a column span of 1)  If i click on the second row of data.... the paging will have the column span of 3 This does not happen if there is more than 2 data   please go to the link for better clarification http://yingleekit.multiply.com/photos/album/1/work#1 http://ying...

Web resources about - Migration issues from VS.Net 2003 to VS.Net 2005 - asp.net.migrating-from-1.x-2.0

Migration - Wikipedia, the free encyclopedia
Text is available under the Creative Commons Attribution-ShareAlike License ;additional terms may apply. By using this site, you agree to the ...

Bacterium in Otzi the Iceman's stomach provides human migration clues
An insight into the peopling of Europe has emerged from an unlikely source: the stomach contents of a 5300-year-old body pulled from a thawing ...

Sydney Festival review: The Migration's brilliance undermined by flawed sound
Australian jazz made a welcome return to Sydney Festival with the premiere of Stu Hunter's new suite.

The human migration out of Africa left its mark in mutations
(credit: Wikimedia Commons ) When it comes to evolution, people tend to focus on the big driving force of natural selection, which latches on ...

Is Apple really building an iOS to Android migration tool?
Apple is rumored to be working on a tool that will make it easier for iOS users to migrate to Android, following pressure from major European ...

PAUL RYAN WHINES: Cruz and Sessions Lying About Omnibus Funding New Wave of Muslim Migration
... as “a great victory for the principles Democrats stand for.” Ryan specifically condemned what he termed “hyperbole” surrounding immigration ...

Merkel-Enhanced Migration Problem: Million Refugees Hit Europe, 80% Through Greece by Boat; Turkish Mafia ...
... So why isn't anything concrete being done? Why the Problem Is Not Fixed If Turkey, Greece, or Germany really wanted to solve the migration ...

Website migration guide: a Google Analytics & Tag Manager checklist
Hopping on the bandwagon started by Stephen Kenwright’s blog post on website migration for SEO . From that you know that if a site migration ...

Sex assaults inflame Germany’s migration battle
Scores of alleged sexual assaults against German women have added another dimension to the country’ s fraught debate over migration. The FT reports. ...

Apple iOS 9.3 download and the mystery of Android migration
The Apple iOS 9.3 download is now available (a beta, natch). Richi rounds up the interesting features, but also ponders the rumor that Cupertino ...

Resources last updated: 1/14/2016 3:23:05 AM