Faced many errors after migration from VS2003 to VS2005

 Dear Forum Members,

I have a ASP.NET 1.1 project and it is successfully run. Now i am going to migrate it into 2.0. I used the Migration wizard that is already in VS2005. After migration when i build it, it will return many errors. In the below i listed some of them..

1. Error    1    Validation (): Element 'html' occurs too few times.   
2. Error    2    Cannot switch views: This end tag has no matching start tag.   
3. Error    3    Validation (Internet Explorer 6): Element 'body' must be included within a parent element.   
4. Error    27    'ASP.include_footer_aspx' does not contain a definition for 'URCHINCODE'   

is anybody in this forum faced this error ever?

 

regards,

Ashraf

aahmed_cs@hotmail.com 

0
dynamicsolvers
8/3/2007 9:22:06 AM
asp.net.getting-started 91979 articles. 4 followers. Follow

3 Replies
743 Views

Similar Articles

[PageSpeed] 53
Get it on Google Play
Get it on Apple App Store

It is better to show us some HTML from the page you are getting errors on!

Regards


Bilal Hadiar, MCP, MCTS, MCPD, MCT
Microsoft MVP - Telerik MVP
0
haidar_bilal
8/3/2007 1:30:05 PM

Dear Haider, thank you for your reply.

footer.aspx

<%

// Objects propagate here from parent page

string aP = System.Web.HttpContext.Current.Request.ApplicationPath;           

if (aP != "/")
    aP += "/";
%>
<!-- footer.aspx -->

<div id="footer">
    <a href="<%=aP%>oCeneje.aspx" title="<%=rmGlobal.GetString("section_about_us")%>"><b>®</b> <%=rmGlobal.GetString("section_about_us")%></a> -
    <a href="javascript:void(0)" onclick="windowOpener('<%=aP%>mailCeneje.aspx?type=ko', 'mc', 'width=300,height=350,scrollbars=yes,resizable=yes')" title="<%=rmGlobal.GetString("section_contact")%>"><b>@</b> <%=rmGlobal.GetString("section_contact")%></a> -
    <a href="<%=aP%>FAQ.aspx" title="<%=rmGlobal.GetString("section_faq")%>"><b>?</b> <%=rmGlobal.GetString("section_faq")%></a> -
    <a href="javascript:void(0)" onclick="windowOpener('<%=aP%>mailCeneje.aspx?type=mn', 'mc', 'width=300,height=350,scrollbars=yes,resizable=yes')" title="<%=rmGlobal.GetString("section_your_opinion")%>"><b>#</b> <%=rmGlobal.GetString("section_your_opinion")%></a> -
    <a href="<%=aP%>splosni_pogoji_ceneje.pdf" title="Splošni pogoji"><b>!</b> Splošni pogoji</a> -
    <a href="<%=aP%>oglasevanje.aspx" title="Oglaševanje"><b>&euro;</b> Oglaševanje</a> -
    <a href="<%=aP%>rss.aspx" title="RSS"><b>RSS</b></a>
    <br>
    <%=Functions.Config.DESCRIPTION%>
</div>
<div style="font-size: 11px; color:gray">
Preskok d.o.o., Brdinje 65, 2390 Ravne na Koroškem, M.Š.: 1868535, D.Š.: SI21227209
</div>
<a target="_blank" href="http://www.nagradne-igre.net/" class="noborder"><img src="<%=aP%>img/nagradne_igre.gif" border="0"></a>
<br>
<!--#include file="footer_stats.aspx"-->

<!-- end footer.aspx -->

 

footer_stats.aspx

<!-- GOOGLE ANALYTICS -->
<%=this.URCHINCODE%>
<!

 

these too files i have called from my Default.aspx and this files are for the footer notation in the page. So if you have any suggestion, plz inform me.. 

 

0
dynamicsolvers
8/3/2007 2:40:34 PM

I recommend you get an ASP.NET book and read a bit on how to work with ASP.NET. This is not a proper way of writing ASP.NET code. This is more like ASP 3.0 code!!

 

Thanks


Bilal Hadiar, MCP, MCTS, MCPD, MCT
Microsoft MVP - Telerik MVP
0
haidar_bilal
8/3/2007 6:24:42 PM
Reply:

