Re: deploying webpart on two front end web server



The problem is deploying in a farm environment consisting of multiple front
end web server. I was able to deploy the solution to a box that was stand
alone.

I also want to know what is the best practise for deploying web parts in a
farm environment. The way I tried to do it through Visual studio was that
each of the webpart is a feature and then created a solution (.wsp) that
would install and activate the features. One of things I am not sure how it
would work in farm deployment is that when I add and delpoy the solution
using stsadm utility, would it put my webpart dll on all the front end web
server's GAC and would it also change the web.config file on all the front
end servers.

"Steven Cheng[MSFT]" <stcheng@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:U4pOrGKZIHA.360@xxxxxxxxxxxxxxxxxxxxxxxxx
Thanks for your reply Rafia,

So manually install webpart works, there might be something got incorrect
in the feature based deployment. Have you tried a simplified scenario that
create a single standard webpart and deploy it into the SPS server? I'm
wondering whether this is a specific case or a common problem that might
be
related to the SPS server.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


This posting is provided "AS IS" with no warranties, and confers no
rights.



--------------------
From: "Rafia Tapia" <deltaedge@xxxxxxxxxxxxx>
References: <us1y3W7YIHA.5900@xxxxxxxxxxxxxxxxxxxx>
<l2eCUM$YIHA.4720@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: deploying webpart on two front end web server
Date: Thu, 31 Jan 2008 11:02:54 -0500

I have used the visual studio extension so it is visual studio that is
creating all the different xml files and .webpart file. and yes I can
deploy
it manually and it works fine but when I try to install using the solution
(.wsp) that visual studio has produce, I am running into problems.

"Steven Cheng[MSFT]" <stcheng@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:l2eCUM$YIHA.4720@xxxxxxxxxxxxxxxxxxxxxxxxx
Hi Rafia,

It seems you met some problem when try deploying your well developed
webpart controls.

As you mentioned the features, are you deploying them as features
mentioned
in the following article?

#Deploying web parts as a feature

http://sharepointnutsandbolts.blogspot.com/2007/05/deploying-web-parts-as-fe
ature.html

For general test, I suggest you try a simplified webpart and also deploy
it
manually to see whether it works:

#Writing Custom Webparts for Sharepoint 2007

http://blah.winsmarts.com/2006/05/14/writing-custom-webparts-for-sharepoint-
2007.aspx

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


This posting is provided "AS IS" with no warranties, and confers no
rights.



--------------------
From: "Rafia Tapia" <deltaedge@xxxxxxxxxxxxx>
Subject: deploying webpart on two front end web server
Date: Wed, 30 Jan 2008 22:00:46 -0500

Hi all
I have developed couple of web part using VS extension for sharepoint. I
have the setup.bat file as well as the solution file that VS creates. I
copied the setup.bat, mywebpart.wsp and all the file in the solution
directory to one of the front end web server but when I run setup.bat it
gives me an error on activating the features that comprises my web part.
The
error I am getting is that no features is installed in the farm and
therefore cannot be activated. Running setup.bat file is putting my .dll
in
gac and also copying all the files related to my features in the
appropriate
directories but when I look at the site feature via the web, I don't see
any
feature listed in the gallery.

Can anyone please tell me what I am going wrong. What is the best way to
deploy web part in an environmental that consists of multiple front end
web
servers.

Thanks








.



Relevant Pages

  • Re: deploying webpart on two front end web server
    ... \par Subject: Re: deploying webpart on two front end web server ... \par would install and activate the features. ...
    (microsoft.public.sharepoint.portalserver.development)
  • Re: deploying webpart on two front end web server
    ... \par Subject: Re: deploying webpart on two front end web server ... \par The problem is deploying in a farm environment consisting of multiple front ... \par would install and activate the features. ...
    (microsoft.public.sharepoint.portalserver.development)
  • Re: deploying webpart on two front end web server
    ... \par Subject: Re: deploying webpart on two front end web server ... \par creating all the different xml files and .webpart file. ... \par> It seems you met some problem when try deploying your well developed ... \par> As you mentioned the features, are you deploying them as features ...
    (microsoft.public.sharepoint.portalserver.development)
  • Re: deploying webpart on two front end web server
    ... I have used the visual studio extension so it is visual studio that is ... creating all the different xml files and .webpart file. ... It seems you met some problem when try deploying your well developed ... As you mentioned the features, are you deploying them as features ...
    (microsoft.public.sharepoint.portalserver.development)
  • RE: deploying webpart on two front end web server
    ... \par It seems you met some problem when try deploying your well developed webpart controls. ... \par As you mentioned the features, are you deploying them as features mentioned in the following article? ...
    (microsoft.public.sharepoint.portalserver.development)

Loading