<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.inetium.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Vince Bullinger</title><link>http://blogs.inetium.com/blogs/vbullinger/default.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2008 (Build: 30417.1769)</generator><item><title>Cleaning Your Database After a SQL Injection Attack</title><link>http://blogs.inetium.com/blogs/vbullinger/archive/2008/08/04/cleaning-your-database-after-a-sql-injection-attack.aspx</link><pubDate>Mon, 04 Aug 2008 17:05:00 GMT</pubDate><guid isPermaLink="false">7346ef18-9fb1-4a4e-be41-9add5078176c:18075</guid><dc:creator>vbullinger</dc:creator><slash:comments>0</slash:comments><description>If you have an older website that doesn&amp;#39;t have the top-notch security that most Inetium websites have, you may be vulnerable to a SQL injection attack. I wrote a SQL script to clean up a database that has been hit with a SQL injection attack. It goes...(&lt;a href="http://blogs.inetium.com/blogs/vbullinger/archive/2008/08/04/cleaning-your-database-after-a-sql-injection-attack.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.inetium.com/aggbug.aspx?PostID=18075" width="1" height="1"&gt;</description></item><item><title>Copying Files from the GAC</title><link>http://blogs.inetium.com/blogs/vbullinger/archive/2008/06/04/copying-files-from-the-gac.aspx</link><pubDate>Wed, 04 Jun 2008 22:29:00 GMT</pubDate><guid isPermaLink="false">7346ef18-9fb1-4a4e-be41-9add5078176c:17829</guid><dc:creator>vbullinger</dc:creator><slash:comments>0</slash:comments><description>We&amp;#39;ve all installed files in the GAC before, (right?) but how do you copy files FROM the GAC? I found a lot of little things here and there while Googling it, but nothing about copying a lot of files. I needed to copy a bunch of files and copying...(&lt;a href="http://blogs.inetium.com/blogs/vbullinger/archive/2008/06/04/copying-files-from-the-gac.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.inetium.com/aggbug.aspx?PostID=17829" width="1" height="1"&gt;</description><category domain="http://blogs.inetium.com/blogs/vbullinger/archive/tags/xcopy/default.aspx">xcopy</category><category domain="http://blogs.inetium.com/blogs/vbullinger/archive/tags/GAC/default.aspx">GAC</category></item><item><title>Modifying Queue Views in CRM</title><link>http://blogs.inetium.com/blogs/vbullinger/archive/2007/10/18/modifying-queue-views-in-crm.aspx</link><pubDate>Thu, 18 Oct 2007 21:46:00 GMT</pubDate><guid isPermaLink="false">7346ef18-9fb1-4a4e-be41-9add5078176c:7559</guid><dc:creator>vbullinger</dc:creator><slash:comments>7</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.inetium.com/blogs/vbullinger/rsscomments.aspx?PostID=7559</wfw:commentRss><comments>http://blogs.inetium.com/blogs/vbullinger/archive/2007/10/18/modifying-queue-views-in-crm.aspx#comments</comments><description>I was recently asked to change the queue views for a client. At first I thought, "hey, wait a tic... that's just a normal view that any old CRM customizer can modify, right?" And went directly to the customizations... No luck. Apparently, they don't want...(&lt;a href="http://blogs.inetium.com/blogs/vbullinger/archive/2007/10/18/modifying-queue-views-in-crm.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.inetium.com/aggbug.aspx?PostID=7559" width="1" height="1"&gt;</description></item><item><title>Adding Transparency to SWFObjects</title><link>http://blogs.inetium.com/blogs/vbullinger/archive/2007/08/09/adding-transparency-to-swfobjects.aspx</link><pubDate>Thu, 09 Aug 2007 20:46:00 GMT</pubDate><guid isPermaLink="false">7346ef18-9fb1-4a4e-be41-9add5078176c:4768</guid><dc:creator>vbullinger</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.inetium.com/blogs/vbullinger/rsscomments.aspx?PostID=4768</wfw:commentRss><comments>http://blogs.inetium.com/blogs/vbullinger/archive/2007/08/09/adding-transparency-to-swfobjects.aspx#comments</comments><description>I was asked to add a lot of Flash to a website recently. This website was a content-managed solution (our own content management solution), so I thought "hey, instead of them asking me to add flash movies everywhere, why not allow them to do so, very...(&lt;a href="http://blogs.inetium.com/blogs/vbullinger/archive/2007/08/09/adding-transparency-to-swfobjects.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.inetium.com/aggbug.aspx?PostID=4768" width="1" height="1"&gt;</description></item><item><title>CRM JScript Bug</title><link>http://blogs.inetium.com/blogs/vbullinger/archive/2007/07/30/crm-jscript-bug.aspx</link><pubDate>Mon, 30 Jul 2007 22:45:00 GMT</pubDate><guid isPermaLink="false">7346ef18-9fb1-4a4e-be41-9add5078176c:4516</guid><dc:creator>vbullinger</dc:creator><slash:comments>3</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.inetium.com/blogs/vbullinger/rsscomments.aspx?PostID=4516</wfw:commentRss><comments>http://blogs.inetium.com/blogs/vbullinger/archive/2007/07/30/crm-jscript-bug.aspx#comments</comments><description>&lt;P&gt;Sure, we all know how to write comments in JavaScr... I mean "JScript" - you just put this before your one-line comment: //.&amp;nbsp; Well, recently, I had a strange problem with some JScript.&amp;nbsp; I knew it was 100% correctly written, but it was throwing errors, saying I was missing an end bracket - }.&amp;nbsp; Weird, I thought, as I closed all my if/else statements and all my functions that I defined, (you know how to do that in CRM, right?&amp;nbsp; crmForm.MyFunctionName = MyFunctionName(){//stuff} and then you can use it throughout the rest of that same form's events - even on field events - by saying crmForm.MyFunctionName().) so I was really in a quandary.&amp;nbsp; I looked at the last line in my event handler, and it was a comment.&amp;nbsp; I.e.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;// The previous line did whatever&lt;/P&gt;
&lt;P&gt;So, I moved that comment above the aforementioned line, and it worked!&lt;/P&gt;
&lt;P&gt;So, what's the bug mentioned in the title?&amp;nbsp; &lt;STRONG&gt;You can't end your JScript event handlers with a comment, even if it's at the end of a line of code.&lt;/STRONG&gt;&amp;nbsp; I.e. this is illegal:&lt;/P&gt;
&lt;P&gt;alert("Hello, world!");&lt;BR&gt;// Say hello to the world&lt;/P&gt;
&lt;P&gt;As is this:&lt;/P&gt;
&lt;P&gt;alert("Hello, world!"; // Say hello to the world&lt;/P&gt;
&lt;P&gt;Just say this:&lt;/P&gt;
&lt;P&gt;// Say hello to the world&lt;BR&gt;alert("Hello, world!");&lt;/P&gt;
&lt;P&gt;Pretty lame, I know, but it should save some readers some headaches.&lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.inetium.com/aggbug.aspx?PostID=4516" width="1" height="1"&gt;</description></item><item><title>IFrame Print Styles In CRM</title><link>http://blogs.inetium.com/blogs/vbullinger/archive/2007/06/11/iframe-print-styles-in-crm.aspx</link><pubDate>Mon, 11 Jun 2007 21:55:00 GMT</pubDate><guid isPermaLink="false">7346ef18-9fb1-4a4e-be41-9add5078176c:3151</guid><dc:creator>vbullinger</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.inetium.com/blogs/vbullinger/rsscomments.aspx?PostID=3151</wfw:commentRss><comments>http://blogs.inetium.com/blogs/vbullinger/archive/2007/06/11/iframe-print-styles-in-crm.aspx#comments</comments><description>&lt;P&gt;I've written a few IFrames to help extend CRM in the past, but recently, an issue with them was brought to my attention that no one had ever mentioned to me (and, therefore, I'd assume that no client had ever complained about, either).&lt;/P&gt;
&lt;P&gt;A client had tried to print a page that had an IFrame I developed on it.&amp;nbsp; Instead of whatever was in the IFrame, there was nothing.&amp;nbsp; I.e. my IFrame was hidden.&amp;nbsp; Immediately, I realized that IFrames must be hidden in CRM.&amp;nbsp; Whether on purpose or by accident (on Microsoft's part), I had to get this resolved.&amp;nbsp; All my hard work was being hidden by CRM!&lt;/P&gt;
&lt;P&gt;So I parsed through the myriad of pages and style sheets that CRM installs on the server, looking for how it interprets IFrames, and found this in one of the style sheets:&lt;/P&gt;
&lt;P&gt;IFRAME.custom&lt;BR&gt;{&lt;BR&gt;width:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;100%;&lt;BR&gt;height:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;100%;&lt;BR&gt;border:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;1px solid #7b9ebd;&lt;BR&gt;behavior:&amp;nbsp;&amp;nbsp;&amp;nbsp;url(/_forms/controls/IFRAME.htc);&lt;BR&gt;}&lt;/P&gt;
&lt;P&gt;All IFrames&amp;nbsp;get the class "custom" by default.&amp;nbsp; So, all I had to do was&amp;nbsp;go into the print style sheet and put something&amp;nbsp;awfully similar:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;IFRAME.custom&lt;BR&gt;{&lt;BR&gt;width:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;100%;&lt;BR&gt;height:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;30px;&lt;BR&gt;border:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;1px solid #7b9ebd;&lt;BR&gt;behavior:&amp;nbsp;&amp;nbsp;&amp;nbsp;url(/_forms/controls/IFRAME.htc);&lt;BR&gt;}&lt;/P&gt;
&lt;P&gt;I had to give it a height, because it seems to make the height 0% or 0px, though I don't know where that's defined.&amp;nbsp; Of course, you'll want to put new, print-oriented styles in your style sheet you use for the IFrame.&amp;nbsp; For this IFrame, I was creating what looked like a lookup for contacts, so I had these styles (yours may vary):&lt;/P&gt;
&lt;P&gt;input&lt;BR&gt;{&lt;BR&gt;&amp;nbsp;font-family: Tahoma;&lt;BR&gt;&amp;nbsp;font-size: 11px;&lt;BR&gt;&amp;nbsp;border-color: White;&lt;BR&gt;&amp;nbsp;border-width: 0px;&lt;BR&gt;&amp;nbsp;color: Black;&lt;BR&gt;}&lt;/P&gt;
&lt;P&gt;DIV.lu&lt;BR&gt;{&lt;BR&gt;&amp;nbsp;height:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0px;&lt;BR&gt;}&lt;/P&gt;
&lt;P&gt;TABLE.lu&lt;BR&gt;{&lt;BR&gt;&amp;nbsp;height:&amp;nbsp;0px;&lt;BR&gt;}&lt;/P&gt;
&lt;P&gt;IMG.lu&lt;BR&gt;{&lt;BR&gt;&amp;nbsp;height:&amp;nbsp;0px;&lt;BR&gt;}&lt;/P&gt;
&lt;P&gt;This will set the linked text (the contact's name) to black, the search button to being invisible and all the other stuff surrounding the search button to being invisible.&amp;nbsp; You don't want it to looked like a linked text box, you want it to look like plain, black text.&lt;/P&gt;
&lt;P&gt;It doesn't recognize "media='print'" in your style sheet reference, btw, so you'll have to do something like I did:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;script type='text/javascript'&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;var parentLocation = '' + window.parent.location + ''&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if(parentLocation.indexOf('/print/') &amp;gt;= 0)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // CSSReference is your &amp;lt;link&amp;gt; tag to your style sheet&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;var cssReference = document.getElementById('CSSReference');&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if(cssReference != null)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;cssReference.href = "MyStyleSheetForPrinting.css";&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/script&amp;gt;&lt;/P&gt;
&lt;P&gt;So, from now on, when you make an IFrame in CRM, you should consider all of this or your IFrames will not print at all.&lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.inetium.com/aggbug.aspx?PostID=3151" width="1" height="1"&gt;</description></item><item><title>Search Engine Friendly Query Strings</title><link>http://blogs.inetium.com/blogs/vbullinger/archive/2007/01/23/819.aspx</link><pubDate>Tue, 23 Jan 2007 17:11:00 GMT</pubDate><guid isPermaLink="false">7346ef18-9fb1-4a4e-be41-9add5078176c:819</guid><dc:creator>vbullinger</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.inetium.com/blogs/vbullinger/rsscomments.aspx?PostID=819</wfw:commentRss><comments>http://blogs.inetium.com/blogs/vbullinger/archive/2007/01/23/819.aspx#comments</comments><description>&lt;P&gt;I recently was asked to develop something for a client that seemed a little ill-conceived.&amp;nbsp; This is a very particular client&amp;nbsp;who is very involved with his work.&amp;nbsp; He knows exactly what he wants and is very organized.&amp;nbsp; Usually, I just assume he's got the right idea and code away.&amp;nbsp; He seems like a pretty savvy business man.&amp;nbsp; But this time, it was a bit different.&amp;nbsp; I felt there was a better way.&lt;/P&gt;
&lt;P&gt;He wanted to have a list of products he could manage through our content management system and link each product to a different webpage where he would add content through the same content management system about the product.&amp;nbsp; Each product would have its own page.&amp;nbsp; Ew.&lt;/P&gt;
&lt;P&gt;I told the project manager that it would be better if we just had one page for the categories and one page for the products.&amp;nbsp; You would pass an id of the category into a query string for the category page and a&amp;nbsp;product id into a a query string for the product page.&amp;nbsp; Much easier for the client.&amp;nbsp; The project manager told me that the client didn't care about things like that because he was more concerned about search engine results than his time.&amp;nbsp; I replied by saying that it didn't matter: search engines crawl dynamic URLs on pages.&amp;nbsp; The project manager wasn't too certain, and I wasn't really an "expert" on the subject, either, so I kind of tabled the decision and decided to look it up a bit.&lt;/P&gt;
&lt;P&gt;The very first page I found, located &lt;A href="http://www.smart-it-consulting.com/article.htm?node=140&amp;amp;page=53" target=_blank&gt;here&lt;/A&gt;,&amp;nbsp;explained it really well.&amp;nbsp; The article states that, though search engine spiders do crawl through sites, they have some serious - and very understandable - limitations.&amp;nbsp; The synopsis of the important points about query strings are:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Keep them short. Less variables gain more visibility. 
&lt;LI&gt;Keep your variable names short, but do not use 'ID' or composites of entities and 'ID'. 
&lt;LI&gt;Hide user tracking from search engine crawlers in all URLs appearing in (internal) links. That's tolerated cloaking, because it helps search engines. Ensure to output useful default values when a page gets requested without a session ID and the client does not accept cookies. 
&lt;LI&gt;Keep the values short. If you can, go for integers. Don't use UUIDs/GUIDs and similar randomly generated stuff in query strings if you want the page indexed by search engines. Exception: in forms enabling users to update your database use GUIDs/UUIDs only, because integers encourage users to play with them in the address bar, which leads to unwanted updates and other nasty effects.&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;These are pretty important rules I'll remember for all my consulting days.&amp;nbsp; The website, &lt;A href="http://www.smart-it-consulting.com/"&gt;http://www.smart-it-consulting.com/&lt;/A&gt;, sounds like a pretty nice site for us consultants to check out in general&amp;nbsp;:)&lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.inetium.com/aggbug.aspx?PostID=819" width="1" height="1"&gt;</description></item><item><title>Accessing Parent DataItem of a Child DataItem</title><link>http://blogs.inetium.com/blogs/vbullinger/archive/2006/12/01/574.aspx</link><pubDate>Fri, 01 Dec 2006 16:18:00 GMT</pubDate><guid isPermaLink="false">7346ef18-9fb1-4a4e-be41-9add5078176c:574</guid><dc:creator>vbullinger</dc:creator><slash:comments>4</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.inetium.com/blogs/vbullinger/rsscomments.aspx?PostID=574</wfw:commentRss><comments>http://blogs.inetium.com/blogs/vbullinger/archive/2006/12/01/574.aspx#comments</comments><description>&lt;P&gt;We've all iterated through some kind of repeater (datalist, datagrid, an ACTUAL repeater) and used the DataBinder to display a property of the object bound to the current DataItem without wasting time writing an ItemDataBound event handler:&lt;/P&gt;
&lt;P&gt;&amp;lt;asp:Repeater&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;ItemTemplate&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;%#DataBinder.Eval(Container.DataItem, "PropertyName")%&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/ItemTemplate&amp;gt;&lt;BR&gt;&amp;lt;/asp:Repeater&amp;gt;&lt;/P&gt;
&lt;P&gt;But have you ever been iterating through a Repeater WITHIN a Repeater and wondered: "gee, how do I access the outer DataItem for display within the inner DataItem's template without writing a complicated&amp;nbsp;ItemDataBound event handler?"&amp;nbsp; I.e.&lt;BR&gt;&lt;BR&gt;&amp;lt;asp:Repeater ID="_outerRepeater"&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;ItemTemplate&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;%#DataBinder.Eval(Container.DataItem, "PropertyName")%&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;asp:Repeater ID="_innerRepeater"&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;ItemTemplate&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[Outer Repeater DataItem]&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;%#DataBinder.Eval(Container.DataItem, "PropertyName")%&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/ItemTemplate&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/asp:Repeater&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/ItemTemplate&amp;gt;&lt;BR&gt;&amp;lt;/asp:Repeater&amp;gt;&lt;/P&gt;
&lt;P&gt;Well, I wondered just that the other day.&amp;nbsp; I asked around to see if there was a shortcut anybody around inetium knew, to no avail.&amp;nbsp; Seems everyone thought it should be easy, but they had never thought to attempt it before.&amp;nbsp; Googling was a bit challenging for this task (what would you put in the search box?), so I begain tinkering in code, using asp.net 2.0 in Visual Studio 2005 for increased intellisense and figured out this solution:&lt;/P&gt;
&lt;P&gt;&amp;lt;asp:Repeater ID="_outerRepeater"&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;ItemTemplate&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;%#DataBinder.Eval(Container.DataItem, "PropertyName")%&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;asp:Repeater ID="_innerRepeater"&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;ItemTemplate&amp;gt;&lt;BR&gt;&amp;lt;%#((System.Web.UI.WebControls.RepeaterItem)Container.Parent.Parent).DataItem%&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;%#DataBinder.Eval(Container.DataItem, "PropertyName")%&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/ItemTemplate&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/asp:Repeater&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/ItemTemplate&amp;gt;&lt;BR&gt;&amp;lt;/asp:Repeater&amp;gt;&lt;/P&gt;
&lt;P&gt;The container is what holds the DataItem (in an event handlers, that'd be e.Item I'd guess) and it's parent is the inner repeater.&amp;nbsp; So you'll need the inner repeater's parent, the outer repeater's DataItem.&amp;nbsp; Seems to call the ToString() method of it, so it's limited, but that's exactly what I wanted (I was binding the outer repeater do directories and the inner repeater to files inside of that directory, so the point was to get a link to [Directory Name]/[File Name].&lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.inetium.com/aggbug.aspx?PostID=574" width="1" height="1"&gt;</description></item><item><title>Writing A CRM Callout Assembly: A How To</title><link>http://blogs.inetium.com/blogs/vbullinger/archive/2006/10/23/417.aspx</link><pubDate>Mon, 23 Oct 2006 19:19:00 GMT</pubDate><guid isPermaLink="false">7346ef18-9fb1-4a4e-be41-9add5078176c:417</guid><dc:creator>vbullinger</dc:creator><slash:comments>13</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.inetium.com/blogs/vbullinger/rsscomments.aspx?PostID=417</wfw:commentRss><comments>http://blogs.inetium.com/blogs/vbullinger/archive/2006/10/23/417.aspx#comments</comments><description>&lt;P&gt;I was recently asked to write a callout assembly to be attached to a client's CRM workflow service.&amp;nbsp; A callout assembly (in this regard) is an assembly that is attached to the CRM workflow service and is sort of like an external event handler.&amp;nbsp; So when someone adds/updates/deletes records in CRM, the callout assembly is fired.&amp;nbsp; I had never done it before, but I thought it wouldn't be too much of a problem.&amp;nbsp; There are some samples in the CRMSDK and I was sure that searching on Google and MSDN would yield the answers to any questions I'd have.&amp;nbsp; I was wrong.&lt;/P&gt;
&lt;P&gt;There isn't too much help in either of those two sources, as I found out the hard way.&amp;nbsp; This possibly isn't the most common thing in the world to do, I'm guessing.&lt;/P&gt;
&lt;P&gt;The problem I had with the "readme"s in the callout samples given in the CRMSDK is that they just blindly say "do this" and "do that," without any explanation of what's going on.&amp;nbsp; They also missed a step, as far as I can see.&amp;nbsp; They don't explain the callout.config.xml file at all.&amp;nbsp; I'll attempt to explain things, step-by-step, since I don't really see a definitive explanation of how these callout assemblies work anywhere (I've seen similar posts on other blog sites with less information, however).&lt;/P&gt;
&lt;P&gt;Step 1: create a blank solution with a class library project inside.&lt;/P&gt;
&lt;P&gt;Step 2: add a web reference to your CRM web service.&amp;nbsp; It should look something like this: http://&amp;lt;yourserver&amp;gt;/mscrmservices/2006/CrmService.asmx,&amp;nbsp;as the readme got correct.&amp;nbsp; If you need to login, you better have all that information handy, as you'll need it later.&amp;nbsp; This information will include: a) user name&amp;nbsp;b) password c) domain d) CRM server.&lt;/P&gt;
&lt;P&gt;Step 3: add a reference to the Microsoft.Crm.Platform.Callout.Base.dll file.&amp;nbsp; If you need to download that, you should do so.&amp;nbsp; I had to.&amp;nbsp; This is necessary for the next step.&lt;/P&gt;
&lt;P&gt;Step 4: create a class for your callout that extends the CrmCalloutBase class.&amp;nbsp; You will need the dll from the previous step to do this.&amp;nbsp; Make sure this class has "using Microsoft.Crm.Callout;" in the using directives for the base class and "using &amp;lt;yourassemblyname&amp;gt;.&amp;lt;yourwebreferencename&amp;gt;;" for the web service.&amp;nbsp; If you are ever going to need to connect to the web server (say, if a child object is updated/added/deleted, the parent needs to update its information, for example), then you'll need the user name, password, domain and CRM server information from before.&amp;nbsp; You'll need this code to access the CRM web service:&lt;/P&gt;
&lt;P&gt;CrmService service = new CrmService();&lt;BR&gt;service.Url = &amp;lt;CRM_SERVER&amp;gt; + "crmservice.asmx";&lt;BR&gt;service.PreAuthenticate = true;&lt;BR&gt;service.Credentials = new NetworkCredential(&amp;lt;CRM_USER&amp;gt;, &amp;lt;CRM_PASSWORD&amp;gt;, &amp;lt;CRM_DOMAIN&amp;gt;);&lt;BR&gt;WhoAmIRequest userRequest = new WhoAmIRequest();&lt;BR&gt;WhoAmIResponse userResponse = (WhoAmIResponse)service.Execute(userRequest);&lt;/P&gt;
&lt;P&gt;And your service is now ready to use.&amp;nbsp; I.e. if a child's information is edited, you may want to use the web service to update the parent.&amp;nbsp; This may be the whole reason for creating a callout assembly.&lt;/P&gt;
&lt;P&gt;Step 5: decide what events you want to listen into.&amp;nbsp; Do you want to react to whenever a case is submitted?&amp;nbsp; Do you want to react to whenever someone updates their contact information?&amp;nbsp; Do you want to check submitted information before it gets submitted?&amp;nbsp; Whatever it is, there are plenty of things to listen into.&amp;nbsp; To find out what you can listen to, inside your class, start a new line (with intellisense enabled) and type override and then a space to see what possibilities you have.&amp;nbsp; For quick reference, there's pre- and post-:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Create&lt;/LI&gt;
&lt;LI&gt;Update&lt;/LI&gt;
&lt;LI&gt;Delete&lt;/LI&gt;
&lt;LI&gt;Assign&lt;/LI&gt;
&lt;LI&gt;Set state&lt;/LI&gt;
&lt;LI&gt;MergePersonally&lt;/LI&gt;
&lt;LI&gt;PreSend&lt;/LI&gt;
&lt;LI&gt;PostDeliver&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;Step 6: implement the code you want to fire when your event is triggered.&amp;nbsp; You can override a bunch of methods (all of them, actually) in the same callout class, so feel free.&amp;nbsp; I overrode three in mine.&amp;nbsp; I don't quite understand why the entity context is passed, as you can set your event to only listen for when an event is fired for an entity of a particular type.&amp;nbsp; I personally don't have any code in my callout I just wrote that worries about what type of entity I'm dealing with.&lt;/P&gt;
&lt;P&gt;Step 7: create the callout.config.xml file.&amp;nbsp; Assuming you're using CRM 3.0, you should have this line of code as your second line of code instead of the ones in the CRMSDK samples: "&amp;lt;callout.config version="3.0" xmlns=" http://schemas.microsoft.com/crm/2006/callout/"&amp;gt;" or your config file might not be recognized.&amp;nbsp; Inside the callout config file, you'll need a &amp;lt;callout&amp;gt; node for each event/entity combination you are listening into that looks like this: &amp;lt;callout entity="myentityname" event="Post/Pre&amp;lt;see above bulleted list for ideas&amp;gt;"&amp;gt; with an optional onerror property with the value of "abort" or "ignore."&amp;nbsp; Inside this node, you'll need a subscription node that looks something like this: &amp;lt;subscription assembly="myassembly.dll" class="myfullnamespace.myclass(from step four)"&amp;gt;.&amp;nbsp; Inside this node, you'll need one or more &amp;lt;postvalue&amp;gt; nodes IF you are listening in on a "Post" event (not a "Pre" event).&amp;nbsp; Each of these &amp;lt;postvalue&amp;gt; nodes needs to have the name of a property of the entity you are going to work with in your code.&amp;nbsp; For example, if you working with an incident entity and want to look at the ticket number in your callout assembly's class, you'll need this inside your subscription node: &amp;lt;postvalue&amp;gt;ticketnumber&amp;lt;/postvalue&amp;gt;.&amp;nbsp; One short cut, if you're going to use a lot of properties, or an expanding number of properties (in case your assembly will be modified as time goes on) or if you're just really lazy is to put this in your subscription: &amp;lt;postvalue&amp;gt;@all&amp;lt;/postvalue&amp;gt;, and you'll then get all of the properties.&amp;nbsp; That's what I did.&amp;nbsp; Mainly because I knew that the objects don't have a lot of properties.&amp;nbsp; I would also suggest writing to a log file throughout your code so you can debug more easily.&lt;/P&gt;
&lt;P&gt;Step 8: compile your code and attach it.&amp;nbsp; Attaching it is pretty tricky, so make sure you pay close attention.&amp;nbsp; I am not sure you'll need to do all of these things, but I did, so here's what should work for sure.&amp;nbsp; First, go into the services console (of the CRM server...)&amp;nbsp;and stop the Microsoft CRM Workflow Service.&amp;nbsp; Next, if you've already deployed a previous version of your callout assembly, RENAME IT.&amp;nbsp; It won't let you delete it, but you can rename it...&amp;nbsp; Then, move (the new version of) your callout assembly to the \Program Files\Microsoft CRM\Server\bin\assembly folder.&amp;nbsp; Then, restart IIS.&amp;nbsp; I'll wait...&amp;nbsp; Ok, now start the Microsoft CRM Workflow Service.&amp;nbsp; Delete the old assembly (the one you renamed) if this isn't the first time you deployed it.&amp;nbsp; IF YOU MAKE ANY CHANGES TO THE DLL OR THE CALLOUT.CONFIG.XML FILE(S), YOU MUST REPEAT STEP 8 OR IT WON'T TAKE EFFECT!&lt;/P&gt;
&lt;P&gt;That should do it!&amp;nbsp; Now, if you have trouble getting into the workflow or think it's too restrictive/not powerful enough, you can write C# code (or VB code, if you are so inclined) that can do whatever you want and then just attach it to the workflow process using the process outlined above.&amp;nbsp; Happy calling out!&lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.inetium.com/aggbug.aspx?PostID=417" width="1" height="1"&gt;</description></item><item><title>CRM SDK Bug - How to upload files into CRM 3.0</title><link>http://blogs.inetium.com/blogs/vbullinger/archive/2006/10/12/404.aspx</link><pubDate>Thu, 12 Oct 2006 15:40:00 GMT</pubDate><guid isPermaLink="false">7346ef18-9fb1-4a4e-be41-9add5078176c:404</guid><dc:creator>vbullinger</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.inetium.com/blogs/vbullinger/rsscomments.aspx?PostID=404</wfw:commentRss><comments>http://blogs.inetium.com/blogs/vbullinger/archive/2006/10/12/404.aspx#comments</comments><description>&lt;P&gt;I wanted to attach a file to a CRM case created outside of CRM using a web service.&amp;nbsp; In order to do this, you have to attach something called an "annotation" to something called an "incident."&amp;nbsp; An incident is a case and an annotation is anything that would fit under the "Notes and Article" tab.&lt;/P&gt;
&lt;P&gt;After creating the annotation, you then have to attach the file's data to something called an "UploadFromBase64DataAnnotationRequest."&amp;nbsp; Wonderful name for an object, by the way.&amp;nbsp; Then you attach the&amp;nbsp;UploadFromBase64DataAnnotationRequest object to the annotation you just made and&amp;nbsp;have the service execute this UploadFromBase64DataAnnotationRequest object.&amp;nbsp; All very, very, very&amp;nbsp;intuitive...&lt;/P&gt;
&lt;P&gt;The code being thrown around the Internet to do this is as follows:&lt;/P&gt;
&lt;P&gt;string data;// Variable declared outside of using statement.&lt;BR&gt;&amp;nbsp;&lt;BR&gt;// Create an instance of StreamReader to write text to a file.&lt;BR&gt;// The using statement also closes the StreamReader.&lt;BR&gt;using (StreamReader sr = new StreamReader("temp.txt")) &lt;BR&gt;{&lt;BR&gt;&amp;nbsp;&amp;nbsp; // Read in the contents of the file.&lt;BR&gt;&amp;nbsp;&amp;nbsp; TextReader reader = sr;&lt;BR&gt;&amp;nbsp;&amp;nbsp; data = reader.ReadToEnd();&lt;BR&gt;}&lt;BR&gt;&amp;nbsp;&lt;BR&gt;// Encode the data using base64.&lt;BR&gt;byte[] byteData = new byte[data.Length];&lt;BR&gt;byteData = System.Text.Encoding.UTF8.GetBytes(data);&lt;BR&gt;string encodedData = System.Convert.ToBase64String(byteData);&lt;BR&gt;&amp;nbsp;&lt;BR&gt;// Create the request object.&lt;BR&gt;UploadFromBase64DataAnnotationRequest upload = new UploadFromBase64DataAnnotationRequest();&lt;BR&gt;&amp;nbsp;&lt;BR&gt;// Set the properties of the request object.&lt;BR&gt;upload.AnnotationId = annotationId;&lt;BR&gt;upload.FileName = "temp.txt";&lt;BR&gt;upload.MimeType = "text/plain";&lt;BR&gt;upload.Base64Data = encodedData;&lt;BR&gt;&amp;nbsp;&lt;BR&gt;// Execute the request.&lt;BR&gt;UploadFromBase64DataAnnotationResponse uploaded = (UploadFromBase64DataAnnotationResponse) service.Execute(upload);&lt;/P&gt;
&lt;P&gt;I tried this and it worked... for text files and HTML files.&amp;nbsp; When I tried to upload a pdf, ppt, doc, etc., it failed.&amp;nbsp; Turns out there's more than one MimeType and more than one way to encode things!&lt;/P&gt;
&lt;P&gt;After reading a very interesting and informative article on different encodings, located here:&amp;nbsp;&lt;A href="http://www.joelonsoftware.com/articles/Unicode.html"&gt;http://www.joelonsoftware.com/articles/Unicode.html&lt;/A&gt;&amp;nbsp;I was no closer to actually solving my problem.&amp;nbsp; I did figure out while dinking around in the code that the MimeType can be dynamically determined by this line of code:&lt;/P&gt;
&lt;P&gt;upload.MimeType = fileUpload.PostedFile.ContentType;&lt;/P&gt;
&lt;P&gt;So that part was solved.&amp;nbsp; The other part was a tad more complicated.&amp;nbsp; I opened a pdf file in notepad to find out what the encoding was and after searching for "encoding" in the gobbledy-gook that was the Notepad interpretation of the pdf, I found this: "WinAnsiEncoding."&amp;nbsp; I looked in the System.Text.Encoding namespace and couldn't find this encoding type!&amp;nbsp; In the aforementioned article, it's mentioned that there are hundreds of encoding types.&amp;nbsp; But the System.Text.Encoding namespace has six... Yes, six.&amp;nbsp; Not counting "Default."&amp;nbsp; Not very multi-lingual if you ask me.&amp;nbsp; I tried various ways of not encoding it, but that usually worked out WORSE than before, if at all.&amp;nbsp; After speaking with a co-worker, Justin, he showed me something he did that worked in a similar situation.&amp;nbsp; And after tweaking it for my scenario, this is the solution that worked:&lt;/P&gt;
&lt;P&gt;byte[] selectedFile = null;&lt;/P&gt;
&lt;P&gt;try&lt;BR&gt;{&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (postedFile != null)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;byte[] rawFile = new byte[postedFile.InputStream.Length];&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;postedFile.InputStream.Read(rawFile, 0, (int)postedFile.InputStream.Length);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;selectedFile = rawFile;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;else&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;selectedFile = null;&lt;BR&gt;}&lt;BR&gt;catch (Exception)&lt;BR&gt;{&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;selectedFile = null;&lt;BR&gt;}&lt;BR&gt;finally&lt;BR&gt;{&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (postedFile != null)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;postedFile.InputStream.Close();&lt;BR&gt;}&lt;/P&gt;
&lt;P&gt;String encodedData = Convert.ToBase64String(selectedFile);&lt;/P&gt;
&lt;P&gt;// Create the request object.&lt;BR&gt;UploadFromBase64DataAnnotationRequest upload = new UploadFromBase64DataAnnotationRequest();&lt;/P&gt;
&lt;P&gt;// Set the properties of the request object.&lt;BR&gt;upload.AnnotationId = annotationID;&lt;BR&gt;upload.FileName = postedFile.FileName;&lt;BR&gt;upload.MimeType = postedFile.PostedFile.ContentType;&lt;BR&gt;upload.Base64Data = encodedData;&lt;/P&gt;
&lt;P&gt;// Execute the request.&lt;BR&gt;UploadFromBase64DataAnnotationResponse uploaded = (UploadFromBase64DataAnnotationResponse)service.Execute(upload);&lt;/P&gt;
&lt;P&gt;The person who wrote the original block of code that I copied into this post above has actually issued somewhat of an apology since he wrote that for his company to deal with text files and never meant it to be used as liberally as it has been used across the Internet.&amp;nbsp; You can find his apology and his unfinished solution to the problem that I completed above (and tweaked to fit my situation) here: &lt;A href="http://www.invokesystems.com/cs/blogs/mscrm/archive/2006/01/25/8.aspx"&gt;http://www.invokesystems.com/cs/blogs/mscrm/archive/2006/01/25/8.aspx&lt;/A&gt;&lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.inetium.com/aggbug.aspx?PostID=404" width="1" height="1"&gt;</description></item><item><title>MaxRequestLength Exceeded Problem</title><link>http://blogs.inetium.com/blogs/vbullinger/archive/2006/10/09/398.aspx</link><pubDate>Mon, 09 Oct 2006 16:54:00 GMT</pubDate><guid isPermaLink="false">7346ef18-9fb1-4a4e-be41-9add5078176c:398</guid><dc:creator>vbullinger</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.inetium.com/blogs/vbullinger/rsscomments.aspx?PostID=398</wfw:commentRss><comments>http://blogs.inetium.com/blogs/vbullinger/archive/2006/10/09/398.aspx#comments</comments><description>&lt;P&gt;A while ago, I was asked to change the maximum size of an uploaded document in a web application to 20 MB.&amp;nbsp; The default for any application is 4 MB, if I recall correctly.&amp;nbsp; I did that, simply enough, by changing the "maxRequestLength" attribute of the "httpRunTime" tag to 20000 (it's in KB).&lt;/P&gt;
&lt;P&gt;The problem with that is that when someone tries to upload a document that exceeds the maxRequestLength value, you get just about the worst error I've ever encountered.&amp;nbsp; First, it flashes that dreaded screen with the yellow background and big, maroon text at the top saying that there was a server error that wasn't handled, etc.&amp;nbsp; It says that the maximum request length has been exceeded.&amp;nbsp; Worse yet, it only flashes that error message for a second at most.&amp;nbsp; Then it redirects you to a page not found error.&amp;nbsp; This was unacceptable.&lt;/P&gt;
&lt;P&gt;I tried to see if there was an error code I could catch and then have a page to which to redirect the user.&amp;nbsp; No dice.&amp;nbsp; Then I tried to catch the error in the control.&amp;nbsp; Again, no luck.&amp;nbsp; So I tried to catch it on application_error in the global asax file.&amp;nbsp; It caught it!&lt;/P&gt;
&lt;P&gt;So I decided I'd redirect them from there.&amp;nbsp; No luck again!&amp;nbsp; It didn't matter that you could catch it, you couldn't handle it, it seemed.&amp;nbsp; Telling it to redirect and kill the current request did nothing.&amp;nbsp; It just didn't care!&amp;nbsp; I was able to catch it at application_beginrequest as well, but it also didn't care.&amp;nbsp; As long as the maxRequestLength is exceeded, you're in trouble.&amp;nbsp; You can't do anything about it.&lt;/P&gt;
&lt;P&gt;I Googled it for a long time.&amp;nbsp; I tried using httpModules and a million other ways around it.&amp;nbsp; The point was to find a solution I could put on inetium's Wiki - &amp;nbsp;&lt;A href="http://wiki.inetium.com/default.aspx/InetiumWiki/Inetium%20Wiki%20Home.html"&gt;http://wiki.inetium.com/default.aspx/InetiumWiki/Inetium%20Wiki%20Home.html&lt;/A&gt;&amp;nbsp;- so we could have this solution forever.&amp;nbsp; I never found an adequate answer.&lt;/P&gt;
&lt;P&gt;It seems that, although I didn't find any definitive information on this, it's a security issue.&amp;nbsp; As in, you can't allow someone to get as far as your application with this gigantic file.&amp;nbsp; People could hack in and use your server for "warez" or whatever.&amp;nbsp; So you can't handle that issue.&amp;nbsp; I'd like to know a little bit more about the problem, however.&lt;/P&gt;
&lt;P&gt;My best solution was to set the maxRequestLength a little higher than I wanted to avoid getting that ugly error unless the file is just too massive and use an appSetting to do the actual restricting at 20 MB.&amp;nbsp; This way, I can catch it and display a friendly message on the same page (not even redirecting) that just says to pick a smaller file, that kind of thing.&amp;nbsp; Also, I get the security if someone tries to submit a giant file, like a movie.&lt;/P&gt;
&lt;P&gt;Does anyone have a better solution?&amp;nbsp; Thoughts?&amp;nbsp; Insights?&amp;nbsp; Deeper knowledge of the problem?&lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.inetium.com/aggbug.aspx?PostID=398" width="1" height="1"&gt;</description></item><item><title>Odd Junk Mail Filter Issue</title><link>http://blogs.inetium.com/blogs/vbullinger/archive/2006/06/19/234.aspx</link><pubDate>Mon, 19 Jun 2006 18:09:00 GMT</pubDate><guid isPermaLink="false">7346ef18-9fb1-4a4e-be41-9add5078176c:234</guid><dc:creator>vbullinger</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.inetium.com/blogs/vbullinger/rsscomments.aspx?PostID=234</wfw:commentRss><comments>http://blogs.inetium.com/blogs/vbullinger/archive/2006/06/19/234.aspx#comments</comments><description>&lt;P&gt;I was asked to look into an issue as to why a client was not getting an email sent to them when a form was submitted.&lt;/P&gt;
&lt;P&gt;I started by attempting to recreate the problem.&amp;nbsp; After submitting the form, it acts as if it succeeded.&amp;nbsp; It doesn't give you an error and it says that everything went as planned and that they'd get back to you shortly.&lt;/P&gt;
&lt;P&gt;It seemed a bit odd that there was no error, if there was an error sending the email.&amp;nbsp; Inetium wouldn't develop something that would ignore errors and act as if everything was fine, so I figured there was another issue, something that somehow glossed over any error, and that it wasn't Inetium code.&lt;/P&gt;
&lt;P&gt;I went to the point where the email was being sent and replaced all the information in the email (to, from, body) with dummy values (and my email address, of course) and it came to me, so I knew that was where the problem would be found: the email.&amp;nbsp; I put one field back in at a time and resent the email.&amp;nbsp; It worked or every item in the email except the body.&amp;nbsp; So instead of emailing it, I spit it out to the browser to see if there were malformed tags or something.&amp;nbsp; I had no leads, so I decided to divide and conquer (using that term loosely).&lt;/P&gt;
&lt;P&gt;I put half of the text out and sent it to me and it came.in the email.&amp;nbsp; Then I tried 3/4 and that came, too.&amp;nbsp; I got to about 90% of the email before it broke.&amp;nbsp; I finally figured out it didn't like the word "Comments" - in that order.&amp;nbsp; "Comment" was ok, and it didn't matter if "Comments" was the whole word or part of it.&amp;nbsp; And it didn't matter where in the body of the email the words was, it always killed the email.&amp;nbsp; So, since this was part of the email they were putting together - "Notes/Comments:" - I just changed it to "Notes:" and it worked fine... sort of.&lt;/P&gt;
&lt;P&gt;It sent all emails to my junk mail box.&amp;nbsp; I called the client and asked them if they got a test submission I sent and they said they did, so I was done, but still perplexed.&amp;nbsp; I didn't think much of it until this morning.&lt;/P&gt;
&lt;P&gt;I got an email this morning from Inetium's mail server saying it had blocked some "suspicious" emails.&amp;nbsp; I went to check it out and... ALL of the emails that didn't send to me before were caught by the junk mail filter.&amp;nbsp; This led to the mind-boggling conclusion that the word "Comments" had thrown some kind of red flag to the email server and moved my mail from my Outlook junkbox to some evil, blocked email area.&lt;/P&gt;
&lt;P&gt;Does anybody know what in the world would have caused this?&amp;nbsp; Mike suggested that it wasn't so much the word "Comments" as possibly a group of words together, one of which is "Comments," in any order in the body of the email of course.&amp;nbsp; The page is up and running, but it's just really confusing and I'd like to have a better handle of what was going on.&amp;nbsp; It might be a question better suited for Infrastructure people, if you have any insight.&lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.inetium.com/aggbug.aspx?PostID=234" width="1" height="1"&gt;</description></item><item><title>The Supreme Gamer</title><link>http://blogs.inetium.com/blogs/vbullinger/archive/2006/04/21/75.aspx</link><pubDate>Fri, 21 Apr 2006 18:58:00 GMT</pubDate><guid isPermaLink="false">7346ef18-9fb1-4a4e-be41-9add5078176c:75</guid><dc:creator>vbullinger</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.inetium.com/blogs/vbullinger/rsscomments.aspx?PostID=75</wfw:commentRss><comments>http://blogs.inetium.com/blogs/vbullinger/archive/2006/04/21/75.aspx#comments</comments><description>&lt;P&gt;There is no doubt about it: I have cemented myself as the biggest dork on the planet:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&amp;amp;item=8276933105"&gt;http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&amp;amp;item=8276933105&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I know you are all in awe of me.&amp;nbsp; I'll give you some time to take that all in.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Okay, that's enough.&amp;nbsp; Man, I have no idea where to put this, my entertainment center is already chalkful of video game systems... oh well!&amp;nbsp; And I also recently bought a Jaguar - WITH Alien vs. Predator, of course.&amp;nbsp; Now I need a Neo Geo...&lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.inetium.com/aggbug.aspx?PostID=75" width="1" height="1"&gt;</description></item></channel></rss>