Similar Artilces:

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

Error on migrating webapplication from VS2003 to VS2005
I created web application with C# with VS2003 successfully. Now I pulled the solution to VS2005.  But a build error appears as " It is an error to use a section registred as allowDefinition = " Machine to application" beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS". The error occrurs with in the authentication tag in web.config. I have confiremed that the virtual directory is configurated as an application through virtual directory properties.  Can some one help on this issue?  Can you make sure you...

trying to get started and i am getting this error
when i go to http://www.porkchopsplayground.com, i get: DotNetNuke Upgrade Error The Assembly Version ( [ASSEMBLYVERSION] ) does not match the Database Version ( [DATABASEVERSION] ) ERROR: Could not connect to database. Could not find file 'd:\hosting\nmoran26\Providers\DataProviders\AccessDataProvider\DotNetNuke.mdb'. Any suggestions will be appreciated. Thanks, Nicole Do you have a username and password set on your database? Make sure you follow the steps mentionned in the Readme.txt located in the documentation folder. In any case make sure your credentials for yo...

Getting Started
If I were to get started doing quite a bit of custom DNN module work (including converting some existing ASP software applications to .NET and DNN) does everyone recommend:1. VS2003 and DNN3.12. VS2005 and I guess want for .NET 2.0 version of DNN3. some other IDE solution open source or otherwiseThanks,Kevin  ksuvalk wrote: If I were to get started doing quite a bit of custom DNN module work (including converting some existing ASP software applications to .NET and DNN) does everyone recommend:1. VS2003 and DNN3.12. VS2005 and I guess want for .NET 2.0 version of DNN3. some other IDE ...

Just migrated to VS2005 now can't get VS2003 debugger to work
Hi, I just migrated my project from VS2003 to VS2005. Before I started I backed up my VS2003 solution. I now need to go back to VS2003 for a while (my boss has something urgent he wants doing so don't have time to get it working and do proper testing because of the new CLR 2.0). The problem is that I've restored my VS2003 solution and can't get the VS2003 debugger to start. It says: "Error while trying to run project: Unable to start debugging on the web server". I've looked at the help file but I need to narrow it down a bit (I can't check all that stuff!): Am I looking at a...

Used migration assistant for migration but many errors
I used the migration assistant to port my code but am getting many errors and the new code will not run. Error after error, fix one and another appears. Is ther any better way to convert code? Hi, what code did you convert and with what tool? How much would be the work to code it from scratch? Grz, Kris.Read my blog. Handy Firefox plugins for web developers.Workaround for non working Mark as answer buttons. I used the "ASP to ASP.NET Migration Assistant" tool, and i immediately got errors in the config.web, for <authenication=windows>, so I tried authenication=&qu...

Getting error in Net::SFTP with get function
------=_Part_7028_3315294.1193837808284 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi All, I have the following code as part of my program; print "---=========> $file, $localFile\n"; $sftp -> get( $file, $localFile ) || warn("errrrr0rrrrr _---> $!".$sftp->status."\n");^M Even though it has downloaded the file properly, it is giving the following message: ---=========> /trading/tiscrdenhlist10310000.txt.old, /export/home/crdadm/rajeev/tiscrdenhlist103...

getting started in VS2005 C# which book should I get
Hello, I am getting started with VS2005, I have use VS2003 but not very much -(I did 4 small applications in it),  I am wondering which book you would recommend to learn the new features of VS2005, while learning more of C# programing in general There some links to good books in this thread i posted : http://forums.asp.net/thread/1489422.aspx Also these two make good reference material  Professional Visual Studio 2005 (Programmer to Programmer)   Microsoft Visual Studio 2005 Unleashed  So far I recommend Wrox's C# 2005  Read the beginning chap...

How many parameters are too many? Getting error: cannot obtain value
I'm still working on making a Business Logic Layer (BLL) to process updates sent to my database, and I've encountered an error where my datatable row object displays "error: cannot obtain value" instead of the values that are being passed to it. Stepping through the code verifies that the values are being sent to the function ("UpdatePeople"), but it doesn't appear that it's able to take them. After doing some research on this error, it seems that others that have run into it have found that passing "too many parameters" to a function causes it t...

Getting "Problem in Mapping Fragment starting at line ..." error when trying to create table mappings for table associations in ADO.NET Entity Framework
 Table A: COUNTRY_LOOKUP COUNTRY_ID   smallintclustered, unique, primary key located on PRIMARY    COUNTRY_ID TABLE B: COUNTRY_MODE_RULES CARRIER_ID    intMODE_RULE_TYPE_ID    intORIG_COUNTRY_ID    smallintDEST_COUNTRY_ID    smallint clustered, unique, primary key located on PRIMARY    CARRIER_ID, MODE_RULE_TYPE_ID, ORIG_COUNTRY_ID, DEST_COUNTRY_IDThere is a foreign key relationship from COUNTRY_MODE_RULES to COUNTRY_LOOKUPORIG_COUNTRY_IDREFERENCES .COUNTRY_LOOKUP (COUNTRY_ID)DEST_CO...

Migrating VS2003 to VS2005.
Hello, I have recently migrated VS2003 web application(ASP.NET 1.0) to VS2005 (ASP.NET2.0). But after migration I am getting an error saying a particular DLL is not defined. How do I register this DLL in the server so that I can overcome this problem. Note: I have migrated the application which is in different machine(i.e., Shared drive).   Thanks, Renil. You don't have to register the dll on the server.  Just put it in your App_Code folder  and then add a reference to it in Solution Explorer.http://msdn2.microsoft.com/en-us/library/1886a4bb-c9d8-4ba6-8078-04b...

Errors getting started
I'm new to ASP.NET and am trying to get a very simple hello world page working. On my 2003 server, when I hit the hello.aspx page, I get a DNS error. Looking in the httperr log, I see: 2004-08-16 21:22:12 <ip> 1462 <ip> 80 HTTP/1.1 GET /IDE/hello.aspx - 1 Connection_Abandoned_By_AppPool There's nothing in the web access log (Logfiles/W3SVC1) And in the event viewer I see: A process serving application pool 'TestPool' terminated unexpectedly. The process id was '1224'. The process exit code was '0xc06d007e'. And/Or: A process serving application pool 'TestP...

Migrate from VS2003 to VS2005
Hello, please help me with my problem. Projects were successfully migrated from 2003 to 2005. I have VS2005 Team Edition, installed: VS80-KB898904-X86-ENU.exe, VS80-KB915364-X86-ENU.exe, WebApplicationProjectSetup.msi. I tried to open solution. At first I couldn’t open solution at all I have done the next changes: “You will need to change the MSBuild targets in the project file. Open this file with a text editor and replace the VSTO target with this one <Import Project="$(MSBuildExtensionsPath)\Microsoft.VisualStudio.OfficeTools.targets" />”. Now I can open solution but...

Converting classic to .NET 2 code, and .NET gets an error back from ADS?
 For future-proofing, our Internal Phone Directory is being moved onto our AD servers, and obviously we're using LDAP for queries.To get the phoneboook queries working, I adapted the current classic ASP code to use LDAP, and that works fine. However, we're wanting to move these pages to .NET, and that's where the problem comes in. Using the same basic logic from the Classic code (90% of its unchanged) to produce an LDAP query, I get the error  155 Unknown error (0x80005000)This is using the same website, and so the same credentials  - unless aspx pages run und...

Web resources about - Faced many errors after migration from VS2003 to VS2005 - asp.net.getting-started

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

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

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: building an SEO checklist for moving your site
... in other countries also which makes it vital that it’s as easy as possible to present users with the correct version. Combining 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. ...

It’s Official: Migration Into Europe Hits WWII Levels
It’s Official: Migration Into Europe Hits WWII Levels

Ancient DNA Traces Irish Roots To Mass Migrations
Geneticists and archaeologists have teamed up to trace the heritage of the Irish all the way to the Middle East and Eastern Europe.

Questions and answers about Europe's migration crisis as 2015 arrivals top 1 million
One million — and counting. BRUSSELS – One million — and counting. The International Organization for Migration says its statistics show the ...

Resources last updated: 1/9/2016 8:28:50 PM