Archive | Uncategorized RSS for this section

Moving to NaimishPandya.BlogSpot.com

Hey folks!

Starting today, I request you all to visit my new blog @ http://naimishpandya.blogspot.com/

I will no longer be updating the contents at this blog.

Thanks & have fun!!

Infopath cannot save the following form: http://servername….. This document library was either renamed or deleted, or network problem are preventing the file from being saved. If this problem persists, contact your administrator.

This error started appearing every time I try to publish a particular template back to the library.  I’ve been working with this template all week without any issues until this.  The document library wasn’t renamed or deleted.  I can edit and publish changes to form library templates in other site collections without a problem.  This particular form library template does not contain any custom code.

Now in this case, there are couple of things you should try as suggested by Carl G – DC

  • Go to another PC and log-in into windows with your account, then open the template from the library and publish back to the library
  • Open IP Designer on your machine, open an old version of the form, and choose File | Publish | SharePoint Server and choose the same library
  • Clear the InfoPath cache (Start | Run | InfoPath /cache clearall)
  • From IP Designer, File | Publish | SharePoint Server, but this time enter full URL of file path (including the template.xsn)
  • Navigated to Library Settings | Re-link documents to this library, then selected the only submitted document and clicked Re-link All.  Then edit the template and try to publish back to the library
  • Open IP Designer on your machine, open an old version of the form, and choose File | Publish | SharePoint Server and choose to publish to a new library.  Then edit the template in that new library and published again
  • Also try cranking up monitoring for InfoPath Forms Services in Central Admin, repeat the same test of editing and publishing the template and then check the Windows Events Logs on all SharePoint servers in the farm.

2012 in review

The WordPress.com stats helper monkeys prepared a 2012 annual report for this blog.

Here’s an excerpt:

4,329 films were submitted to the 2012 Cannes Film Festival. This blog had 24,000 views in 2012. If each view were a film, this blog would power 6 Film Festivals

Click here to see the complete report.

Internet Explorer Keeps Asking for Username and Password

While working on SharePoint 2010 on remote machine it may happen that whenever you try to open a SharePoint site, the internet explorer will ask for Username and Password (instead of taking current logged in user’s authentication).

This issue could occur if the setting is set to prompt for the User Name and Password

Follow the below steps:

1.  Open Internet explorer, click Tools – Internet Options .

2.  Click the Security tab – Custom Level button.

3.  Under the settings look for “User Authentication Logon” check the box for “Automatic Logon only in Intranet Zone”.

4.  Click Apply. Click OK.

Now restart your Internet Explorer and check if it’s working.

Enjoy & Have fun!! 🙂

Drag and Drop (Add) Web Parts in SharePoint 2010

One of the things that I’ve heard people complain over the years after the release of SharePoint 2010 is the disappearance of Drag & Drop web parts capability. This feature was useful because it allowed the page designer to add as many web parts on a page without having to click add and repeating the process all over again.

This feature is available on SharePoint 2010 with a little manipulation of the site URL of the page that you want to modify by adding the “?toolpaneview=2”

If your URL is

http://mysharepointsite/pages/default.aspx

replace it with

http://mysharepointsite/pages/?toolpaneview=2

By making this small change, the “Add Web Parts” zone is displayed on the right hand side of the page similar to what was available in SharePoint 2007 and WSS 3.0 and from here on you can happily drag and drop.

Thanks & Enjoy!! 🙂

Naimish Pandya [MCTS, MCPD, MVP] – Blog Summary 2011

Wish You A Very Happy New Year 2012!!

The WordPress.com stats helper monkeys prepared a 2011 annual report for my blog.

Here’s an excerpt:

A New York City subway train holds 1,200 people. This blog was viewed about 4,300 times in 2011. If it were a NYC subway train, it would take about 4 trips to carry that many people.

Click here to see the complete report.

Add Custom Ribbon Button in SharePoint 2010

This is my personal format to add a Custom Ribbon Button in SharePoint 2010 :

Code :

<?xml version="1.0" encoding="utf-8"?>

<Elements xmlns="http://schemas.microsoft.com/sharepoint/">

  <CustomAction
    Id="CustomRibbonTab"
    Location="CommandUI.Ribbon.ListView"
    RegistrationId="101"
    RegistrationType="List"
    Sequence="5">

    <CommandUIExtension>

      <CommandUIDefinitions>

        <CommandUIDefinition Location="Ribbon.Documents.New.Controls._children">

          <Button
              Id="Ribbon.Documents.New.RibbonTest"
              Alt="Test Button"
              Sequence="5"
              Command="Test_Button"
              LabelText="Click Me!"
              Image32by32="/_layouts/images/ribbon_blog_32.png"
              Image16by16="/_layouts/images/ribbon_blog_16.png"
              TemplateAlias="o1" />

        </CommandUIDefinition>

      </CommandUIDefinitions>

      <CommandUIHandlers>

        <CommandUIHandler
          Command="Test_Button"
          CommandAction="javascript:alert('Why Did You Clicked Me?');" />

      </CommandUIHandlers>

    </CommandUIExtension>

  </CustomAction>  

</Elements>
%d bloggers like this: