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

D

David Lozzi

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_form.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_form.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_form.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_form.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_form.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.ascx.vb 44 96 thisworks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top