<?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>Discover the solutions…</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/isha/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/isha/feed.xml</link>
    <description />
    <lastBuildDate>Wed, 17 Apr 2019 03:42:55 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Unattend/Silent install of Smooth Streaming module available from IIS Media Services 3.0</title>
      <link>https://docs.microsoft.com/archive/blogs/isha/unattendsilent-install-of-smooth-streaming-module-available-from-iis-media-services-3-0</link>
      <pubDate>Tue, 03 Nov 2009 10:57:00 GMT</pubDate>
      <dc:creator><![CDATA[ishaa]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/isha/2009/11/03/unattendsilent-install-of-smooth-streaming-module-available-from-iis-media-services-3-0/</guid>
      <description><![CDATA[IIS Media Services 3.0 has been released and is now available as a free download for Windows 2008...]]></description>
      <content:encoded><![CDATA[<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><SPAN lang=EN style="mso-ansi-language: EN"><FONT size=3><FONT face=Calibri>IIS Media Services 3.0 has been released and is now available as a free download for Windows 2008 and Windows 2008 R2. IIS Media Services offers the highest quality streaming media experience available on the Web and provides an integrated HTTP-based media delivery platform.&nbsp; The features included in this release are:<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoListParagraphCxSpFirst style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1"><SPAN lang=EN style="mso-fareast-font-family: Calibri; mso-bidi-font-family: Calibri; mso-ansi-language: EN; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri"><SPAN style="mso-list: Ignore"><FONT face=Calibri size=3>·</FONT><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN lang=EN style="mso-ansi-language: EN"><A href="https://www.iis.net/smoothstreaming" mce_href="https://www.iis.net/smoothstreaming"><FONT face=Calibri size=3>Smooth Streaming</FONT></A><FONT size=3><FONT face=Calibri>, adaptive streaming of media over HTTP<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoListParagraphCxSpMiddle style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1"><SPAN lang=EN style="mso-fareast-font-family: Calibri; mso-bidi-font-family: Calibri; mso-ansi-language: EN; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri"><SPAN style="mso-list: Ignore"><FONT face=Calibri size=3>·</FONT><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN lang=EN style="mso-ansi-language: EN"><A href="https://www.iis.net/LiveSmoothStreaming" mce_href="https://www.iis.net/LiveSmoothStreaming"><FONT face=Calibri size=3>Live Smooth Streaming</FONT></A><FONT size=3><FONT face=Calibri>, for live adaptive streaming of broadcast events<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoListParagraphCxSpMiddle style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1"><SPAN lang=EN style="mso-fareast-font-family: Calibri; mso-bidi-font-family: Calibri; mso-ansi-language: EN; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri"><SPAN style="mso-list: Ignore"><FONT face=Calibri size=3>·</FONT><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN lang=EN style="mso-ansi-language: EN"><A href="https://www.iis.net/bitratethrottling" mce_href="https://www.iis.net/bitratethrottling"><FONT face=Calibri size=3>Bit Rate Throttling</FONT></A><FONT size=3><FONT face=Calibri>, meters the speed that media is delivered to a player<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoListParagraphCxSpMiddle style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1"><SPAN lang=EN style="mso-fareast-font-family: Calibri; mso-bidi-font-family: Calibri; mso-ansi-language: EN; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri"><SPAN style="mso-list: Ignore"><FONT face=Calibri size=3>·</FONT><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN lang=EN style="mso-ansi-language: EN"><A href="https://www.iis.net/bitratethrottling" mce_href="https://www.iis.net/bitratethrottling"><FONT face=Calibri size=3>Web Playlists</FONT></A><FONT size=3><FONT face=Calibri>, secure sequencing of media content <o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoListParagraphCxSpMiddle style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1"><SPAN lang=EN style="mso-fareast-font-family: Calibri; mso-bidi-font-family: Calibri; mso-ansi-language: EN; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri"><SPAN style="mso-list: Ignore"><FONT face=Calibri size=3>·</FONT><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN lang=EN style="mso-ansi-language: EN"><A href="https://www.iis.net/advancedlogging" mce_href="https://www.iis.net/advancedlogging"><FONT face=Calibri size=3>Advanced Logging</FONT></A><FONT size=3><FONT face=Calibri>, with real-time client- and server-side logging <o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoListParagraphCxSpLast style="MARGIN: 0in 0in 10pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1"><SPAN lang=EN style="mso-fareast-font-family: Calibri; mso-bidi-font-family: Calibri; mso-ansi-language: EN; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri"><SPAN style="mso-list: Ignore"><FONT face=Calibri size=3>·</FONT><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN lang=EN style="mso-ansi-language: EN"><A href="https://www.iis.net/applicationrequestrouting" mce_href="https://www.iis.net/applicationrequestrouting"><FONT face=Calibri size=3>Application Request Routing</FONT></A><FONT size=3><FONT face=Calibri> (ARR), providing HTTP proxying and caching<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><SPAN lang=EN style="mso-ansi-language: EN"><FONT face=Calibri size=3>You can download all of the IIS media server platform components using the Web Platform Installer button on the </FONT><A href="https://www.iis.net/media" mce_href="https://www.iis.net/media"><FONT face=Calibri color=#800080 size=3>IIS Media page</FONT></A><FONT face=Calibri size=3> OR get the MSI package from </FONT><A href="https://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=dc4e95b0-e4de-456e-8254-a5047eabcd01" mce_href="https://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=dc4e95b0-e4de-456e-8254-a5047eabcd01"><FONT face=Calibri color=#800080 size=3>32Bit version</FONT></A><FONT face=Calibri size=3> / </FONT><A href="https://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=21c12a04-7e36-4b63-b4ef-eedb6273cf54" mce_href="https://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=21c12a04-7e36-4b63-b4ef-eedb6273cf54"><FONT face=Calibri color=#800080 size=3>64Bit version</FONT></A><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT size=3><FONT face=Calibri>I come across a requirement where one wants to automate the installation of ONLY one module (for e.g. <SPAN lang=EN style="mso-ansi-language: EN"><A href="https://www.iis.net/smoothstreaming" mce_href="https://www.iis.net/smoothstreaming">Smooth Streaming</A>) </SPAN>out of the complete <SPAN lang=EN style="mso-ansi-language: EN">IIS Media Services 3.0 package and to a customized install location (for e.g. E:\Applications\IIS Media). I did some research and here’s how we can achieve this using the </SPAN></FONT></FONT><A href="https://support.microsoft.com/default.aspx/kb/314881" mce_href="https://support.microsoft.com/default.aspx/kb/314881"><FONT face=Calibri color=#800080 size=3>Microsoft Windows Installer Tool (Msiexec.exe)</FONT></A><FONT face=Calibri size=3>:</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT face=Calibri size=3>Run the command prompt as Administrator and type following command from the location where you have your MSI file located.</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT face=Calibri size=3>msiexec /i iismedia64.msi /qn /passive ADDLOCAL=feature_MediaSmooth,feature_MediaSmoothAdminUI INSTALLLOCATION="E:\Applications\IIS\Media"</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT face=Calibri size=3>where </FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT face=Calibri size=3>/i<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>PackageName|ProductCode<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN>Installs or configures a product</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT face=Calibri size=3>/q<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>n|b|r|f<SPAN style="mso-spacerun: yes">&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><SPAN style="mso-tab-count: 2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S</SPAN>ets the UI level.</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT face=Calibri size=3>/passive&nbsp;<SPAN style="mso-tab-count: 4">&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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;T</SPAN>he installer displays a progress bar</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT face=Calibri size=3>INSTALLLOCATION<SPAN style="mso-tab-count: 3">&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><SPAN style="mso-spacerun: yes">L</SPAN>ocation where package needs to be installed</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt 199.5pt; TEXT-INDENT: -199.5pt"><FONT face=Calibri size=3>ADDLOCAL (and REMOVE)<SPAN style="mso-tab-count: 1">&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>This pair of properties controls which software components are to be installed. <SPAN style="mso-spacerun: yes">&nbsp;</SPAN>ADDLOCAL=ALL Installs&nbsp;&nbsp; all&nbsp;components available in the package.</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT face=Calibri size=3>Please refer </FONT><A href="https://msdn.microsoft.com/en-us/library/aa367988%28VS.85%29.aspx" mce_href="https://msdn.microsoft.com/en-us/library/aa367988%28VS.85%29.aspx"><FONT face=Calibri color=#800080 size=3>this link</FONT></A><FONT face=Calibri size=3> for more info on command line options/switches for msiexec utility.</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT face=Calibri size=3>Similarly, we ca<SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>n use </FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT face=Calibri size=3>feature_MediaPack - for the whole thing, </FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT face=Calibri size=3>feature_MediaLiveStreaming - for Live Smooth Streaming while feature_MediaLiveStreamingAdminUI for Live Smooth Streaming as well as IIS manager Admin UI for component if not already installed from previous command</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT face=Calibri size=3>feature_MediaPlaylists - for Web Playlist (Corresponding Admin UI feature: feature_MediaPlaylistAdminUI)</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT face=Calibri size=3>feature_MediaBitrate - for Bitrate Throttling <SPAN style="mso-spacerun: yes">&nbsp;</SPAN>(Corresponding Admin UI feature: feature_MediaBitrateAdminUI)</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><o:p><FONT face=Calibri size=3>&nbsp;</FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 10pt"><FONT face=Calibri size=3>Hope this helps!!</FONT></P>]]></content:encoded>
    </item>
    <item>
      <title>UNCPassword Metabase Property Getting Blank in IIS 6.0 Server</title>
      <link>https://docs.microsoft.com/archive/blogs/isha/uncpassword-metabase-property-getting-blank-in-iis-6-0-server</link>
      <pubDate>Fri, 12 Jun 2009 11:38:00 GMT</pubDate>
      <dc:creator><![CDATA[ishaa]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/isha/2009/06/12/uncpassword-metabase-property-getting-blank-in-iis-6-0-server/</guid>
      <description><![CDATA[I have come across many instances where in IIS 6.0 server, we keep losing the password specified...]]></description>
      <content:encoded><![CDATA[<p>I have come across many instances where in IIS 6.0 server, we keep losing the password specified under the "Connect as" feature (as shown in below screenshot) for a site or virtual directory which points to a UNC share.  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/isha/WindowsLiveWriter/UNCPasswordMetabasePropertyGetti.0Server_A198/image1_1.jpg" original-url="https://blogs.msdn.com/blogfiles/isha/WindowsLiveWriter/UNCPasswordMetabasePropertyGetti.0Server_A198/image1_1.jpg"><img title="image1" style="border-top-width: 0px; display: block; border-left-width: 0px; float: none; border-bottom-width: 0px; margin-left: auto; margin-right: auto; border-right-width: 0px" height="128" alt="image1" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/isha/WindowsLiveWriter/UNCPasswordMetabasePropertyGetti.0Server_A198/image1_thumb_1.jpg" original-url="https://blogs.msdn.com/blogfiles/isha/WindowsLiveWriter/UNCPasswordMetabasePropertyGetti.0Server_A198/image1_thumb_1.jpg" width="240" border="0"></a>  <p>Through this “Connect as” feature, one can impersonate all the users that connect to this site and send only <strong>Connect as </strong>credentials to establish a connection to the UNC path. This account can be either a domain or local account, provided the UNC share is given access (NTFS permissions) for that account.  <p>These <strong>Connect as </strong>credentials are stored in the <a href="https://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/44869a99-f162-498f-8581-480bae542b0b.mspx?mfr=true">UNSUsername</a> and <a href="https://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/e4cc98b6-4373-4c32-b1ad-f74510bc12fc.mspx?mfr=true">UNCPassword</a> IIS Metabase properties.  <p>Now, back to our “UNC password getting blank” issue. This is a known issue with IIS manager UI and the steps which can cause this problem are:  <p>In IIS manager, someone makes a change in the properties of that Website/Application, as a result of which it incorrectly prompts for an override (as shown below). If you click on “Select All”, this will end up setting the UNCPassword property to a blank string for any child application which is configured for UNC share and uses “Connect As” credentials.  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/isha/WindowsLiveWriter/UNCPasswordMetabasePropertyGetti.0Server_A198/image2.jpg" original-url="https://blogs.msdn.com/blogfiles/isha/WindowsLiveWriter/UNCPasswordMetabasePropertyGetti.0Server_A198/image2.jpg"><img title="image2" style="border-top-width: 0px; display: block; border-left-width: 0px; float: none; border-bottom-width: 0px; margin-left: auto; margin-right: auto; border-right-width: 0px" height="182" alt="image2" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/isha/WindowsLiveWriter/UNCPasswordMetabasePropertyGetti.0Server_A198/image2_thumb.jpg" original-url="https://blogs.msdn.com/blogfiles/isha/WindowsLiveWriter/UNCPasswordMetabasePropertyGetti.0Server_A198/image2_thumb.jpg" width="244" border="0"></a>  <p>The known properties names that will incorrectly prompt for an inheritance override and end up overriding UNCPassword too (when "Select all" is clicked in "Inheritance Override" window ) are :<br>-&gt; <strong><a href="https://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/3965e997-8380-41c4-af9c-230333b13187.mspx?mfr=true" target="_blank">AccessFlags</a></strong> (for e.g. as shown below)  <p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/isha/WindowsLiveWriter/UNCPasswordMetabasePropertyGetti.0Server_A198/image3.jpg" original-url="https://blogs.msdn.com/blogfiles/isha/WindowsLiveWriter/UNCPasswordMetabasePropertyGetti.0Server_A198/image3.jpg"><img title="image3" style="border-top-width: 0px; display: block; border-left-width: 0px; float: none; border-bottom-width: 0px; margin-left: auto; margin-right: auto; border-right-width: 0px" height="181" alt="image3" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/BlogFileStorage/blogs_msdn/isha/WindowsLiveWriter/UNCPasswordMetabasePropertyGetti.0Server_A198/image3_thumb.jpg" original-url="https://blogs.msdn.com/blogfiles/isha/WindowsLiveWriter/UNCPasswordMetabasePropertyGetti.0Server_A198/image3_thumb.jpg" width="244" border="0"></a>  <p>-&gt; <strong><a href="https://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/3965e997-8380-41c4-af9c-230333b13187.mspx?mfr=true" target="_blank">DontLOG</a></strong>  <p>-&gt; <strong><a href="https://www.microsoft.com/windows/windows2000/en/server/iis/htm/asp/apro13on.htm " target="_blank">EnableDirBrowsing</a></strong>  <p>-&gt; <strong><a href="https://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/3965e997-8380-41c4-af9c-230333b13187.mspx?mfr=true" target="_blank">ContentIndexed</a></strong>  <p>Hence to avoid the problem of getting UNCPassword property go blank, one should do either of below two options:  <p>1. Do not click “Select All” "Inheritance Override" window. Click "CANCEL" if the changes made are not required to be inherited to child nodes OR "OK" if the changes made are required to be inherited to child nodes listed in the prompt  <p>OR  <p>2. Since this issue happens only when changes are made through IIS manager UI, make the required configuration changes to the site using either the <a href="https://www.microsoft.com/downloads/details.aspx?FamilyID=56FC92EE-A71A-4C73-B628-ADE629C89499&amp;displaylang=en">Metabase Explorer</a> OR the <a href="https://technet.microsoft.com/en-us/library/cc781546(WS.10).aspx">adsutil.vbs</a> tool instead of the IIS manager UI.  <p></p> <p></p> <p></p> <p>Hope this helps! </p>]]></content:encoded>
    </item>
    <item>
      <title>Getting error "Microsoft VBScript runtime error '800a0046' Permission denied" when writing to event logs through ASP page</title>
      <link>https://docs.microsoft.com/archive/blogs/isha/getting-error-microsoft-vbscript-runtime-error-800a0046-permission-denied-when-writing-to-event-logs-through-asp-page</link>
      <pubDate>Mon, 06 Apr 2009 19:12:51 GMT</pubDate>
      <dc:creator><![CDATA[ishaa]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/isha/2009/04/06/getting-error-microsoft-vbscript-runtime-error-800a0046-permission-denied-when-writing-to-event-logs-through-asp-page/</guid>
      <description><![CDATA[Few days back I worked upon an issue where we were trying to write into the Events logs from classic...]]></description>
      <content:encoded><![CDATA[<p><font face="time" size="2">Few days back I worked upon an issue where we were trying to write into the Events logs from classic ASP page using Windows Script.&nbsp; You can find more details about this on </font><a href="https://support.microsoft.com/kb/301309" target="_blank"><font face="time" color="#000000" size="2">How To Log Events from Active Server Pages</font></a><font face="time" size="2"> and about using the Windows Script here </font><a href="https://blogs.msdn.com/jscript/archive/2007/08/12/windows-script-5-7-released-for-windows-2000-windows-xp-and-windows-2003-server.aspx" target="_blank"><font face="time" color="#000000" size="2">Windows Scripts</font></a></p> <p><font face="time" size="2">The code of the ASP page looked like:<br>&nbsp;&nbsp;&nbsp; &lt;%<br>&nbsp;&nbsp;&nbsp; 'Use these Constants to designate the type of Event Log.<br>&nbsp;&nbsp;&nbsp; const SUCCESS = 0<br>&nbsp;&nbsp;&nbsp; const ERROR = 1<br>&nbsp;&nbsp;&nbsp; const WARNING = 2<br>&nbsp;&nbsp;&nbsp; const INFORMATION = 4<br>&nbsp;&nbsp;&nbsp; const AUDIT_SUCCESS = 8<br>&nbsp;&nbsp;&nbsp; const AUDIT_FAILURE = 16<br>&nbsp;&nbsp;&nbsp; dim WshShell<br>&nbsp;&nbsp;&nbsp; set WshShell = Server.CreateObject("WScript.Shell")<br>&nbsp;&nbsp;&nbsp; wshshell.Logevent WARNING, "Test Event Log by Windows Script Host!"<br>&nbsp;&nbsp;&nbsp; set wshshell=nothing<br>&nbsp;&nbsp;&nbsp; Response.write "Event Logged Successfully by Windows Script Host!"<br>&nbsp;&nbsp;&nbsp; %&gt;<br></font></p> <p><font face="time" size="2">However by default there is limited security access rights to system event logs. Hence in order to achieve this, we need to modify a registry key which could provide required access to event logs.&nbsp; Now to give the thread or lets say context identity rights to read/write the Application and/or System event log, one must modify the security of event log through the registry values under (select the event log that your application is writing to): </font></p> <p><font face="time" size="2">HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Eventlog\Application\CustomSD<br>HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Eventlog\System\CustomSD </font> <p><font face="time" size="2">The Security Descriptor or in other words the value for the CustomSD for each log is specified by using Security Descriptor Definition Language (SDDL) syntax. Get more information on </font><a href="https://msdn2.microsoft.com/en-us/library/aa379570.aspx" target="_blank"><font face="time" color="#000000" size="2">SDDL Syntax</font></a><font face="time" size="2"> here.</font> <p><font face="time" size="2">By default this is the value of CustomSD key for the Application event log:<br>O:BAG:SYD:(D;;0xf0007;;;AN)(D;;0xf0007;;;BG)(A;;0xf0007;;;SY)(A;;0x7;;;BA)(A;;0x7;;;SO)(A;;0x3;;;IU)(A;;0x3;;;SU)(A;;0x3;;;S-1-5-3) </font> <p><font face="time" size="2">To construct an SDDL string, note that there are three distinct rights that pertain to event logs: Read, Write, and Clear. These rights correspond to the following bits in the access rights field of the ACE string: <br>1= Read<br>2 = Write<br>4 = Clear </font> <p><font face="time" size="2">Entry Meaning<br>O:BA Object owner is Built-in Admin (BA).<br>G:SY Primary group is System (SY).<br>D: This is a DACL, rather than an audit entry or SACL.<br>(D;;0xf0007;;;AN) Deny Anonymous (AN) all access. (1=Read + 2=Write + 4=Clear)<br>(D;;0xf0007;;;BG) Deny Built-in Guests (BG) all access.<br>(A;;0xf0005;;;SY) Allow System Read and Clear (1=Read + 4=Clear), including DELETE, READ_CONTROL, WRITE_DAC, and WRITE_OWNER (indicated by the 0xf0000).<br>(A;;0x7;;;BA) Allow Built-in Admin READ, WRITE and CLEAR.<br>(A;;0x7;;;SO) Allow Server Operators READ, WRITE and CLEAR.<br>(A;;0x3;;;IU) Allow Interactive Users READ and WRITE.<br>(A;;0x3;;;SU) Allow Service accounts READ and WRITE. </font> <p><font face="time" size="2">- By default this is the security for the System event log: <br>O:BAG:SYD:(D;;0xf0007;;;AN)(D;;0xf0007;;;BG)(A;;0xf0007;;;SY)(A;; 0x5;;;BA)(A;; 0x7;;;SO)(A;; 0x3;;;IU)(A;; 0x2;;;BA)(A;; 0x2;;;LS)(A;; 0x2;;;NS)&nbsp; </font> <p><font face="time" size="2">Entry Meaning<br>O:BA Object owner is Built-in Admin (BA).<br>G:SY Primary group is System (SY).<br>D: This is a DACL, rather than an audit entry or SACL.<br>(D;;0xf0007;;;AN) Deny Anonymous (AN) all access.<br>(D;;0xf0007;;;BG) Deny Built-in Guests (BG) all access.<br>(A;;0xf0005;;;SY) Allow System Read and Clear, including DELETE, READ_CONTROL, WRITE_DAC, and WRITE_OWNER (indicated by the 0xf0000).<br>(A;;0x7;;;BA) Allow Built-in Admin READ, WRITE and CLEAR.<br>(A;;0x7;;;SO) Allow Server Operators READ, WRITE and CLEAR.<br>(A;;0x3;;;IU) Allow Interactive Users READ and WRITE.<br>(A;;0x2;;;LS) Allow Local Service WRITE.<br>(A;;0x2;;;NS) Allow Network Service WRITE. </font> <p><font face="time" size="2">Hence if your ASP page is running on Anonymous, you will have to give the IUSR or the custom Anonymous account the proper permissions on this CustomSD reg key. And if it's running on Windows Integrated, then Authenticated users group should have the required permissions.&nbsp; Here's how it can be done: Append the below entry to the default value of CustomSD under the event log that you selected<br><strong>For Authenticated users group (in case of windows Integrated authentication)</strong>: (A;;0x0003;;;AU) where AU = Authenticated Users<br><strong>For IUSR or the custom configured Anonymous account (in case of Anonymous Authentication)</strong>, find the SID for that account and then create one which looks like: (A;;0x3;;;S-1-5-21-1985444312-785446638-2839930158-1121) where the last field is the SID for the IUSR account on my machine. </font></p> <p><font face="time" size="2">So conclusively, for example to give your group read permissions add the following to the CustomSD value (A;;0x1;;; [Your Group Name/user account SID]) at the end of the current string and for read and write permissions, (A;;0x3;;; [Your Group Name/user account SID]) </font> <p><font face="time" size="2">Other related references:</font></p> <p><a href="https://support.microsoft.com/default.aspx?scid=kb;en-us;323076" target="_blank"><font face="time" color="#000000" size="2">How to set event log security locally or by using Group Policy in Windows Server 2003</font></a></p> <p><a href="https://technet.microsoft.com/en-us/library/cc722385.aspx" target="_blank"><font face="time" color="#000000" size="2">Event Log Security</font></a></p> <p><a href="https://support.microsoft.com/kb/301309" target="_blank"><font face="time" color="#000000" size="2">How To Log Events from Active Server Pages</font></a><font face="time" size="2">&nbsp;</font></p>]]></content:encoded>
    </item>
    <item>
      <title>Issues with WCF service when the ASP.NET website is deployed using the Web Deployment Project and as non-updatable project</title>
      <link>https://docs.microsoft.com/archive/blogs/isha/issues-with-wcf-service-when-the-asp-net-website-is-deployed-using-the-web-deployment-project-and-as-non-updatable-project</link>
      <pubDate>Sat, 04 Apr 2009 05:24:00 GMT</pubDate>
      <dc:creator><![CDATA[ishaa]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/isha/2009/04/04/issues-with-wcf-service-when-the-asp-net-website-is-deployed-using-the-web-deployment-project-and-as-non-updatable-project/</guid>
      <description><![CDATA[I&nbsp;have been thinking to start writing blog since long. So here it goes!
Recently I got a...]]></description>
      <content:encoded><![CDATA[<P><SPAN style="COLOR: #5a543a"><FONT size=3><FONT face="Times New Roman">I&nbsp;have been thinking to start writing blog since long. So here it goes!<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></FONT></SPAN></P>
<P><SPAN style="COLOR: #5a543a"><FONT face="Times New Roman" size=3>Recently I got a chance to work with a customer who was trying to deploy an ASP.NET web site using WDP (</FONT><A href="https://www.microsoft.com/downloads/details.aspx?familyId=0AA30AE8-C73B-4BDD-BB1B-FE697256C459&amp;displaylang=en" target=_blank mce_href="https://www.microsoft.com/downloads/details.aspx?familyId=0AA30AE8-C73B-4BDD-BB1B-FE697256C459&amp;displaylang=en"><SPAN style="COLOR: #5a543a"><FONT face="Times New Roman" size=3>Web Deployment Project which was shipped with Visual Studio 2008 SP1</FONT></SPAN></A><FONT size=3><FONT face="Times New Roman">). This web site had WCF (.NET 3.5) services as a part of it as well.&nbsp; For deployment we were using below options in WDP -<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-list: l0 level2 lfo1; tab-stops: list 1.0in"><SPAN style="FONT-SIZE: 10pt; COLOR: #5a543a; FONT-FAMILY: 'Courier New'; mso-fareast-font-family: 'Courier New'; mso-bidi-font-size: 12.0pt"><SPAN style="mso-list: Ignore">o<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="FONT-SIZE: 12pt; COLOR: #5a543a; FONT-FAMILY: 'Times New Roman','serif'">"Merge all output to single Assembly" was selected <o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-list: l0 level2 lfo1; tab-stops: list 1.0in"><SPAN style="FONT-SIZE: 10pt; COLOR: #5a543a; FONT-FAMILY: 'Courier New'; mso-fareast-font-family: 'Courier New'; mso-bidi-font-size: 12.0pt"><SPAN style="mso-list: Ignore">o<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="FONT-SIZE: 12pt; COLOR: #5a543a; FONT-FAMILY: 'Times New Roman','serif'">“Allow this precompiled site to be updatable” wasn't selected<o:p></o:p></SPAN></P>
<P><SPAN style="COLOR: #5a543a"><FONT size=3><FONT face="Times New Roman">After deploying the site we started getting below exception while trying to browse the .svc files –<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><SPAN style="FONT-SIZE: 9pt; COLOR: red; FONT-FAMILY: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Arial">Server Error in '/MyWebSite' Application. <o:p></o:p></SPAN></P>
<DIV class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: center; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" align=center><SPAN style="FONT-SIZE: 9pt; COLOR: red; FONT-FAMILY: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Arial">
<HR style="COLOR: silver" align=center width="100%" noShade SIZE=1>
</SPAN></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><I><SPAN style="FONT-SIZE: 8pt; COLOR: maroon; FONT-FAMILY: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'">Could not load file or assembly 'App_global.asax, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.</SPAN></I><SPAN style="FONT-SIZE: 8pt; COLOR: maroon; FONT-FAMILY: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'"> </SPAN><SPAN style="FONT-SIZE: 8pt; COLOR: #a78f37; FONT-FAMILY: 'Times New Roman','serif'"><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 12pt"><B><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'"><o:p>&nbsp;</o:p></SPAN></B></P>
<P class=MsoNormal style="MARGIN: 0in 0in 12pt"><B><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'">Exception Details: </SPAN></B><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'">System.IO.FileNotFoundException: Could not load file or assembly 'App_global.asax, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified</SPAN><SPAN style="FONT-SIZE: 8pt; mso-fareast-font-family: 'Times New Roman'"><o:p></o:p></SPAN></P>
<TABLE class=MsoNormalTable style="BACKGROUND: #ffffcc; WIDTH: 100%; mso-cellspacing: 1.5pt; mso-yfti-tbllook: 1184; mso-padding-alt: 0in 0in 0in 0in" cellPadding=0 width="100%" border=0 class="MsoNormalTable">
<TBODY>
<TR style="mso-yfti-irow: 0; mso-yfti-firstrow: yes; mso-yfti-lastrow: yes">
<TD class="" style="BORDER-RIGHT: #d4d0c8; PADDING-RIGHT: 0.75pt; BORDER-TOP: #d4d0c8; PADDING-LEFT: 0.75pt; PADDING-BOTTOM: 0.75pt; BORDER-LEFT: #d4d0c8; PADDING-TOP: 0.75pt; BORDER-BOTTOM: #d4d0c8; BACKGROUND-COLOR: transparent">
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: 'Courier New'; mso-fareast-font-family: 'Times New Roman'">An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.</SPAN><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'"> </SPAN><SPAN style="FONT-SIZE: 8pt; mso-fareast-font-family: 'Times New Roman'"><o:p></o:p></SPAN></P></TD></TR></TBODY></TABLE>
<P class=MsoNormal style="MARGIN: 0in 0in 12pt"><B><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'"><o:p>&nbsp;</o:p></SPAN></B></P>
<P class=MsoNormal style="MARGIN: 0in 0in 12pt"><B><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'">Assembly Load Trace:</SPAN></B><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"> The following information can be helpful to determine why the assembly 'App_global.asax, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' could not be loaded.</SPAN><SPAN style="FONT-SIZE: 8pt; mso-fareast-font-family: 'Times New Roman'"><o:p></o:p></SPAN></P>
<TABLE class=MsoNormalTable style="BACKGROUND: #ffffcc; WIDTH: 100%; mso-cellspacing: 1.5pt; mso-yfti-tbllook: 1184; mso-padding-alt: 0in 0in 0in 0in" cellPadding=0 width="100%" border=0 class="MsoNormalTable">
<TBODY>
<TR style="mso-yfti-irow: 0; mso-yfti-firstrow: yes; mso-yfti-lastrow: yes">
<TD class="" style="BORDER-RIGHT: #d4d0c8; PADDING-RIGHT: 0.75pt; BORDER-TOP: #d4d0c8; PADDING-LEFT: 0.75pt; PADDING-BOTTOM: 0.75pt; BORDER-LEFT: #d4d0c8; PADDING-TOP: 0.75pt; BORDER-BOTTOM: #d4d0c8; BACKGROUND-COLOR: transparent">
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: 'Lucida Console'; mso-fareast-font-family: 'Times New Roman'">WRN: Assembly binding logging is turned OFF.</SPAN><SPAN style="FONT-SIZE: 8pt; mso-fareast-font-family: 'Times New Roman'"><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: 'Lucida Console'; mso-fareast-font-family: 'Times New Roman'">To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.</SPAN><SPAN style="FONT-SIZE: 8pt; mso-fareast-font-family: 'Times New Roman'"><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: 'Lucida Console'; mso-fareast-font-family: 'Times New Roman'">Note: There is some performance penalty associated with assembly bind failure logging.</SPAN><SPAN style="FONT-SIZE: 8pt; mso-fareast-font-family: 'Times New Roman'"><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: 'Lucida Console'; mso-fareast-font-family: 'Times New Roman'">To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].</SPAN><SPAN style="FONT-SIZE: 8pt; mso-fareast-font-family: 'Times New Roman'"><o:p></o:p></SPAN></P></TD></TR></TBODY></TABLE>
<P class=MsoNormal style="MARGIN: 0in 0in 12pt"><B><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'">Stack Trace:</SPAN></B><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"> </SPAN><SPAN style="FONT-SIZE: 8pt; mso-fareast-font-family: 'Times New Roman'"><o:p></o:p></SPAN></P>
<TABLE class=MsoNormalTable style="BACKGROUND: #ffffcc; WIDTH: 100%; mso-cellspacing: 1.5pt; mso-yfti-tbllook: 1184; mso-padding-alt: 0in 0in 0in 0in" cellPadding=0 width="100%" border=0 class="MsoNormalTable">
<TBODY>
<TR style="mso-yfti-irow: 0; mso-yfti-firstrow: yes; mso-yfti-lastrow: yes">
<TD class="" style="BORDER-RIGHT: #d4d0c8; PADDING-RIGHT: 0.75pt; BORDER-TOP: #d4d0c8; PADDING-LEFT: 0.75pt; PADDING-BOTTOM: 0.75pt; BORDER-LEFT: #d4d0c8; PADDING-TOP: 0.75pt; BORDER-BOTTOM: #d4d0c8; BACKGROUND-COLOR: transparent">
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: 'Lucida Console'; mso-fareast-font-family: 'Times New Roman'">[FileNotFoundException: Could not load file or assembly 'App_global.asax, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.]</SPAN><SPAN style="FONT-SIZE: 8pt; mso-fareast-font-family: 'Times New Roman'"><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: 'Lucida Console'; mso-fareast-font-family: 'Times New Roman'">System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark&amp; stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0</SPAN><SPAN style="FONT-SIZE: 8pt; mso-fareast-font-family: 'Times New Roman'"><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: 'Lucida Console'; mso-fareast-font-family: 'Times New Roman'">System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark&amp; stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +43</SPAN><SPAN style="FONT-SIZE: 8pt; mso-fareast-font-family: 'Times New Roman'"><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: 'Lucida Console'; mso-fareast-font-family: 'Times New Roman'">System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark&amp; stackMark, Boolean forIntrospection) +127</SPAN><SPAN style="FONT-SIZE: 8pt; mso-fareast-font-family: 'Times New Roman'"><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: 'Lucida Console'; mso-fareast-font-family: 'Times New Roman'">System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark&amp; stackMark, Boolean forIntrospection) +142</SPAN><SPAN style="FONT-SIZE: 8pt; mso-fareast-font-family: 'Times New Roman'"><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: 'Lucida Console'; mso-fareast-font-family: 'Times New Roman'">System.Reflection.Assembly.Load(String assemblyString) +28</SPAN><SPAN style="FONT-SIZE: 8pt; mso-fareast-font-family: 'Times New Roman'"><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: 'Lucida Console'; mso-fareast-font-family: 'Times New Roman'">System.ServiceModel.Activation.ServiceHostFactory.CreateServiceHost(String constructorString, Uri[] baseAddresses) +162</SPAN><SPAN style="FONT-SIZE: 8pt; mso-fareast-font-family: 'Times New Roman'"><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: 'Lucida Console'; mso-fareast-font-family: 'Times New Roman'">System.ServiceModel.HostingManager.CreateService(String normalizedVirtualPath) +11656092</SPAN><SPAN style="FONT-SIZE: 8pt; mso-fareast-font-family: 'Times New Roman'"><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: 'Lucida Console'; mso-fareast-font-family: 'Times New Roman'">System.ServiceModel.HostingManager.ActivateService(String normalizedVirtualPath) +42</SPAN><SPAN style="FONT-SIZE: 8pt; mso-fareast-font-family: 'Times New Roman'"><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: 'Lucida Console'; mso-fareast-font-family: 'Times New Roman'">System.ServiceModel.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath) +479</SPAN><SPAN style="FONT-SIZE: 8pt; mso-fareast-font-family: 'Times New Roman'"><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: 'Lucida Console'; mso-fareast-font-family: 'Times New Roman'">[ServiceActivationException: The service '/MyWebSite/service.svc' cannot be activated due to an exception during compilation.&nbsp; The exception message is: Could not load file or assembly 'App_global.asax, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified..]</SPAN><SPAN style="FONT-SIZE: 8pt; mso-fareast-font-family: 'Times New Roman'"><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: 'Lucida Console'; mso-fareast-font-family: 'Times New Roman'">System.ServiceModel.AsyncResult.End(IAsyncResult result) +11527290</SPAN><SPAN style="FONT-SIZE: 8pt; mso-fareast-font-family: 'Times New Roman'"><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: 'Lucida Console'; mso-fareast-font-family: 'Times New Roman'">System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result) +194</SPAN><SPAN style="FONT-SIZE: 8pt; mso-fareast-font-family: 'Times New Roman'"><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: 'Lucida Console'; mso-fareast-font-family: 'Times New Roman'">System.ServiceModel.Activation.HostedHttpRequestAsyncResult.ExecuteSynchronous(HttpApplication context, Boolean flowContext) +176</SPAN><SPAN style="FONT-SIZE: 8pt; mso-fareast-font-family: 'Times New Roman'"><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: 'Lucida Console'; mso-fareast-font-family: 'Times New Roman'">System.ServiceModel.Activation.HttpModule.ProcessRequest(Object sender, EventArgs e) +278</SPAN><SPAN style="FONT-SIZE: 8pt; mso-fareast-font-family: 'Times New Roman'"><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: 'Lucida Console'; mso-fareast-font-family: 'Times New Roman'">System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +68</SPAN><SPAN style="FONT-SIZE: 8pt; mso-fareast-font-family: 'Times New Roman'"><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: 'Lucida Console'; mso-fareast-font-family: 'Times New Roman'">System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously) +75</SPAN><SPAN style="FONT-SIZE: 8pt; mso-fareast-font-family: 'Times New Roman'"><o:p></o:p></SPAN></P></TD></TR></TBODY></TABLE>
<DIV class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: center" align=center><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'">
<HR style="COLOR: silver" align=center width="100%" noShade SIZE=1>
</SPAN></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><B><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: 'Verdana','sans-serif'; mso-fareast-font-family: 'Times New Roman'">Version Information:</SPAN></B><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'">&nbsp;Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053</SPAN><SPAN style="FONT-SIZE: 8pt; mso-fareast-font-family: 'Times New Roman'"><o:p></o:p></SPAN></P>
<P><SPAN style="COLOR: #5a543a"><FONT size=3><FONT face="Times New Roman">I was able to reproduce the same issue with sample application as well. After digging in further, I found that after the compilation step, WCF stores the list of referenced assemblies into the customString attribute in the build result (service.svc.cdcab7d2.compiled), including App_Global. It seems there is an incorrect assumption here that those assemblies will always be there, which is not necessarily the case in Web Deployment Projects (aspnet_merge) where assemblies will be merged. After the merge step, the assemblies are actually all merged into a single assembly (let us say MyWebSite.dll) as we selected that option in WDP. ASP.NET only updates the .compiled files it knows about, so App_Global.asax.compiled actually has a correct reference to MyWebSite_Deploy.dll instead of App_Global.dll. Original assemblies are removed after the merge step. WCF reads the list of assemblies previously stored, and throws when it cannot find App_Global. <o:p></o:p></FONT></FONT></SPAN></P>
<P><SPAN style="COLOR: #5a543a"><FONT size=3><FONT face="Times New Roman">This behavior is something which by design and getting around it there are few options as below –<o:p></o:p></FONT></FONT></SPAN></P>
<P><SPAN style="COLOR: #5a543a"><FONT size=3><FONT face="Times New Roman">1. Manually update .complied file for WCF and remove the following reference like below –<o:p></o:p></FONT></FONT></SPAN></P>
<P><SPAN style="COLOR: #5a543a"><FONT size=3><FONT face="Times New Roman">'App_global.asax, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null<BR>'App_ GlobalResources.asax, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null<BR>'App_ WebReferences.asax, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null<BR>'App_ Code.asax, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null <o:p></o:p></FONT></FONT></SPAN></P>
<P><SPAN style="COLOR: #5a543a"><FONT size=3><FONT face="Times New Roman">OR<o:p></o:p></FONT></FONT></SPAN></P>
<P><SPAN style="COLOR: #5a543a"><FONT size=3><FONT face="Times New Roman">2. Add fully qualified name for the service/factory in .svc file.&nbsp; The .svc buildprovider adds the list of referenced assemblies to the asp.net temporary file (as CompiledCustomString) during compilation. In the case of not-assembly-fully-qualified name is used, WCF hosting layer will use the compiled custom string to load assemblies and resolve the type of service/factory. <o:p></o:p></FONT></FONT></SPAN></P>
<P><SPAN style="COLOR: #5a543a"><FONT size=3><FONT face="Times New Roman">OR<o:p></o:p></FONT></FONT></SPAN></P>
<P><SPAN style="COLOR: #5a543a"><FONT size=3><FONT face="Times New Roman">3. In the properties of Web Deployment project, check ‘Allow this precompiled site to be updatable’ option. With this setting, the assembly App_Global.dll will not be built during the build/merge step. <o:p></o:p></FONT></FONT></SPAN></P>
<P style="tab-stops: 166.5pt"><SPAN style="COLOR: #5a543a"><FONT size=3><FONT face="Times New Roman">OR<SPAN style="mso-tab-count: 1">&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;&nbsp;&nbsp; </SPAN><o:p></o:p></FONT></FONT></SPAN></P>
<P><SPAN style="COLOR: #5a543a"><FONT face="Times New Roman" size=3>4. In the properties of Web Deployment project, choose merge option OTHER than “Merge All outputs to a single assembly”. The difference is that App_Global will not be merged and removed for the other options. And to get the assembly versions as needed, use compilerOptions in addition to this. Refer </FONT><A href="https://msdn.microsoft.com/en-us/library/ms228042.aspx" mce_href="https://msdn.microsoft.com/en-us/library/ms228042.aspx"><SPAN style="COLOR: #5a543a"><FONT face="Times New Roman" size=3>https://msdn.microsoft.com/en-us/library/ms228042.aspx</FONT></SPAN></A><SPAN class=MsoHyperlink><SPAN style="COLOR: #5a543a"><U><FONT size=3><FONT face="Times New Roman"> <o:p></o:p></FONT></FONT></U></SPAN></SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 12pt; COLOR: #5a543a; FONT-FAMILY: 'Times New Roman','serif'">Hope this helps!!!<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; tab-stops: 170.25pt"><SPAN style="FONT-SIZE: 12pt; COLOR: #a78f37; FONT-FAMILY: 'Times New Roman','serif'"><o:p></o:p></SPAN></P>]]></content:encoded>
    </item>
  </channel>
</rss>