Deploy a wsp file on multiple sites.

 hi,
I have 3 sites and i want to deploy a wsp file on 3 of them. but when i deployed wsp file, and after accessing site simultenously i logged out from another site. Means i am getting logged out issue?
Can anyone helps me?
Thanks in Advance...

Hi
Shubhangi ,
Which method you are using to deploy wsp ?
Try below 2 commands
Add-SPSolution -LiteralPath <SolutionPath>
This will add solution to farm
Install-SPSolution -Identity <SolutionName> -AllWebApplications -time <TimeToDeploy> -GACDeployment -CASPolicies
The above one will deploy it to the all web apps in farm
Let us know your results, thanks
Regards,
Pratik Vyas | SharePoint Consultant |
http://sharepointpratik.blogspot.com
Posting is provided AS IS with no warranties, and confers no rights
Please remember to click Mark As Answer if a post solves your problem or
Vote As Helpful if it was useful.

Similar Messages

  • Share files over multiple sites

    Hello everybody,
    Is there a way to use a single file from multiple sites without having to maintain them twice?
    For example I want to use the same PHP-functions in two projects (include file).
    Is there a Dreamweaver-technique which allows me to use and upload a file, that is outside of the site-root-directory.
    Librarys? Templates?
    greeting

    Is there a Dreamweaver-technique
    Firstly, this has nothing to do with Dreamweaver, so no, there isn't a DW technique. This depends on your webserver and operating system.
    The solution also depends on what kind of file you are trying to share, and if the websites are on the save server. HTML/CSS can't normally access files outside the web root, so, for instance, you can't normally share a CSS file between websites (but there is a workaround using aliases). PHP files don't have this limitation, as long as they are on the same server.
    I took a quick look at the Google hosted libraries. It looks like it is all javascript. Javascript doesn't have the same limitation that PHP has. For instance, Lots of people reference a remote copy of jQuery in their web pages.
    There is a method of sharing files across servers that involves configuring the receiving server to accept the remote file. I experimented with this some years ago but can't find any info on it now. Sorry, I can't even remember what the technique was called.  It wasn't easy to get it to work with all browsers as they have different security policies.

  • Putting files when multiple sites are open

    I often have pages from several different sites open at the same time. If I mistakenly tried to upload a file from Site A while Site B was active, CS4 would give me a warning and prompt me to select the proper site first. However, my new CS6 doesn't seem to do this. Is there a setting I've missed somewhere? It was a very helpful feature.
    Kimber

    I've just tested it in the Windows version of Dreamweaver CS6.
    If you select the File Management icon from the Document toolbar and click Put, the Files panel automatically switches to the relevant site and puts the file. I suppose this could be a problem if you have similar files or different sites for live and staging servers.
    As far as I know, there is no option to get Dreamweaver to prompt you if you're in the wrong site. If that's a problem for you, I suggest you file a bug report/feature request through the form at http://adobe.ly/DWBug.

  • Deploy One Ear file for Multiples Projects

    Hi,
    I work with JDeveloper 9.0.3 and BC4J+UIXML+Jsp Pages and I organize my application in multiple projects, each one contain BC4J and UIXML programs.
    I have a problem in deploy my application with JDeveloper Deploy Profiles because I can't deploy multiples projects in on .ear or .war files.
    Today in development time, i build or rebuild my project and copy all executable files in manual mode to Oracle 9ias OC4J directory, into a deploy of one project, but i think that proccess is not correctly.
    What i need to do ?
    thanks.
    Danilo

    In order to include other projects in the EAR, you need to create deployment profiles (WAR,Jar..)in each project which will archive the contents of the project.
    After that you need to create an EAR deployment profile and edit the properties to include other deployment profiles created earlier.
    raghu
    JDev Team

  • Getting error while deploying (.WSP) file

    HI ,
        I developed timer through VS 2010.When i try to
    deploy that WSP file in production server through Stsadm/Powershell commands ,I am getting below
    error.
    The solution cannot be deployed.  Directory "NewsofTheweekMemoTimerJob_Feature1"
     associated with feature '675521dc-7b7c-4825-a49c-611d0dce007f' in the solution
    is used by feature 'bdc09bc2-f629-41dc-8749-e9fe8f02c613' installed in the farm.
     All features must have unique directories to avoid overwriting files.
       I saw in Central administration,under system settings i did not find any solution.
    Thanks in advance.
    help me.
    Thanks:

    It seems that you already have installed a feature with the same name in the farm. Look in the 14-hive (C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14) under TEMPLATE\FEATURES. There you have a folder with the mentioned name. As
    long as this folder exists, you can't deploy a feature with the name of the folder.
    A simple solution for your problem would be to give the feature another name. So you avoid the naming collision.

  • Deploying ear file to multiple managed ervers

    What are the steps we need to follow to deploy an ear file to multiple managed
    servers.
    Is there a separate method for deploying ear file to managed servers.
    Do we need to setup classpath / StartupClass for the managed servers?
    Anyone knows this ?

    Hi Venky,
    you can deploy the application from the console, r the managed servers in clustered environment?
    btw what version of weblogic r u using?
    thanks
    Mir

  • How to use existing WSP file of reusable workflow and create sanbox solution?

    Hello,
    I have to migrate the SharePoint Designer 2013 workflows from Development environment to Production environment. So, I am following the process which is mentioned in this blog:
    http://sharepointyankee.com/2010/12/11/options-for-deploying-reusable-workflows-in-sharepoint-2010/
    And it is working also, but problem is that; this visual studio solution is getting deployed as a Farm Solution and I wanted to deploy it as a sandbox solution. 
    Is there any way to achieve this?
    I have also tried one more way which is:
    Create SharePoint Custom Workflow Project as a sandbox solution in Visual studio.
    Get WSP file from development site (as mentioned in above referenced blog)
    Open WSP file and copy the content to Visual Studio Created project
    But this solution is also not working; "Feature is not getting deployed as sandbox solution" error is occurring.
    Can anyone please help me on the same?
    Thanks,
    Asim

    Hi,
    When you export SPD workflow, it will be a sandbox solution only, you are not required to configure further.
    Just import the workflow into Visual Studio, and make the changes that are required. you are good here.
    you can set the scope attribute in your WSP feature element.
    Hope this helps!
    Ram - SharePoint Architect
    Blog - SharePointDeveloper.in
    Please vote or mark your question answered, if my reply helps you

  • Publish wsp file to office 365 - sharepoint

    Dear,
    How can i deploy a wsp file to sharepoint on office 365?
    For example i want to publish the WireBaer print button to print an item from a list
    (https://infopathprinter.codeplex.com/)
    Thx in advance!

    Hi,
    According to your description, my understanding is that you want to deploy the wsp file to Office 365 SharePoint site.
    I suggest you can upload the wsp file to site settings-> solutions gallery, then you can activate the feature in the ribbon.
    Here is a similiar thread for your reference:
    http://community.office365.com/en-us/f/154/t/64010.aspx#244496
    Thanks
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • "Error occurred in deployment step 'Retract Solution': The solution does not have a WSP file associated with it." occurs while deploying from Visual studio

    HI,
    I get this error "Error occurred in deployment step 'Retract Solution': The solution does not have a WSP file associated with it. " when deploying my project from visual studio 2010 to
    SharePoint 2010 site. I tried restarting IIS, but it didn't help. This application used to work fine until the server crashed during the deployment process. All the other applications on the same server works fine also. Any ideas how to fix this issue? 
    Thanks in advance,
    AM

    Hi
    AM ,
    Thank you for your posting!
    According to your error message, it says your solution does not have a WSP file associated with it. Take a look at the file system.  After you Right Click -> Deploy Solution on the VS Solution, there
    should be a .wsp file at <Solution Directory>\bin\<debug|release>.
    Also the error can be occurring when the developer try to deploy solutions over pre-existing solutions  with material changed  in the solution.  Go to your Central Administration Site and then
    Operations and then Solution Management.  Make sure that there not already a solution with the same name deployed or installed there.  If there is, remove it and try deploying again.
    And you could look in logs and find if there is a below error in ULS log (C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS).
    Thank you for your understanding and support.
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • How can i deploy sandboxed solution .wsp file to sharepoint 2013 online using powershell script?

    Is there any way to deploy the Sandbox solution .wsp file to sharepoint 2013 online publishing site using powershell or CSOM or any other way?

    Hi,
    According to your post, my understanding is that you wanted to deploy sandboxed solution .wsp file to sharepoint 2013 online.
    "Add-SPSolution" command is not available in SharePoint Online management shell. So, we cannot use PowerShell to update and deploy a solution in SharePoint Online environment. Meanwhile, here is index of Windows PowerShell for SharePoint Online
    cmdlets for your reference:
    http://technet.microsoft.com/en-us/library/fp161364.aspx
    You can CSOM to deploy solution using helper class from CodePlex. The activation code is as follows: SandboxSolutions.ActivateSolution(siteCollectionURl, cookies, "solution_name.wsp");
    About the Client Side Object Model (CSOM), it is a development related issue, we have a specific support channel for the SharePoint developers, so I recommend you go to our MSDN forum for further assistance.
    Here is a similar thread for you to take a look at:
    http://community.office365.com/en-us/forums/156/t/197404.aspx
    In addition, if you would like to upload and activate sandbox solution manually, you can refer to:
    http://community.office365.com/en-us/forums/154/p/64010/244496.aspx#244496
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Multiple Domain files, Multiple Sites, Publishing Problems

    I am frustrated beyond belief. I'm an old hand-coder, coming from BBEdit, but I've been using iWeb almost exclusively since its release, because it really is a great product for quick, easy, stylish designs.
    However.... In that year, my collection of sites has grown to 12. Discovering that iWeb becomes a major dog when dealing with that much material, I found and followed the instructions - today - to separate my sites into individual domain files, and edit them individually. iWeb is much snappier and publishing goes much more quickly.
    The problem? Well... after editing, "Publish to .Mac" rarely works. Only "Publish All to .Mac" will get the site online (something about an error with the index.html file). But "Publish All to .Mac", I've just discovered, DELETES the other websites that I have previous published. All day I've been doing updates and publishing my sites, only to discover that the uploads have all been wiped out by the most recent one!
    I'm a big enough fellow to admit that my knowledge isn't total nor perfect - so please, would someone out there with a better handle on iWeb than I (preferably someone who actually deals with multiple domain files rather than someone who thinks they can guess the problem) please clue me into how we make use of this program non-destructively?
    I suppose I could always publish everything to folders and upload it to my iDisk (which itself remains ridiculously slow after how many years now? Sheesh!), but that detracts from the elegance of the .Mac integration, the counter features, - not to mention the little fact that I'm a paying .Mac customer and this darn thing should just work, no?

    Mark:
    I was where you were also. You should give iWebSites a try. It's to iWeb what iPhoto Library Manager is to iPhoto.
    I use iWebSites to manage multiple sites.. It lets me create multiple sites and multiple domain files.
    If you have multiple sites in one domain file here's the workflow I used to split them into individual site files with iWebSites. Be sure to make a backup copy of your Domain.sites files before starting the splitting process.
    This lets me edit several sites and only republish the one I want. Just remember to put a copy of your current Domain.sites file somewhere else on your HD in case the splitting gets messed up. It went very smoothly for me and I now manage 19 or so sites.
    Do you Twango?

  • Sharepoint 2010 question : Error while deploying wsp file in using managment shell (power script)

    When I tried to deploy the wsp's using managment shell (power shell scripts) everything looks good.
    When I go and take a look the "manage farm solutions" thru sharepoint central admin, I see the deployment failed in two servers.
    Error is
    Could not load file or assembly 'c:\windows\Temp\solution-cxxxxxxxxxxxxxx\xxx.xxx.dll" or one of its dependencies. Access is denied.
    Can you please let me know what could be the reason.
    Note : I have two app servers and two web servers setup. The deployment is sucessful in 2 apps servers . but 2 web servers are giving error.
    Thanks
    Pichaimani

    Hi,
    According to your post, my understanding is that you wanted to failed to deploy the wsp's using managment shell.
    You need to make sure that the dll is registered in the GAC.
    Go to %Windows%\assembly. If the dll isn't there , you need to install it to the GAC on the server. Simply drag it into that folder in Windows Explorer, and it should install itself.
    Here is a similar thread for your reference:
    http://stackoverflow.com/questions/1265505/sharepoint-could-not-load-file-or-assembly-the-system-cannot-find-the-file-sp
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • IPv6 deployment problem for multiple site

    Dear Expert,
    I have a question about the deployment of IPv6 on two different site and the requirement is that client may need to auto switchover to another site while one of the ASR1002 is failure. I have using two different prefix on two sites with IPv6 stateless autoconfig like above diagram. Different prefix used for each site due to each site should use there own IPv6 prefix for Firewall Stateful(Default gateway point to local site firewall only). Client will retrieved two IPv6 addresses at the same time and it seems workable on Vista PC and Mac(Mac haven't select the High DRP one but work fine) and I haven’t try for other mobile device (have WiFi device for vlan100). Is it a valid solution? Any other solution for multiple site deploy IPv6 with Firewall no NAT enabled?
    Thank you very much!
    Regards,
    Kawaii

    One option would be to tweak the OS prefix policy table to prefer v4 to v6.  On Linux this is in /etc/gai.conf; on windows you'd run "netsh interface ipv6 set prefixpolicies ...".  The side effect would be that you'd only do v6 with the v6-only sites, not with the dual-stack sites.

  • Get ID of WSP file without deploying

    Hey guys!
    hope you can help me in this case.
    Well I'm developing a script for dynamic WSP deployment to SharePoint 2010 with PowerShell.
    However, some vendors for SharePoint solutions have some differences in their solution names (e.g. used"_" instead of ".").
    Now I want to get the WSP ID before starting the deployment to verify whether names have changed. Favored in PowerShell.
    Any Ideas?
    Thanks in advance four your help. Much appreciated

    If you extract a WSP file (change the extension to .cab and extract) and open manifest.xml you can see the solution id
    <Solution SolutionId="XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX" ......>
    I don't think you can get SolutionId before installing the solution or without extracting the WSP file and read the manifest.

  • Hot to run "Deploy WSP" file through sharepoint Powershell from C# win Application

    HI All,
         I have create one web part (wsp) and also i have created one window application for deploy wsp file through powershell commands but i am stuck in executing the commands from powershell from c# win app .please let me know any have idea about
    this  ?
    Software developer

    Hi,
    The following code snippet for your reference:
    public string RunPowershell(string powershellText, SPWeb web, string param1, string param2)
    // Powershell ~= RunspaceFactory - i.e. Create a powershell context
    var runspace = RunspaceFactory.CreateRunspace();
    var resultString = new StringBuilder();
    try
    // load the SharePoint snapin - Note: you cannot do this in the script itself (i.e. add-pssnapin etc does not work)
    PSSnapInException snapInError;
    runspace.RunspaceConfiguration.AddPSSnapIn("Microsoft.SharePoint.PowerShell", out snapInError);
    runspace.Open();
    // set a web variable.
    runspace.SessionStateProxy.SetVariable("webContext", web);
    // and some user defined parameters
    runspace.SessionStateProxy.SetVariable("param1", param1);
    runspace.SessionStateProxy.SetVariable("param2", param2);
    var pipeline = runspace.CreatePipeline();
    pipeline.Commands.AddScript(powershellText);
    //add a "return" variable
    pipeline.Commands.Add("Out-String");
    var results = pipeline.Invoke();
    //convert the script result into a single string
    foreach (PSObject obj in results)
    resultString.AppendLine(obj.ToString());
    finally
    // close the runspace
    runspace.Close();
    // consider logging the result. Or something.
    return resultString.ToString();
    More information:
    Running Powershell from within SharePoint
    http://geekswithblogs.net/Norgean/archive/2012/09/19/running-powershell-from-within-sharepoint.aspx
    Best Regards
    Dennis Guo
    TechNet Community Support

Maybe you are looking for