Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0
This is the forum to discuss the Wrox book ASP.NET 2.0 Website Programming: Problem - Design - Solution by Marco Bellinaso; ISBN: 9780764584640
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old June 27th, 2007, 04:53 PM
Authorized User
 
Join Date: Jun 2007
Location: , , .
Posts: 17
Thanks: 1
Thanked 0 Times in 0 Posts
Default Deploying the Site

Hi

Having worked right through the book, I have finally been able to put everything together for a website. However, I am having some problems deploying the site. This is what I have managed to do:

- Managed to create T SQL scripts to deploy the schema and data
- Managed to compile the site into a different local folder by using Build->Publish Web site. This created a compiled copy of the project/solution in the specified local folder. (i.e. with lots of Dlls in the bin folder)

Now I am trying to merge all the dlls into a single dll. I am doing this by opening the compiled project and adding a Web Deployment Project. Although I manage to add the deployment project, I can't build it - error "The application is already compiled". So where am I going wrong?

And once I manage to merge the dlls what comes next?

Also I am wondering if anyone has managed to use the hosting company

http://www.re-invent.com/webhosting.aspx. If so any comments on that?


Any help greatly appreciated.

SoloEng
  #2 (permalink)  
Old July 1st, 2007, 10:21 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: Atlanta, Georgia, USA.
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You can use the aspnet_compiler from a VS 2005 command prompt to consolate the DLLs into one big one. But I personally recommend against deploying with only one DLL. That makes it terribly difficult for you to make any small changes at all. Most of us just deploy source files, and we only deploy DLLs for middle tier or backend objects where required (like for WebEvents).

I'm not sure how you make the SQL scripts, but it can be difficult to do it right. The problem is the image fields used in the aspnet tables. I posted a sticky message here about the SQL wizard for generating scripts and I hope you used that.

Eric

  #3 (permalink)  
Old July 2nd, 2007, 04:06 PM
Authorized User
 
Join Date: Jun 2007
Location: , , .
Posts: 17
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Thanks for the reply.

I used to the wizard and your guideliens to generate the scripts and it seemed to have worked.

Ok so now I have got a lot of individula dll files. I suppose I could ftp source file but the how do I do this. I have subscribed to a hosting company. The book seem to suggest freeware filezilla.

Any tips?


  #4 (permalink)  
Old July 2nd, 2007, 06:09 PM
Friend of Wrox
 
Join Date: Mar 2006
Location: , , Portugal.
Posts: 310
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I use filezilla !

It's enough to upload files!

You only need to know the domain (probably "yourdomain.com") your username and password!

Good luck

  #5 (permalink)  
Old July 3rd, 2007, 03:17 PM
Authorized User
 
Join Date: Jun 2007
Location: , , .
Posts: 17
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Thanks. I have now used filezilla.



  #6 (permalink)  
Old July 10th, 2007, 01:51 AM
Registered User
 
Join Date: Jul 2007
Location: Hong Jong, , China.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi SoloEng,

Have you use the hosting company http://www.re-invent.com/webhosting.aspx and its "supported authoring tools" such as Expression Web and Dreamweaver?

Happy Tommy

  #7 (permalink)  
Old July 10th, 2007, 09:17 AM
Authorized User
 
Join Date: Jun 2007
Location: , , .
Posts: 17
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Happy Tommy

I looked into it and found that WebHost4Life turned out to be better value for money so in the end I did not use

http://www.re-invent.com/webhosting.aspx

But I will be most interested in any comments if you have used it or are planning to use it.

engsolo


  #8 (permalink)  
Old August 1st, 2007, 04:25 PM
Registered User
 
Join Date: Aug 2007
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i've used both of them and re-invent has much better uptime. Actually my site has never been down in close to a year. they also are willing to help you and respond quickly to questions. just my two cents.
  #9 (permalink)  
Old September 9th, 2007, 09:39 PM
Registered User
 
Join Date: May 2007
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by develop9090
 i've used both of them and re-invent has much better uptime. Actually my site has never been down in close to a year. they also are willing to help you and respond quickly to questions. just my two cents.
I've been using re-invent for some time now without any problems.

I do have 2 concerns with them: (1) their website quotes a 2 week response time for database restoration (2) they do not support the System.Transactions namespace.

theBeerHouse uses the System.Transactions namespace in BLL/Order.cs.
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Publish Web Site & Copy Web Site angshujit ASP.NET 2.0 Basics 1 June 15th, 2007 09:21 AM
Deploying the site MoeShall BOOK: ASP.NET Website Programming Problem-Design-Solution 3 April 20th, 2005 07:06 AM
how do i change the site icon on a geocitiies site uprocker2 HTML Code Clinic 2 March 4th, 2005 07:20 AM
Error in deploying a site (BC30002) j_arya Classic ASP Basics 1 October 2nd, 2004 07:04 AM
Deploying C# nbnelson C# 2 July 31st, 2003 01:30 PM



All times are GMT -4. The time now is 06:19 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.