<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>An Inquisitive Mind</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/sanjaya/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/sanjaya/feed.xml</link>
    <description />
    <lastBuildDate>Wed, 17 Apr 2019 03:41:36 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Maintenance Mode - User Friendly Message</title>
      <link>https://docs.microsoft.com/archive/blogs/sanjaya/maintenance-mode-user-friendly-message</link>
      <pubDate>Tue, 28 Apr 2009 05:58:00 GMT</pubDate>
      <dc:creator><![CDATA[SanjayArora]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sanjaya/2009/04/28/maintenance-mode-user-friendly-message/</guid>
      <description><![CDATA[I know this is not something desired (not really a HA scenario), but if you have to bring down your...]]></description>
      <content:encoded><![CDATA[<P><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">I know this is not something desired (not really a HA scenario), but if you have to bring down your site, how do you communicate it to users in a user friendly way? <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P>
<P><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt">Well, as we all understand SharePoint is ASP.NET at the end, so app_offline.htm should still work? Now, what is app_offline.htm? It was a new feature included in ASP.NET 2.0. This basically lets ASP.NET 2.0&nbsp;to shut-down the application, unload the application domain from the server, and stop processing any new incoming requests for that application,&nbsp;sending back all requests for dynamic pages in the application to the app_offline.htm page.</SPAN></P>]]></content:encoded>
    </item>
    <item>
      <title>Ramp up in SharePoint</title>
      <link>https://docs.microsoft.com/archive/blogs/sanjaya/ramp-up-in-sharepoint</link>
      <pubDate>Tue, 03 Mar 2009 00:43:00 GMT</pubDate>
      <dc:creator><![CDATA[SanjayArora]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sanjaya/2009/03/03/ramp-up-in-sharepoint/</guid>
      <description><![CDATA[Here is the MSDN link, which would help you to do so..]]></description>
      <content:encoded><![CDATA[<A class="" href="https://msdn.microsoft.com/en-us/rampup/default.aspx" mce_href="https://msdn.microsoft.com/en-us/rampup/default.aspx">Here</A> is the MSDN link, which would help you to do so..]]></content:encoded>
    </item>
    <item>
      <title>DebugView and SharePoint..</title>
      <link>https://docs.microsoft.com/archive/blogs/sanjaya/debugview-and-sharepoint</link>
      <pubDate>Fri, 27 Feb 2009 10:12:00 GMT</pubDate>
      <dc:creator><![CDATA[SanjayArora]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sanjaya/2009/02/27/debugview-and-sharepoint/</guid>
      <description><![CDATA[The other day my colleague Yasin and myself&nbsp;found out something interesting if you are...]]></description>
      <content:encoded><![CDATA[<P>The other day my colleague Yasin and myself&nbsp;found out something interesting if you are connected to sharepoint&nbsp;WFE remotely, which we mostly do,&nbsp;to capture debug traces you need to ensure you have "Capture Global Win32" option on.</P>
<P>Yasin has an interesting blog entry&nbsp;about asp.net debugging using debugView in&nbsp;his <A class="" href="https://blogs.msdn.com/yasinalladin/archive/2007/03/18/debuging-net-applications-without-attaching-debuggers-for-ms-office-add-ins.aspx" mce_href="https://blogs.msdn.com/yasinalladin/archive/2007/03/18/debuging-net-applications-without-attaching-debuggers-for-ms-office-add-ins.aspx">blog</A>.</P>]]></content:encoded>
    </item>
    <item>
      <title>How to execute a JavaScript onLoad function in SharePoint?</title>
      <link>https://docs.microsoft.com/archive/blogs/sanjaya/how-to-execute-a-javascript-onload-function-in-sharepoint</link>
      <pubDate>Wed, 22 Oct 2008 23:31:00 GMT</pubDate>
      <dc:creator><![CDATA[SanjayArora]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sanjaya/2008/10/22/how-to-execute-a-javascript-onload-function-in-sharepoint/</guid>
      <description><![CDATA[SharePoint provides a JavaScript array “_spBodyOnLoadFunctionNames”, any function to be executed...]]></description>
      <content:encoded><![CDATA[<P class=MsoNormal style="MARGIN: 0cm 0cm 10pt; LINE-HEIGHT: normal"><SPAN style="FONT-SIZE: 12pt; mso-bidi-font-family: 'Times New Roman'; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: EN-IN"><FONT face=Calibri>SharePoint provides a JavaScript array “_spBodyOnLoadFunctionNames”, any function to be executed onLoad needs to be added to this array e.g.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 10pt; LINE-HEIGHT: normal"><SPAN style="FONT-SIZE: 12pt; mso-bidi-font-family: 'Times New Roman'; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: EN-IN"><FONT face=Calibri>_spBodyOnLoadFunctionNames.push("ExecuteMyFunctionOnLoad");<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 10pt; LINE-HEIGHT: normal"><SPAN style="FONT-SIZE: 12pt; mso-bidi-font-family: 'Times New Roman'; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: EN-IN"><FONT face=Calibri>Now, why does your JavaScript function doesn’t execute if you just register it with ClientScript.RegisterStartupScript?<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 10pt; LINE-HEIGHT: normal"><SPAN style="FONT-SIZE: 12pt; mso-bidi-font-family: 'Times New Roman'; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: EN-IN"><FONT face=Calibri>Actually, content pages can’t execute JavaScript function on body load, reason; content pages can’t directly add a function to the body’s OnLoad event if master page contains the &lt;body&gt; element (which is mostly true).<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 10pt; LINE-HEIGHT: normal"><SPAN style="FONT-SIZE: 12pt; mso-bidi-font-family: 'Times New Roman'; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: EN-IN"><FONT face=Calibri>This array is basically a part of init.js located in “C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS\1033\”. If you open the javascript file, you will notice the page onLoad event is handled by function _spBodyOnLoadWrapper, which further calls ProcessDefaultOnLoad, and this function executes all the function names added in array "_spBodyOnLoadFunctionNames".<o:p></o:p></FONT></SPAN></P>]]></content:encoded>
    </item>
    <item>
      <title>Error while deploying Infopath form in workflow</title>
      <link>https://docs.microsoft.com/archive/blogs/sanjaya/error-while-deploying-infopath-form-in-workflow</link>
      <pubDate>Sun, 28 Sep 2008 18:11:00 GMT</pubDate>
      <dc:creator><![CDATA[SanjayArora]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sanjaya/2008/09/28/error-while-deploying-infopath-form-in-workflow/</guid>
      <description><![CDATA[When you deploy workflow as a feature and try to attach it to a document library you get this error...]]></description>
      <content:encoded><![CDATA[<P class=MsoNormal style="MARGIN: 0cm 0cm 10pt"><FONT face=Calibri size=3>When you deploy workflow as a feature and try to attach it to a document library you get this error “The Form has been closed” or a detailed error like “Value cannot be null. Parameter name: g<SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>at System.Guid..ctor(String g)”, the probable reasons could be</FONT></P>
<P class=MsoListParagraphCxSpFirst style="MARGIN: 0cm 0cm 0pt 36pt; TEXT-INDENT: -18pt; mso-list: l0 level1 lfo1"><SPAN style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin"><SPAN style="mso-list: Ignore"><FONT face=Calibri size=3>1.</FONT><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><FONT face=Calibri size=3>Workflow is unable to find Workflow enabled InfoPath form template. </FONT></P>
<P class=MsoListParagraphCxSpMiddle style="MARGIN: 0cm 0cm 0pt 36pt; TEXT-INDENT: -18pt; mso-list: l0 level1 lfo1"><SPAN style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin"><SPAN style="mso-list: Ignore"><FONT face=Calibri size=3>2.</FONT><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><FONT face=Calibri size=3>The InfoPath form should be browser compatible.</FONT></P>
<P class=MsoListParagraphCxSpLast style="MARGIN: 0cm 0cm 10pt 36pt; TEXT-INDENT: -18pt; mso-list: l0 level1 lfo1"><SPAN style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin"><SPAN style="mso-list: Ignore"><FONT face=Calibri size=3>3.</FONT><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="FONT-SIZE: 9.5pt; COLOR: #080808; LINE-HEIGHT: 115%; FONT-FAMILY: 'Verdana','sans-serif'">Issue with details of receiver assembly as specified in feature.xml.</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 10pt"><FONT face=Calibri size=3>How do you troubleshoot? </FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 10pt"><FONT face=Calibri size=3>Verify relative path of InfoPath form template as specified in Feature.xml for value attribute of XML tag <SPAN style="mso-spacerun: yes">&nbsp;</SPAN>&lt;Property Key="RegisterForms" Value="*.xsn" /&gt;, if in case InfoPath form template is not in same folder as feature, and is in a subfolder then it should be &lt;Property Key="RegisterForms" Value="&lt;SUBFOLDERNAME&gt;\*.xsn" /&gt;,</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 10pt"><FONT size=3><FONT face=Calibri>Go to Central Admin</FONT><SPAN style="FONT-FAMILY: Wingdings; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-char-type: symbol; mso-symbol-font-family: Wingdings"><SPAN style="mso-char-type: symbol; mso-symbol-font-family: Wingdings">à</SPAN></SPAN><FONT face=Calibri>Application Management </FONT><SPAN style="FONT-FAMILY: Wingdings; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-char-type: symbol; mso-symbol-font-family: Wingdings"><SPAN style="mso-char-type: symbol; mso-symbol-font-family: Wingdings">à</SPAN></SPAN><FONT face=Calibri>Manage Form Templates. Verify status of your InfoPath form template, if it is not “Ready” there is a probability that InfoPath form template is not properly deployed or there is an issue with the template. If status is “Ready” but Workflow enabled is “No”, that again indicated issue with InfoPath form. Now, how do we verify if there is an issue with form template?<SPAN style="mso-spacerun: yes">&nbsp; </SPAN></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 10pt"><FONT face=Calibri size=3>Execute following command</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 10pt"><FONT face=Calibri size=3>stsadm –o verifyformtemplate – filename &lt;FullPathOfXSN&gt;</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 10pt"><FONT face=Calibri size=3>In case you get the message “There were 0 errors”, the above mentioned issue does not apply to you.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Otherwise, Open the form in design mode and republish the form, this time please ensure that in the publishing wizard do not enter any alternate publish location, with that there should be no value against “Access path” in the last step of publishing wizard .</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 10pt"><FONT size=3><FONT face=Calibri>If after redeploying the feature you still see the same issue, verify form URN as specified in workflow.xml.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>The URN of an InfoPath form can be accessed in design mode through menu option File</FONT><SPAN style="FONT-FAMILY: Wingdings; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-char-type: symbol; mso-symbol-font-family: Wingdings"><SPAN style="mso-char-type: symbol; mso-symbol-font-family: Wingdings">à</SPAN></SPAN><FONT face=Calibri>Properties; Id is the URN of the form.</FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 10pt"><FONT face=Calibri size=3>It is important to note, unless feature is reinstalled the changed&nbsp;InfoPath&nbsp;form would not be registered.&nbsp;</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 10pt"><FONT face=Calibri size=3></FONT>&nbsp;</P>]]></content:encoded>
    </item>
    <item>
      <title>My First Blog Entry..</title>
      <link>https://docs.microsoft.com/archive/blogs/sanjaya/my-first-blog-entry</link>
      <pubDate>Sat, 27 Sep 2008 12:10:00 GMT</pubDate>
      <dc:creator><![CDATA[SanjayArora]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/sanjaya/2008/09/27/my-first-blog-entry/</guid>
      <description><![CDATA[Let me introduce myself, I am a consultant with MS Global Services and had been sporting blue badge...]]></description>
      <content:encoded><![CDATA[<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">Let me introduce myself, I am a consultant with MS Global Services and had been sporting blue badge since last 2.5 years. Although I had been a long time avid&nbsp;reader, now would like to contribute to community by sharing my thoughts and experiences on SharePoint.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">Life has been really hectic of late since I had been travelling, but would try my best to be consistent in sharing my experiences.</SPAN></P>]]></content:encoded>
    </item>
  </channel>
</rss>