<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.microsoft.co.il/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>Yonathan Masovich</title><link>http://blogs.microsoft.co.il/blogs/yonathanm/</link><description>&lt;hr /&gt;
&lt;b&gt;&lt;i&gt;Let&amp;#39;s Biztalk!&lt;/i&gt;&lt;/b&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 (Build: 20917.1142)</generator><item><title>Visual Studio 2011 features (beta preview)</title><link>http://blogs.microsoft.co.il/blogs/yonathanm/archive/2011/12/06/visual-studio-2011-features-beta-preview.aspx</link><pubDate>Tue, 06 Dec 2011 10:02:00 GMT</pubDate><guid isPermaLink="false">b5c4f5bc-c09b-4439-a595-91a98c1847df:949122</guid><dc:creator>yonathanm</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.microsoft.co.il/blogs/yonathanm/rsscomments.aspx?PostID=949122</wfw:commentRss><comments>http://blogs.microsoft.co.il/blogs/yonathanm/archive/2011/12/06/visual-studio-2011-features-beta-preview.aspx#comments</comments><description>Hello guys! Last days I was playing and learning a bit about the new Microsoft Visual Studio, the Visual Studio 2011 (beta, developers preview). Nice IDE with enhanced properties, much alike to VS 2010, with many new features. Here I place some of these features, I hope you would find them as useful and cool as I do. &lt;br /&gt;
&lt;h3&gt;Common Features:&lt;/h3&gt;
&lt;p&gt;1. New .Net Framework 4.5 &lt;/p&gt;
&lt;p&gt;2. Asynchronous programming, &lt;a href="http://msdn.microsoft.com/en-us/vstudio/hh533273" target="_blank"&gt;here&lt;/a&gt; is an article&lt;/p&gt;
&lt;p&gt;3. Browsing of class objects in *.cs files. While browsing – you can double click on an object, and go directly to object/method definition. &lt;/p&gt;
&lt;p&gt;&lt;img border="0" alt="Classes browsing" src="http://blogs.microsoft.co.il/blogs/yonathanm/VS2011Beta/Classes.jpg" width="287" height="160" /&gt;&lt;/p&gt;
&lt;p&gt;4. Edit of code in an execution time&lt;/p&gt;
&lt;p&gt;5. The IDE is changed: some buttons (which have had place in VS2010) have gone, some have changed their place - and now they are above the solution explorer. For example – there&amp;#39;s a new button &amp;quot;Collapse all&amp;quot; for collapsing the solution tree, very useful if you have large and very large scale projects &lt;/p&gt;
&lt;p&gt;&lt;img border="0" alt="Collapse all projects" src="http://blogs.microsoft.co.il/blogs/yonathanm/VS2011Beta/CollapseButton.jpg" width="381" height="205" /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;6. Instead of &amp;quot;Website&amp;quot; button for configuration asp providers, there&amp;#39;s one called Asp.Net configuration Gone: &lt;/p&gt;
&lt;p&gt;&lt;img border="0" alt="Website config button gone" src="http://blogs.microsoft.co.il/blogs/yonathanm/VS2011Beta/WebSiteButtonGone.jpg" width="515" height="73" /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Newcomer: &lt;/p&gt;
&lt;p&gt;&lt;img border="0" alt="AspConfig button" src="http://blogs.microsoft.co.il/blogs/yonathanm/VS2011Beta/Asp.NetConfiguration.jpg" width="381" height="205" /&gt;&amp;nbsp;&lt;/p&gt;
&lt;h3&gt;Web Dev Features:&lt;/h3&gt;
&lt;p&gt;1. Support of HTML 5 &lt;/p&gt;
&lt;p&gt;2. MVC .Net 4 &lt;/p&gt;
&lt;p&gt;3. Intellisence CSS creation: for example, on selection of color pops up a color palette &lt;/p&gt;
&lt;p&gt;&lt;img border="0" alt="CSS color palette" src="http://blogs.microsoft.co.il/blogs/yonathanm/VS2011Beta/CSSPalette.jpg" width="254" height="199" /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;4. Support of CSS 3.0 &lt;/p&gt;
&lt;p&gt;5. Snippets with different browser compatibility: for example adding property in CSS called &amp;quot;border-radius&amp;quot; and pressing tab-tab, will create next snippet: &lt;/p&gt;
&lt;p&gt;&lt;img border="0" alt="CSS snippet for browsers" src="http://blogs.microsoft.co.il/blogs/yonathanm/VS2011Beta/CSSBorderRadius.jpg" width="251" height="69" /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;And on changing the radius from 2px; to let&amp;#39;s say 5px; automatically changes to 5 in all three of them. &lt;/p&gt;
&lt;p&gt;6. Built in support for IIS express (no more CASSINI) &lt;/p&gt;
&lt;p&gt;&lt;img border="0" alt="IIS Express" src="http://blogs.microsoft.co.il/blogs/yonathanm/VS2011Beta/IISExpress.jpg" width="537" height="144" /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;7. Automatic matching of tags, i.e. if you change the tag &amp;lt;H3&amp;gt; in your HTML, by&amp;nbsp;&amp;lt;H5&amp;gt; - the closing tag will be changed (no more forgotten tags to be, which is redice of bugs and developing time) &lt;/p&gt;
&lt;p&gt;8. Support of development for next Windows 8 Metro style &lt;/p&gt;
&lt;p&gt;9. Support for code outline for Java Script, brace matching &lt;/p&gt;
&lt;p&gt;10. Creating package of a project, which allows exporting/importing an application in a easy way&lt;/p&gt;
&lt;p&gt;11. Support for &lt;a href="http://en.wikipedia.org/wiki/WebSocket" target="_blank"&gt;web sockets&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.microsoft.co.il/aggbug.aspx?PostID=949122" width="1" height="1"&gt;</description><category domain="http://blogs.microsoft.co.il/blogs/yonathanm/archive/tags/IIS/default.aspx">IIS</category><category domain="http://blogs.microsoft.co.il/blogs/yonathanm/archive/tags/C_2300_/default.aspx">C#</category><category domain="http://blogs.microsoft.co.il/blogs/yonathanm/archive/tags/Visual+Studio+2011/default.aspx">Visual Studio 2011</category></item><item><title>Sharepoint 2010 fails "Mount operation has failed as application..." error</title><link>http://blogs.microsoft.co.il/blogs/yonathanm/archive/2011/07/21/sharepoint-2010-fails-quot-mount-operation-has-failed-as-application-quot-error.aspx</link><pubDate>Thu, 21 Jul 2011 11:27:00 GMT</pubDate><guid isPermaLink="false">b5c4f5bc-c09b-4439-a595-91a98c1847df:872829</guid><dc:creator>yonathanm</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.microsoft.co.il/blogs/yonathanm/rsscomments.aspx?PostID=872829</wfw:commentRss><comments>http://blogs.microsoft.co.il/blogs/yonathanm/archive/2011/07/21/sharepoint-2010-fails-quot-mount-operation-has-failed-as-application-quot-error.aspx#comments</comments><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;While I tried to crawl external sites, I got &amp;quot;Access Denied&amp;quot;. After googling, I have found that there&amp;#39;s an CU needed to be installed. Ok, did that again, and another exceptions started to jump out. As a 99.99%&amp;nbsp;nub in SPS 2010, desperatlry was googling again and again, but finally found solution. So, if you see:&lt;/p&gt;
&lt;p&gt;This: &lt;strong&gt;Mount operation has failed as application&lt;/strong&gt; &amp;#39;SomeGuid&amp;#39; &lt;strong&gt;did not meet backwards compatibility check with the admin database.&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Or this: &lt;strong&gt;Application&lt;/strong&gt; &amp;#39;SomeGuid&amp;#39;&amp;nbsp; - &lt;strong&gt;The &amp;#39;Search&amp;#39;&amp;nbsp; database version is less than the minimum backwards compatibility schema version supported for this component. The component will not be mounted. To resolve this problem: Please upgrade this search database.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;After trying to make all by-the-book actions, finally I have solved the problem. The machine, with SPS 2010&amp;nbsp; was installed without latest upgrades, and after I did install reuired upgrades - still, I saw those errors.&lt;/p&gt;
&lt;p&gt;So, first of all - you need to install next upgrades:&lt;/p&gt;
&lt;p&gt;1. SharePoint Foundation 2010 SP1: &amp;nbsp;&lt;a href="http://support.microsoft.com/kb/2460058/en-us"&gt;http://support.microsoft.com/kb/2460058/en-us&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;2. SharePoint 2010 SP1 : &lt;a href="http://support.microsoft.com/kb/2510766/en-us"&gt;http://support.microsoft.com/kb/2510766/en-us&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;3. Sharepoint&amp;nbsp; 2010 &lt;a href="http://hotfixv4.microsoft.com/Microsoft%20SharePoint%20Server%202010/sp1/office2010kb2536599fullfilex64glb/14.0000.6106.5002/free/435088_intl_x64_zip.exe"&gt;CU June release&lt;/a&gt; (966 MB)&lt;/p&gt;
&lt;p&gt;4. Download &lt;a href="http://support.microsoft.com/?kbid=2553931"&gt;this&lt;/a&gt; hotfix.&lt;/p&gt;
&lt;p&gt;5. After running one by one installations, run Configuration wizard. &lt;strong style="COLOR:red;"&gt;Please, pay attention&lt;/strong&gt;: if the configuration wizard fails - try to look in install logs, and see for errors: in my case, in dev environment - the configuration was failing once again and again - because I have created couple of web sites in Central Administration with different cridentials (not SharePoint Administrator - but one, with lower permissions.) &lt;strong&gt;After I have deleted those sites - all went smooth and causy&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;6. Hope this post&amp;nbsp;helped you.&lt;/p&gt;
&lt;p&gt;Yonathan Masovich&lt;/p&gt;&lt;img src="http://blogs.microsoft.co.il/aggbug.aspx?PostID=872829" width="1" height="1"&gt;</description><category domain="http://blogs.microsoft.co.il/blogs/yonathanm/archive/tags/ITPRO/default.aspx">ITPRO</category><category domain="http://blogs.microsoft.co.il/blogs/yonathanm/archive/tags/Sharepoint+2010/default.aspx">Sharepoint 2010</category><category domain="http://blogs.microsoft.co.il/blogs/yonathanm/archive/tags/FAST+2010/default.aspx">FAST 2010</category></item><item><title>BizTalk. Where? When? What?</title><link>http://blogs.microsoft.co.il/blogs/yonathanm/archive/2011/07/20/biztalk-where-when-what.aspx</link><pubDate>Wed, 20 Jul 2011 20:42:00 GMT</pubDate><guid isPermaLink="false">b5c4f5bc-c09b-4439-a595-91a98c1847df:871777</guid><dc:creator>yonathanm</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.microsoft.co.il/blogs/yonathanm/rsscomments.aspx?PostID=871777</wfw:commentRss><comments>http://blogs.microsoft.co.il/blogs/yonathanm/archive/2011/07/20/biztalk-where-when-what.aspx#comments</comments><description>Hi all,

I&amp;#39;ve just read an article from Richard Seroter, about whether BizTalk Server would stay with us for a long time.
Check it out - it worth your time.
I feel a little bit sad about it - the potential dead end of a nice product, but, looking at the bright side of it - I&amp;#39;m happy with it. It&amp;#39;s a nature way of life - to stay on move, to change.  

&lt;br /&gt;

&lt;a href="http://seroter.wordpress.com/2011/07/14/is-biztalk-server-going-away-at-some-point-yes-dead-nope/"&gt;Is BizTalk Server Going Away At Some Point? Yes. Dead? Nope.&lt;/a&gt;

&lt;br /&gt;

&lt;a href="http://digitalwpc.com/Videos/AllVideos/Permalink/e821e9f8-e379-45b0-8879-12fe271c86be#fbid=Ar2gRmwT-ND"&gt;The Future of Middleware and the BizTalk Roadmap&lt;/a&gt;

&lt;br /&gt;

&lt;a href="http://kentweare.blogspot.com/2011/07/biztalk-server-still-has-pulse.html"&gt;BizTalk Server still has a pulse: Kent Wear&amp;#39;s article&lt;/a&gt;

&lt;br /&gt;

Have a nice day :)

&lt;br /&gt;

Yonathan.

&lt;br /&gt;
&lt;br /&gt;&lt;img src="http://blogs.microsoft.co.il/aggbug.aspx?PostID=871777" width="1" height="1"&gt;</description><category domain="http://blogs.microsoft.co.il/blogs/yonathanm/archive/tags/Biztalk/default.aspx">Biztalk</category><category domain="http://blogs.microsoft.co.il/blogs/yonathanm/archive/tags/ITPRO/default.aspx">ITPRO</category></item><item><title>Sharepoint Search services: FAST 2010</title><link>http://blogs.microsoft.co.il/blogs/yonathanm/archive/2011/07/11/sharepoint-search-services-fast-2010.aspx</link><pubDate>Mon, 11 Jul 2011 09:07:00 GMT</pubDate><guid isPermaLink="false">b5c4f5bc-c09b-4439-a595-91a98c1847df:856039</guid><dc:creator>yonathanm</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.microsoft.co.il/blogs/yonathanm/rsscomments.aspx?PostID=856039</wfw:commentRss><comments>http://blogs.microsoft.co.il/blogs/yonathanm/archive/2011/07/11/sharepoint-search-services-fast-2010.aspx#comments</comments><description>&lt;p&gt;This post is quite different from all&amp;nbsp;I was involved in, from a technical&amp;nbsp;point of view, it&amp;#39;s about Sharepoint 2010.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Lately I was interested in FAST 2010 - a search engine/service for Sharepoint 2010.&lt;/p&gt;
&lt;p&gt;While playing with the server, and a code - I&amp;#39;ve found that there&amp;#39;s a problem to perform a crawling on some external (public) internet sites.&lt;/p&gt;
&lt;p&gt;The error was &amp;quot;Access denied&amp;quot; - with suggestions to make a certian credentials specifications.&lt;/p&gt;
&lt;p&gt;After googling couple of minutes, I&amp;#39;ve discovered the issue cause: Sharepoint 2010 installed on Windows server 2008 R2. Well, it&amp;#39;s strange a bit, not allowing to search public sites, they are there for public, no?&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve found useful posts: &lt;a href="http://aaronblong.blogspot.com/2011/07/blog-post-potential-issues-after.html"&gt;here&lt;/a&gt;&amp;nbsp;and &lt;a href="http://social.technet.microsoft.com/Forums/en-US/sharepoint2010setup/thread/56144227-3423-42a6-8aa1-7b34955aeb72"&gt;here&lt;/a&gt;&amp;nbsp;.&lt;/p&gt;
&lt;p&gt;The problem of crawling external websites, can be solved by installing SP1 for Sharepoint 2010&amp;nbsp;from &lt;a href="http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;amp;id=26623"&gt;here&lt;/a&gt;&amp;nbsp;.&lt;/p&gt;
&lt;p&gt;After running an SP1, the machine needs restart, yet it&amp;#39;s not finished.&lt;/p&gt;
&lt;p&gt;In an event log, you possibly would see the next event:&lt;/p&gt;&lt;font size="1"&gt;
&lt;p&gt;&amp;quot;The mount operation for the gatherer application &amp;quot;Some Guid&amp;quot; has failed because the schema version of the search administration database is less than the minimum backwards compatibility schema version supported for this gatherer application. The database might not have been upgraded.&amp;quot;&lt;/p&gt;&lt;/font&gt;
&lt;p&gt;If so - perform next steps as described in &lt;a href="http://aaronblong.blogspot.com/2011/07/blog-post-potential-issues-after.html"&gt;Aaron Long&amp;#39;s&amp;nbsp;link&lt;/a&gt;:&lt;/p&gt;
&lt;p&gt;1. Open an Administrative command prompt. &lt;br /&gt;2. Change directory to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN &lt;br /&gt;3. Run &lt;strong&gt;PSConfig.exe -cmd upgrade -inplace b2b -force -cmd applicationcontent -install -cmd installfeatures&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Pay attention please, it wasn&amp;#39;t mentioned, but on 64bit environment you must go to C:\windows\SysWow64 and run the cmd.exe as administrator.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanx in advance &lt;a href="http://blogs.microsoft.co.il/blogs/yuvalk/"&gt;Yuval Korin&lt;/a&gt; for given tips.&lt;/p&gt;
&lt;p&gt;Have a nice crawling.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://blogs.microsoft.co.il/aggbug.aspx?PostID=856039" width="1" height="1"&gt;</description><category domain="http://blogs.microsoft.co.il/blogs/yonathanm/archive/tags/ITPRO/default.aspx">ITPRO</category><category domain="http://blogs.microsoft.co.il/blogs/yonathanm/archive/tags/SPS2010/default.aspx">SPS2010</category><category domain="http://blogs.microsoft.co.il/blogs/yonathanm/archive/tags/Sharepoint+2010/default.aspx">Sharepoint 2010</category></item><item><title>Hosting published orchestration as WCF in-process of Biztalk</title><link>http://blogs.microsoft.co.il/blogs/yonathanm/archive/2011/03/01/hosting-published-orchestration-as-wcf-in-process-of-biztalk.aspx</link><pubDate>Tue, 01 Mar 2011 11:37:00 GMT</pubDate><guid isPermaLink="false">b5c4f5bc-c09b-4439-a595-91a98c1847df:800150</guid><dc:creator>yonathanm</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.microsoft.co.il/blogs/yonathanm/rsscomments.aspx?PostID=800150</wfw:commentRss><comments>http://blogs.microsoft.co.il/blogs/yonathanm/archive/2011/03/01/hosting-published-orchestration-as-wcf-in-process-of-biztalk.aspx#comments</comments><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Couple of days ago, I&amp;#39;ve been requested to make a little POC, about hosting published orchestration as WCF - in biztalk process, instead of on&amp;nbsp;IIS.&lt;/p&gt;
&lt;p&gt;After looking for a solution, I&amp;#39;ve created a tiny orchestration - &amp;quot;GetRequestMessage-BuildResponseMessage_WithHardcodedValue-SendResponseMessage&amp;quot;.&lt;/p&gt;
&lt;p&gt;The orchestration received an incoming message through Request-Response port, with direct binding. The subscription was on the Incoming Message type, or any suitable for your purposes value.&lt;/p&gt;
&lt;p&gt;The desired adapter was WCF-Custom, with wsHTTPbinding, or basicHTTPbinding (it didn&amp;#39;t really matter for me on this stage).&lt;/p&gt;
&lt;p&gt;So, after deploying an application, restarting services etc&amp;#39; - I have changed the generated port (by wcf publishing wizard) - from basic http binding, to WCF-Custom binding, suited all configuration (such as adding in binding the basicHTTPBinding, and adding in a tab &amp;quot;Behavior&amp;quot; an extension &amp;quot;exposeMetadata, httpGetEnabled = true&amp;quot;).&lt;/p&gt;
&lt;p&gt;On the same advance, I have created a WinForm application - with an &amp;quot;Invoke WCF&amp;quot; button, added service reference to the WinForm project, and... - Here, I should tell you couple of words about exposing schemas/orchestrations as WCF:&lt;/p&gt;
&lt;p&gt;1. While you&amp;#39;re publishing an orchestration as WCF, the wizard allows you to choose between only three&amp;nbsp;adapters: WSHttp, BasicHttp, and CustomIsolated. All of them allow the exposed service to run on a IIS.&lt;/p&gt;
&lt;p&gt;2. When you wish to add a Service Reefrence in a Client - the VS generates objects suitable for your process - those objects&amp;nbsp; are actually schemas (input/output), ServiceClient (the proxy), and operations - all of them as objects.&lt;/p&gt;
&lt;p&gt;3. While you change configuration on Receive port - to&amp;nbsp; host the WCF service in-process, the only things you will see after adding ServiceReference - are (at list it was in my case) - two interfaces, and a ServiceClient, with &amp;quot;BizTalkSubmit&amp;quot; method, which gets as a request a system.servicemodel.channels.message - which is generic message to be build.&lt;/p&gt;
&lt;p&gt;4. When trying to invoke the method with a built request (you must to supply also a suitable data, such as Envelope, Binding etc&amp;#39;) - you will get an error: &lt;strong&gt;NotSupportedException&lt;/strong&gt; . On a MSDN site - there&amp;#39;s plenty of explanation about &lt;a title="MSDN" href="http://msdn.microsoft.com/en-us/library/bb743485(v=bts.70).aspx"&gt;this thingie&lt;/a&gt;&amp;nbsp; (This method throws a NotSupportedException duhh :)&amp;nbsp; )&lt;/p&gt;
&lt;p&gt;So, what is the solution and how do I do it anyway?!&lt;/p&gt;
&lt;p&gt;- I&amp;#39;ve found a nice article from a guy named &lt;a title="An article" href="http://seroter.wordpress.com/2007/11/14/biztalk-in-process-hosting-of-wcf-http-services/"&gt;Richard Seroter&lt;/a&gt;, and there was a &lt;a title="Generate from WSDL" href="http://www.topxml.com/code/cod-72_10213_biztalk-and-wcf-part-v-publishing-operations-patterns.aspx"&gt;link&lt;/a&gt; in comments to that article. Reading carefully, I&amp;#39;ve found that before you change Recieve Port configuration - you should generate a class with all objects, with SvcUtil.exe (can be found in C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin&amp;nbsp; , or other SDK version&amp;nbsp;in your case). just open the exe in a cmd, as a parameter give it an URL to WCF&amp;#39;s WSDL&amp;nbsp; - and that&amp;#39;s it. After the *.cs generated - add the class to your client project, and for invoking WCF&amp;nbsp; - call created objects in that class (an Operation - which is a &amp;quot;Method&amp;quot; to invoke, Request - which is an incoming schema, and get Response, which is outgoing schema).&lt;/p&gt;
&lt;p&gt;After generating *.cs, you can change the adapter to use WCF-Custom type, binding for example to be a basicHttpBinding, don&amp;#39;t forget to add an extension &amp;quot;exposeMetadata&amp;quot;, and start using WCF hosted in-process.&lt;/p&gt;
&lt;p&gt;If you will check WSDL before and after changing port type from generated type to WCF-Custom, you will see that the WSDL is very different. In a generated version - it has all definitions of your objects (schemas, Action/s etc&amp;#39;), and after you change the port type to a WCF_Custom - the only thing you find in a WSDl - are generic method BizTalkSubmit, and an &amp;quot;any&amp;quot; schema (which we can find later as a Message to be transferred to BizTalkSubmit method).&lt;/p&gt;
&lt;p&gt;So, clearly not &amp;quot;out-of-the-box&amp;quot; solution, very not intuitive - but still works nice. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Good luck in a hosting WCF in-process :)&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Yonathan.&lt;/p&gt;&lt;img src="http://blogs.microsoft.co.il/aggbug.aspx?PostID=800150" width="1" height="1"&gt;</description><category domain="http://blogs.microsoft.co.il/blogs/yonathanm/archive/tags/Biztalk/default.aspx">Biztalk</category><category domain="http://blogs.microsoft.co.il/blogs/yonathanm/archive/tags/WCF/default.aspx">WCF</category><category domain="http://blogs.microsoft.co.il/blogs/yonathanm/archive/tags/IIS/default.aspx">IIS</category><category domain="http://blogs.microsoft.co.il/blogs/yonathanm/archive/tags/C_2300_/default.aspx">C#</category><category domain="http://blogs.microsoft.co.il/blogs/yonathanm/archive/tags/ITPRO/default.aspx">ITPRO</category></item><item><title>Biztalk: how to create custom filename on output</title><link>http://blogs.microsoft.co.il/blogs/yonathanm/archive/2010/12/05/biztalk-how-to-create-custom-filename-on-output.aspx</link><pubDate>Sun, 05 Dec 2010 19:43:00 GMT</pubDate><guid isPermaLink="false">b5c4f5bc-c09b-4439-a595-91a98c1847df:752876</guid><dc:creator>yonathanm</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.microsoft.co.il/blogs/yonathanm/rsscomments.aspx?PostID=752876</wfw:commentRss><comments>http://blogs.microsoft.co.il/blogs/yonathanm/archive/2010/12/05/biztalk-how-to-create-custom-filename-on-output.aspx#comments</comments><description>&lt;p&gt;Today I will tell you how to implement some cool option with BizTalk&amp;nbsp;and send port &lt;a href="http://geekswithblogs.net/bcorazza/archive/2005/06/02/41750.aspx"&gt;macros.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Lately we were requested to build one of our subsystems, which is responsible for creating reports once a day. Actually, the data is taken from DB, and transformed with a map to a flat file.&lt;br /&gt;&lt;br /&gt;The trick we needed to implement - was creating a file with a name, built partly of permanent part, and partly to be a date of creation &amp;quot;File_Name_ddMMyyyy.ext&amp;quot;&lt;br /&gt;&lt;br /&gt;In BTS (for those who don&amp;#39;t know) - there&amp;#39;s an option to create some template names using macros in send port (as mentioned in link above). For example - in a file adapter, the default %MessageID%.xml - the &amp;quot;message id&amp;quot; is a macro too. But unfortunately, there is no template suitable for our needs. Well, there is a solution anyway.&lt;br /&gt;&lt;br /&gt;While creating an output message, (which would be written to file system), in a construct shape, add next row to your outgoing message context:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;msgOutgoingMessage(BTS. ReceivedFileName)&lt;/strong&gt; = &amp;quot;TakenFromConfigPermanentPart_&amp;quot; + System.DateTime.Now.ToString(&amp;quot;ddMMyyyy&amp;quot;);&lt;br /&gt;&lt;br /&gt;In a send port (using the&amp;nbsp;file adapter) - add in a file name text box:&lt;br /&gt;&lt;br /&gt;%SourceFileName%.yourextention&lt;br /&gt;&lt;br /&gt;Where the macro will be replaced with the value which you constructed in an orchestration, and the extention will be what you need.&lt;br /&gt;&lt;br /&gt;Also, you can combine the out-of-the box macros, and custom name for files.&lt;br /&gt;&lt;br /&gt;And, for a summary: though we have no &amp;quot;received file&amp;quot; - because the data in our files comes from DB - the context property works well, and lets us play with output files as we desire.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Good luck &lt;span style="FONT-WEIGHT:bold;"&gt;:)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Yonathan.&lt;/p&gt;&lt;img src="http://blogs.microsoft.co.il/aggbug.aspx?PostID=752876" width="1" height="1"&gt;</description><category domain="http://blogs.microsoft.co.il/blogs/yonathanm/archive/tags/Biztalk/default.aspx">Biztalk</category><category domain="http://blogs.microsoft.co.il/blogs/yonathanm/archive/tags/ITPRO/default.aspx">ITPRO</category><category domain="http://blogs.microsoft.co.il/blogs/yonathanm/archive/tags/Send+Port/default.aspx">Send Port</category><category domain="http://blogs.microsoft.co.il/blogs/yonathanm/archive/tags/Macro/default.aspx">Macro</category></item><item><title>How to save Filestream in SQL 2008</title><link>http://blogs.microsoft.co.il/blogs/yonathanm/archive/2010/10/26/how-to-save-filestream-in-sql-2008.aspx</link><pubDate>Tue, 26 Oct 2010 07:31:00 GMT</pubDate><guid isPermaLink="false">b5c4f5bc-c09b-4439-a595-91a98c1847df:731615</guid><dc:creator>yonathanm</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.microsoft.co.il/blogs/yonathanm/rsscomments.aspx?PostID=731615</wfw:commentRss><comments>http://blogs.microsoft.co.il/blogs/yonathanm/archive/2010/10/26/how-to-save-filestream-in-sql-2008.aspx#comments</comments><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Recently, one of our customers demanded to save BLOBs we work with - in a file system. Well, if they want it - they get it ;)&lt;/p&gt;
&lt;p&gt;Easy step for those, who will need &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Increased performance&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Saving BLOBs above 1 MB&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Maximum size of BLOB limited by a size of your Hard Drive&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;And many others goodies&amp;nbsp;can be found &lt;a href="http://msdn.microsoft.com/en-us/library/cc949109(SQL.100).aspx"&gt;here&lt;/a&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Another thing to say: when you need to BackUp-Restore your DB - and if usually you save your *.mdf &amp;amp; *.ldf in a special place - don&amp;#39;t forget to save path for that &amp;quot;special&amp;quot; directory for saving BLOBs too :)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img border="0" alt="Performance" align="middle" src="http://i.msdn.microsoft.com/dynimg/IC234545.gif" width="653" height="346" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have a nice week,&lt;/p&gt;
&lt;p&gt;Yonathan&lt;/p&gt;&lt;img src="http://blogs.microsoft.co.il/aggbug.aspx?PostID=731615" width="1" height="1"&gt;</description><category domain="http://blogs.microsoft.co.il/blogs/yonathanm/archive/tags/SQL/default.aspx">SQL</category></item><item><title>SQL: how to find table by column name</title><link>http://blogs.microsoft.co.il/blogs/yonathanm/archive/2010/10/05/sql-how-to-find-table-by-column-name.aspx</link><pubDate>Tue, 05 Oct 2010 18:13:00 GMT</pubDate><guid isPermaLink="false">b5c4f5bc-c09b-4439-a595-91a98c1847df:718457</guid><dc:creator>yonathanm</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.microsoft.co.il/blogs/yonathanm/rsscomments.aspx?PostID=718457</wfw:commentRss><comments>http://blogs.microsoft.co.il/blogs/yonathanm/archive/2010/10/05/sql-how-to-find-table-by-column-name.aspx#comments</comments><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;What happens if you have about a hundred tables in unknown database, and all you know - it&amp;#39;s column name in a table you look for? - The trick is quite simple: run next stored procedure, while replacing &amp;quot;THE_COLUMN_NAME&amp;quot; with your column name.&lt;/p&gt;
&lt;p&gt;&lt;font color="#3333ff"&gt;SELECT name FROM sysobjects WHERE id IN ( SELECT id FROM syscolumns WHERE name = &amp;#39;THE_COLUMN_NAME&amp;#39; )&lt;/font&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This one is good for a case, while you know only a part of column name: &lt;/p&gt;
&lt;p&gt;&lt;font color="#3333ff"&gt;SELECT name FROM sysobjects WHERE id IN ( SELECT id FROM syscolumns WHERE name like &amp;#39;%PART_OF_NAME%&amp;#39; )&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;Thanx for the tip to Linoy ☺&lt;/p&gt;
&lt;p&gt;&lt;font color="#3333ff"&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://blogs.microsoft.co.il/aggbug.aspx?PostID=718457" width="1" height="1"&gt;</description><category domain="http://blogs.microsoft.co.il/blogs/yonathanm/archive/tags/SQL/default.aspx">SQL</category></item><item><title>IIS7 error 400.17, or 400.3</title><link>http://blogs.microsoft.co.il/blogs/yonathanm/archive/2010/08/08/iis7-error-400-17-or-400-3.aspx</link><pubDate>Sun, 08 Aug 2010 16:50:00 GMT</pubDate><guid isPermaLink="false">b5c4f5bc-c09b-4439-a595-91a98c1847df:688166</guid><dc:creator>yonathanm</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.microsoft.co.il/blogs/yonathanm/rsscomments.aspx?PostID=688166</wfw:commentRss><comments>http://blogs.microsoft.co.il/blogs/yonathanm/archive/2010/08/08/iis7-error-400-17-or-400-3.aspx#comments</comments><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;After installing new machine (Windows server 2008 32 bit), VS 2008, BizTalk 2009, etc&amp;#39;, we tried to run some WCF service&amp;nbsp;(which works on other machine), and got this very error: 400.17.&lt;/p&gt;
&lt;p&gt;First time I saw this error a year+ ago, and forgot about it. Now, scratching my head, started googling, and (at least I do admit) forgot how to solve the error. &lt;/p&gt;
&lt;p&gt;But! When started reproduce all installation actions&amp;nbsp;of a new machine for our team-work, I asked: &lt;/p&gt;
&lt;p&gt;-Did you run some magic code? &lt;/p&gt;
&lt;p&gt;- What code? &lt;/p&gt;
&lt;p&gt;- Yeah, the one with reg-something, don&amp;#39;t actually remember but it&amp;#39;s with regmodel? ServiceReg?&lt;/p&gt;
&lt;p&gt;-Well, no, we didn&amp;#39;t.&lt;/p&gt;
&lt;p&gt;-So let&amp;#39;s run it! (words for googling &amp;quot;install wcf IIS7&amp;quot;)&lt;/p&gt;
&lt;p&gt;Start-Run-CMD, cd &amp;quot;C:\WINDOWS\Microsoft.NET\Framework\v3.0\Windows Communication Foundation&amp;quot;, there run ServiceModelReg -i&lt;/p&gt;
&lt;p&gt;After this action, you should see in your command line - running some output about installing wcf thingies, and your service should start running.&lt;/p&gt;
&lt;p&gt;UPD: 31.08.2010. &lt;/p&gt;
&lt;p&gt;This post also applies to error 403.3 :) - Thank you Nir.&lt;/p&gt;
&lt;p&gt;Good Luck :)&lt;/p&gt;
&lt;p&gt;Yonathan.&lt;/p&gt;&lt;img src="http://blogs.microsoft.co.il/aggbug.aspx?PostID=688166" width="1" height="1"&gt;</description><category domain="http://blogs.microsoft.co.il/blogs/yonathanm/archive/tags/WCF/default.aspx">WCF</category><category domain="http://blogs.microsoft.co.il/blogs/yonathanm/archive/tags/IIS/default.aspx">IIS</category><category domain="http://blogs.microsoft.co.il/blogs/yonathanm/archive/tags/ITPRO/default.aspx">ITPRO</category></item><item><title>Creating BizTalk orchestration as Project Template item</title><link>http://blogs.microsoft.co.il/blogs/yonathanm/archive/2010/08/05/creating-biztalk-orchestration-as-project-template.aspx</link><pubDate>Thu, 05 Aug 2010 16:42:00 GMT</pubDate><guid isPermaLink="false">b5c4f5bc-c09b-4439-a595-91a98c1847df:687022</guid><dc:creator>yonathanm</dc:creator><slash:comments>6</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.microsoft.co.il/blogs/yonathanm/rsscomments.aspx?PostID=687022</wfw:commentRss><comments>http://blogs.microsoft.co.il/blogs/yonathanm/archive/2010/08/05/creating-biztalk-orchestration-as-project-template.aspx#comments</comments><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;New thing I learned not long time ago:&lt;/p&gt;
&lt;p&gt;You actually can create template of some orchestration you commonly use in your projects. Can&amp;#39;t say it is useful in every and each project, but those who find it suitable for their needs - cool.&lt;/p&gt;
&lt;p&gt;Steps:&lt;/p&gt;
&lt;p&gt;1. Create an&amp;nbsp;orchestration you commonly use, and save it.&lt;/p&gt;
&lt;p&gt;2. Go to : C:\Program Files\Microsoft BizTalk Server 2006\Developer Tools\BizTalkProjectItems.&lt;/p&gt;
&lt;p&gt;3. Create a folder named [Your Orchestration name].&lt;/p&gt;
&lt;p&gt;4. In the folder put a file named : [Your orchestration file name].vsdir.&lt;/p&gt;
&lt;p&gt;5. Open the file with notepad, and insert in one row next text:&lt;/p&gt;
&lt;p&gt;..\[your orch file name].odx|{fg7e327e-cd33-11d4-8326-00c04fa0ce8d}|#125|127|#126|0|232|0|#127&lt;/p&gt;
&lt;p&gt;(Instead&amp;nbsp;of what you see in square brackets - should be your orchestraion file name, including extention )&lt;/p&gt;
&lt;p&gt;6. Put the orchestration file in the folder C:\Program Files\Microsoft BizTalk Server 2009\Developer Tools\BizTalkProjectItems&lt;/p&gt;
&lt;p&gt;7. Open VS and and add new item to a biztalk project.&lt;/p&gt;
&lt;p&gt;This defenition of new template is also works with BizTalk 2006. I think it should work with BizTalk 2010 (it is very similar to 2009, exept little things, but, though I didn&amp;#39;t test it).&lt;/p&gt;
&lt;p&gt;The thing you should care of: Namespace in orchestration is same namespace of a project you created a template in. If you find solution to make the name space of new project get to template, I&amp;#39;d like to hear and learn&amp;nbsp;about it.&lt;/p&gt;
&lt;p&gt;This solution is created with help&amp;nbsp; Daniel Ben-Zikry., Thank you Daniel ☺&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Yonathan.&lt;br /&gt;&lt;/p&gt;&lt;img src="http://blogs.microsoft.co.il/aggbug.aspx?PostID=687022" width="1" height="1"&gt;</description><category domain="http://blogs.microsoft.co.il/blogs/yonathanm/archive/tags/Biztalk/default.aspx">Biztalk</category><category domain="http://blogs.microsoft.co.il/blogs/yonathanm/archive/tags/ITPRO/default.aspx">ITPRO</category></item><item><title>Biztalk 2009 starting configuration fails with error "0x80131700 error code"</title><link>http://blogs.microsoft.co.il/blogs/yonathanm/archive/2010/08/05/biztalk-2009-starting-configuration-fails-with-error-quot-0x80131700-error-code-quot.aspx</link><pubDate>Thu, 05 Aug 2010 12:23:00 GMT</pubDate><guid isPermaLink="false">b5c4f5bc-c09b-4439-a595-91a98c1847df:686940</guid><dc:creator>yonathanm</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.microsoft.co.il/blogs/yonathanm/rsscomments.aspx?PostID=686940</wfw:commentRss><comments>http://blogs.microsoft.co.il/blogs/yonathanm/archive/2010/08/05/biztalk-2009-starting-configuration-fails-with-error-quot-0x80131700-error-code-quot.aspx#comments</comments><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Today I&amp;#39;d like to share some problem we met. We got new machine, (happy for that one who got it&amp;nbsp;finally ;)&amp;nbsp; ), and on the machine was installed Windows server 2008 32 bit with prerequisites for Development environment BizTalk 2009.&lt;/p&gt;
&lt;p&gt;We installed BizTalk, started configuration wizard and hhooop! Not working!&lt;/p&gt;
&lt;p&gt;After Googling couple of miniutes, the solution was&amp;nbsp;found :&lt;/p&gt;
&lt;p&gt;If there&amp;#39;s .Net Framework 4 on machine installed (yes, we installed it for future work) - you need download and install &lt;a href="http://support.microsoft.com/kb/2252691"&gt;this&lt;/a&gt; nice hotfix from Microsoft. &lt;/p&gt;
&lt;p&gt;Run the hotfix, start configuration wizard over again, it shloud (shloud, ;) ) work.&lt;/p&gt;
&lt;p&gt;Good luck,&lt;/p&gt;
&lt;p&gt;Yonathan.&lt;/p&gt;&lt;img src="http://blogs.microsoft.co.il/aggbug.aspx?PostID=686940" width="1" height="1"&gt;</description><category domain="http://blogs.microsoft.co.il/blogs/yonathanm/archive/tags/Biztalk/default.aspx">Biztalk</category><category domain="http://blogs.microsoft.co.il/blogs/yonathanm/archive/tags/ITPRO/default.aspx">ITPRO</category><category domain="http://blogs.microsoft.co.il/blogs/yonathanm/archive/tags/Enterprise+Single+Sign-On/default.aspx">Enterprise Single Sign-On</category></item><item><title>BizTalk error : 0xC0C01B4C suspended orchestration with direct ports exposed as WCF</title><link>http://blogs.microsoft.co.il/blogs/yonathanm/archive/2010/07/19/biztalk-error-0xc0c01b4c-suspended-orchestration-with-direct-ports-exposed-as-wcf.aspx</link><pubDate>Mon, 19 Jul 2010 18:28:00 GMT</pubDate><guid isPermaLink="false">b5c4f5bc-c09b-4439-a595-91a98c1847df:681168</guid><dc:creator>yonathanm</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.microsoft.co.il/blogs/yonathanm/rsscomments.aspx?PostID=681168</wfw:commentRss><comments>http://blogs.microsoft.co.il/blogs/yonathanm/archive/2010/07/19/biztalk-error-0xc0c01b4c-suspended-orchestration-with-direct-ports-exposed-as-wcf.aspx#comments</comments><description>&lt;p&gt;I&amp;#39;ve exposed an orchestration as WCF with direct port, and this orchestration consumed another one, which also was exposed as internal service with direct port. After running first test - the&amp;nbsp;described below errors appeared.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1. From Administration Console you can&amp;nbsp; see a Zombie guy - with this error:The instance completed without consuming all of its messages (even if you get correct response on client side). The instance and its unconsumed messages have been suspended.&lt;/p&gt;
&lt;p&gt;2. In EventVewer - another pal: A response message for two-way receive port &amp;quot;here your Request Response Port for a WCF&amp;quot; is being suspended as the messaging engine could not correlate the response to an existing request message. This usually happens when the host process has been recycled. &lt;/p&gt;
&lt;p&gt;After googling I&amp;#39;ve found a short solution on&amp;nbsp;this location: &lt;a href="http://www.biztalkgurus.com/forums/p/10087/28995.aspx#28995"&gt;http://www.biztalkgurus.com/forums/p/10087/28995.aspx#28995&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-SIZE:x-small;"&gt;&lt;font size="1"&gt;msgOutgoingToAnotherService(BTS.EpmRRCorrelationToken&amp;nbsp;) = System.Convert.ToString(System.Guid.NewGuid());&lt;/font&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Well, what can I say? BizTalk&amp;nbsp;;)&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://blogs.microsoft.co.il/aggbug.aspx?PostID=681168" width="1" height="1"&gt;</description><category domain="http://blogs.microsoft.co.il/blogs/yonathanm/archive/tags/Biztalk/default.aspx">Biztalk</category><category domain="http://blogs.microsoft.co.il/blogs/yonathanm/archive/tags/WCF/default.aspx">WCF</category><category domain="http://blogs.microsoft.co.il/blogs/yonathanm/archive/tags/ITPRO/default.aspx">ITPRO</category></item><item><title>BizTalk 2010 beta installed</title><link>http://blogs.microsoft.co.il/blogs/yonathanm/archive/2010/06/29/biztalk-2010-beta-installed.aspx</link><pubDate>Tue, 29 Jun 2010 18:57:00 GMT</pubDate><guid isPermaLink="false">b5c4f5bc-c09b-4439-a595-91a98c1847df:671603</guid><dc:creator>yonathanm</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.microsoft.co.il/blogs/yonathanm/rsscomments.aspx?PostID=671603</wfw:commentRss><comments>http://blogs.microsoft.co.il/blogs/yonathanm/archive/2010/06/29/biztalk-2010-beta-installed.aspx#comments</comments><description>&lt;p&gt;Hey!&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve downloaded couple of weeks ago a beta of BTS 2010. After reading a list of prerequisites, I&amp;#39;ve mention that the install guide was shortened. Is that right? Intsalled the beta on VPC, Windows server 2008 SP1, SQL 2008 with SP, VS 2010. &lt;/p&gt;
&lt;p&gt;Looks neat, especially new mapper with zoom in ;) Very similar to BTS 2009, but main difference I saw it was mapper and new administration console. And of course support of new Microsoft OS, SQL, and VS.&lt;/p&gt;
&lt;p&gt;Nice :)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://blogs.microsoft.co.il/aggbug.aspx?PostID=671603" width="1" height="1"&gt;</description><category domain="http://blogs.microsoft.co.il/blogs/yonathanm/archive/tags/Biztalk/default.aspx">Biztalk</category></item><item><title>SQL 2008 throws an error while attempting to save data to file system</title><link>http://blogs.microsoft.co.il/blogs/yonathanm/archive/2010/06/10/sql-2008-throws-an-error-while-attempting-to-save-data-to-file-system.aspx</link><pubDate>Thu, 10 Jun 2010 06:36:00 GMT</pubDate><guid isPermaLink="false">b5c4f5bc-c09b-4439-a595-91a98c1847df:652936</guid><dc:creator>yonathanm</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.microsoft.co.il/blogs/yonathanm/rsscomments.aspx?PostID=652936</wfw:commentRss><comments>http://blogs.microsoft.co.il/blogs/yonathanm/archive/2010/06/10/sql-2008-throws-an-error-while-attempting-to-save-data-to-file-system.aspx#comments</comments><description>&lt;p&gt;Hi to all again, long time no see :)&lt;/p&gt;
&lt;p&gt;Yesterday&amp;nbsp;I begane to receive an error from my BTS application. Strange error - never seen before. The error was about &amp;quot;Operating System&amp;quot; which&amp;nbsp;could not save file etc&amp;#39;&amp;nbsp; (down here). At a first glance I coudn&amp;#39;t get - where it comes from, but after couple of debugs I&amp;#39;ve found that: have no free space on hard drive, of phisycal server, where SQL resides.,&amp;nbsp;- we defined that files we save in an application DB, will be saved in file system. And, because the application is still&amp;nbsp;been developed - we use some &amp;quot;dirty&amp;quot; SQL - which belongs about to everyone in company :)&lt;/p&gt;
&lt;p&gt;So, hard drive is full and I receve this error (in triangle braces - will be your data):&lt;/p&gt;
&lt;p&gt;Timestamp: 09/06/2010 08:19:42&lt;br /&gt;Message: HandlingInstanceID: 076332f6-9f5b-471d-aa12-aff576938d5b&lt;br /&gt;An exception of type &amp;#39;System.Data.SqlClient.SqlException&amp;#39; occurred and was caught.&lt;br /&gt;----------------------------------------------------------------------------------&lt;br /&gt;06/09/2010 11:19:42&lt;br /&gt;Type : System.Data.SqlClient.SqlException, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089&lt;br /&gt;Message : The operating system returned the error &amp;#39;112(failed to retrieve text for this error. Reason: 15105)&amp;#39; while attempting &amp;#39;FsLogMgr::LogInternal:CreateFile&amp;#39; on &amp;#39;\\?\&amp;lt;Partition&amp;gt;:\&amp;lt;FolderName&amp;gt;\&amp;lt;DBName&amp;gt;.mdf\$FSLOG\ffffc2b5-ffffec1e-fff8.00003d4a-000013e1-0003.1c510342-0970-4de7-99bc-bdbd78c83489~c53fb7af-e2f8-4baa-b27b-9733a3dc653c~00003d4a-000013e1-0003.142a4e-0.1000011&amp;#39;.&lt;br /&gt;The statement has been terminated.&lt;br /&gt;Source : .Net SqlClient Data Provider&lt;br /&gt;Help link : &lt;br /&gt;Errors : System.Data.SqlClient.SqlErrorCollection&lt;br /&gt;Class : 16&lt;br /&gt;LineNumber : 25&lt;br /&gt;Number : 3634&lt;br /&gt;Procedure : &amp;lt;Stored Procedure Name&amp;gt;&lt;br /&gt;Server : &amp;lt;SQL Server Name&amp;gt;&lt;br /&gt;State : 1&lt;br /&gt;ErrorCode : -2146232060&lt;br /&gt;Data : System.Collections.ListDictionaryInternal&lt;br /&gt;TargetSite : Void OnError(System.Data.SqlClient.SqlException, Boolean)&lt;br /&gt;Stack Trace :&amp;nbsp;&amp;nbsp;&amp;nbsp; at Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.ExceptionPolicyEntry.IntentionalRethrow(Exception chainException, Exception originalException)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.ExceptionPolicyEntry.RethrowRecommended(Exception chainException, Exception originalException)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.ExceptionPolicyEntry.Handle(Exception exceptionToHandle)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.ExceptionPolicyImpl.HandleException(Exception exceptionToHandle)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.ExceptionPolicy.HandleException(Exception exceptionToHandle, String policyName, ExceptionPolicyFactory policyFactory)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.ExceptionPolicy.HandleException(Exception exceptionToHandle, String policyName)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at &amp;lt;DAL namespace&amp;gt;.ExecuteScalar(String SP_Name, SqlParameter[] DbParamColl)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at &amp;lt;Business Logic Namespace and method where catch happens&amp;gt;(&amp;lt;Object FileStorage&amp;gt; fileParams)&lt;/p&gt;
&lt;p&gt;Additional Info:&lt;/p&gt;
&lt;p&gt;MachineName : &amp;lt;Machine name where application runs&amp;gt;&lt;br /&gt;TimeStamp : 09/06/2010 08:19:42&lt;br /&gt;FullName : Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&lt;br /&gt;AppDomainName : __XDomain_3.0.1.0_0&lt;br /&gt;ThreadIdentity : &lt;br /&gt;WindowsIdentity : &amp;lt;UserName&amp;gt;&lt;/p&gt;
&lt;p&gt;Category: General&lt;br /&gt;Priority: 0&lt;br /&gt;EventId: 100&lt;br /&gt;Severity: Critical&lt;br /&gt;Title:Enterprise Library Exception Handling&lt;br /&gt;Machine: &amp;lt;Machine name where application runs&amp;gt;&lt;br /&gt;Application Domain: __XDomain_3.0.1.0_0&lt;br /&gt;Process Id: 3372&lt;br /&gt;Process Name: C:\Program Files\Microsoft BizTalk Server 2009\BTSNTSvc.exe&lt;br /&gt;Win32 Thread Id: 4976&lt;br /&gt;Thread Name: &lt;br /&gt;Extended Properties: HelpLink.ProdName - Microsoft SQL Server&lt;br /&gt;HelpLink.ProdVer - 10.00.1600&lt;br /&gt;HelpLink.EvtSrc - MSSQLServer&lt;br /&gt;HelpLink.EvtID - 3634&lt;br /&gt;HelpLink.BaseHelpUrl - &lt;a href="http://go.microsoft.com/fwlink"&gt;http://go.microsoft.com/fwlink&lt;/a&gt;&lt;br /&gt;HelpLink.LinkId - 20476&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;The solution to problem is very simple - free more space on your hard drive.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://blogs.microsoft.co.il/aggbug.aspx?PostID=652936" width="1" height="1"&gt;</description><category domain="http://blogs.microsoft.co.il/blogs/yonathanm/archive/tags/Biztalk/default.aspx">Biztalk</category><category domain="http://blogs.microsoft.co.il/blogs/yonathanm/archive/tags/SQL/default.aspx">SQL</category><category domain="http://blogs.microsoft.co.il/blogs/yonathanm/archive/tags/C_2300_/default.aspx">C#</category><category domain="http://blogs.microsoft.co.il/blogs/yonathanm/archive/tags/ITPRO/default.aspx">ITPRO</category></item><item><title>Find current app.config's file path</title><link>http://blogs.microsoft.co.il/blogs/yonathanm/archive/2010/04/26/find-current-app-config-s-file-path.aspx</link><pubDate>Mon, 26 Apr 2010 07:44:00 GMT</pubDate><guid isPermaLink="false">b5c4f5bc-c09b-4439-a595-91a98c1847df:598223</guid><dc:creator>yonathanm</dc:creator><slash:comments>4</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.microsoft.co.il/blogs/yonathanm/rsscomments.aspx?PostID=598223</wfw:commentRss><comments>http://blogs.microsoft.co.il/blogs/yonathanm/archive/2010/04/26/find-current-app-config-s-file-path.aspx#comments</comments><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;From time to time I want to check where my app config resides in. For this action I add to executed code (external assembly, or windows service) next line of code:&lt;/p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;
&lt;p&gt;string&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; sFilePath = &lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;AppDomain&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;.CurrentDomain.SetupInformation.ConfigurationFile;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;sFilePath keeps the path to current config used by your process.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;:)&lt;/p&gt;&lt;/font&gt;&lt;img src="http://blogs.microsoft.co.il/aggbug.aspx?PostID=598223" width="1" height="1"&gt;</description><category domain="http://blogs.microsoft.co.il/blogs/yonathanm/archive/tags/Biztalk/default.aspx">Biztalk</category><category domain="http://blogs.microsoft.co.il/blogs/yonathanm/archive/tags/C_2300_/default.aspx">C#</category></item></channel></rss>
