<?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>Deepak Mittal</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/dmittal/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/dmittal/feed.xml</link>
    <description />
    <lastBuildDate>Wed, 17 Apr 2019 03:20:33 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>.NET framework 3.5 installation failing on Windows 2008.</title>
      <link>https://docs.microsoft.com/archive/blogs/dmittal/net-framework-3-5-installation-failing-on-windows-2008</link>
      <pubDate>Fri, 24 Jul 2009 08:08:00 GMT</pubDate>
      <dc:creator><![CDATA[dmittal]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/dmittal/2009/07/24/net-framework-3-5-installation-failing-on-windows-2008/</guid>
      <description><![CDATA[Resolution:
--&nbsp;If you are facing problem while installation of .NET framework 3.5, may be...]]></description>
      <content:encoded><![CDATA[<FONT size=1>
<P><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin">Resolution:<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P>
<P><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin">--&nbsp;If you are facing problem while installation of .NET framework 3.5, may be the below information will help, it helped me in one of my case.<o:p></o:p></SPAN></P>
<P><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin">-- Check the .NET framework logs from temp directory (framework logs starts with dd_*):&nbsp;&nbsp;&nbsp;<o:p></o:p></SPAN></P>
<P><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin">&nbsp;&nbsp;&nbsp;[07/22/09,16:35:02] Optional Component 'Microsoft .Net Framework 3.0': [2] Error code 87 for this component means "The parameter is incorrect."<o:p></o:p></SPAN></P>
<P><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin">&nbsp;&nbsp; [07/22/09,16:35:02] Optional Component 'Microsoft .Net Framework 3.0': [2] Setup Failed on component Optional Component 'Microsoft .Net Framework 3.0'<o:p></o:p></SPAN></P>
<P><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin">&nbsp;&nbsp; [07/22/09,17:56:29] Optional Component 'Microsoft .Net Framework 3.0': [2] Error code 87 for this component means "The parameter is incorrect.<o:p></o:p></SPAN></P>
<P><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin">-- Above point suggests that there is a problem while installation of .NET framework 3.0.<o:p></o:p></SPAN></P>
<P><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin">--&nbsp;From the registry information&nbsp;check if there is key of 3.0:<o:p></o:p></SPAN></P>
<P><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin">&nbsp;&nbsp;&nbsp; HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup<o:p></o:p></SPAN></P>
<P><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin">&nbsp;&nbsp;&nbsp; HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v2.0.50727 <o:p></o:p></SPAN></P>
<P><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin">&nbsp;&nbsp;&nbsp; HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v3.0 <o:p></o:p></SPAN></P>
<P><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin">&nbsp;&nbsp;&nbsp; HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v3.5 <o:p></o:p></SPAN></P>
<P><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin">-- Windows 2008 comes with .NET framework 3.0, but anyhow it was not present on the box. in one of&nbsp;my case.<o:p></o:p></SPAN></P>
<P><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin">&nbsp;&nbsp;&nbsp;<A href="https://msdn.microsoft.com/en-us/library/cc531167.aspx" mce_href="https://msdn.microsoft.com/en-us/library/cc531167.aspx"><FONT color=#800080>https://msdn.microsoft.com/en-us/library/cc531167.aspx</FONT></A><o:p></o:p></SPAN></P>
<P><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin">-- Do the installation of .NET framework 3.0 from Role Management tool on the box.<o:p></o:p></SPAN></P>
<P><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin">&nbsp;&nbsp; Computer Management --&gt; Features --&gt; Add features --&gt; Select the installation of .NET framework 3.0<o:p></o:p></SPAN></P>
<P><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin">-- After that, installation of .NET framework 3.5 got installed successfully.</SPAN></P>
<P><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin">Framework download link: <a href="https://www.microsoft.com/downloads/details.aspx?FamilyId=333325FD-AE52-4E35-B531-508D977D32A6&displaylang=en">.NET framework 3.5</a></SPAN></P>
<P><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-latin"><o:p>&nbsp;</o:p></SPAN></P>
<P mce_keep="true"><SPAN style="mso-bidi-font-family: Arial; mso-ansi-language: EN" lang=EN><FONT size=3 face=Calibri>Disclaimer: This is a personal weblog. The opinions expressed here represent my own and not those of my employer.</FONT></SPAN> </P></FONT>]]></content:encoded>
    </item>
    <item>
      <title>Building VS deployment project(MSI) with team build</title>
      <link>https://docs.microsoft.com/archive/blogs/dmittal/building-vs-deployment-projectmsi-with-team-build</link>
      <pubDate>Fri, 24 Jul 2009 06:35:00 GMT</pubDate>
      <dc:creator><![CDATA[dmittal]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/dmittal/2009/07/24/building-vs-deployment-projectmsi-with-team-build/</guid>
      <description><![CDATA[You might have a requirement where you need to create a MSI for your project and distribute to the...]]></description>
      <content:encoded><![CDATA[<P>You might have a requirement where you need to create a MSI for your project and distribute to the customers. </P>
<P>Team build does not support the creation of MSI directly due to the file system of .vdproj can not be understood by MSBuild. But you may give it a try to create one with some tweaking with your project and .proj file of team build type.</P>
<P>Here is the msdn article which speaks about the same:</P>
<P><A href="https://msdn.microsoft.com/en-us/library/ms404859(VS.80).aspx" mce_href="https://msdn.microsoft.com/en-us/library/ms404859(VS.80).aspx">https://msdn.microsoft.com/en-us/library/ms404859(VS.80).aspx</A></P>
<P>There are lots of other articles also, just to add my 2 cents here on how you can move while using team build for building visual studio deployment project:</P>
<P>1) First make sure you are able to build visual studio setup and deployment project properly with visual studio.</P>
<P>2) Now to get the understanding of building deployment project with team build,&nbsp;perform the steps mentioned in&nbsp;the above article on one test project rather than performing everything&nbsp; directly on your main project, reason is same as you always get while developing an application, not to mess up the main project :).</P>
<P>3) Once you are done successfully with the sample application, add the below code in .proj file for your team build definition.</P>
<P>&nbsp;&nbsp;&nbsp; &lt;Target Name="AfterCompile"&gt; <BR>&nbsp;&nbsp;&nbsp; &lt;Exec Command="&amp;quot;$(ProgramFiles)\Microsoft Visual Studio 9.0\Common7\IDE\devenv&amp;quot; &amp;quot;$(SolutionRoot) \HelloWorldTest\HelloWorldTestInstaller\HelloWorldTestInstaller.vdproj&amp;quot; /Build &amp;quot;Debug|Any CPU&amp;quot;"/&gt;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&lt;/Target&gt; <BR></P>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (Change the "HelloWorldTestInstaller" with your project name)</P>
<P>&nbsp;&nbsp;&nbsp;a)&nbsp;Here we are just calling devenv.exe with the target which will build the .vdproj after compiling the main application. </P>
<P>&nbsp;&nbsp;&nbsp;b) You would require the&nbsp;full installation of visual studio, not only the components which gets installed with team explorer and team build, otherwise deployment project build will fail.</P>
<P>&nbsp;&nbsp; c) If you are copying the dlls to some custom folder&nbsp;rather than the bin folder, then you need to set it to "PostBuildEvent" for the project's build event.</P>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Right click the project properties --&gt; Build Events</P>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Here you need to mention the path, it will&nbsp;look like this:</P>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Copy $(TeamBuildOUtDir)\bin\debug $(SolutionRoot)\library\&nbsp;&nbsp; (So&nbsp;here i am putting the dlls from debug folder to library folder).&nbsp;</P>
<P>&nbsp;&nbsp; d) MSI will not be copied to drop location by default, it will be in the bin\debug or bin\release or library as mentioned above. So you need to copy the MSI to drop location by mentioning the below line of code:</P>
<P>&nbsp;&nbsp;&nbsp;&nbsp; &lt;Copy SourceFiles="$(SolutionRoot)\HelloWorldTest\HelloWorldTestInstaller\Debug\HelloWorldTestInstaller.msi" DestinationFolder="$(OutDir)" /&gt; </P>
<P>&nbsp;&nbsp;&nbsp;e) Also as you might be aware, if you don't want to copy the dlls to drop location as you are already having MSI of your project with you. Here is what you need to define in the .proj file:</P>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;SkipDropLocation&gt;True&lt;\SkipDropLocation&gt;</P>
<P>&nbsp;&nbsp; f) You may get some problem of references, to correct them, check the build order of your project, library. It should be in proper order. The way MSBuild build the project is bit different from the way visual studio build the project.<BR></P>
<P>Hope this article would be of some help or give you some idea when creating MSI for your project with team build.</P>
<P><SPAN style="mso-bidi-font-family: Arial; mso-ansi-language: EN" lang=EN><FONT size=3 face=Calibri>Disclaimer: This is a personal weblog. The opinions expressed here represent my own and not those of my employer.</FONT></SPAN> </P>
<P>&nbsp;&nbsp;&nbsp; <BR></P>]]></content:encoded>
    </item>
    <item>
      <title>.NET framework 3.5 SP1 installation failure with Error 1603</title>
      <link>https://docs.microsoft.com/archive/blogs/dmittal/net-framework-3-5-sp1-installation-failure-with-error-1603</link>
      <pubDate>Sat, 14 Mar 2009 16:03:00 GMT</pubDate>
      <dc:creator><![CDATA[dmittal]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/dmittal/2009/03/14/net-framework-3-5-sp1-installation-failure-with-error-1603/</guid>
      <description><![CDATA[Problem Desc:============
-- .NET framework 3.5 SP1 fails with error:&nbsp;&nbsp;&nbsp; Error code...]]></description>
      <content:encoded><![CDATA[<P>Problem Desc:<BR>============</P>
<P>-- .NET framework 3.5 SP1 fails with error:<BR>&nbsp;&nbsp;&nbsp; Error code 1603 for this component means "Fatal error during installation.</P>
<P>Resolution:<BR>=========</P>
<P>--&gt; This error is very generic in nature.<BR>--&gt; Sometime it is thrown due to restriction at group policy which rejects the installation of any update or patch.<BR>--&gt; In .NET framework 3.5 SP1 installation failure scenario, i would recommend you to check once dd_xps.txt log. It can be found in %temp% folder. <BR>--&gt; Failure can occur at 3.0 service pack installation.</P>
<P>--&gt; if in above mentioned log file, you find error like:</P>
<P>&nbsp;&nbsp;&nbsp;&nbsp; =============================</P>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.744: d:\aab949b8ae7e35434dde6b\update\update.exe (version X.X.X.X) <BR>&nbsp;&nbsp;&nbsp;&nbsp; 2.744: Failed To Enable SE_BACKUP_PRIVILEGE <BR>&nbsp;&nbsp;&nbsp;&nbsp; 2.754: Setup encountered an error: You do not have permission to update OS_name. Please contact your system administrator. <BR>&nbsp;&nbsp;&nbsp;&nbsp; 2.764: You do not have permission to update OS_name.</P>
<P>&nbsp;&nbsp;&nbsp;&nbsp; ==============================</P>
<P>&nbsp;&nbsp;&nbsp;&nbsp; Then it is surely a permission problem and restriction from group policy.</P>
<P>---&gt; Check if user is having permission on below object:</P>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Back up files and directories&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp; Restore files and directories&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp; Manage auditing and security log&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp; Take ownership of files or other objects&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp; Shutdown the system&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp; Debug programs&nbsp;<BR>&nbsp;</P>
<P>--&gt; If not, assign permission to these objects for a user in group policy.<BR>--&gt; After that installation should go fine.</P>
<P>ADDITIONAL RESOURCES:<BR>=======================<BR><A href="https://support.microsoft.com/kb/888791" mce_href="https://support.microsoft.com/kb/888791">https://support.microsoft.com/kb/888791</A><BR>This article speaks about in general for any patch installation.</P>
<P mce_keep="true">&nbsp;</P>
<P><SPAN lang=EN style="mso-bidi-font-family: Arial; mso-ansi-language: EN"><FONT face=Calibri size=3>Disclaimer: This is a personal weblog. The opinions expressed here represent my own and not those of my employer.</FONT></SPAN> </P>]]></content:encoded>
    </item>
    <item>
      <title>Fetching audit permission settings using VBScript..</title>
      <link>https://docs.microsoft.com/archive/blogs/dmittal/fetching-audit-permission-settings-using-vbscript</link>
      <pubDate>Sat, 14 Mar 2009 15:19:00 GMT</pubDate>
      <dc:creator><![CDATA[dmittal]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/dmittal/2009/03/14/fetching-audit-permission-settings-using-vbscript/</guid>
      <description><![CDATA[If you are looking for a script to fetch audit permission settings on a folder, here it...]]></description>
      <content:encoded><![CDATA[<P>If you are looking for a script to fetch audit permission settings on a folder, here it is:</P>
<P>===================================================================================================================</P>
<P>This is just a sample. It would require some modification to run it fully.</P>
<P>Const GENERIC_ALL = &amp;H10000000<BR>Const GENERIC_EXECUTE = &amp;H20000000 <BR>Const GENERIC_READ = &amp;H80000000<BR>Const GENERIC_WRITE = &amp;H40000000 </P>
<P>Const OBJECT_INHERIT_ACE = 1<BR>Const CONTAINER_INHERIT_ACE = 2<BR>Const NO_PROPAGATE_INHERIT_ACE = 4<BR>Const INHERIT_ONLY_ACE = 8<BR>Const INHERITED_ACE = 16</P>
<P>Const AUDIT_ACE_TYPE&nbsp; = &amp;H2&nbsp; </P>
<P>Const FAILED_ACCESS_ACE_FLAG = &amp;H80<BR>Const SUCCESSFUL_ACCESS_ACE_FLAG = &amp;H40</P>
<P>Dim strComputer<BR>strComputer = "."</P>
<P>Dim oShell<BR>Dim sortie,&nbsp;ace, trustee,retVal, wmiSecurityDescriptor<BR></P>
<P>Set objWMIService = GetObject("winmgmts:" _<BR>&nbsp;&nbsp;&nbsp; &amp; "{impersonationLevel=impersonate,(Security)}!\\" _<BR>&nbsp;&nbsp;&nbsp; &amp; strComputer &amp; "\root\cimv2")</P>
<P>Set WshShell = WScript.CreateObject("WScript.Shell")</P>
<P>getPermissions "C:\Test"</P>
<P>Sub getPermissions (name)</P>
<P>Set objFile = objWMIService.Get("Win32_LogicalFileSecuritySetting='" &amp; name &amp; "'")</P>
<P>If objFile.GetSecurityDescriptor(objSD) = 0 Then</P>
<P>If isArray(objSD.SACL) Then</P>
<P><BR>&nbsp;&nbsp;&nbsp; For Each objAce in objSD.SACL</P>
<P>&nbsp;&nbsp;If objAce.AceType = AUDIT_ACE_TYPE Then<BR>&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;strAceType = ""<BR>&nbsp;&nbsp;<BR>&nbsp;&nbsp;If objAce.AceFlags And FAILED_ACCESS_ACE_FLAG Then<BR>&nbsp;&nbsp;&nbsp;If objAce.AceFlags And SUCCESSFUL_ACCESS_ACE_FLAG Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;strAceType = "All"<BR>&nbsp;&nbsp;&nbsp;Else<BR>&nbsp;&nbsp;&nbsp;&nbsp;strAceType = "Fail"<BR>&nbsp;&nbsp;&nbsp;End If<BR>&nbsp;&nbsp;Else<BR>&nbsp;&nbsp;&nbsp;If objAce.AceFlags And SUCCESSFUL_ACCESS_ACE_FLAG Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;strAceType = "Success"<BR>&nbsp;&nbsp;&nbsp;Else<BR>&nbsp;&nbsp;&nbsp;&nbsp;strAceType = "No"<BR>&nbsp;&nbsp;&nbsp;End If<BR>&nbsp;&nbsp;End If<BR>&nbsp;&nbsp;</P>
<P>&nbsp;Wscript.echo strAceType<BR>&nbsp;Wscript.echo objAce.Trustee.Domain &amp; "\" &amp;objAce.Trustee.Name</P>
<P>&nbsp;&nbsp;If objAce.AceFlags And OBJECT_INHERIT_ACE Then<BR>&nbsp;&nbsp;&nbsp;If objAce.AceFlags And CONTAINER_INHERIT_ACE Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;If objAce.AceFlags And INHERIT_ONLY_ACE Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Wscript.echo "Subfolders and Files only"<BR>&nbsp;&nbsp;&nbsp;&nbsp;Else<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Wscript.echo "This Folder, Subfolders and Files"<BR>&nbsp;&nbsp;&nbsp;&nbsp;End If<BR>&nbsp;&nbsp;&nbsp;Else</P>
<P>&nbsp;&nbsp;&nbsp;&nbsp;If objAce.AceFlags And INHERIT_ONLY_ACE Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Wscript.echo "Files Only"<BR>&nbsp;&nbsp;&nbsp;&nbsp;Else<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Wscript.echo "This Folder and Files"<BR>&nbsp;&nbsp;&nbsp;&nbsp;End If<BR>&nbsp;&nbsp;&nbsp;End If</P>
<P>&nbsp;&nbsp;Else<BR>&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;If objAce.AceFlags And CONTAINER_INHERIT_ACE Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;If objAce.AceFlags And INHERIT_ONLY_ACE Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Wscript.echo "Subfolders only"<BR>&nbsp;&nbsp;&nbsp;&nbsp;Else<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Wscript.echo "This Folder and Subfolders"<BR>&nbsp;&nbsp;&nbsp;&nbsp;End If<BR>&nbsp;&nbsp;&nbsp;Else<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Wscript.echo "This Folder Only"<BR>&nbsp;&nbsp;&nbsp;End If</P>
<P>&nbsp;&nbsp;End If</P>
<P><BR>&nbsp;&nbsp;Dim strPerm<BR>&nbsp;&nbsp;strPerm = ""</P>
<P>&nbsp;&nbsp;If objAce.AccessMask AND 524288 Then<BR>&nbsp;&nbsp;&nbsp;strPerm = strPerm &amp; "Take Ownership;"<BR>&nbsp;&nbsp;End If<BR>&nbsp;&nbsp;If objAce.AccessMask AND 262144 Then<BR>&nbsp;&nbsp;&nbsp;strPerm = strPerm &amp; "Change Permissions;"<BR>&nbsp;&nbsp;End If<BR>&nbsp;&nbsp;If objAce.AccessMask AND 131072 Then<BR>&nbsp;&nbsp;&nbsp;strPerm = strPerm &amp; "Read Permissions;"<BR>&nbsp;&nbsp;End If<BR>&nbsp;&nbsp;If objAce.AccessMask AND 65536 Then<BR>&nbsp;&nbsp;&nbsp;strPerm = strPerm &amp; "Delete;"<BR>&nbsp;&nbsp;End If<BR>&nbsp;&nbsp;If objAce.AccessMask AND 256 Then<BR>&nbsp;&nbsp;&nbsp;strPerm = strPerm &amp; "Write Attributes;"<BR>&nbsp;&nbsp;End If<BR>&nbsp;&nbsp;If objAce.AccessMask AND 128 Then<BR>&nbsp;&nbsp;&nbsp;strPerm = strPerm &amp; "Read Attributes;"<BR>&nbsp;&nbsp;End If<BR>&nbsp;&nbsp;If objAce.AccessMask AND 64 Then<BR>&nbsp;&nbsp;&nbsp;strPerm = strPerm &amp; "Delete Subfolders and Files;"<BR>&nbsp;&nbsp;End If<BR>&nbsp;&nbsp;If objAce.AccessMask AND 32 Then<BR>&nbsp;&nbsp;&nbsp;strPerm = strPerm &amp; "Traverse Folder / Execute File;"<BR>&nbsp;&nbsp;End If<BR>&nbsp;&nbsp;If objAce.AccessMask AND 16 Then<BR>&nbsp;&nbsp;&nbsp;strPerm = strPerm &amp; "Write Extended Attributes;"<BR>&nbsp;&nbsp;End If<BR>&nbsp;&nbsp;If objAce.AccessMask AND 8 Then<BR>&nbsp;&nbsp;&nbsp;strPerm = strPerm &amp; "Read Extended Attributes;"<BR>&nbsp;&nbsp;End If<BR>&nbsp;&nbsp;If objAce.AccessMask AND 4 Then<BR>&nbsp;&nbsp;&nbsp;strPerm = strPerm &amp; "Create Folders / Append Data;"<BR>&nbsp;&nbsp;End If</P>
<P>&nbsp;&nbsp;If objAce.AccessMask AND 2 Then<BR>&nbsp;&nbsp;&nbsp;strPerm = strPerm &amp; "Create Files / Write Data;"<BR>&nbsp;&nbsp;End If</P>
<P>&nbsp;&nbsp;If objAce.AccessMask AND 1 Then<BR>&nbsp;&nbsp;&nbsp;strPerm = strPerm &amp; "List Folder / Read Data;"<BR>&nbsp;&nbsp;End If</P>
<P>&nbsp;&nbsp;If objAce.AccessMask And GENERIC_ALL Then<BR>&nbsp;&nbsp;&nbsp;strPerm = strPerm &amp; "Generic All;"<BR>&nbsp;&nbsp;End If</P>
<P>&nbsp;&nbsp;If objAce.AccessMask And GENERIC_EXECUTE Then<BR>&nbsp;&nbsp;&nbsp;strPerm = strPerm &amp; "Generic Execute;"<BR>&nbsp;&nbsp;End If</P>
<P>&nbsp;&nbsp;If objAce.AccessMask And GENERIC_READ Then<BR>&nbsp;&nbsp;&nbsp;strPerm = strPerm &amp; "Generic Read;"<BR>&nbsp;&nbsp;End If</P>
<P>&nbsp;&nbsp;If objAce.AccessMask And GENERIC_WRITE Then<BR>&nbsp;&nbsp;&nbsp;strPerm = strPerm &amp; "Generic Write;"<BR>&nbsp;&nbsp;End If</P>
<P>&nbsp;&nbsp;Wscript.echo strPerm</P>
<P>&nbsp;&nbsp;End If</P>
<P>&nbsp;&nbsp;line = line + 1<BR>&nbsp;&nbsp;&nbsp; Next</P>
<P>Else</P>
<P>&nbsp;Wscript.echo name &amp; " doesn't have audit setting."</P>
<P>End If<BR>End If<BR></P>
<P>================================================================================================================================</P>
<P>Disclaimer: Above script is just for illustration purpose. Not recommended to run on production server without testing.</P>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <SPAN lang=EN style="mso-bidi-font-family: Arial; mso-ansi-language: EN"><FONT face=Calibri size=3>This is a personal weblog. The opinions expressed here represent my own and not those of my employer.</FONT></SPAN> </P>
<P mce_keep="true">&nbsp;</P>]]></content:encoded>
    </item>
    <item>
      <title>Some clarity on policy file creation in .NET</title>
      <link>https://docs.microsoft.com/archive/blogs/dmittal/some-clarity-on-policy-file-creation-in-net</link>
      <pubDate>Thu, 26 Feb 2009 09:26:00 GMT</pubDate>
      <dc:creator><![CDATA[dmittal]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/dmittal/2009/02/26/some-clarity-on-policy-file-creation-in-net/</guid>
      <description><![CDATA[First of all, How to create policy files:
Take example of dll abc.dll.
Policy file should be...]]></description>
      <content:encoded><![CDATA[<P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><B style="mso-bidi-font-weight: normal"><U><SPAN style="FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Arial"><FONT face=Calibri>First of all, How to create policy files:<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></SPAN></U></B></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><SPAN style="FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Arial"><FONT face=Calibri>Take example of dll abc.dll.<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"><SPAN style="FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'"><FONT face=Calibri>Policy file should be created with name: <B>policy.major.minor.assemblyname.dll</B><o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"><SPAN style="FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'"><FONT face=Calibri>&nbsp;<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"><SPAN style="FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'"><FONT face=Calibri>(Here major and minor are Old dll’s major and minor version, Assembly name is dll name)<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"><SPAN style="FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'"><FONT face=Calibri>&nbsp;<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"><SPAN style="FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'"><FONT face=Calibri>So for abc.dll with major and minor version 1.0, you have to create policy file ‘<B>policy.1.0.abc.dll</B>’ and put in GAC.<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"><SPAN style="FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'"><FONT face=Calibri>For abc.dll with major and minor version 1.2, you have to create policy file ‘<B>policy.1.2.abc.dll</B>’ and put in GAC.<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"><SPAN style="FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'"><FONT face=Calibri>&nbsp;<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"><SPAN style="FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'"><FONT face=Calibri>Command for creating policy file: al /link:abc.dll.config /out: policy.1.0.abc.dll /keyfile:abc.snk /v:1.0.0.0<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"><SPAN style="FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'"><FONT face=Calibri>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN>al /link:abc.dll.config /out: policy.1.2.abc.dll /keyfile:abc.snk /v:1.2.0.0<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><B style="mso-bidi-font-weight: normal"><U><SPAN style="FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Arial"><FONT face=Calibri>Now here is some more clarity:<o:p></o:p></FONT></SPAN></U></B></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><SPAN style="FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Arial"><A href="https://msdn.microsoft.com/en-us/library/7wd6ex19(VS.80).aspx"><SPAN style="COLOR: blue"><FONT face=Calibri>https://msdn.microsoft.com/en-us/library/7wd6ex19(VS.80).aspx</FONT></SPAN></A><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><SPAN style="FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Arial"><FONT face=Calibri>This msdn article says: <o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"><SPAN style="FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'"><FONT face=Calibri>(a) If we want to redirect from version 1.1.0.0-1.2.0.0 to version 2.0.0.0, according to section "Redirecting Assembly Versions Using Publisher Policy" in above msdn article, they should be in different policy file, according to the "Redirecting Assembly Versions" section, they can go into one policy file.<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"><SPAN style="FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'"><FONT face=Calibri>(b) What’s the name of the Policy DLL should be? In MSDN it said the name is “<B>policy</B>.majorNumber.minorNumber.mainAssemblyName.<B>dll</B>” – then it should be “<B><I>policy.1.1.mainAssemblyName.dll</I></B>” or “<B><I>policy.1.2.mainAssemblyName.dll</I></B>”?<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"><SPAN style="FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'"><FONT face=Calibri>&nbsp;<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"><SPAN style="FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'"><FONT face=Calibri>The above link is an article about redirecting versions in general, rather than specific to publisher policy.&nbsp; We use the same syntax for both config files, as well as publisher policy files.&nbsp; So, when used in a configuration file, the syntax allows for ranges of major/minor “oldVersions”, but the publisher policy infrastructure requires separate files for each major/minor version.<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"><SPAN style="FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'"><FONT face=Calibri>&nbsp;<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"><SPAN style="FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'"><FONT face=Calibri>Each <I>major</I>.<I>minor</I> version of an assembly has its own publisher policy file. For example, redirections from version 1.1.2.222 to 1.1.3.000 and from version 1.1.2.321 to version 1.1.3.000 both go into the same file. However, a redirection from version 2.0.0.999 to version 3.0.0.000 goes into a different file.<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"><SPAN style="FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'"><FONT face=Calibri>The above sentence is from the “<B>Redirecting Assembly Versions Using Publisher Policy</B>” section, and is true for publisher policy.<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"><SPAN style="FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'"><FONT face=Calibri>&nbsp;<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: normal; mso-margin-top-alt: auto; tab-stops: list .5in; mso-margin-bottom-alt: auto"><SPAN style="FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'"><FONT face=Calibri>To redirect one version to another, use the &lt;BindingRedirect&gt; element. The <B>oldVersion</B> attribute can specify either a single version, or a range of versions. For example, &lt;bindingRedirect oldVersion="1.1.0.0-1.2.0.0" newVersion="2.0.0.0"/&gt; specifies that the runtime should use version 2.0.0.0 instead of the assembly versions between 1.1.0.0 and 1.2.0.0.<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"><SPAN style="FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'"><FONT face=Calibri>The above sentence is from the “<B>Specifying Assembly Binding in Configuration Files</B>” section and is true for configuration files (machine.config/app.config/web.config/host.config etc.)<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><SPAN style="FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Arial"><FONT face=Calibri></FONT></SPAN>&nbsp;</P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><SPAN style="FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Arial"><FONT face=Calibri>Hope it clears the doubt and give detail about using policy file and configuration for assembly version redirection.<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><SPAN style="FONT-SIZE: 10pt; LINE-HEIGHT: 115%"><o:p><FONT face=Calibri>&nbsp;</FONT></o:p></SPAN></P><FONT size=3><FONT face=Calibri><SPAN lang=EN style="mso-ansi-language: EN">Disclaimer: </SPAN><SPAN lang=EN style="mso-bidi-font-family: Arial; mso-ansi-language: EN">This is a personal weblog. The opinions expressed here represent my own and not those of my employer.</SPAN></FONT></FONT> 
<P mce_keep="true">&nbsp;</P><SPAN style="FONT-SIZE: 7.5pt; FONT-FAMILY: 'Verdana','sans-serif'"><o:p></o:p></SPAN>]]></content:encoded>
    </item>
    <item>
      <title>File already open error while check-in files in VSS..</title>
      <link>https://docs.microsoft.com/archive/blogs/dmittal/file-already-open-error-while-check-in-files-in-vss</link>
      <pubDate>Sat, 31 Jan 2009 10:10:00 GMT</pubDate>
      <dc:creator><![CDATA[dmittal]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/dmittal/2009/01/31/file-already-open-error-while-check-in-files-in-vss/</guid>
      <description><![CDATA[Problem Desc: 
Sometime we have noticed that&nbsp;while working on projects in Visual Studio which...]]></description>
      <content:encoded><![CDATA[<P class=MsoNoSpacing style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"><B style="mso-bidi-font-weight: normal"><FONT size=3><FONT face=Calibri>Problem Desc: <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></FONT></B></P>
<P class=MsoNoSpacing style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"><FONT size=3><FONT face=Calibri>Sometime we have noticed that&nbsp;while working on projects in Visual Studio which is using repository as Visual SourceSafe, <SPAN style="mso-bidi-font-family: Arial; mso-fareast-font-family: 'Times New Roman'">during check-in we get error, <B style="mso-bidi-font-weight: normal">file is already open "&lt;drivename&gt;\abc\xyz\xyz.cs"</B> <o:p></o:p></SPAN></FONT></FONT></P>
<P class=MsoNoSpacing style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"><SPAN style="mso-bidi-font-family: Arial; mso-fareast-font-family: 'Times New Roman'"><o:p><FONT face=Calibri size=3>&nbsp;</FONT></o:p></SPAN></P>
<P class=MsoNoSpacing style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"><B style="mso-bidi-font-weight: normal"><SPAN style="mso-bidi-font-family: Arial; mso-fareast-font-family: 'Times New Roman'"><FONT size=3><FONT face=Calibri>Cause of the problem: <o:p></o:p></FONT></FONT></SPAN></B></P>
<P class=MsoNoSpacing style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"><FONT face=Calibri size=3>This may be due to some anti-virus is blocking the file.</FONT></P>
<P class=MsoNoSpacing style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify" mce_keep="true">&nbsp;</P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: normal; TEXT-ALIGN: justify; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><B style="mso-bidi-font-weight: normal"><SPAN style="mso-bidi-font-family: Arial; mso-fareast-font-family: 'Times New Roman'"><FONT size=3><FONT face=Calibri>Resolution:<o:p></o:p></FONT></FONT></SPAN></B></P>
<P class=MsoNoSpacing style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; TEXT-ALIGN: justify; mso-list: l2 level1 lfo1"><SPAN style="FONT-FAMILY: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings"><SPAN style="mso-list: Ignore"><FONT size=3>ü</FONT><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp; </SPAN></SPAN></SPAN><FONT face=Calibri size=3>We have noticed this problem can occur due to anti-virus blocks the file.</FONT></P>
<P class=MsoNoSpacing style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; TEXT-ALIGN: justify; mso-list: l2 level1 lfo1"><SPAN style="FONT-FAMILY: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings"><SPAN style="mso-list: Ignore"><FONT size=3>ü</FONT><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp; </SPAN></SPAN></SPAN><FONT face=Calibri size=3>Reason may be anti-virus blocks files which is in frequent use or may be anti-virus is scanning the drive on that time.</FONT></P>
<P class=MsoNoSpacing style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"><o:p><FONT face=Calibri size=3>&nbsp;</FONT></o:p></P>
<P class=MsoNoSpacing style="MARGIN: 0in 0in 0pt 1in; TEXT-INDENT: -0.25in; TEXT-ALIGN: justify; mso-list: l1 level1 lfo3"><SPAN style="FONT-FAMILY: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol"><SPAN style="mso-list: Ignore"><FONT size=3>·</FONT><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><FONT face=Calibri size=3>There are tools from Microsoft and other companies, which you can run to diagnose this.</FONT></P>
<P class=MsoNoSpacing style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: 0.5in; TEXT-ALIGN: justify"><FONT face=Calibri size=3>e.g. Read About ProcMon utility:</FONT></P>
<P class=MsoNoSpacing style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"><FONT size=3><FONT face=Calibri>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></FONT></FONT><A href="https://technet.microsoft.com/hi-in/sysinternals/default(en-us).aspx"><SPAN style="COLOR: #003399"><FONT face=Calibri size=3>https://technet.microsoft.com/hi-in/sysinternals/default(en-us).aspx</FONT></SPAN></A></P>
<P class=MsoNoSpacing style="MARGIN: 0in 0in 0pt 1in; TEXT-INDENT: -0.25in; TEXT-ALIGN: justify; mso-list: l1 level1 lfo3"><SPAN style="FONT-FAMILY: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol"><SPAN style="mso-list: Ignore"><FONT size=3>·</FONT><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><FONT size=3><FONT face=Calibri>Run this tool while error is reproduced. It will show you information about all files which are getting read\write by different processes.<SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></FONT></FONT></P>
<P class=MsoNoSpacing style="MARGIN: 0in 0in 0pt 1in; TEXT-INDENT: -0.25in; mso-list: l1 level1 lfo3"><SPAN style="FONT-FAMILY: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol"><SPAN style="mso-list: Ignore"><FONT size=3>·</FONT><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><FONT face=Calibri size=3>So let’s say, we are getting the error file is already open, then find from logs&nbsp;about all processes which&nbsp;are using file. If you&nbsp;find processes other than devenv.exe&nbsp;accessing that file,&nbsp;you need to kill them.</FONT></P>
<P class=MsoNoSpacing style="MARGIN: 0in 0in 0pt 1in; TEXT-INDENT: -0.25in; TEXT-ALIGN: justify; mso-list: l1 level1 lfo3"><SPAN style="FONT-FAMILY: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol"><SPAN style="mso-list: Ignore"><FONT size=3>·</FONT><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><FONT face=Calibri size=3>After that try to check-in that file, it should work properly.</FONT></P>
<P class=MsoNoSpacing style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"><o:p><FONT face=Calibri size=3>&nbsp;</FONT></o:p></P>
<P class=MsoNoSpacing style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; TEXT-ALIGN: justify; mso-list: l0 level1 lfo2"><SPAN style="FONT-FAMILY: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings"><SPAN style="mso-list: Ignore"><FONT size=3>ü</FONT><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp; </SPAN></SPAN></SPAN><FONT face=Calibri size=3>If it is feasible for you, you can stop anti-virus scanning on client and server.</FONT></P>
<P class=MsoNoSpacing style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; TEXT-ALIGN: justify; mso-list: l0 level1 lfo2"><SPAN style="FONT-FAMILY: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings"><SPAN style="mso-list: Ignore"><FONT size=3>ü</FONT><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp; </SPAN></SPAN></SPAN><FONT face=Calibri size=3>Also another option is, in anti-virus settings, exclude VSS database to get scanned.</FONT></P>
<P class=MsoNoSpacing style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"><o:p><FONT face=Calibri size=3>&nbsp;</FONT></o:p></P>
<P class=MsoNoSpacing style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"><o:p><FONT face=Calibri size=3>&nbsp;</FONT></o:p></P>
<P class=MsoNoSpacing style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"><FONT size=3><FONT face=Calibri><SPAN lang=EN style="mso-ansi-language: EN">Disclaimer: </SPAN><SPAN lang=EN style="mso-bidi-font-family: Arial; mso-ansi-language: EN">This is a personal weblog. The opinions expressed here represent my own and not those of my employer.</SPAN></FONT></FONT></P>
<P mce_keep="true">&nbsp;</P>]]></content:encoded>
    </item>
    <item>
      <title>Date formatting problem in ASP applications</title>
      <link>https://docs.microsoft.com/archive/blogs/dmittal/date-formatting-problem-in-asp-applications</link>
      <pubDate>Sat, 13 Dec 2008 06:25:00 GMT</pubDate>
      <dc:creator><![CDATA[dmittal]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/dmittal/2008/12/13/date-formatting-problem-in-asp-applications/</guid>
      <description><![CDATA[Problem Desc: In ASP application, we are using date variable and would like to get it print in...]]></description>
      <content:encoded><![CDATA[<P><STRONG><U>Problem Desc:</U></STRONG> In ASP application, we are using date variable and would like to get it print in format 'dd.mm.yyyy', but it comes as 'mm.dd.yyyy'.<BR>In windows 2000, everything works as expected. But in 2003 it does not work properly.<BR></P>
<P><STRONG><U>Cause of the problem:</U></STRONG> This problem can occur if we are using COM+ component also with application which is running under identity different from IIS.<BR><BR><STRONG><U>Resolution: <BR></U></STRONG>We need to set the Date formatting in Regional Setting and Language options --&gt; customize --&gt; Date tab --&gt; Specify the date format in Short date format <BR>combobox and also in Advanced tab, select "Default user Account Settings".<BR></P>
<P>Other alternative is to specifically set date formatting in Regional settings and language options for each user under which COM+ components are running and for IIS user.</P>
<P mce_keep="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Verdana','sans-serif'">Disclaimer: </SPAN><SPAN lang=EN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Verdana','sans-serif'; mso-bidi-font-family: Arial; mso-ansi-language: EN">This is a personal weblog. The opinions expressed here represent my own and not those of my employer.</SPAN></P>]]></content:encoded>
    </item>
    <item>
      <title>OOPS!! Not able to perform move operation on Visual SourceSafe</title>
      <link>https://docs.microsoft.com/archive/blogs/dmittal/oops-not-able-to-perform-move-operation-on-visual-sourcesafe</link>
      <pubDate>Sat, 22 Nov 2008 02:20:00 GMT</pubDate>
      <dc:creator><![CDATA[dmittal]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/dmittal/2008/11/22/oops-not-able-to-perform-move-operation-on-visual-sourcesafe/</guid>
      <description><![CDATA[After long time, I am back with one more VSS challenge.
Here it is:
Problem: You might face...]]></description>
      <content:encoded><![CDATA[<P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Arial">After long time, I am back with one more VSS challenge.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Arial">Here it is:<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><U><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Arial">Problem:</SPAN></U><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Arial"> You might face problem with VSS move operation. Error may be "File or Project not found" or "Unable to finish writing to file"<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><U><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Arial">Resolution:</SPAN></U><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Arial"> This problem may occur if we are having branching and sharing on our VSS database and some of the folders, files were deleted. Due to orphans files might be there in database, this error can come.<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><U><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Arial">Steps to perform:</SPAN></U><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Arial"><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><B><SPAN style="FONT-SIZE: 8pt; COLOR: red; FONT-FAMILY: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Arial">NOTE: BEFORE PERFORMING ANY OF THE BELOW OPERATION, PLEASE KEEP THE BACKUP OF THE DATABASE.</SPAN></B><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Arial">&nbsp; <o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'">Download the VSSEMS tool from below blog:<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'"><A href="https://blogs.msdn.com/korbyp/archive/2004/06/16/157300.aspx" mce_href="https://blogs.msdn.com/korbyp/archive/2004/06/16/157300.aspx">https://blogs.msdn.com/korbyp/archive/2004/06/16/157300.aspx</A><o:p></o:p></SPAN></P>
<P class=MsoListParagraphCxSpFirst style="MARGIN: 0in 0in 0pt 38.25pt; TEXT-INDENT: -0.25in; LINE-HEIGHT: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-add-space: auto; mso-list: l1 level1 lfo1"><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Wingdings; mso-fareast-font-family: Wingdings; mso-bidi-font-family: Wingdings"><SPAN style="mso-list: Ignore">ü<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp; </SPAN></SPAN></SPAN><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'">Install VSSEMS tool<o:p></o:p></SPAN></P>
<P class=MsoListParagraphCxSpMiddle style="MARGIN: 0in 0in 0pt 38.25pt; TEXT-INDENT: -0.25in; LINE-HEIGHT: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-add-space: auto; mso-list: l1 level1 lfo1"><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Wingdings; mso-fareast-font-family: Wingdings; mso-bidi-font-family: Wingdings"><SPAN style="mso-list: Ignore">ü<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp; </SPAN></SPAN></SPAN><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'">Run it<o:p></o:p></SPAN></P>
<P class=MsoListParagraphCxSpMiddle style="MARGIN: 0in 0in 0pt 38.25pt; TEXT-INDENT: -0.25in; LINE-HEIGHT: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-add-space: auto; mso-list: l1 level1 lfo1"><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Wingdings; mso-fareast-font-family: Wingdings; mso-bidi-font-family: Wingdings"><SPAN style="mso-list: Ignore">ü<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp; </SPAN></SPAN></SPAN><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'">Open your local database <o:p></o:p></SPAN></P>
<P class=MsoListParagraphCxSpMiddle style="MARGIN: 0in 0in 0pt 38.25pt; TEXT-INDENT: -0.25in; LINE-HEIGHT: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-add-space: auto; mso-list: l1 level1 lfo1"><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Wingdings; mso-fareast-font-family: Wingdings; mso-bidi-font-family: Wingdings"><SPAN style="mso-list: Ignore">ü<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp; </SPAN></SPAN></SPAN><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'">Click “Find Deleted Items”<o:p></o:p></SPAN></P>
<P class=MsoListParagraphCxSpMiddle style="MARGIN: 0in 0in 0pt 38.25pt; TEXT-INDENT: -0.25in; LINE-HEIGHT: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-add-space: auto; mso-list: l1 level1 lfo1"><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Wingdings; mso-fareast-font-family: Wingdings; mso-bidi-font-family: Wingdings"><SPAN style="mso-list: Ignore">ü<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp; </SPAN></SPAN></SPAN><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'">Purge the deleted items.<o:p></o:p></SPAN></P>
<P class=MsoListParagraphCxSpLast style="MARGIN: 0in 0in 10pt 38.25pt; TEXT-INDENT: -0.25in; LINE-HEIGHT: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-add-space: auto; mso-list: l1 level1 lfo1"><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Wingdings; mso-fareast-font-family: Wingdings; mso-bidi-font-family: Wingdings"><SPAN style="mso-list: Ignore">ü<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp; </SPAN></SPAN></SPAN><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'">Close VSSEMS <o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'">Download the Datawiz tool from below blog:<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'"><A href="https://code.msdn.microsoft.com/DATAWIZ/Release/ProjectReleases.aspx?ReleaseId=738" mce_href="https://code.msdn.microsoft.com/DATAWIZ/Release/ProjectReleases.aspx?ReleaseId=738">https://code.msdn.microsoft.com/DATAWIZ/Release/ProjectReleases.aspx?ReleaseId=738</A><o:p></o:p></SPAN></P>
<P class=MsoListParagraphCxSpFirst style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; LINE-HEIGHT: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-add-space: auto; mso-list: l0 level1 lfo2"><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Wingdings; mso-fareast-font-family: Wingdings; mso-bidi-font-family: Wingdings"><SPAN style="mso-list: Ignore">ü<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp; </SPAN></SPAN></SPAN><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'">Take the backup of database after running VSSEMS tool.<o:p></o:p></SPAN></P>
<P class=MsoListParagraphCxSpLast style="MARGIN: 0in 0in 10pt 0.5in; TEXT-INDENT: -0.25in; LINE-HEIGHT: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-add-space: auto; mso-list: l0 level1 lfo2"><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Wingdings; mso-fareast-font-family: Wingdings; mso-bidi-font-family: Wingdings"><SPAN style="mso-list: Ignore">ü<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp; </SPAN></SPAN></SPAN><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'">Then perform the steps mentioned in above link. Don’t skip any step.<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'">After above steps successfully ran with VSSEMS and Datawiz tools, Run the analyze utility with following switches.<BR>&lt;Path to analyze utility :&gt; Analyze -F -V4 &lt;path to data folder of database&gt;<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'">Here is msdn article on Analyze switch: <BR><A href="https://msdn.microsoft.com/en-us/library/bb509342(VS.80).aspx" mce_href="https://msdn.microsoft.com/en-us/library/bb509342(VS.80).aspx"><FONT color=#0000ff>https://msdn.microsoft.com/en-us/library/bb509342(VS.80).aspx</FONT></A><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Verdana','sans-serif'">Note: Above steps should be referred only when nature and symptoms of the problem are same as mentioned in this article. If you have doubt, it would be better to consult Microsoft support for resolution of the problem.<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Verdana','sans-serif'">References: </SPAN><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'"><A href="https://blogs.msdn.com/korbyp/archive/2004/06/16/157300.aspx" mce_href="https://blogs.msdn.com/korbyp/archive/2004/06/16/157300.aspx">https://blogs.msdn.com/korbyp/archive/2004/06/16/157300.aspx</A><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Verdana','sans-serif'">Disclaimer: </SPAN><SPAN lang=EN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Verdana','sans-serif'; mso-bidi-font-family: Arial; mso-ansi-language: EN">This is a personal weblog. The opinions expressed here represent my own and not those of my employer.</SPAN><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Verdana','sans-serif'"><o:p></o:p></SPAN></P>
<P mce_keep="true">&nbsp;</P>]]></content:encoded>
    </item>
    <item>
      <title>VSS Users were not able to perform Check-in operation...</title>
      <link>https://docs.microsoft.com/archive/blogs/dmittal/vss-users-were-not-able-to-perform-check-in-operation</link>
      <pubDate>Sat, 26 Apr 2008 05:36:00 GMT</pubDate>
      <dc:creator><![CDATA[dmittal]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/dmittal/2008/04/26/vss-users-were-not-able-to-perform-check-in-operation/</guid>
      <description><![CDATA[Few days back, i got a case where users were trying to check-in their files to VSS, but VSS was...]]></description>
      <content:encoded><![CDATA[<P>Few days back, i got a case where users were trying to check-in their files to VSS, but VSS was getting hanged. All project teams were facing this problem.</P>
<P>Looked very strange...why suddenly this started ...</P>
<P>Let me tell you why it happend....</P>
<UL>
<LI>Problem was occuring with both version of VSS (VSS 6.0 and VSS 2005)</LI>
<LI>Installed all latest patches for VSS, still the problem remained..</LI>
<LI>No CPU spike, No event log entries.</LI>
<LI>Started the machine in Safemode.</LI>
<LI>Now performed the Check-in operation.</LI>
<LI>Check-in operation went smoothly.</LI>
<LI>This is where I got a hit and hint of solution.</LI>
<LI>Started machine in normal mode.</LI>
<LI>Ran ProcMon tool.</LI>
<LI>From the ProcMon log, found there are doubtful exes running.</LI>
<LI>One was AntiVirus software.</LI>
<LI>Stopped that AntiVirus.</LI>
<LI>Performed operations with VSS.</LI>
<LI>Everything ran smoothly.</LI></UL>
<P>Recommendation: Never run Antivirus software on VSS server. It may give you performance hit.</P>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A href="https://support.microsoft.com/kb/274051" mce_href="https://support.microsoft.com/kb/274051">https://support.microsoft.com/kb/274051</A></P>
<P>&nbsp;Read About ProcMon and other troubleshooting utility:</P>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A href="https://technet.microsoft.com/hi-in/sysinternals/default(en-us).aspx" mce_href="https://technet.microsoft.com/hi-in/sysinternals/default(en-us).aspx">https://technet.microsoft.com/hi-in/sysinternals/default(en-us).aspx</A></P>
<P>Hope this article will help you too while facing problem with VSS.</P>
<P mce_keep="true">&nbsp;</P>
<P><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Verdana','sans-serif'">Disclaimer: </SPAN><SPAN lang=EN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Verdana','sans-serif'; mso-bidi-font-family: Arial; mso-ansi-language: EN">This is a personal weblog. The opinions expressed here represent my own and not those of my employer.</SPAN></P>]]></content:encoded>
    </item>
    <item>
      <title>Grouping, while publishing a ClickOnce application.</title>
      <link>https://docs.microsoft.com/archive/blogs/dmittal/grouping-while-publishing-a-clickonce-application</link>
      <pubDate>Sun, 20 Apr 2008 04:10:00 GMT</pubDate>
      <dc:creator><![CDATA[dmittal]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/dmittal/2008/04/20/grouping-while-publishing-a-clickonce-application/</guid>
      <description><![CDATA[When we publish our application, Initially there is only a single group named Required. 
In our...]]></description>
      <content:encoded><![CDATA[<P>When we publish our application, Initially there is only a single group named <STRONG>Required</STRONG>. </P>
<P>In our application, sometimes we would like to use XMLSerializer for optimization. This will create XMLSerializer.dll in your application.</P>
<P>This XMLSerializer.dll we normally dont want to download everytime, when we publish our application again after some changes and want it to be downloaded for specific set of users.</P>
<P>We can create a separate group for XMLSerializer.dll in ClickOnce, which will specify it to be downloaded to some set of user who belongs to that group.</P>
<P><STRONG>Note: Never put XMLSerializer.dll and main application dll or exe in same group.</STRONG></P>
<P mce_keep="true">&nbsp;</P>
<P mce_keep="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Verdana','sans-serif'">Disclaimer: </SPAN><SPAN lang=EN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Verdana','sans-serif'; mso-bidi-font-family: Arial; mso-ansi-language: EN">This is a personal weblog. The opinions expressed here represent my own and not those of my employer.</SPAN></P>]]></content:encoded>
    </item>
  </channel>
</rss>