<?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 on: Serving Dynamic SSRS Excel Formatted Documents Via a MemoryStream</title>
	<atom:link href="http://mattpenner.info/2009/06/03/serving-dynamic-ssrs-excel-formatted-documents-via-a-memorystream/feed/" rel="self" type="application/rss+xml" />
	<link>http://mattpenner.info/2009/06/03/serving-dynamic-ssrs-excel-formatted-documents-via-a-memorystream/</link>
	<description>All about Matt Penner - blog, work experience, project portfolio, skills, etc</description>
	<lastBuildDate>Sat, 28 Jan 2012 14:09:21 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Matt Penner</title>
		<link>http://mattpenner.info/2009/06/03/serving-dynamic-ssrs-excel-formatted-documents-via-a-memorystream/comment-page-1/#comment-336</link>
		<dc:creator>Matt Penner</dc:creator>
		<pubDate>Thu, 30 Sep 2010 22:29:54 +0000</pubDate>
		<guid isPermaLink="false">http://mattpenner.info/2009/06/03/serving-dynamic-ssrs-excel-formatted-documents-via-a-memorystream/#comment-336</guid>
		<description>Hi Robin,

The example above is meant to be inside of an ASP Handler.  To create one of these you would right-click on the folder you wanted to put the file in and select Add New.  Then you would choose a Handler file type and give it a name.  When you click OK Visual Studio will create the file for you and open it with a skeleton of starting code.  It will have a blank ProcessRequest method, which you put the code from my example into.

Once you do that you can then run it by simply creating a link to it from another page.  You can also test it by simply typing the link to the handler straight into your web browser.  This should kick off the process and give you a file download dialog box.  If it doesn&#039;t then you will need to put a breakpoint in your code and step through it to find the problem.

