473,320 Members | 1,896 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Convert from Web Site to ASP.NET Web Application in VS2005

Howdy,

I've created an entire ecommerce site as a Web Site project (WSP) in VS2005.
Now that i'm trying to publish it I'm finding that I should've used the
ASP.Net Web Application (ANWA) project instead. I created a new ANWA and
imported all of the pages from my WSP and I received a ton of errors. A lot
of them had to do with imports of self contained classes. I had to add the
project name to the import call, i.e. imports common to imports
webapp.common. Easy enough with Find and Replace. Then some of my user
controls threw a ton of errors saying it couldn't find the controls that are
in the page (see below, just a small selection, 111 errors total). I then
went back to the WSP because I need to deploy this thing. Any suggestions on
a successful convert?

Thanks!!

David Lozzi

Error 4 Name 'trEmail' is not declared. C:\Documents and Settings\dlozzi\My
Documents\Visual Studio
2005\Projects\thisworks\thisworks\common\address_f orm.ascx.vb 13 13
thisworks

Error 5 Name 'ddCountry' is not declared. C:\Documents and
Settings\dlozzi\My Documents\Visual Studio
2005\Projects\thisworks\thisworks\common\address_f orm.ascx.vb 19 9 thisworks

Error 8 Name 'ddStates' is not declared. C:\Documents and Settings\dlozzi\My
Documents\Visual Studio
2005\Projects\thisworks\thisworks\common\address_f orm.ascx.vb 23 9 thisworks

Error 12 Name 'lblState' is not declared. C:\Documents and
Settings\dlozzi\My Documents\Visual Studio
2005\Projects\thisworks\thisworks\common\address_f orm.ascx.vb 30 9 thisworks

Error 18 Handles clause requires a WithEvents variable defined in the
containing type or one of its base types. C:\Documents and
Settings\dlozzi\My Documents\Visual Studio
2005\Projects\thisworks\thisworks\common\address_f orm.ascx.vb 40 111
thisworks

Error 92 Handles clause requires a WithEvents variable defined in the
containing type or one of its base types. C:\Documents and
Settings\dlozzi\My Documents\Visual Studio
2005\Projects\thisworks\thisworks\common\top_bag.a scx.vb 44 96 thisworks
Sep 21 '06 #1
1 1659

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Brad | last post by:
I have a win2003 server workstation with multiple webs, each web has it's own ip address. In VS2005, if I select to open an existing web site, select Local IIS, the dialog correctly displays a...
2
by: Rob Dob | last post by:
Hi, How do I go about installing another Web Site Project inside my existing VS2005 website project. I currently have both a forum WSP and my main WSP application within the same solution. Both...
9
by: aaronluna | last post by:
Hi All, I was wondering if it is possible to easily convert an asp.net user control (.ascx) into an equivalent windows app. I plan on simply duplicating the user control in a c# windows app...
0
by: =?Utf-8?B?RWFjaHVz?= | last post by:
I've made several attempts to upgrade an application from asp.net 1.1 to 2.0. I open the web site by selecting the vbproj file, by selecting the solution file, or by selecting the web application....
3
by: Timbo | last post by:
This is a really weird one and very odd. I have written a web site using VS2005 and .Net 2.0, all works very well when running it locally. However when I publish it to my web server (hosted by...
19
by: nyhetsgrupper | last post by:
Hi, Which project type do you prefer? Is the web site or web application project the best solution? The application I am about to write is completly new so migrating from vs 2003 is not an issue,...
9
by: Jason | last post by:
Hi all, I am no longer able to publish a web site project using Visual Studio 2005 Professional. I am publishing it to an FTP url, and this used to work just fine. I enter the username and...
7
by: Rick | last post by:
I have a web service that I converted from VS 2003 Framework 1.1. to VS 2005 Framework 2.0. I tried to use the same IIS web site to run the web service. I deleted the Framework 1.1 files published...
3
by: Academia | last post by:
I have a vs2003 project (actually 44 of them) that I want to convert to VS2005 format. To fix a usercontrol file I created the Designer.vb file and moved the Inherited and Class ( change to...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.