Backup Solution File using PowerShell using sharepoint 2013

please let me know why this error is occuring.
$farm = Get-SPFarm
$file = $farm.Solutions.Item("GIB_Extenstion.wsp").SolutionFile
$file.SaveAs("\\sadr01a14101\backup\ GIB_Extenstion.wsp")
I am running above one by one command on Powershell. In first two commands there is not error only normal.
but on third command below error is showing:

Hi John,
Continue to Wendy, make sure you would be a member of Farm Administrators group and have permission to the configuration
database.
Vivek Jagga - MCTS SharePoint 2010
My Blog

Similar Messages

  • Do we require to install microsoft excel in sharepoint 2013 server?. if require to use sharepoint 2013 excel services.

    Do we require to install microsoft excel in sharepoint 2013 server?. if require to use sharepoint 2013 excel services.
    In our organisation, development team is asking to install office 2013 in SharePoint 2013 server to use different services, where as architecture team not allowing for the same. I need to provide proper justification for installing office 2013 in SharePoint
    2013 server. Please provide me the correct solution for the same.

    No, you do not need to install Office on the SharePoint server to utilize the Excel Services. Office should not be installed on the SharePoint server.
    Do they need Office Web Apps? Are they looking to have the capability to edit documents in the browser maybe? Or have document preview on search? Office Web Apps would be required for this, but this is a different product than Office.
    Brandon Atkinson
    Blog: http://sharepointbrandon.com

  • Which backup solution to use?

    I didn't see anything here, but only looked a few screens deep, so sorry if this comes up a lot.
    I just found out from reading here that I was running BOTH the Windows backup AND the Lenovo R&R backup. Nowhere does the computer warn about this (something that should be fixed, IMO).
    I deleted all the R&R backups and recovered almost 60GB of disk space.
    Can someone provide a link or an explaination as to which service is "better", or at least a comparison. From reading, it seems it is recommended to only run one of them. I saw one post which said R&R was better at recovering, etc, but I see other posts which says it just fails (for that person)...
    I have a 142gb drive (reported size for C  Thinkpad T61p purchased in Dec 2007, running Vista Ultimate with SP1
    Thanks.

    977220 wrote:
    Hi ,
    We have Oracle 8i DB running on Windows with Backup using CA client.
    We are planning to migrate all backups from CA to Netbackup but since Oracle 8i is no longer supported by Netbackup so we need to use either RMAN or User managed backup .
    Can somebody guide,which backup solution to use on Oracle 8i (we will migrate DB to MS-SQL) so this will be temporary solution for DB backup.
    1) shutdown IMMEDIATE
    2) OS file copy all the files
    3) STARTUP

  • Using SharePoint (2013) groups in SSRS

    We had a report deployed in SharePoint 2007 that identified which SharePoint Group the user was in and used this in a parameter in the report. This used the method suggested in this question: http://social.technet.microsoft.com/Forums/sqlserver/en-US/c6ce0af7-2467-4ed8-8833-9bad438a28ad/how-to-get-sharepoint-group-in-ssrs?forum=sqlreportingservices
    Following an upgrade to SharePoint 2013, this no longer functions. The error refers to the specific dataset using the query suggested and returns a 'Soap Fault: The remote server returned an error: (500) Internal Server Error'.
    I would guess that I need to direct the <SoapAction> to look in another location, but I can't see any obvious location to look in.
    Suggestions for the correct location, or other solution, would be helpful.
    Thanks
    Ray

    Hi,
    According to your post, my understanding is that you wanted to use SharePoint 2013 hosted in Office 365 to power Portal Authentication-type experience.
    Per my knowleadge, configuring SSO helps you to enforce your organization's password policies and account restrictions in both your on-premises directory and your Office 365 directory.
    For more information, you can refer to:
    Overview of single sign-on for Office 365
    Step-By-Step: Setting up AD FS and Enabling Single Sign-On to Office 365
    Office 365 – Single Sign-On for SharePoint, Skydrive, CRM, etc. via Smart Links
    Regarding SharePoint Online, for quick and accurate answers to your questions, it is recommended that you initial a new thread in Office 365 forum.
    Office 365 forum
    http://community.office365.com/en-us/forums/default.aspx
    Thanks,
    Linda Li                
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Linda Li
    TechNet Community Support

  • Add datetime property to "MetaInfo" field using SharePoint 2013 CSOM

    When uploading a file along with metadata using SharePoint FP RPC (using the "method= put document") it allows me to properly add datetime properties. My metainfo looks like this:
    "MetaInfo":"...MyCustomDate:TW|05 Jan 2015 12:58:31 -0000\r\n..."
    Then later on, when I try to update "MyCustomDate" property from the "MetaInfo" field using CSOM, it fails while updating it. (In this case I am using CSOM because I am updating some more fields and I want to avoid extra round-trips)
    After that update my metainfo looks like this:
    "MetaInfo":"...MyCustomDate:FX|0x01d028e7|0x4d1c4880\r\n..."
    Does anyone know why?, is there any workaround?
    Thanks

    Hi,
    If you want to add datetime property to "MetaInfo" field using SharePoint 2013 CSOM, the following code snippet for your reference:
    using (ClientContext context = new ClientContext("http://yourserver/"))
    context.Credentials = new NetworkCredential("user", "password", "domain");
    List list = context.Web.Lists.GetByTitle("Documents");
    ListItem oListItem = list.GetItemById(1);
    oListItem["MetaInfo"] = "MyCustomDate:TW|08 Jan 2015 12:58:31 -0000";
    oListItem.Update();
    context.ExecuteQuery();
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Update Column value after current item is Approved and then publish major version using Sharepoint 2013 designer workflow

    Hi,
    We have a requirement to update a column value once the item has been approved.
    Following settings have been made in the publishing articles list:
    Require content approval for submitted items : yes
    Create major and minor (draft) versions
    Who should see draft items in this document library? :Only users who can edit items
    Require documents to be checked out before they can be edited? : yes
    I have createdatu a Sharepoint 2013 workflow to check if Approval sts of current item = 0 i.e. Approved , then check out and update the item and finally checkin the item. Everything works fine till this point except that the minor version of the item is
    checked in. Due to this the updated columns are not published to others.
    Also, I created a Sharepoint 2010 workflow to SET CONTENT APPROVAL = APPROVED and started this workflow from my list workflow above, but the item does not get checked-in and always shows "In Progress" status with comment "The item is currently
    locked for editing. Waiting for item to be checked in or for the lock to be released.".
    Please let me know where I am missing out so that once the item is approved, column value gets updated and current item is still in Approved status.
    Thanks

    Hi,
    According to your post, my understanding is that you want to update Column value after current item is Approved and then publish major version using Sharepoint 2013 designer workflow.
    You will get into this kind of Catch-22 situation trying to set the Content Approval Status in SharePoint Designer workflow:
    - You must check out the document before you can change the Content Approval Status
             - You can't change the Content Approval Status once the document in checked out
    Since you set the Require documents to be checked out before they can be edited=Yes, you will need to check out the document when run the workflow on the item. But you cannot approve a document when it is checked
    out. So the logic in workflow conflicts.
    As a workaround, you can use the Start Another Workflow action to start the normal Approval workflow on the document.  The built-in Approval workflow can work with a document that’s not checked out.
    The designer approval workflow also can work with a document that’s not checked out.
    You can create two workflow using SharePoint Designer 2013.
    First, create a SharePoint 2010 platform workflow.
    Then, create a SharePoint 2013 platform workflow.
    Then when the SharePoint 2013 platform workflow start, it will start the SharePoint 2010 platform workflow to set content approval status, then the SharePoint 2013 platform workflow will update current item value.
    More information:
    SharePoint Designer Workflow Content Approval Issue
    SharePoint 2010 Approval Workflow with Content Approval
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • AppGlobalResource File In Visual Webpart SharePoint 2013

    Hi,
    I am trying to get resource file entry in the visual web part but wen i try to deploy the solution it's showing an error as below.
    Error    14    The name 'MyResourceFile' does not exist in the current context    C:\Users\Administrator\Documents\Visual Studio 2012\Projects\MySolution\MySolution\WebParts\Test\Test.ascx.g.cs    56  
     60    MySolution
    What i did:
    I right click on my project name and choose "Add" >> "New Item"
    In the next dialog select the "Empty Element" and name it e.g. "GlobalResources"
    Now click right on the new "GlobalResources" folder (Module) and add a new resource file.
    I named it MyResourceFile.resx
    Enter some keys and values in the resource file
    In the next step click on the MyResourceFile.resx file to display the properties. Change the "Deployment Type" attribute to "AppGlobalResource".
    Now i created a asp literal control and in the text property i did the following
    <asp:Literal ID="litControl" runat="server" Text="<%$ Resources:MyResourceFile, Name %>"></asp:Literal>
    and then i tried to deplo the solution i get the following error
    Error    14    The name 'MyResourceFile' does not exist in the current context    C:\Users\Administrator\Documents\Visual Studio 2012\Projects\MySolution\MySolution\WebParts\Test\Test.ascx.g.cs    56  
     60    MySolution
    Please let me know what am i missing,actually i want to deploy my resource files under the AppGlobalResource folder.

    I am trying to get value from the resource file but not able to deploy my solution.
    I  added an empty element in my solution and then added resource file in it,after that i used to get resource file value in the mark up file like this
    <asp:Literal ID="litControl" runat="server" Text="<%$ Resources:MyResourceFile, Name %>"></asp:Literal>
    but when i build/deploy the solution i am getting the following error.
    The name 'MyResourceFile' does not exist in the current context.
    Note: I am using SharePoint 2013 and using Visual Studio 2012 Premium edition,and this issue is occuring in both sandboxed and farm solution.
    please help.

  • How to enable visio file (.vsd) preview in sharepoint 2013

    I enabled visio service, but when I click a vsd file in document, it is not show online, just download it.
    Awen

    As per my understanding SharePoint will not open .VSD files in browser. If you are using Visio 2013 then save those files as .VSDX and SharePoint 2013 will open those files in Browser or you can save your Visio file as Web Drawing (.VDW) and they should
    open in browser as well.
    Amit

  • How to use Sharepoint 2013 img file

    Hi,
    I downloaded Sharepoint 2013 as an img file. I am trying to install it on VMWare 5.1 which only accepts ISO files. How can I convert the img file to ISO or what other workarounds are available?
    I already tried renaming the file to ISO, but it didn't work.
    Thanks

    Hi WaelS,
    If you want to use img file in VMWare, you may need to convert the img file to ISO, as VMWare doen't support img file.
    Please do as the followings to convert the img file to iso:
     1. Unzip the files
     2. Open a command prompt (Start > Run > type cmd, press Enter)
     3. Browse to the folder where the unzipped files are (cd "c:\Windows ISO Files")
     4. Considering that you are in the folder containing the files command prompt, type
           copy /b file1+file2+file3+file4+file5 file.iso
     4a. Check that the files have no extension. If they have, the command changes to something like:
           copy /b file1.ext+file2.ext+file3.ext+file4.ext+file5.ext file.iso
     4b. If there aren't *any* other files in the folder, typing this should be enough:
           copy /b *.* dvd_file.iso
    If you still have question about the issue, I suggest you can post a thread in corresponding forum, you will get more helpful information from there.
    Best Reagrds
    Zhengyu Guo
    TechNet Community Support

  • Issue with large file uploads 2MB to SharePoint 2013 using CSOM in BizTalk 2013

    Hi,
    I am getting errors when I try to upload any file > 2MB to any SP site using BT 2013 CSOM .
    Any file less than this processes successfully.
    Any one having experience in correcting the issue ?
    Thanks
    Ritu Raj
    Regards
    Ritu Raj
    When you see answers and helpful posts,
    please click Vote As Helpful, Propose As Answer, and/or Mark As Answer

    Did you try asking in a SharePoint forum?
    Thanks!
    Ed Price, Azure & Power BI Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • How to change 'Modified By' column value when a new file is uploaded in SharePoint 2013 using Client Object Model?

    I want to change 'Modified By' column value of a file that is being uploaded using Client Object Model in SharePoint 2013. The problem is that the version of the file is changing. Kindly help me. The code that I am using is:
    using (System.IO.Stream fileStream = System.IO.File.OpenRead(m_strFilePath))
        Microsoft.SharePoint.Client.File.SaveBinaryDirect(m_clientContext, str_URLOfFile, fileStream, true);
        Microsoft.SharePoint.Client.File fileUploaded = m_List.RootFolder.Files.GetByUrl(str_URLOfFile);
        m_clientContext.Load(fileUploaded);
        m_clientContext.ExecuteQuery();
        User user1 = m_Web.EnsureUser("User1");
        User user2 = m_Web.EnsureUser("User2");
        ListItem item = fileUploaded.ListItemAllFields;
        fileUploaded.CheckOut();
        item["UserDefinedColumn"] = "UserDefinedValue1";
        item["Title"] = "UserDefinedValue2";
        item["Editor"] = user1;
        item["Author"] = user2;
        item.Update();
        fileUploaded.CheckIn(string.Empty, CheckinType.OverwriteCheckIn);
        m_clientContext.ExecuteQuery();

    Hi talib2608,
    Chris is correct for this issue, when calling update using ListItem.update method, it will increase item versions, using SystemUpdate and UpdateOverwriteVersion will update the list item overwrite version.
    these two methods are not available in CSOM/REST, only server object model is available for this.
    Thanks,
    Qiao Wei
    TechNet Community Support

  • Get/retreive managed metadata column value from Document Library using SharePoint 2013 JSOM

    Hi,
    I am trying to retrieve managed metadata column (NewsCategory) value in SharePoint 2013 Document library using JSOM.
    I get "Object Object" rather than actual value.
    I tried:-
    var newsCat = item.get_item('NewsCategory');
    alert(newsCat) //Displays [Object Object]
    var newsCatLabel = newsCat.get_label();
    var newsCatId = newsCat.get_termGuid();
    But, I get the error "Object doesn't support property or method get_label()"
    I also tried :-
    var newsTags = item.get_item(' NewsCategory ');
    for (var i = 0; i < newsTags.get_count() ; i++) {
    var newsTag = newsTags.getItemAtIndex(i);
    var newsTagLabel = newsTag.get_label();
    var newsTagId = newsTag.get_termGuid();
    Even now I get the error "Object doesn't support property or method get_count()"
    I have included " NewsCategory " in the load request:- context.load(items, 'Include(File, NewsCategory)');
    Any idea what the issue is? Do I have to add any *.js file using $.getScript?
    I added following .js files
    var scriptbase = _spPageContextInfo.webServerRelativeUrl + "/_layouts/15/";
    $.getScript(scriptbase + "SP.Runtime.js", function () {
    $.getScript(scriptbase + "SP.js", function () {
    $.getScript(scriptbase + "SP.Core.js", function () {
    Thanks in Advance,

    Hi Patrick,
    I already added those references. I just pasted the parts of script snippet in my initial post. To avoid confusion I am pasting here complete script.
    2.1.1.min.js"></script>
    <script type="text/javascript">
    $(document).ready(function(){
    var scriptbase = _spPageContextInfo.webServerRelativeUrl + "/_layouts/15/";
    $.getScript(scriptbase + "SP.Runtime.js", function () {
    $.getScript(scriptbase + "SP.js", function () {
    $.getScript(scriptbase + "SP.Core.js", function () {
    function getdata() {
    var context = new SP.ClientContext.get_current();
    var web = context.get_web();
    var list = web.get_lists().getByTitle('Documents');
    var camlQuery = new SP.CamlQuery();
    var filterCategory = 'Solutions';
    var IDfromTaxonomyHiddenList = 15;
    camlQuery.set_viewXml('<View><Query><Where><Eq><FieldRef LookupId="TRUE" Name="'+filterCategory+'" /><Value Type="ID">' + IDfromTaxonomyHiddenList +'</Value></Eq></Where></Query></View>');
    /*the above CAML query successfully gets all the list items matching the criteria including "NewsCategory" managed metadata column values
    But when I try to display the value it retrieved it ouputs/emits Object Object rather than actual values */
    var items = list.getItems(camlQuery);
    context.load(items, 'Include(File,NewsCategory)');
    context.executeQueryAsync(
    Function.createDelegate(this, function (sender, args) {
    if (items.get_count() > 0) {
    var listItemEnumerator = items.getEnumerator();
    while (listItemEnumerator.moveNext()) {
    var oListItem = listItemEnumerator.get_current();
    var file = oListItem.get_file();
    var name = file.get_name();
    var newsCat = oListItem.get_item('NewsCategory'); alert(newsTags.constructor.getName());
    alert(newsCat) //Displays [Object Object]
    var newsCatLabel = newsCat.get_label(); // Here it errors out with message "Object doesn't support property or method get_label()"
    var newsCatId = newsCat.get_termGuid();
    } //end while
    }//end if
    Function.createDelegate(this, function (sender, args) {
    alert('Request failed. ' + args.get_message() + '\n' + args.get_stackTrace());
    ExecuteOrDelayUntilScriptLoaded(getdata, "SP.Core.js");
    </script>
    In the above script "var name = file.get_name(); " gets the exact file name.
    But the line "var newsCat = item.get_item('NewsCategory');
           alert(newsCat) //Displays [Object Object]  rather than actual value.
    Issue resolved replace "oListItem.get_item('NewsCategory');" with oListItem.get_item('NewsCategory').get_label();"
    Thanks

  • Using Sharepoint 2013 with SSRS native mode !

    Hi there !
    We have 2 servers A & B. A is Sharepoint server and on B we have installed SSRS in native mode. Server C is database. We are not looking to use SharePoint Integration mode but We are planning to use native mode only !
    We are looking for a way to make A & B talk as how a report hosted on B will show up on A since its not in integrated mode?
    Can you please let us know of the proper steps to deploy this?
    Thanks in Advance !

    the "integration" between SP and SSRS native mode is basically an IFrame.
    you should be able to find the RS native mode integration solution file (which is just two webparts, the report manager web part, and report viewer web part) somewhere on the SQL server / media... should still work with SP2013.
    Keep in mind that SharePoint's authentication will be COMPLETELY INDEPENDENT AND UNUSED when accessing the reports... an iFrame is just another web request made by the browser.
    Scott Brickey
    MCTS, MCPD, MCITP
    www.sbrickey.com
    Strategic Data Systems - for all your SharePoint needs

  • Using SharePoint 2013 Document Library for Office 2010 Workgroup Templates

    Dear all,
    we are about to introduce SharePoint 2013 and are looking for a way to use it as location for our Office 2010 workgroup templates. But when I try to configure it with in Word options it tells me that URLs are not allowed here.
    I've searched this forum but saw no thread that has a solution so far.
    So I just want to know if anyone implemented this feature or even has an idea that could work...
    Thank you in advance,
    Uwe

    Hi,
    Based on my tested in my environment ( Word 2010 & Share Point 2013), we can't point to the SharePoint library URL directly with Workgroup Templates.
    Please try the workaround:
    Sync the SharePoint site libraries to local disk.
    http://office.microsoft.com/en-us/support/sync-onedrive-for-business-or-sharepoint-site-libraries-to-your-computer-HA102832401.aspx
    Set the Workgroup Template to a local drive (to create the reg key)
    Open regedit and set the location to the mapped drive:
    Setting Name: SharedTemplates (Type REG_SZ)
    Reg Key: HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Common\General
    Quote From:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/93f2e50b-9af7-43ac-8151-ea66072afc5b/how-do-i-get-ms-word-to-look-at-sharepoint-for-workgroup-templates?forum=sharepointadminlegacy
    http://sharepointfeaturesandfailures.blogspot.com/2010/11/mapping-office-shared-template-location.html
    http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/MS-SharePoint/Q_27950770.html
    http://www.endusersharepoint.com/EUSP2010/2010/07/01/consuming-sharepoint-content-types-in-office-2010/
    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of
    this information.
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Power Pivot 2013 Using SharePoint 2013 List as Source Data

    Background: On a SharePoint 2013 site, there are lists that have the exact same columns but due to their size I had to create a different list for each year.
    These are essentially my data lists or tables that end users enter data into. These lists have look up columns in them, referencing columns from look up lists or tables located on the same site.
    Goals:
    1) Create a Power Pivot Gallery on SharePoint 2013 that is able to leverage the "manage data refresh" feature using the SharePoint 2013 List data that is on the same SharePoint 2013 site.  
    2) Combine all the data lists/tables into one table once in Power Pivot 2013. The Look Up lists/tables will remain separate.
    Challenge: Being able to merge or do a union query to the "data lists" and still maintain the ability to leverage the "manage data refresh" feature. 
    This is a tactical, quick fix solution, and I
    cannot use SQL Server and am operating under the assumption that I do not have Access Services 2013 as an option.  
    Failed Attempt #1: What I already tried was linking the lists to an Access 2013 database and did a Union query from Power Pivot which merged the data from the different data tables
    as I wanted it to. Then I uploaded that Access Database to a document library on that same site, thinking that I could maintain the ability to leverage the "manage data refresh" feature but I was wrong.
    Any thoughts or suggestions? 
    Thanks in advance for any help!
    Cheers, Johnny
    Johnny

    You can connect to SharePoint Lists using Power Query (and of course Union multiple Lists and more using Pwer Query) - but Automatic refresh would not work with SharePoint. Power BI (Cloud service) allows auto refresh of Power Query, but not on SharePoint.
    Hopefully some day soon.
    Regards, Avi
    www.powerpivotpro.com
    Wiki:How to ask a Power Pivot Question to get a prompt, accurate and helpful response

Maybe you are looking for

  • How to set the tilte for a multilingual report

    Hi all! I am trying to display some titles for a report that is multilingual (in each page) I was thinking a bit and I came with two possible solutions. for both solutions I create a field in the main section in the margin section in the margin, call

  • Quickly fill in blank cells (Excel equivalent)?

    I often import reports from Quicken into Numbers to create data tables for analysis purposes and find that I must fill in blank cells to ensure I have data consistency across rows. While I am confident there is no built in way for Numbers to quickly

  • Using the "Convert higher bit rate songs to 128 kbps AAC" feature...

    I recently discovered the "Convert higher bit rate songs to 128 kbps AAC" feature and used it to copy my entire 70 GB music library to my 64GB iPad. The music library now occupies only 45 GB. Awesome!!! Unfortunately, the whole process took well over

  • Manipulate programmatically struts-config.xml

    Hi, Can you please share your thought on the best way (or any way, as a matter of fact) one can manipulate the struts-config.xml from a JDeveloper extension ? I can obtain the node using Node node = NodeFactory.find( url ); (where url is the URL for

  • Why does the .dmg file for newest version always download as corrupted?

    When I try to download the newest version of Firefox I do not get the window where you are to drag the Firefox icon into the applications folder. When I try to manually open the dmg file I get a dialog box saying the image is corrupted.