I hope that helps!  Let me know if you have additional questions. :)</description>
		<content:encoded><![CDATA[<p>Hi Robin,</p>
<p>The example above is meant to be inside of an ASP Handler.  To create one of these you would right-click on the folder you wanted to put the file in and select Add New.  Then you would choose a Handler file type and give it a name.  When you click OK Visual Studio will create the file for you and open it with a skeleton of starting code.  It will have a blank ProcessRequest method, which you put the code from my example into.</p>
<p>Once you do that you can then run it by simply creating a link to it from another page.  You can also test it by simply typing the link to the handler straight into your web browser.  This should kick off the process and give you a file download dialog box.  If it doesn&#8217;t then you will need to put a breakpoint in your code and step through it to find the problem.</p>
<p>I hope that helps!  Let me know if you have additional questions. <img src='http://mattpenner.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robin</title>
		<link>http://mattpenner.info/2009/06/03/serving-dynamic-ssrs-excel-formatted-documents-via-a-memorystream/comment-page-1/#comment-335</link>
		<dc:creator>Robin</dc:creator>
		<pubDate>Thu, 30 Sep 2010 20:43:48 +0000</pubDate>
		<guid isPermaLink="false">http://mattpenner.info/2009/06/03/serving-dynamic-ssrs-excel-formatted-documents-via-a-memorystream/#comment-335</guid>
		<description>Hi Matt,

Forgive the ASP newbie question.  But I&#039;ve got the code written and apparently working inside a class on the .vb page in a project I&#039;m working on.  My question is: how do I call it from the aspx page itself?  I&#039;m at a bit of a loss.

Thank you!</description>
		<content:encoded><![CDATA[<p>Hi Matt,</p>
<p>Forgive the ASP newbie question.  But I&#8217;ve got the code written and apparently working inside a class on the .vb page in a project I&#8217;m working on.  My question is: how do I call it from the aspx page itself?  I&#8217;m at a bit of a loss.</p>
<p>Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Harsha</title>
		<link>http://mattpenner.info/2009/06/03/serving-dynamic-ssrs-excel-formatted-documents-via-a-memorystream/comment-page-1/#comment-274</link>
		<dc:creator>Harsha</dc:creator>
		<pubDate>Sun, 03 Jan 2010 00:54:32 +0000</pubDate>
		<guid isPermaLink="false">http://mattpenner.info/2009/06/03/serving-dynamic-ssrs-excel-formatted-documents-via-a-memorystream/#comment-274</guid>
		<description>Your blogs under development category are cool.

Good that you&#039;ve found something useful on my blog.

Cheers!</description>
		<content:encoded><![CDATA[<p>Your blogs under development category are cool.</p>
<p>Good that you&#8217;ve found something useful on my blog.</p>
<p>Cheers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Penner</title>
		<link>http://mattpenner.info/2009/06/03/serving-dynamic-ssrs-excel-formatted-documents-via-a-memorystream/comment-page-1/#comment-187</link>
		<dc:creator>Matt Penner</dc:creator>
		<pubDate>Mon, 22 Jun 2009 18:23:05 +0000</pubDate>
		<guid isPermaLink="false">http://mattpenner.info/2009/06/03/serving-dynamic-ssrs-excel-formatted-documents-via-a-memorystream/#comment-187</guid>
		<description>Hi Ameet,
You should be able to grab the IP address of the request by using the Request.ServerVariables collection:
Request.ServerVariables(&quot;REMOTE_ADDR&quot;)

Take a look at this page for all the different variables you can find in this collection.  
http://www.w3schools.com/asp/coll_servervariables.asp
This collection is a pretty great source of information.

Also, remember that the IP address may not be the actual IP address of the user.  If you are on an internal network that should be fine, but if you are getting hits from the public then their IP may be whatever their router or ISP uses.  This means several different people on different computers (say a college campus computer lab) may be hitting your website all with the same request IP and not technically the actual machine IP.</description>
		<content:encoded><![CDATA[<p>Hi Ameet,<br />
You should be able to grab the IP address of the request by using the Request.ServerVariables collection:<br />
Request.ServerVariables(&#8220;REMOTE_ADDR&#8221;)</p>
<p>Take a look at this page for all the different variables you can find in this collection.<br />
<a href="http://www.w3schools.com/asp/coll_servervariables.asp" rel="nofollow">http://www.w3schools.com/asp/coll_servervariables.asp</a><br />
This collection is a pretty great source of information.</p>
<p>Also, remember that the IP address may not be the actual IP address of the user.  If you are on an internal network that should be fine, but if you are getting hits from the public then their IP may be whatever their router or ISP uses.  This means several different people on different computers (say a college campus computer lab) may be hitting your website all with the same request IP and not technically the actual machine IP.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ameet</title>
		<link>http://mattpenner.info/2009/06/03/serving-dynamic-ssrs-excel-formatted-documents-via-a-memorystream/comment-page-1/#comment-186</link>
		<dc:creator>Ameet</dc:creator>
		<pubDate>Mon, 22 Jun 2009 17:51:07 +0000</pubDate>
		<guid isPermaLink="false">http://mattpenner.info/2009/06/03/serving-dynamic-ssrs-excel-formatted-documents-via-a-memorystream/#comment-186</guid>
		<description>Hey Matt,
Is there anyway we can get the IP of a user running a report as a parameter for the report?

We have the username(User!userid) as a builtin parameter but our requirement is to find out Who ran the report,(userid), when they ran that report(Executiontime) and from where(Machine name or IP)
And we cannot figure out how to get the IP

Any help will be highly appreciated.
Thanks
Ameet</description>
		<content:encoded><![CDATA[<p>Hey Matt,<br />
Is there anyway we can get the IP of a user running a report as a parameter for the report?</p>
<p>We have the username(User!userid) as a builtin parameter but our requirement is to find out Who ran the report,(userid), when they ran that report(Executiontime) and from where(Machine name or IP)<br />
And we cannot figure out how to get the IP</p>
<p>Any help will be highly appreciated.<br />
Thanks<br />
Ameet</p>
]]></content:encoded>
	</item>
</channel>
</rss>

