473,624 Members | 2,160 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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\Visua l Studio
2005\Projects\t hisworks\thiswo rks\common\addr ess_form.ascx.v b 13 13
thisworks

Error 5 Name 'ddCountry' is not declared. C:\Documents and
Settings\dlozzi \My Documents\Visua l Studio
2005\Projects\t hisworks\thiswo rks\common\addr ess_form.ascx.v b 19 9 thisworks

Error 8 Name 'ddStates' is not declared. C:\Documents and Settings\dlozzi \My
Documents\Visua l Studio
2005\Projects\t hisworks\thiswo rks\common\addr ess_form.ascx.v b 23 9 thisworks

Error 12 Name 'lblState' is not declared. C:\Documents and
Settings\dlozzi \My Documents\Visua l Studio
2005\Projects\t hisworks\thiswo rks\common\addr ess_form.ascx.v b 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\Visua l Studio
2005\Projects\t hisworks\thiswo rks\common\addr ess_form.ascx.v b 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\Visua l Studio
2005\Projects\t hisworks\thiswo rks\common\top_ bag.ascx.vb 44 96 thisworks
Sep 21 '06 #1
1 1674

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

Similar topics

6
3617
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 list of all of my webs, however if I attempt to open a site under and web other than localhost I receive the message: "Unable to open the Web 'http://localhost/anywebappname'. The Web 'http://localhost/anywebappname' does not exist" Obviously...
2
2048
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 compile and run without error. However they are separate applications and I would like to have them together in order to make use of my masterpages, and share controls between. Do I need to combine the web.config files? I figured I would just...
9
1636
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 through brute force, but am becoming pressed for time with multiple deadlines. If there is an easier way than building the entire c# app from scratch, I would greatly appreciate the advice. The form contains listboxes, buttons, labels, textboxes...
0
1294
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. VS 2005 opens the conversion wizard, backs up the files, makes a brief show of shuffling bits around, and announces that the conversion is complete. If it produces a conversion report, the report either says that one file was converted (the vbproj...
3
1368
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 HELM), I get unknown errors when I connect to some of the aspx pages, however if I keep surfing around my web site the pages suddenly start working for no apparent reason. Once each page has been displayed at least once that particular page won't...
19
1866
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, but it has to be easy to deploy the application (precompiled, I don't want to give away my source)
9
2919
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 password and select "passive mode" when publishing the site, like I have always done. Visual Studio deletes the existing files, but then doesn't write the new ones, though it tells me the operation was
7
3816
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 the 2.0 files changed IIS to use Framework 2.0 and changed the application pool, also restarted IIS. When I try to get to the web service it tells me the file cannot be found. The web service file(asmx) is in the same place and named the same. The...
3
2404
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 partial class) lines to it so it started with: <Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()_ Partial Class UserControl1
0
8236
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8679
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8621
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8335
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8475
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5563
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
2606
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1785
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1482
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.