Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.1
|
ASP.NET 1.1 As of 10/6/2005, this forum is locked as part of the reorganization described here: http://p2p.wrox.com/topic.asp?TOPIC_ID=35394. No posts have been deleted. Open ongoing discussions from the last week have been moved to either ASP.NET 1.0 and 1.1 Beginners http://p2p.wrox.com/asp-net-1-0-1-1-basics-60/ or ASP.NET 1.0 and 1.1 Professional. http://p2p.wrox.com/forum.asp?FORUM_ID=50. See my sticky post inside for more.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.1 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 19th, 2005, 12:10 AM
Authorized User
 
Join Date: Jun 2004
Posts: 54
Thanks: 0
Thanked 1 Time in 1 Post
Default How to create multi project solution deployment

Hello there,

Can anybody explain me how to build a multi project solution deployment web setup project?

I am just able to do it using setup wizard, but still it does not place assemblies in the exact location.

Any clue.

Thank you in advance


Vinod Pawar
Software Developer
India
__________________
Vinod Pawar
United States
 
Old April 19th, 2005, 03:33 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

What's your multi projects that you are deploying? More than one web site, or a web and windows project, or something along those lines?

Brian
 
Old April 19th, 2005, 11:48 PM
Authorized User
 
Join Date: Jun 2004
Posts: 54
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi Bmains,

I have an web application project and that particular project refers to various assembly projects and all are in one single Solution.
eg
    Some_Solution ----Solution
        Web_Application ------web application project
        Assembly_Project1 |
        Assembly_Project2 |----Assembly Projects referred by web app.
        Assembly_Project3 |

Now I want to build a Web Setup of the entire solution

Since my earlier post, I could do it, just adding the main web app first in to web setup project and then other referred projects.
but, now I am facing a very irritating problem, It skips some folders while building setup project saying "Unable to build folder named <FolderName>"

I am not able to understand, why only two folders, why not others? I am not able to figure out, why is this happening.

Thanks



Vinod Pawar
Software Developer
India
 
Old April 20th, 2005, 05:27 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Vinod,

Although I do not use the installers perhaps I can help to clarify something. In the scenario you describe, you have 1 final project that is actually the application (the web project). As far as the end user is concerned, all they should get is that piece in the installation. When you compile the application all those supporting assemblies' compiled DLLs get copied into the web application's bin/ folder and are thus part of the final web application. Granted, like I said, I've never set up a setup project so it's very likely my view of this situation is wrong.

-Peter
 
Old April 21st, 2005, 09:56 AM
Authorized User
 
Join Date: Jun 2004
Posts: 54
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi Brian & Peter,

Thank you for replies.

I am finding it very difficult now to build a web setup package, I spent lot of time trying to build this setup, but ultimately of no use. If one problem solved another arises. I feel I should specify as what are all problems I faced during this time.
Unable to Build the folder <folder Name>
        Reason I could figure out was names of such folder are already available somewhere in the same project
e.g.
        a web project has more than one Folder having same names.
Solution : I changed name and it worked
I thought lets give a try with fresh new web application
I created a web application added folders with same name in different locations, compiled it. Amazing thing it also worked. :D

This problem is somehow solved then the new problem started,
Unable to build project output group 'Content Files from <Project Name> (Active)'

after finding over the net, I found it was just b'coz a file was missing which is being referred in the project. the worst part of this is you need to go through each and every folder searching for missing file, it shows a small yellow icon with the routine icon of that particular file type.

Server Error
Access is denied to <address of file>


Solution: You need to give access to Network Service all rights to that particular folder

I have worked with web application deployment quite a bit earlier also. but never faced such problems. The most amazing thing is very few people used this web setup project. at least I found this.

I am trying to deploy a solution that is built using DotNetNuke, if anybody there who have worked with DotNetNuke please respond. The problem is DotNetNuke has administrative tools but, I have to bundle it and send it to client and he'll install it at his location. so have no control over it.

I would be grateful, if anybody has any information, website link or anything which would help me.

Specifically I need help to prepare a web setup of DotNetNuke.

Awaiting...


Vinod Pawar
Software Developer
India
 
Old April 22nd, 2005, 11:48 PM
Authorized User
 
Join Date: Jun 2004
Posts: 54
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hello all,

Is Anybody there who has worked with DotNetNuke and deployed entire solution without the source code on a web server.

I've got stuck while deploying DotNetNuke based portal, I don't want it directly to be copied on web server, instead, I want to deploy it using Web Setup Project.



Vinod Pawar
India
 
Old April 23rd, 2005, 12:49 AM
Friend of Wrox
 
Join Date: Apr 2005
Posts: 186
Thanks: 0
Thanked 0 Times in 0 Posts
Default

VS has a bug in packge creation
It will not be able to access any open files

Close all the windows (.Aspx, .....) before building the package.

Also you need not add the outputs of assmeblies as they will be refered from your main web project.

So you need select only the primary output & content pages of the in the setup main web project in the project wizard.

Prashant




 
Old April 26th, 2005, 09:00 AM
Authorized User
 
Join Date: Jun 2004
Posts: 54
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hello Prashant,

Thanks.

I don't know how many bugs are there. That is too tough to work with web setup project. Earlier I found it to be simple and worked well for small-small projects. but when things go critical and complex, it is to tough to manage and bind it in a single web application. on top of that, web setup building generates errors and does not specifically tells that what is going wrong.
I still have a problem, even I have seen many of my colleagues are also got fed up of the same.

While compiling web application it just says "Error: Can not build folder <FolderName>" What for?, Why? nothing just an error. I tried to figure out but, all the efforts gone waste. Finally the only solution we left with : "xcopy deployment". Thank god atleast something is there which can work, ;) kidding. but still if anybody faced this type of problem and has a solution. I would be very greatful as thats the only thing which is not working.

Error: "Can not build folder <FolderName>

Thank you all



Vinod Pawar
India
 
Old April 27th, 2005, 01:20 AM
Friend of Wrox
 
Join Date: Apr 2005
Posts: 186
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Vinod,

Are you using Source safe / Is you folder readonly / has sufficent Access rights
Check out these things.

Also as you mentioned xcopy deployment is another choise,
In the on top of Solution explorer you have a icon button "Copy project". I works fine.

Prashant

 
Old April 27th, 2005, 08:38 AM
Authorized User
 
Join Date: Jun 2004
Posts: 54
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi Prashant,

Yes it is in source safe and I have sufficient privileges to checkout before doing anything. but, I tried with a simple webapplication by adding some folders and making them readonly. I also added some dummy webforms to those folders and tried to compile the web setup, and believe me it worked. so, I am not sure whether this readonly thing does any difference to it.

I still have find the solution for this.

anyways

Thanks once again.


Vinod Pawar
India





Similar Threads
Thread Thread Starter Forum Replies Last Post
Copying a Project/Solution smsteven BOOK: Professional VB 2005 ISBN: 0-7645-7536-8 0 July 22nd, 2006 01:52 AM
Deployment of dotnet project achu_ravi .NET Framework 2.0 1 November 1st, 2005 07:25 AM
Project Deployment anubhav.kumar ASP.NET 1.0 and 1.1 Basics 3 December 28th, 2004 03:31 PM





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