<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>SQL Server 2005</title><link>http://blog.u2u.info/DottextWeb/u2u/category/49.aspx</link><description>SQL Server 2005</description><managingEditor>u2u</managingEditor><dc:language>nl-BE</dc:language><generator>.Text Version 0.95.2004.102</generator><item><dc:creator>u2u</dc:creator><title>kb910437 considered harmful...</title><link>http://blog.u2u.info/DottextWeb/u2u/archive/2005/12/15/12346.aspx</link><pubDate>Thu, 15 Dec 2005 21:24:00 GMT</pubDate><guid>http://blog.u2u.info/DottextWeb/u2u/archive/2005/12/15/12346.aspx</guid><wfw:comment>http://blog.u2u.info/DottextWeb/u2u/comments/12346.aspx</wfw:comment><comments>http://blog.u2u.info/DottextWeb/u2u/archive/2005/12/15/12346.aspx#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://blog.u2u.info/DottextWeb/u2u/comments/commentRss/12346.aspx</wfw:commentRss><trackback:ping>http://blog.u2u.info/DottextWeb/u2u/services/trackbacks/12346.aspx</trackback:ping><description>&lt;P&gt;After enjoying SQL Server 2005 for about a month, this morning Analysis Services 2005&amp;nbsp;refused duty. It claimed that the SQL Browser (the tool which redirects requests to the right TCP port on the server, see &lt;A href="http://msdn2.microsoft.com/en-us/library/ms165724.aspx"&gt;http://msdn2.microsoft.com/en-us/library/ms165724.aspx&lt;/A&gt;&amp;nbsp;for details) was not running, though this service was up and running (according to the services tool in the computer administrator). If I shut down the service and try to start it manually (with the ...\90\Shared\sqlbrowser.exe -c statement), it reports that it cannot start up the SSRP (redirect protocol) and&amp;nbsp;it also fails in the OLAP redirector.&lt;/P&gt;
&lt;P&gt;Weird... how come...&amp;nbsp;A few moments&amp;nbsp;of debugging (and a hint of my colleague Kris) later, it turned out that uninstalling the windows update nr 910437 solved the problem. So if you experience the same problem as I do, be careful with installing this windows update. &lt;/P&gt;
&lt;P&gt;Nico&lt;/P&gt;&lt;img src ="http://blog.u2u.info/DottextWeb/u2u/aggbug/12346.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>u2u</dc:creator><title>Calling Web Services in SQL Server 2005: how does the final version behave?</title><link>http://blog.u2u.info/DottextWeb/u2u/archive/2005/12/02/12029.aspx</link><pubDate>Fri, 02 Dec 2005 16:01:00 GMT</pubDate><guid>http://blog.u2u.info/DottextWeb/u2u/archive/2005/12/02/12029.aspx</guid><wfw:comment>http://blog.u2u.info/DottextWeb/u2u/comments/12029.aspx</wfw:comment><comments>http://blog.u2u.info/DottextWeb/u2u/archive/2005/12/02/12029.aspx#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://blog.u2u.info/DottextWeb/u2u/comments/commentRss/12029.aspx</wfw:commentRss><trackback:ping>http://blog.u2u.info/DottextWeb/u2u/services/trackbacks/12029.aspx</trackback:ping><description>&lt;P&gt;In SQL Server 2005, we can write stored procs, UDFs, aggregates and types in .NET. In some scenarios, it can be interesting to call web services directly from within the database. Since we can call web services easily from within .NET, and we can call .NET from within SQL Server 2005, it seems easy to create a stored proc or scalar UDF to call a web service. However, people who tried this (or attended one of my SQL 2005 courses) know that this was not the case with the CTPs: The proxy class generated by Visual Studio tries to build classes at runtime, and this type of code is not accepted by the SQL Server .NET host. However, there were some rumors on the internet that MS would solve this problem by generating 'well behaving' proxy classes from within the templates for building .NET stored procs, UDFs etc.&lt;/P&gt;
&lt;P&gt;Since we have the final release&amp;nbsp;now, it is time to check how things go. And it turns out that the proxy classes still have the same behaviour: building a proxy class by just adding a Web reference from within Visual Studio,&amp;nbsp;gives you an assembly which can be loaded into Sql Server (deployed from within Visual Studio - but make sure you have permissions for creating external reference assemblies, and your database is trustworthy), but when you try to run them, you get this error:&lt;/P&gt;&lt;FONT size=1&gt;
&lt;P&gt;&lt;FONT face=Arial color=#ff0000 size=3&gt;Msg 6522, Level 16, State 2, Line 1&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial color=#ff0000 size=3&gt;A .NET Framework error occurred during execution of user defined routine or aggregate 'WSFunction': &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial color=#ff0000 size=3&gt;System.InvalidOperationException: Cannot load dynamically generated serialization assembly. In some hosting environments assembly load functionality is restricted, consider using pre-generated serializer. Please see inner exception for more information.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&amp;nbsp;So, in short, if you want to call a web service from within a .NET stored proc or UDF, you still have to use the approach as described in &lt;A href="http://www.u2u.be/Article.aspx?ART=WebServicesinSQL05"&gt;this&lt;/A&gt; article.&lt;/P&gt;
&lt;P&gt;Nico&lt;/P&gt;&lt;img src ="http://blog.u2u.info/DottextWeb/u2u/aggbug/12029.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>u2u</dc:creator><title>SQL 2005 and Visual Studio: order doesn't matter (anymore)</title><link>http://blog.u2u.info/DottextWeb/u2u/archive/2005/12/01/12011.aspx</link><pubDate>Thu, 01 Dec 2005 16:50:00 GMT</pubDate><guid>http://blog.u2u.info/DottextWeb/u2u/archive/2005/12/01/12011.aspx</guid><wfw:comment>http://blog.u2u.info/DottextWeb/u2u/comments/12011.aspx</wfw:comment><comments>http://blog.u2u.info/DottextWeb/u2u/archive/2005/12/01/12011.aspx#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://blog.u2u.info/DottextWeb/u2u/comments/commentRss/12011.aspx</wfw:commentRss><trackback:ping>http://blog.u2u.info/DottextWeb/u2u/services/trackbacks/12011.aspx</trackback:ping><description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;In the past CTP releases of SQL Server 2005 and beta releases of Visual Studio 2005, it was always essential to install both products in the right order:&amp;nbsp;&lt;STRONG&gt;First&lt;/STRONG&gt; the client side tools of SQL Server,&amp;nbsp;&lt;STRONG&gt;then&lt;/STRONG&gt; the Visual Studio 2005 beta. If you did it wrong, you didn't get the templates to create and deploy .NET stored procedures, functions, user defined types and aggregates from within VS2005. Last week, I tested this on the final version of both products and... good news: the order doesn't matter anymore: first installing Visual Studio, then SQL Server 2005, and everything I needed was there... a small but soemtimes important detail, because reinstalling VS2005 is something you don't do for the sheer fun of it :-)&lt;/P&gt;
&lt;P&gt;Nico&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;img src ="http://blog.u2u.info/DottextWeb/u2u/aggbug/12011.aspx" width = "1" height = "1" /&gt;</description></item></channel></rss>