<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for Mike Mason</title>
	<atom:link href="http://mikemason.ca/blog/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://mikemason.ca/blog</link>
	<description>agile thinking</description>
	<lastBuildDate>Mon, 28 Dec 2009 21:52:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Disabling Export Formats in Reporting Services by Chad</title>
		<link>http://mikemason.ca/blog/2007/04/disabling-export-formats-in-reporting-services/comment-page-1/#comment-28847</link>
		<dc:creator>Chad</dc:creator>
		<pubDate>Mon, 28 Dec 2009 21:52:40 +0000</pubDate>
		<guid isPermaLink="false">http://mikemason.ca/blog/?p=4#comment-28847</guid>
		<description>I am working for a company that has Reporting Services 2008, SQL SERVER 2008 and develops with VB.  Here is the converted VB code.

Public Class ServerReportDecorator
        Private ReadOnly serverReport As ServerReport

        Public Sub New(ByVal reportViewer As ReportViewer)
            Me.serverReport = reportViewer.ServerReport
        End Sub

        Public Sub New(ByVal serverReport As ServerReport)
            Me.serverReport = serverReport
        End Sub

        Public Sub DisableUnwantedExportFormats()
            For Each extension As RenderingExtension In serverReport.ListRenderingExtensions()
                If extension.Name = &quot;XML&quot; Or extension.Name = &quot;IMAGE&quot; Or extension.Name = &quot;MHTML&quot; Or extension.Name = &quot;EXCEL&quot; Or extension.Name = &quot;WORD&quot; Then
                    ReflectivelySetVisibilityFalse(extension)
                End If
            Next
        End Sub

        Private Sub ReflectivelySetVisibilityFalse(ByVal extension As RenderingExtension)
            Dim info As FieldInfo = extension.GetType().GetField(&quot;m_isVisible&quot;, BindingFlags.NonPublic Or BindingFlags.Instance)

            If Not info Is Nothing Then
                info.SetValue(extension, False)
            End If
        End Sub
    End Class</description>
		<content:encoded><![CDATA[<p>I am working for a company that has Reporting Services 2008, SQL SERVER 2008 and develops with VB.  Here is the converted VB code.</p>
<p>Public Class ServerReportDecorator<br />
        Private ReadOnly serverReport As ServerReport</p>
<p>        Public Sub New(ByVal reportViewer As ReportViewer)<br />
            Me.serverReport = reportViewer.ServerReport<br />
        End Sub</p>
<p>        Public Sub New(ByVal serverReport As ServerReport)<br />
            Me.serverReport = serverReport<br />
        End Sub</p>
<p>        Public Sub DisableUnwantedExportFormats()<br />
            For Each extension As RenderingExtension In serverReport.ListRenderingExtensions()<br />
                If extension.Name = &#8220;XML&#8221; Or extension.Name = &#8220;IMAGE&#8221; Or extension.Name = &#8220;MHTML&#8221; Or extension.Name = &#8220;EXCEL&#8221; Or extension.Name = &#8220;WORD&#8221; Then<br />
                    ReflectivelySetVisibilityFalse(extension)<br />
                End If<br />
            Next<br />
        End Sub</p>
<p>        Private Sub ReflectivelySetVisibilityFalse(ByVal extension As RenderingExtension)<br />
            Dim info As FieldInfo = extension.GetType().GetField(&#8220;m_isVisible&#8221;, BindingFlags.NonPublic Or BindingFlags.Instance)</p>
<p>            If Not info Is Nothing Then<br />
                info.SetValue(extension, False)<br />
            End If<br />
        End Sub<br />
    End Class</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Splitting, Merging, and Organizing a Subversion Repository by pihentagy</title>
		<link>http://mikemason.ca/blog/2005/10/splitting-merging-and-organizing-a-subversion-repository/comment-page-1/#comment-27436</link>
		<dc:creator>pihentagy</dc:creator>
		<pubDate>Thu, 03 Dec 2009 13:28:32 +0000</pubDate>
		<guid isPermaLink="false">http://mikemason.ca/blog/?p=9#comment-27436</guid>
		<description>http://partmaps.org/era/unix/award.html#cat

for

cat log4rss.dump &#124; svndumpfilter include log4rss/trunk/tools &#124; svnadmin load tools-repos

but it was a helpful page in overall.</description>
		<content:encoded><![CDATA[<p><a href="http://partmaps.org/era/unix/award.html#cat" rel="nofollow">http://partmaps.org/era/unix/award.html#cat</a></p>
<p>for</p>
<p>cat log4rss.dump | svndumpfilter include log4rss/trunk/tools | svnadmin load tools-repos</p>
<p>but it was a helpful page in overall.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Disabling Export Formats in Reporting Services by Rob Kostecki</title>
		<link>http://mikemason.ca/blog/2007/04/disabling-export-formats-in-reporting-services/comment-page-1/#comment-26420</link>
		<dc:creator>Rob Kostecki</dc:creator>
		<pubDate>Wed, 11 Nov 2009 20:09:03 +0000</pubDate>
		<guid isPermaLink="false">http://mikemason.ca/blog/?p=4#comment-26420</guid>
		<description>I stumbled across similar challenge today using VS 2008 and SQL 2005 (9.00.4035.00). I found out that the “m_serverExtension” actually does not exists nor “Visible”. So just for a quick reference please find the code below. 
Bear in mind you will have to reference System.Reflection namespace. Also using Microsoft.SqlServer.ReportingServices2005.Execution namespace is not required nor Microsoft.ReportViewer.Common.dll assembly ref.


public void DisableUnwantedExportFormats()
{

    FieldInfo info;

    foreach (RenderingExtension extension in rvMain.ServerReport.ListRenderingExtensions())
    {
        if (extension.Name != &quot;PDF&quot; &amp;&amp; extension.Name != &quot;EXCEL&quot;) // only PDF and Excel - remove the others
        {
            info = extension.GetType().GetField(&quot;m_isVisible&quot;, BindingFlags.Instance &#124; BindingFlags.NonPublic);
            info.SetValue(extension, false);
        }

        if (extension.Name == &quot;EXCEL&quot;) // change &quot;Excel&quot; name on the list to &quot;Excel 97-2003 Workbook&quot;
        {
            info = extension.GetType().GetField(&quot;m_localizedName&quot;, BindingFlags.Instance &#124; BindingFlags.NonPublic);
            if (info != null) info.SetValue(extension, &quot;Excel 97-2003 Workbook&quot;);
        }
    }
}

Hope this helps!</description>
		<content:encoded><![CDATA[<p>I stumbled across similar challenge today using VS 2008 and SQL 2005 (9.00.4035.00). I found out that the “m_serverExtension” actually does not exists nor “Visible”. So just for a quick reference please find the code below.<br />
Bear in mind you will have to reference System.Reflection namespace. Also using Microsoft.SqlServer.ReportingServices2005.Execution namespace is not required nor Microsoft.ReportViewer.Common.dll assembly ref.</p>
<p>public void DisableUnwantedExportFormats()<br />
{</p>
<p>    FieldInfo info;</p>
<p>    foreach (RenderingExtension extension in rvMain.ServerReport.ListRenderingExtensions())<br />
    {<br />
        if (extension.Name != &#8220;PDF&#8221; &amp;&amp; extension.Name != &#8220;EXCEL&#8221;) // only PDF and Excel &#8211; remove the others<br />
        {<br />
            info = extension.GetType().GetField(&#8220;m_isVisible&#8221;, BindingFlags.Instance | BindingFlags.NonPublic);<br />
            info.SetValue(extension, false);<br />
        }</p>
<p>        if (extension.Name == &#8220;EXCEL&#8221;) // change &#8220;Excel&#8221; name on the list to &#8220;Excel 97-2003 Workbook&#8221;<br />
        {<br />
            info = extension.GetType().GetField(&#8220;m_localizedName&#8221;, BindingFlags.Instance | BindingFlags.NonPublic);<br />
            if (info != null) info.SetValue(extension, &#8220;Excel 97-2003 Workbook&#8221;);<br />
        }<br />
    }<br />
}</p>
<p>Hope this helps!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Disabling Export Formats in Reporting Services by [c#] Microsoft Report Viewer - Forum Fachinformatiker.de</title>
		<link>http://mikemason.ca/blog/2007/04/disabling-export-formats-in-reporting-services/comment-page-1/#comment-21707</link>
		<dc:creator>[c#] Microsoft Report Viewer - Forum Fachinformatiker.de</dc:creator>
		<pubDate>Fri, 07 Aug 2009 08:30:05 +0000</pubDate>
		<guid isPermaLink="false">http://mikemason.ca/blog/?p=4#comment-21707</guid>
		<description>[...] f</description>
		<content:encoded><![CDATA[<p>[...] f</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Subversion 1.5 is Ready by mike</title>
		<link>http://mikemason.ca/blog/2008/06/subversion-15-is-ready/comment-page-1/#comment-20775</link>
		<dc:creator>mike</dc:creator>
		<pubDate>Tue, 21 Jul 2009 18:26:43 +0000</pubDate>
		<guid isPermaLink="false">http://mikemason.ca/blog/?p=23#comment-20775</guid>
		<description>First make sure you have a backup of your Subversion repository. Then install the new 1.6 server. I use the CollabNet binaries, they have a nice installer and seem to work well: http://www.collab.net/downloads/subversion/

Make sure you install the server and client, not just the client. After that you should have the svnadmin tool and be good to go.

If you are still having problems, check with whoever originally installed your Subversion server. It sounds like you might be confused between doing a client upgrade and doing a server upgrade.</description>
		<content:encoded><![CDATA[<p>First make sure you have a backup of your Subversion repository. Then install the new 1.6 server. I use the CollabNet binaries, they have a nice installer and seem to work well: <a href="http://www.collab.net/downloads/subversion/" rel="nofollow">http://www.collab.net/downloads/subversion/</a></p>
<p>Make sure you install the server and client, not just the client. After that you should have the svnadmin tool and be good to go.</p>
<p>If you are still having problems, check with whoever originally installed your Subversion server. It sounds like you might be confused between doing a client upgrade and doing a server upgrade.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Subversion 1.5 is Ready by Lucifer</title>
		<link>http://mikemason.ca/blog/2008/06/subversion-15-is-ready/comment-page-1/#comment-20773</link>
		<dc:creator>Lucifer</dc:creator>
		<pubDate>Tue, 21 Jul 2009 18:07:08 +0000</pubDate>
		<guid isPermaLink="false">http://mikemason.ca/blog/?p=23#comment-20773</guid>
		<description>Hello

We need to upgrade our SVN from version 1.4.4 to version 1.6

I thought we could use command line: svnadmin upgrade

But it does not exist in our version.

SVN is running on a Windows Server environment

what should we do?</description>
		<content:encoded><![CDATA[<p>Hello</p>
<p>We need to upgrade our SVN from version 1.4.4 to version 1.6</p>
<p>I thought we could use command line: svnadmin upgrade</p>
<p>But it does not exist in our version.</p>
<p>SVN is running on a Windows Server environment</p>
<p>what should we do?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Disabling Export Formats in Reporting Services by mike</title>
		<link>http://mikemason.ca/blog/2007/04/disabling-export-formats-in-reporting-services/comment-page-1/#comment-16668</link>
		<dc:creator>mike</dc:creator>
		<pubDate>Mon, 18 May 2009 15:34:27 +0000</pubDate>
		<guid isPermaLink="false">http://mikemason.ca/blog/?p=4#comment-16668</guid>
		<description>If you&#039;re using Reporting Services with a DLL version of 9.0.0.0 (2008?) try Giulliano&#039;s code snippet instead. My code example only works with Reporting Services 2005.</description>
		<content:encoded><![CDATA[<p>If you&#8217;re using Reporting Services with a DLL version of 9.0.0.0 (2008?) try Giulliano&#8217;s code snippet instead. My code example only works with Reporting Services 2005.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Disabling Export Formats in Reporting Services by Jon</title>
		<link>http://mikemason.ca/blog/2007/04/disabling-export-formats-in-reporting-services/comment-page-1/#comment-16488</link>
		<dc:creator>Jon</dc:creator>
		<pubDate>Fri, 15 May 2009 23:57:14 +0000</pubDate>
		<guid isPermaLink="false">http://mikemason.ca/blog/?p=4#comment-16488</guid>
		<description>I tried below code in my ReportViewer page, but does not work.  Please help.  Thanks,

           foreach (RenderingExtension extension in ReportViewer1.ServerReport.ListRenderingExtensions())
            {
                if (extension.Name == &quot;XML&quot;)
                {
                    FieldInfo info = extension.GetType().GetField(&quot;m_isVisible&quot;, BindingFlags.NonPublic &#124; BindingFlags.Instance);
                    if (info != null)
                    {
                        info.SetValue(extension, false);
                    }
                }

            }</description>
		<content:encoded><![CDATA[<p>I tried below code in my ReportViewer page, but does not work.  Please help.  Thanks,</p>
<p>           foreach (RenderingExtension extension in ReportViewer1.ServerReport.ListRenderingExtensions())<br />
            {<br />
                if (extension.Name == &#8220;XML&#8221;)<br />
                {<br />
                    FieldInfo info = extension.GetType().GetField(&#8220;m_isVisible&#8221;, BindingFlags.NonPublic | BindingFlags.Instance);<br />
                    if (info != null)<br />
                    {<br />
                        info.SetValue(extension, false);<br />
                    }<br />
                }</p>
<p>            }</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Disabling Export Formats in Reporting Services by Giulliano Dias</title>
		<link>http://mikemason.ca/blog/2007/04/disabling-export-formats-in-reporting-services/comment-page-1/#comment-15258</link>
		<dc:creator>Giulliano Dias</dc:creator>
		<pubDate>Tue, 28 Apr 2009 16:53:00 +0000</pubDate>
		<guid isPermaLink="false">http://mikemason.ca/blog/?p=4#comment-15258</guid>
		<description>Mike,

   I worked with a version 9.0.0.0 and I found a lot of problems. I solved these problems with the code below:
public void DisableUnwantedExportFormats()
        {
            foreach (RenderingExtension extension in serverReport.ListRenderingExtensions())
            {
                if (extension.Name == “XML” &#124;&#124; extension.Name == “IMAGE” &#124;&#124; extension.Name == “MHTML”)
                {
                    ReflectivelySetVisibilityFalse(extension);                    
                }
            }
        }

        private void ReflectivelySetVisibilityFalse(RenderingExtension extension)
        {
            FieldInfo info = extension.GetType().GetField(&quot;m_isVisible&quot;,
                             BindingFlags.NonPublic &#124; BindingFlags.Instance);       

            if (info != null)
            {
                info.SetValue(extension, false);
            }
        }


// regards.</description>
		<content:encoded><![CDATA[<p>Mike,</p>
<p>   I worked with a version 9.0.0.0 and I found a lot of problems. I solved these problems with the code below:<br />
public void DisableUnwantedExportFormats()<br />
        {<br />
            foreach (RenderingExtension extension in serverReport.ListRenderingExtensions())<br />
            {<br />
                if (extension.Name == “XML” || extension.Name == “IMAGE” || extension.Name == “MHTML”)<br />
                {<br />
                    ReflectivelySetVisibilityFalse(extension);<br />
                }<br />
            }<br />
        }</p>
<p>        private void ReflectivelySetVisibilityFalse(RenderingExtension extension)<br />
        {<br />
            FieldInfo info = extension.GetType().GetField(&#8220;m_isVisible&#8221;,<br />
                             BindingFlags.NonPublic | BindingFlags.Instance);       </p>
<p>            if (info != null)<br />
            {<br />
                info.SetValue(extension, false);<br />
            }<br />
        }</p>
<p>// regards.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Startups: Fire Your Dev Teams by jason</title>
		<link>http://mikemason.ca/blog/2008/01/startups-fire-your-dev-teams/comment-page-1/#comment-10730</link>
		<dc:creator>jason</dc:creator>
		<pubDate>Fri, 20 Feb 2009 16:35:18 +0000</pubDate>
		<guid isPermaLink="false">http://mikemason.ca/blog/?p=19#comment-10730</guid>
		<description>I badly _want_ to disagree, but experience says you are mostly correct.  I&#039;ve worked on a few new enterprise products that have been amazingly successful but struggled a little after success.  I wouldn&#039;t fire the _entire_ initial dev team, but I would include the dev. manager(s), if they are also not well-rounded enough to handle the road from start-up to enterprise.

Not all, but a good number, (50-75%?), of the development and management folks that brought a product to its first release are complete software development flatfoots.  They were fast because they knew _one_ way to do things and did it well.  They were flatfoots because after 5 years they still only knew one way to build something, wrote horrible code with high prod support and maintenance costs, and they could not figure out how to work with a structured development process.  

I am glad you mentioned this, because I had not yet realized why some of these developers or managers were ever useful.  I actually appreciate them a little more, now that I see where they would excel.  Maybe they weren&#039;t morons, just better aimed for startup work.  Great post, Mike!</description>
		<content:encoded><![CDATA[<p>I badly _want_ to disagree, but experience says you are mostly correct.  I&#8217;ve worked on a few new enterprise products that have been amazingly successful but struggled a little after success.  I wouldn&#8217;t fire the _entire_ initial dev team, but I would include the dev. manager(s), if they are also not well-rounded enough to handle the road from start-up to enterprise.</p>
<p>Not all, but a good number, (50-75%?), of the development and management folks that brought a product to its first release are complete software development flatfoots.  They were fast because they knew _one_ way to do things and did it well.  They were flatfoots because after 5 years they still only knew one way to build something, wrote horrible code with high prod support and maintenance costs, and they could not figure out how to work with a structured development process.  </p>
<p>I am glad you mentioned this, because I had not yet realized why some of these developers or managers were ever useful.  I actually appreciate them a little more, now that I see where they would excel.  Maybe they weren&#8217;t morons, just better aimed for startup work.  Great post, Mike!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
