<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://www.sharepointblogs.com/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><title type="html">rcragg&amp;#39;s blog</title><subtitle type="html" /><id>http://www.sharepointblogs.com/rcragg/atom.aspx</id><link rel="alternate" type="text/html" href="http://www.sharepointblogs.com/rcragg/default.aspx" /><link rel="self" type="application/atom+xml" href="http://www.sharepointblogs.com/rcragg/atom.aspx" /><generator uri="http://communityserver.org" version="3.0.20611.960">Community Server</generator><updated>2004-04-02T20:31:00Z</updated><entry><title>MCP-me</title><link rel="alternate" type="text/html" href="http://www.sharepointblogs.com/rcragg/archive/2005/04/06/mcp-me.aspx" /><id>http://www.sharepointblogs.com/rcragg/archive/2005/04/06/mcp-me.aspx</id><published>2005-04-07T01:48:00Z</published><updated>2005-04-07T01:48:00Z</updated><content type="html">&lt;p&gt;I passed my first MCP exam today with a satisfyingly high score (hint: &amp;gt; 900)!&lt;br /&gt;&lt;br /&gt;I&amp;#39;m delighted to be able to say with confidence that I am now a certified expert in Developing and Implementing Web Applications with Visual C#.Net and Visual Studio.NET (070-315)&lt;/p&gt;  &lt;p&gt;[UPDATE] after kind congrats from &lt;a href="http://dotnetjunkies.com/WebLog/thomasswilliams/"&gt;Thomas Williams&lt;/a&gt;&amp;nbsp;I thought I&amp;#39;d say something about how I managed this feat ;-)&lt;/p&gt;  &lt;p&gt;For anyone else wanting to do the same, be aware that the MS Press books DON&amp;#39;T cover everything you need to know in the exams. While they&amp;#39;re a good foundation they miss out material or don&amp;#39;t go into enough detail. I have read very good reviews of the &lt;a href="http://www.amazon.co.uk/exec/obidos/ASIN/0789728222/rohancracouk-21?creative=6394&amp;amp;camp=1406&amp;amp;link_code=as1%20"&gt;MCSD/MCAD Training Guide by Amit Kalani&lt;/a&gt;&amp;nbsp;if you want to be sure of not missing anything.&lt;/p&gt;  &lt;p&gt;Of course, there&amp;#39;s no substitute for experience of actually using the technology (which is a good thing of course - dump the braindumps).&lt;/p&gt;  &lt;p align="center"&gt;&lt;img height="52" src="http://www.rohancragg.co.uk/blog/content/binary/MCP-RGB.gif" width="112" border="0" alt="" /&gt;&lt;/p&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt;  &lt;p align="center"&gt;&amp;nbsp;&lt;/p&gt;&lt;img width="0" height="0" src="http://www.rohancragg.co.uk/blog/cptrk.ashx?id=afb6d47a-3239-4994-9553-276787a86881" alt="" /&gt;&lt;img src="http://www.sharepointblogs.com/aggbug.aspx?PostID=1737" width="1" height="1" alt="" /&gt;
			&lt;hr&gt;&lt;span style="font-size:10pt;"&gt;Posted on &lt;a href="http://www.sharepointblogs.com/"&gt;SharePoint Blogs&lt;/a&gt;&lt;/span&gt;
		  &lt;img src="http://www.sharepointblogs.com/aggbug.aspx?PostID=1523" width="1" height="1"&gt;</content><author><name>Unclaimed Blog</name><uri>http://www.sharepointblogs.com/members/Unclaimed-Blog.aspx</uri></author></entry><entry><title>Crosspost test</title><link rel="alternate" type="text/html" href="http://www.sharepointblogs.com/rcragg/archive/2005/02/25/crosspost-test.aspx" /><id>http://www.sharepointblogs.com/rcragg/archive/2005/02/25/crosspost-test.aspx</id><published>2005-02-26T00:11:00Z</published><updated>2005-02-26T00:11:00Z</updated><content type="html">This is just to test that &lt;a href="http://www.rohancragg.co.uk/blog"&gt;my new dasBlog blog&lt;/a&gt; is cross-posting OK to &lt;a href="http://www.sharepointblogs.com/rcragg/"&gt;my SharePoint blog&lt;/a&gt;&amp;nbsp;and to &lt;a href="http://dotnetjunkies.com/WebLog/rohancragg/"&gt;my dotnetjunkies blog&lt;/a&gt;&lt;img width="0" height="0" src="http://www.rohancragg.co.uk/blog/cptrk.ashx?id=84051f9b-c514-4b7e-949b-70e439e59cf0" alt="" /&gt;&lt;img src="http://www.sharepointblogs.com/aggbug.aspx?PostID=1358" width="1" height="1" alt="" /&gt;
			&lt;hr&gt;&lt;span style="font-size:10pt;"&gt;Posted on &lt;a href="http://www.sharepointblogs.com/"&gt;SharePoint Blogs&lt;/a&gt;&lt;/span&gt;
		  &lt;img src="http://www.sharepointblogs.com/aggbug.aspx?PostID=1524" width="1" height="1"&gt;</content><author><name>Unclaimed Blog</name><uri>http://www.sharepointblogs.com/members/Unclaimed-Blog.aspx</uri></author></entry><entry><title>Indexing list items in SPS search results</title><link rel="alternate" type="text/html" href="http://www.sharepointblogs.com/rcragg/archive/2004/12/16/indexing-list-items-in-sps-search-results.aspx" /><id>http://www.sharepointblogs.com/rcragg/archive/2004/12/16/indexing-list-items-in-sps-search-results.aspx</id><published>2004-12-17T04:10:00Z</published><updated>2004-12-17T04:10:00Z</updated><content type="html">I discovered today that &lt;a href="http://blogs.msdn.com/danielmcpherson/archive/2004/11/18/265818.aspx"&gt;Indexing List Items&lt;/a&gt; so that they appear in Search Results doesnt happen by default and I thought &amp;quot;surely this can&amp;#39;t be right&amp;quot;. Luckily (thanks to Daniel McPherson) if you follow this link you&amp;#39;ll see that you can still enable this on a list-by list basis&lt;img src="http://www.sharepointblogs.com/aggbug.aspx?PostID=1008" width="1" height="1" alt="" /&gt;
			&lt;hr&gt;&lt;span style="font-size:10pt;"&gt;Posted on &lt;a href="http://www.sharepointblogs.com/"&gt;SharePoint Blogs&lt;/a&gt;&lt;/span&gt;
		  &lt;img src="http://www.sharepointblogs.com/aggbug.aspx?PostID=1525" width="1" height="1"&gt;</content><author><name>Unclaimed Blog</name><uri>http://www.sharepointblogs.com/members/Unclaimed-Blog.aspx</uri></author></entry><entry><title>New MSDN article on Custom Data Processing Extension</title><link rel="alternate" type="text/html" href="http://www.sharepointblogs.com/rcragg/archive/2004/09/16/new-msdn-article-on-custom-data-processing-extension.aspx" /><id>http://www.sharepointblogs.com/rcragg/archive/2004/09/16/new-msdn-article-on-custom-data-processing-extension.aspx</id><published>2004-09-16T20:40:00Z</published><updated>2004-09-16T20:40:00Z</updated><content type="html">&lt;p&gt;Christa Carpentiere has done yet another implementation of reporting off an ADO.Net Dataset but this time it&amp;#39;s in an &lt;a href="http://msdn.microsoft.com/sql/default.aspx?pull=/library/en-us/dnsql2k/html/rsdsetex3.asp"&gt;MSDN article&lt;/a&gt;, and it&amp;#39;s in both VB.Net and C#.&lt;/p&gt;  &lt;p&gt;This one add something interesting though, as it also shows how you might call an external assembly to generate the DataSet.&lt;/p&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://www.sharepointblogs.com/aggbug.aspx?PostID=760" width="1" height="1" alt="" /&gt;
			&lt;hr&gt;&lt;span style="font-size:10pt;"&gt;Posted on &lt;a href="http://www.sharepointblogs.com/"&gt;SharePoint Blogs&lt;/a&gt;&lt;/span&gt;
		  &lt;img src="http://www.sharepointblogs.com/aggbug.aspx?PostID=1526" width="1" height="1"&gt;</content><author><name>Unclaimed Blog</name><uri>http://www.sharepointblogs.com/members/Unclaimed-Blog.aspx</uri></author></entry><entry><title>More on Data Processing Extensions</title><link rel="alternate" type="text/html" href="http://www.sharepointblogs.com/rcragg/archive/2004/08/18/more-on-data-processing-extensions.aspx" /><id>http://www.sharepointblogs.com/rcragg/archive/2004/08/18/more-on-data-processing-extensions.aspx</id><published>2004-08-18T20:04:00Z</published><updated>2004-08-18T20:04:00Z</updated><content type="html">&lt;p&gt;Toby Riley emailed me to alert me to his extension that can take a select query and execute it against any&amp;nbsp;DB using a connection string as a parameter and pass the data back to the designer:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://workspaces.gotdotnet.com/appworld"&gt;&lt;font face="Verdana" size="2"&gt;http://workspaces.gotdotnet.com/appworld&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Another blogger of note has also &lt;a href="http://blogs.msdn.com/tudortr/"&gt;come online&lt;/a&gt;,&amp;nbsp; lead developer for the Reporting Services product&amp;nbsp;by the name of &amp;#39;Tudor&amp;#39;.&lt;/p&gt;&lt;img src="http://www.sharepointblogs.com/aggbug.aspx?PostID=710" width="1" height="1" alt="" /&gt;
			&lt;hr&gt;&lt;span style="font-size:10pt;"&gt;Posted on &lt;a href="http://www.sharepointblogs.com/"&gt;SharePoint Blogs&lt;/a&gt;&lt;/span&gt;
		  &lt;img src="http://www.sharepointblogs.com/aggbug.aspx?PostID=1527" width="1" height="1"&gt;</content><author><name>Unclaimed Blog</name><uri>http://www.sharepointblogs.com/members/Unclaimed-Blog.aspx</uri></author></entry><entry><title>SPS installation woes</title><link rel="alternate" type="text/html" href="http://www.sharepointblogs.com/rcragg/archive/2004/06/16/sps-installation-woes.aspx" /><id>http://www.sharepointblogs.com/rcragg/archive/2004/06/16/sps-installation-woes.aspx</id><published>2004-06-16T09:14:00Z</published><updated>2004-06-16T09:14:00Z</updated><content type="html">&lt;p&gt;Searching google groups for &amp;quot;failed to create portal successfully&amp;quot;  group:microsoft.public.sharepoint.portalserver.* returns 120 results&lt;/p&gt;  &lt;p&gt;&amp;quot;portal creation failed&amp;quot; group:microsoft.public.sharepoint.portalserver.* returns 86 results.&lt;/p&gt;  &lt;p&gt;I have read most of them and&amp;nbsp;few seem to offer any resolution, there are ALOT of very unhappy people out there.&lt;/p&gt;  &lt;p&gt;Unlike most people I am only reaching a very early stage in the  portal creation process, most seem to get past the &amp;#39;extending virtual  server&amp;#39; step, but I don&amp;#39;t. The&amp;nbsp;app pool identity has&amp;nbsp;the  required privileges on the remote SQL server (database creators role)  and local admin rights on the IIS server.&lt;/p&gt;  &lt;p&gt;  &lt;/p&gt;&lt;hr id="null" /&gt;    &lt;p&gt;&lt;/p&gt;  &lt;p&gt;22:41:32 Checking virtual server state.&lt;br /&gt;22:41:32 Virtual server needs extend.&lt;br /&gt;22:41:32 Extending virtual server &amp;#39;http://myserver:8100/&amp;#39; using existing AppPool &amp;#39;MSSharePointPortalAppPool&amp;#39;...&lt;br /&gt;22:41:33 Failed to create portal successfully MY Portal&lt;/p&gt;  &lt;p&gt;  &lt;/p&gt;&lt;hr id="null" /&gt;    &lt;p&gt;&lt;strong&gt;UPDATE:&lt;/strong&gt;&amp;nbsp;&lt;a href="http://www.paraesthesia.com"&gt;Travis&lt;/a&gt; advised that I should have removed WSS before starting the SPS installation but &lt;a href="http://www.microsoft.com/technet/prodtechnol/office/sps2003/deploy/inwsssps.mspx"&gt;this document&lt;/a&gt;&amp;nbsp;clearly  states that&amp;nbsp;during SPS installation &amp;quot;your virtual servers for WSS  are automatically disconnected&amp;quot; it does not at any point indicate that  you should first&amp;nbsp;uninstall WSS completely. This is a valid point  but not the source of the problems in this case.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;UPDATE 2: &lt;/strong&gt;Having completely removed SPS and WSS and  restored our production sites from backups I have had more time now to  inspect the server event logs.&lt;/p&gt;  &lt;p&gt;It seems that at the stage when I&amp;nbsp;was asked to configure the  component assignments web/search/index/ (SPS Central Administration |  Configure Server Topology), there are &amp;#39;Information&amp;#39; messages in the  event log (surely these should be warnings or errors?!) relating to  errors with various SharePoint-related services (search service, alert  service etc) &lt;/p&gt;  &lt;blockquote style="margin-right:0px;" dir="ltr"&gt;  &lt;p&gt;e.g. &amp;quot;..description for Event ID ( 0 ) in Source ( SharePoint Portal Alert Service ) cannot be found.&amp;quot;&lt;/p&gt;&lt;/blockquote&gt;  &lt;p&gt;So there is no way to find out what the errors are, but in any case  it seems a whole slew of services failed to get installed properly.  What annoys me no end is that the &amp;#39;Configure Server Topology&amp;#39; page  gives you no indication that anything has gone wrong.&lt;/p&gt;  &lt;p&gt;The reason I&amp;nbsp;assume that these services failed to get  installed&amp;nbsp;is that immediately preceding these cryptic errors there  are more specific errors as follows:&amp;nbsp;&lt;/p&gt;  &lt;blockquote style="margin-right:0px;" dir="ltr"&gt;  &lt;p&gt;&amp;quot;The configuration information of the performance library  &amp;quot;C:\WINDOWS\system32\infoctrs.dll&amp;quot; for the &amp;quot;InetInfo&amp;quot; service does not  match the trusted performance library information stored in the  registry&amp;quot; and there was a similar one relating to W3SVC&lt;/p&gt;&lt;/blockquote&gt;  &lt;p dir="ltr"&gt;then one of these:&lt;/p&gt;  &lt;blockquote style="margin-right:0px;" dir="ltr"&gt;  &lt;p&gt;&amp;quot;WMI ADAP was unable to process the SharePoint Portal Alerts  Notification Service performance library since one of the data blobs  reported to have classes but had zero size&amp;quot;&lt;/p&gt;&lt;/blockquote&gt;  &lt;p dir="ltr"&gt;and one of these:&lt;/p&gt;  &lt;blockquote style="margin-right:0px;" dir="ltr"&gt;  &lt;p&gt;&amp;quot;WMI ADAP was unable to retrieve data from the PerfLib subkey:  SYSTEM\CurrentControlSet\Services\SPSARPI\Performance\Library, error  code: 0x80041009&amp;quot; &lt;/p&gt;&lt;/blockquote&gt;  &lt;p dir="ltr"&gt;the same error was also&amp;nbsp;logged for SPSAUTOCAT, SPSGATHERER, SPSGTHRSVC, SPSINDEX, SPSMATRIXPI, SPSSEARCH, SSO, subpi.&lt;/p&gt;  &lt;p dir="ltr"&gt;Then there was this (reported under the identity of the app pool service account being used for SPS/WSS):&lt;/p&gt;  &lt;blockquote style="margin-right:0px;" dir="ltr"&gt;  &lt;p&gt;&amp;quot;Windows cannot unload your classes registry file - it is still in  use by other applications or services. The file will be unloaded when  it is no longer in use.&amp;quot;&lt;/p&gt;&lt;/blockquote&gt;  &lt;p dir="ltr"&gt;and&lt;/p&gt;  &lt;blockquote style="margin-right:0px;" dir="ltr"&gt;  &lt;p&gt;&amp;quot;Windows saved user MyDomain\svcSharePoint registry while an  application or service was still using the registry during log off. The  memory used by the user&amp;#39;s registry has not been freed. The registry  will be unloaded when it is no longer in use. This is often caused by  services running as a user account, try configuring the services to run  in either the LocalService or NetworkService account.&amp;quot;&lt;/p&gt;&lt;/blockquote&gt;  &lt;p dir="ltr"&gt;and then&lt;/p&gt;  &lt;blockquote style="margin-right:0px;" dir="ltr"&gt;  &lt;p&gt;&amp;quot;The worker process failed to initialize the http.sys communication  or the w3svc communication layer and therefore could not be started.  The data field contains the error number.&amp;quot;&lt;/p&gt;&lt;/blockquote&gt;  &lt;p&gt;If anyone know why all this could have occurred I&amp;#39;d be interested to  hear. In the meantime I&amp;#39;m probably going to call TechNet direct.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;UPDATE 3: &lt;/strong&gt;We had numerous issues with DNS and  Kerberos authentication on our domain about which we raised a PSS call  to Microsoft who dealt with the issue very efficiently. After also  reinstalling W2K3 from scratch I then didnt have any problems  installing SPS, thanks to everyone who replied with comments.&lt;/p&gt;&lt;img width="0" height="0" src="http://www.rohancragg.co.uk/blog/cptrk.ashx?id=83f55bf5-a822-4651-a21f-c81de7eac553" alt="" /&gt;&lt;img src="http://www.sharepointblogs.com/aggbug.aspx?PostID=547" width="1" height="1" alt="" /&gt;
			&lt;hr&gt;&lt;span style="font-size:10pt;"&gt;Posted on &lt;a href="http://www.sharepointblogs.com/"&gt;SharePoint Blogs&lt;/a&gt;&lt;/span&gt;
		  &lt;img src="http://www.sharepointblogs.com/aggbug.aspx?PostID=1528" width="1" height="1"&gt;</content><author><name>Unclaimed Blog</name><uri>http://www.sharepointblogs.com/members/Unclaimed-Blog.aspx</uri></author></entry><entry><title>Custom DataProcessing Extensions - problem with the Refresh Fields button?</title><link rel="alternate" type="text/html" href="http://www.sharepointblogs.com/rcragg/archive/2004/06/11/custom-dataprocessing-extensions-problem-with-the-refresh-fields-button.aspx" /><id>http://www.sharepointblogs.com/rcragg/archive/2004/06/11/custom-dataprocessing-extensions-problem-with-the-refresh-fields-button.aspx</id><published>2004-06-11T21:37:00Z</published><updated>2004-06-11T21:37:00Z</updated><content type="html">&lt;p&gt;In &lt;a href="http://www.sharepointblogs.com/rcragg/archive/2004/06/04/531.aspx"&gt;my previous post&lt;/a&gt;&amp;nbsp;I stated that I had succeeded in converting a &lt;strong&gt;Reporting Services Data Processing Extension&lt;/strong&gt; for reporting on&amp;nbsp;ad-hoc data&amp;nbsp;from a&amp;nbsp;serialized&amp;nbsp;ADO.Net DataSet into VB.Net. I have since extended this with an extra parameter (IDataParameterCollection) to allow the report designer to&amp;nbsp;define at design-time (or indeed at run-time)&amp;nbsp;which DataTable within the DataSet should be used as the source table. The implementation of DataProcessing.IDataReader also now iterates over a DataView of the table rather than the DataTable itself thus allowing me to pass a third parameter (actually passed via the Generic Query Designer as the command text (IDbCommand.CommandText)) which I then use as the RowFilter for the DataView.&lt;/p&gt;  &lt;p&gt;This all works great. I can supply the parameters which I have told the extension to request from the designer (via the implementation of IDbCommandAnalysis.GetParameters method), and the query designer screen returns the data into the results screen, but&amp;nbsp;if I attempt to navigate to the report layout&amp;nbsp;tab, or&amp;nbsp;I click on the &amp;#39;Refresh Fields&amp;#39; button within the Generic Query Designer, I get an exception.&lt;/p&gt;  &lt;p&gt;I deliberately decided to&amp;nbsp;Debug.Assert that&amp;nbsp;the @DataSource parameter should not be&amp;nbsp;empty, but it should not be empty anyway as I have already supplied it via the designer. Following my debug trace information I can see that ExecuteReader in being called, but that the parameters are being passed as empty strings. If I elect to ignore the error then I can see via the trace that ExecuteReader gets called a second time, this time passing the parameters as I have entered them, and all is well.&lt;/p&gt;  &lt;p&gt;The solution of course is not to require there to be&amp;nbsp;non-empty parameters, but surely this is a bug?&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;UPDATE:&lt;/strong&gt; after lots more detective work I have discovered that presumably the Report Designer graciously handles any ArgumentExceptions, and just carries on and attempts the ExecuteReader a second time.&lt;/p&gt;  &lt;p&gt;How did I discover this? I turned off my assertions and just let the code proceed, the code gets as far as trying to load the DataSet:&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Courier New" color="#0000ff" size="2"&gt;Try&lt;br /&gt;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;dataset.ReadXml(dataSource)&lt;br /&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Catch&lt;/font&gt;&lt;font size="2"&gt; ex &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt; System.Exception&lt;br /&gt;&amp;nbsp;&amp;nbsp; Trace.WriteLine(&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;String&lt;/font&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt;.Format(&amp;quot;Error Reading XML into dataset:&amp;nbsp;{0}:{1}&amp;quot;, ex.Message, ex.GetType))&lt;br /&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;nbsp;&amp;nbsp; Throw&lt;/font&gt;&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;font size="2"&gt; ex&lt;br /&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;End&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Try&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;  &lt;p&gt;but&amp;nbsp;inevitably it&amp;nbsp;fails&amp;nbsp;because the dataSource parameter is a blank string, so&amp;nbsp;I catch&amp;nbsp;an&amp;nbsp;ArgumentException and write a message to the trace as follows:&lt;/p&gt;  &lt;blockquote dir="ltr" style="MARGIN-RIGHT:0px;"&gt;  &lt;p&gt;&lt;font face="Courier New" size="2"&gt;Error Reading XML into dataset:&amp;nbsp;The path is not of a legal form.:System.ArgumentException&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt;  &lt;p dir="ltr"&gt;The Report Designer then carries on and repeats the call to ExecuteReader, this time passing the correct parameters and everything goes smoothly.&lt;/p&gt;  &lt;p dir="ltr"&gt;So, still a bug in my opinion (unless anyone can enlighten me otherwise) -&amp;nbsp;but it works! ;-)&lt;/p&gt;  &lt;p dir="ltr"&gt;&lt;strong&gt;UPDATE 2&lt;/strong&gt;: &lt;/p&gt;  &lt;p dir="ltr"&gt;Robert Bruckner has now kindly enlightened me as follows (see also &lt;a href="http://groups-beta.google.com/group/microsoft.public.sqlserver.reportingsvcs/browse_thread/thread/a8ae9a8b82352a01/b80b1fa49a9020b6"&gt;this thread&lt;/a&gt;):&lt;/p&gt;  &lt;blockquote dir="ltr" style="MARGIN-RIGHT:0px;"&gt;  &lt;p dir="ltr"&gt;If you actually execute the query when &lt;a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/RSPROG/htm/rsp_ref_clr_dataproc_1w6b.asp"&gt;ExecuteReader(SchemaOnly)&lt;/a&gt; is called&lt;br /&gt;then the implementation is incorrect. For SchemaOnly execution, no parameter&lt;br /&gt;values are passed in because no query should be executed - just the columns&lt;br /&gt;should be returned.&lt;br /&gt;&lt;br /&gt;When Refreshing Fields, the report designer first tries to determine the&lt;br /&gt;fields based on ExecuteReader(SchemaOnly) because this should not affect any&lt;br /&gt;database state (and it is cheaper). If SchemaOnly fails, then report&lt;br /&gt;designer tries to actually execute the query and determine the fields based&lt;br /&gt;on the returned dataset. In order to execute the query it has to pass in&lt;br /&gt;parameter values.&lt;/p&gt;&lt;/blockquote&gt;&lt;img src="http://www.sharepointblogs.com/aggbug.aspx?PostID=540" width="1" height="1" alt="" /&gt;
			&lt;hr&gt;&lt;span style="font-size:10pt;"&gt;Posted on &lt;a href="http://www.sharepointblogs.com/"&gt;SharePoint Blogs&lt;/a&gt;&lt;/span&gt;
		  &lt;img src="http://www.sharepointblogs.com/aggbug.aspx?PostID=1529" width="1" height="1"&gt;</content><author><name>Unclaimed Blog</name><uri>http://www.sharepointblogs.com/members/Unclaimed-Blog.aspx</uri></author></entry><entry><title>A WSS Data Processing Extension for Reporting Services?</title><link rel="alternate" type="text/html" href="http://www.sharepointblogs.com/rcragg/archive/2004/06/04/a-wss-data-processing-extension-for-reporting-services.aspx" /><id>http://www.sharepointblogs.com/rcragg/archive/2004/06/04/a-wss-data-processing-extension-for-reporting-services.aspx</id><published>2004-06-05T03:01:00Z</published><updated>2004-06-05T03:01:00Z</updated><content type="html">&lt;p&gt;Having decided to use Windows SharePoint Services (WSS) as a company-wide&amp;nbsp;document repository I&amp;#39;m&amp;nbsp;thinking I&amp;#39;m probably going to need to report on the documents and list content (in combination with data from other enterprise systems) and not just rely on SharePoint Search, so Reporting Services seems like a sensible option. Clearly though RPTSVCS can&amp;#39;t do this out-of-the-box so I&amp;#39;ll need to write a data processing extension. So I thought I&amp;#39;d see if anyone else had tried so far...&lt;/p&gt;  &lt;p&gt;Other than what I read in &lt;a href="http://groups-beta.google.com/group/microsoft.public.sqlserver.reportingsvcs/browse_thread/thread/24e27848d8aceaa3/e9edeaddbd7016c6#e9edeaddbd7016c6"&gt;this thread&lt;/a&gt;, and &lt;a href="http://groups-beta.google.com/group/microsoft.public.sqlserver.reportingsvcs/browse_thread/thread/adc90586b0449ad7/fdb493805d24cad7#fdb493805d24cad7"&gt;this one&lt;/a&gt; so far no-one has written&amp;nbsp;an extension&amp;nbsp;for accessing a&amp;nbsp;web service (or at least, if &lt;a href="http://blogs.msdn.com/bryanke/"&gt;Bryan Keller&lt;/a&gt;&amp;nbsp;hasnt found it the I doubt it&amp;#39;s out there yet). So I doubt theres one floating out there&amp;nbsp;for accessing info in WSS&amp;nbsp;and I&amp;#39;ll need to roll my own. I found these links which I think will&amp;nbsp;prove useful, any other pointers would be welcome:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://msdn.microsoft.com/library/en-us/rsamples/htm/rss_sampleapps_v1_8spu.asp?frame=true"&gt;File Share&amp;nbsp;Extension&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.devx.com/dbzone/Article/21214/1954?pf=true"&gt;XML Data Extension&lt;/a&gt;&lt;br /&gt;&lt;a class="singleposttitle" id="viewpost.ascx_TitleUrl" href="http://blogs.msdn.com/bryanke/archive/2004/05/14/132110.aspx"&gt;Clarification on the Placement of CodeGroup Elements for Extensions&lt;/a&gt;&lt;br /&gt;&lt;a class="singleposttitle" id="viewpost.ascx_TitleUrl" href="http://blogs.msdn.com/bryanke/archive/2004/03/16/90797.aspx"&gt;How hard is it to write Reporting Services extensions?&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;If I manage it I&amp;#39;ll post and article here!&lt;/p&gt;  &lt;p&gt;UPDATE: &lt;a href="http://weblogs.asp.net/israelio/archive/2004/06/08/151088.aspx"&gt;Ohad&lt;/a&gt;&amp;nbsp;has listed some other useful links including&amp;nbsp;two for extensions for custom ADO.Net DataSets&amp;nbsp;by &lt;a href="http://weblogs.asp.net/gavinjoyce/archive/2004/01/29/64339.aspx"&gt;Gavin Joyce&lt;/a&gt; and by&amp;nbsp;a &lt;a href="http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=B8468707-56EF-4864-AC51-D83FC3273FE5"&gt;GotDotNet community&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;UPDATE 2: I have converted the original&amp;nbsp;&lt;a href="http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=B8468707-56EF-4864-AC51-D83FC3273FE5"&gt;GotDotNet sample&lt;/a&gt; to &lt;a href="http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=7cfd6335-9b0f-43fc-b65d-06badf286ed6"&gt;VB.Net &lt;/a&gt;and it works! Now to write one to work with web services and ultimately with WSS lists so I can report on WSS lists to my heart&amp;#39;s content...&lt;/p&gt;&lt;img src="http://www.sharepointblogs.com/aggbug.aspx?PostID=531" width="1" height="1" alt="" /&gt;
			&lt;hr&gt;&lt;span style="font-size:10pt;"&gt;Posted on &lt;a href="http://www.sharepointblogs.com/"&gt;SharePoint Blogs&lt;/a&gt;&lt;/span&gt;
		  &lt;img src="http://www.sharepointblogs.com/aggbug.aspx?PostID=1530" width="1" height="1"&gt;</content><author><name>Unclaimed Blog</name><uri>http://www.sharepointblogs.com/members/Unclaimed-Blog.aspx</uri></author></entry><entry><title>Frontpage RPC for check-in check-out etc.</title><link rel="alternate" type="text/html" href="http://www.sharepointblogs.com/rcragg/archive/2004/06/04/frontpage-rpc-for-check-in-check-out-etc.aspx" /><id>http://www.sharepointblogs.com/rcragg/archive/2004/06/04/frontpage-rpc-for-check-in-check-out-etc.aspx</id><published>2004-06-04T19:23:00Z</published><updated>2004-06-04T19:23:00Z</updated><content type="html">&lt;p&gt;Although I&amp;#39;m now happy with my custom web service, &lt;a href="http://www.sharepointu.com/forums/Check_in%2FCheck_out_remotely/m_10392/tm.htm"&gt;codewheeney isn&amp;#39;t &lt;/a&gt;and has posted that he/she has worked out how to use the FrontPage RPC calls to do the same stuff without resorting to web services.&lt;/p&gt;  &lt;p&gt;I thought I&amp;#39;d post in case anyone else was interested and maybe we could persuade codewheeney to share the code... Otherwise&amp;nbsp;the concept is (partly)&amp;nbsp;documented &lt;a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/spptsdk/html/SPPTWSSRPC.asp"&gt;here&lt;/a&gt;&lt;/p&gt;&lt;img src="http://www.sharepointblogs.com/aggbug.aspx?PostID=528" width="1" height="1" alt="" /&gt;
			&lt;hr&gt;&lt;span style="font-size:10pt;"&gt;Posted on &lt;a href="http://www.sharepointblogs.com/"&gt;SharePoint Blogs&lt;/a&gt;&lt;/span&gt;
		  &lt;img src="http://www.sharepointblogs.com/aggbug.aspx?PostID=1531" width="1" height="1"&gt;</content><author><name>Unclaimed Blog</name><uri>http://www.sharepointblogs.com/members/Unclaimed-Blog.aspx</uri></author></entry><entry><title>Why is SPListItem always ReadOnly?</title><link rel="alternate" type="text/html" href="http://www.sharepointblogs.com/rcragg/archive/2004/05/28/why-is-splistitem-always-readonly.aspx" /><id>http://www.sharepointblogs.com/rcragg/archive/2004/05/28/why-is-splistitem-always-readonly.aspx</id><published>2004-05-29T01:01:00Z</published><updated>2004-05-29T01:01:00Z</updated><content type="html">&lt;p&gt;&lt;img src="http://www.sharepointblogs.com/rcragg/archive/2004/05/28/507.aspx/images/sharepointblogs_com/rcragg/107/r_splistitem_readonly.gif" alt="" /&gt;&lt;/p&gt;&lt;font color="#0000ff" size="2"&gt;  &lt;blockquote dir="ltr" style="MARGIN-RIGHT:0px;"&gt;  &lt;p&gt;&lt;font face="Arial"&gt;Dim&lt;/font&gt;&lt;/font&gt;&lt;font face="Arial"&gt;&lt;font size="2"&gt; targetWeb &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;font face="Arial"&gt; SPWeb = &lt;font size="2"&gt;SPControl.GetContextWeb(Context)&lt;/font&gt;.Webs.Item(&amp;quot;sites/IT&amp;quot;)&lt;br /&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Arial"&gt;&lt;font color="#0000ff" size="2"&gt;Dim&lt;/font&gt;&lt;font size="2"&gt; docLib &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;font size="2"&gt; SPDocumentLibrary = &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;CType&lt;/font&gt;&lt;font size="2"&gt;(targetWeb.Lists.Item(&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;New&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;font face="Arial"&gt; Guid(targetFolderGUID)), SPDocumentLibrary)&lt;br /&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Arial"&gt;&lt;font color="#0000ff" size="2"&gt;Dim&lt;/font&gt;&lt;font size="2"&gt; docLibFile &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;font face="Arial"&gt; SPFile = docLib.RootFolder.Files.Add(fileName, fileContents)&lt;br /&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Arial"&gt;&lt;font color="#0000ff" size="2"&gt;Dim&lt;/font&gt;&lt;font size="2"&gt; docItem &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;font size="2"&gt; SPListItem = docLibFile.Item&lt;br /&gt;&lt;font size="2"&gt;docItem.Fields(&amp;quot;Category&amp;quot;) = &amp;quot;General&amp;quot;&lt;/p&gt;&lt;/blockquote&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;  &lt;p&gt;&lt;font face="Arial"&gt;&lt;font size="2"&gt;If I attempt to set the value of a field (i.e. a Column) in a List, t&lt;/font&gt;&lt;/font&gt;&lt;font face="Arial"&gt;&lt;font size="2"&gt;he complier complains that:&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Arial"&gt;&lt;font size="2"&gt;&lt;em&gt;Property &amp;#39;Item&amp;#39; is &amp;#39;ReadOnly&amp;#39;&lt;/em&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Arial"&gt;&lt;font size="2"&gt;Anyone know why I&amp;nbsp;shouldnt be allowed to&amp;nbsp;do it this way?!&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Arial"&gt;&lt;font size="2"&gt;&lt;strong&gt;  &lt;hr id="null" /&gt;  &lt;/strong&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Arial"&gt;&lt;font size="2"&gt;&lt;strong&gt;UPDATE:&lt;/strong&gt; the following code is what I was looking for...&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Arial"&gt;&lt;font size="2"&gt;docItem(&amp;quot;Category&amp;quot;) = &amp;quot;General&amp;quot; &lt;br /&gt;docItem.Update() &lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;img src="http://www.sharepointblogs.com/aggbug.aspx?PostID=507" width="1" height="1" alt="" /&gt;
			&lt;hr&gt;&lt;span style="font-size:10pt;"&gt;Posted on &lt;a href="http://www.sharepointblogs.com/"&gt;SharePoint Blogs&lt;/a&gt;&lt;/span&gt;
		  &lt;img src="http://www.sharepointblogs.com/aggbug.aspx?PostID=1532" width="1" height="1"&gt;</content><author><name>Unclaimed Blog</name><uri>http://www.sharepointblogs.com/members/Unclaimed-Blog.aspx</uri></author></entry><entry><title>Problems uploading documents with a custom web service</title><link rel="alternate" type="text/html" href="http://www.sharepointblogs.com/rcragg/archive/2004/05/25/problems-uploading-documents-with-a-custom-web-service.aspx" /><id>http://www.sharepointblogs.com/rcragg/archive/2004/05/25/problems-uploading-documents-with-a-custom-web-service.aspx</id><published>2004-05-25T22:02:00Z</published><updated>2004-05-25T22:02:00Z</updated><content type="html">&lt;div&gt;&lt;span class="796391310-25052004"&gt;&lt;font face="Arial" size="2"&gt;The other day I got&amp;nbsp;some code from the following article: &lt;a title="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_SP2003_ta/html/ODC_WritingCustomWebServicesforSPPT.asp" href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_SP2003_ta/html/ODC_WritingCustomWebServicesforSPPT.asp"&gt;http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_SP2003_ta/html/ODC_WritingCustomWebServicesforSPPT.asp&lt;/a&gt;&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div&gt;&lt;span class="796391310-25052004"&gt;&lt;font face="Arial" size="2"&gt;&lt;/font&gt;&lt;/span&gt;&amp;nbsp;&lt;/div&gt;  &lt;div&gt;&lt;span class="796391310-25052004"&gt;&lt;font face="Arial" size="2"&gt;It is supposed to allow me to upload a document into a library of my choice except that the document completely disappeared. The bit I was originally missing is now &lt;font color="#ff0000"&gt;highlighted in red. &lt;/font&gt;&lt;font color="#000000"&gt;I wish the article could have mentioned this, it would have saved me alot of time! The problem was that I was starting off in the root site &amp;#39;myintranet:8099&amp;#39;, and I wanted to access a document library in &amp;#39;myintranet:8099/sites/it&amp;#39;. Even though I was supplying the GUID it couldnt find the list from the root web, I had to also tell it to move up to the &amp;#39;sites/it&amp;#39; web before it would find it. Needless to say the documentation does not make this at all clear.&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div&gt;&lt;span class="796391310-25052004"&gt;&lt;font face="Arial" size="2"&gt;&lt;/font&gt;&lt;/span&gt;&amp;nbsp;&lt;/div&gt;  &lt;div&gt;&lt;span class="796391310-25052004"&gt;&lt;font face="Arial" size="2"&gt;However this still does not explain what happened to the documents that were being reported as being saved OK?!&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div&gt;&lt;span class="796391310-25052004"&gt;&lt;font face="Arial" size="2"&gt;&lt;/font&gt;&lt;/span&gt;&amp;nbsp;&lt;/div&gt;  &lt;div&gt;&lt;span class="796391310-25052004"&gt;&lt;font face="Arial" size="2"&gt;Now I want to set the value of a custom field (i.e. a Column) in&amp;nbsp;this List, and I&amp;#39;m having trouble doing that too (see &lt;a href="http://www.sharepointblogs.com/rcragg/archive/2004/05/28/507.aspx"&gt;my other post&lt;/a&gt;). This is not a good week :-(&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div&gt;&lt;span class="796391310-25052004"&gt;&lt;font face="Arial" size="2"&gt;  &lt;hr id="null" /&gt;  &lt;/font&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div&gt;&lt;span class="796391310-25052004"&gt;&lt;font face="Arial" size="2"&gt;&lt;/font&gt;&lt;/span&gt;&amp;nbsp;&lt;/div&gt;  &lt;div&gt;&lt;span class="796391310-25052004"&gt;&lt;font face="Arial" size="2"&gt;Here&amp;#39;s how it was supposed to work. The web service was registered OK, the client code calls the upload method sending the folder URL, the filename and the binary data, and the web service uses the SPFolder.Files.Add method to create the file. It appeared to do so&amp;nbsp;because it&amp;nbsp;then returns the SPFile.Title, and .TimeCreated properties correctly, however the document completely disappeared into the void and didn&amp;#39;t appear in the list (nor in any other list that I could find either)!&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div&gt;&lt;span class="796391310-25052004"&gt;&lt;font face="Arial" size="2"&gt;&lt;/font&gt;&lt;/span&gt;&amp;nbsp;&lt;/div&gt;  &lt;div&gt;&lt;span class="796391310-25052004"&gt;&lt;font face="Arial" size="2"&gt;Here&amp;#39;s (some of) the code:&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div&gt;&lt;span class="796391310-25052004"&gt;&lt;font face="Arial" size="2"&gt;&lt;/font&gt;&lt;/span&gt;&amp;nbsp;&lt;/div&gt;  &lt;div&gt;&lt;span class="796391310-25052004"&gt;&lt;font color="#0000ff"&gt;&lt;font face="Arial" color="#000000" size="2"&gt;&lt;span class="796391310-25052004"&gt;[WebMethod (UploadDocument)&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;  &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Arial" color="#000000"&gt;targetWebsite = SPControl.GetContextWeb(Context)&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;font face="Arial"&gt;&lt;font color="#ff0000"&gt;&lt;font size="2"&gt;.Webs.Item(&amp;quot;sites/IT&amp;quot;)&lt;/font&gt;&lt;br /&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;font face="Arial"&gt;Dim&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Arial"&gt;&lt;font size="2"&gt; folder &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;/font&gt;&lt;font face="Arial"&gt;&lt;font size="2"&gt; SPFolder = targetWebSite.GetFolder(targetFolder)&lt;br /&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Dim&lt;/font&gt;&lt;font size="2"&gt; NewFile &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;/font&gt;&lt;font face="Arial"&gt;&lt;font size="2"&gt; SPFile = folder.Files.Add(fileName, fileContents)&lt;br /&gt;&lt;font color="#0000ff"&gt;Return&lt;/font&gt; NewFile.Title + &amp;quot; created &amp;quot; + NewFile.TimeCreated.ToLongDateString()&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;span class="796391310-25052004"&gt;&lt;font face="Arial" size="2"&gt;]&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span class="796391310-25052004"&gt;&lt;font face="Arial" size="2"&gt;[Client code:&lt;br /&gt;&lt;/font&gt;&lt;/span&gt;&lt;span class="796391310-25052004"&gt;&lt;font face="Arial" size="2"&gt;&lt;br /&gt;DialogResult = OpenFileDialogUpload.ShowDialog()&lt;br /&gt;&lt;/font&gt;&lt;font face="Arial"&gt;&lt;font size="2"&gt;&lt;font color="#0000ff"&gt;If&lt;/font&gt; DialogResult = DialogResult.OK &lt;font color="#0000ff"&gt;Then&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;blockquote dir="ltr" style="MARGIN-RIGHT:0px;"&gt;&lt;font face="Arial"&gt;&lt;font size="2"&gt;&lt;font color="#0000ff"&gt;  &lt;p&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Arial"&gt;&lt;font size="2"&gt;sFilePath = OpenFileDialogUpload.FileName&lt;br /&gt;sFileName = sFilePath.Substring(sFilePath.LastIndexOf(&amp;quot;\&amp;quot;) + 1)&lt;br /&gt;&lt;font color="#0000ff"&gt;Dim&lt;/font&gt; fStream &lt;font color="#0000ff"&gt;As&lt;/font&gt; IO.FileStream = &lt;font color="#0000ff"&gt;CType&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Arial"&gt;&lt;font size="2"&gt;(OpenFileDialogUpload.OpenFile, IO.FileStream)&lt;br /&gt;&lt;font color="#0000ff"&gt;Dim&lt;/font&gt; nBytes &lt;font color="#0000ff"&gt;As&lt;/font&gt; &lt;font color="#0000ff"&gt;Integer&lt;/font&gt; = &lt;font color="#0000ff"&gt;CInt&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Arial" size="2"&gt;(fStream.Length)&lt;br /&gt;&lt;font color="#0000ff"&gt;Dim&lt;/font&gt; binFile(nBytes) &lt;font color="#0000ff"&gt;As&lt;/font&gt; &lt;/font&gt;&lt;font face="Arial" color="#0000ff" size="2"&gt;Byte&lt;br /&gt;&lt;/font&gt;&lt;font face="Arial"&gt;&lt;font size="2"&gt;&lt;font color="#008000"&gt;&amp;#39; get the file contents into a buffer&lt;br /&gt;&lt;/font&gt;&lt;font color="#0000ff"&gt;Dim&lt;/font&gt; nBytesRead &lt;font color="#0000ff"&gt;As&lt;/font&gt; &lt;font color="#0000ff"&gt;Integer&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Arial" size="2"&gt; = fStream.Read(binFile, 0, nBytes)&lt;br /&gt;&lt;/font&gt;&lt;font face="Arial"&gt;&lt;font size="2"&gt;&lt;font color="#008000"&gt;&amp;#39; send the document to sharepoint&lt;br /&gt;&lt;/font&gt;&lt;font color="#0000ff"&gt;Dim&lt;/font&gt; spf &lt;font color="#0000ff"&gt;As&lt;/font&gt; &lt;font color="#0000ff"&gt;New&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Arial" size="2"&gt; SPFiles.SPFiles&lt;br /&gt;spf.Credentials = System.Net.CredentialCache.DefaultCredentials&lt;br /&gt;MessageBox.Show(spf.UploadDocument(sFileName, binFile, sDestination))&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt;  &lt;p dir="ltr"&gt;&lt;span class="796391310-25052004"&gt;&lt;font face="Arial" color="#0000ff" size="2"&gt;End If&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p dir="ltr"&gt;&lt;span class="796391310-25052004"&gt;&lt;font face="Arial" size="2"&gt;This topic is currently active on a &lt;/font&gt;&lt;a href="http://groups-beta.google.com/group/microsoft.public.sharepoint.windowsservices/browse_thread/thread/6352ed10b3e4bc21/90a5a784c7f9a724"&gt;&lt;font face="Arial" size="2"&gt;newsgroup thread&lt;/font&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;/span&gt;&lt;img src="http://www.sharepointblogs.com/aggbug.aspx?PostID=482" width="1" height="1" alt="" /&gt;
			&lt;hr&gt;&lt;span style="font-size:10pt;"&gt;Posted on &lt;a href="http://www.sharepointblogs.com/"&gt;SharePoint Blogs&lt;/a&gt;&lt;/span&gt;
		  &lt;img src="http://www.sharepointblogs.com/aggbug.aspx?PostID=1533" width="1" height="1"&gt;</content><author><name>Unclaimed Blog</name><uri>http://www.sharepointblogs.com/members/Unclaimed-Blog.aspx</uri></author></entry><entry><title>Connectable Page Viewer Web Part</title><link rel="alternate" type="text/html" href="http://www.sharepointblogs.com/rcragg/archive/2004/05/18/connectable-page-viewer-web-part.aspx" /><id>http://www.sharepointblogs.com/rcragg/archive/2004/05/18/connectable-page-viewer-web-part.aspx</id><published>2004-05-18T19:53:00Z</published><updated>2004-05-18T19:53:00Z</updated><content type="html">&lt;p&gt;Currently watching &lt;a href="http://groups-beta.google.com/group/microsoft.public.sharepoint.windowsservices/browse_thread/thread/6a737f338ce3b3b7/3e7afc75bac3df41"&gt;this thread&lt;/a&gt; with great interest - I love the new &lt;a href="http://groups-beta.google.com/"&gt;Google Groups&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Great work guys, here&amp;#39;s one person who&amp;#39;s definitely interested in the final solution! ;-)&lt;/p&gt;  &lt;p&gt;respect to:&lt;br /&gt;&lt;a href="http://wss.collutions.com"&gt;Mike Walsh&lt;/a&gt;&lt;br /&gt;Bart Waeterschoot&lt;br /&gt;and &lt;a href="http://www.wssdemo.com"&gt;Ian Morrish&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;  &lt;p&gt;UPDATE: Respect also, of course, to &lt;a href="http://dev.collutions.com/blog"&gt;Jim Duncan&lt;/a&gt;. &lt;a href="http://weblogs.asp.net/mnissen/archive/2004/05/27/142982.aspx"&gt;Mads Nissen&lt;/a&gt;&amp;nbsp;has also now posted his own solution&lt;/p&gt;&lt;img src="http://www.sharepointblogs.com/aggbug.aspx?PostID=443" width="1" height="1" alt="" /&gt;
			&lt;hr&gt;&lt;span style="font-size:10pt;"&gt;Posted on &lt;a href="http://www.sharepointblogs.com/"&gt;SharePoint Blogs&lt;/a&gt;&lt;/span&gt;
		  &lt;img src="http://www.sharepointblogs.com/aggbug.aspx?PostID=1534" width="1" height="1"&gt;</content><author><name>Unclaimed Blog</name><uri>http://www.sharepointblogs.com/members/Unclaimed-Blog.aspx</uri></author></entry><entry><title>Towards a Fault Tracking application in WSS</title><link rel="alternate" type="text/html" href="http://www.sharepointblogs.com/rcragg/archive/2004/04/13/towards-a-fault-tracking-application-in-wss.aspx" /><id>http://www.sharepointblogs.com/rcragg/archive/2004/04/13/towards-a-fault-tracking-application-in-wss.aspx</id><published>2004-04-14T01:58:00Z</published><updated>2004-04-14T01:58:00Z</updated><content type="html">&lt;p&gt;I have been &lt;a href="http://www.sharepointu.com/forums/m_7061/mpage_1/key_//tm.htm#7061"&gt;mulling over this for a long time &lt;/a&gt;so I thought I&amp;#39;d start a post and see where it went, and I&amp;#39;ll keep this up to date (or write an article) if I get somewhere with it. I am the sole developer in an IT team of 5, our other main function therefore is systems admin and support for all IT systems within the office (other than printer maintenance which is out-sourced).&amp;nbsp;I wrote our in-house fault-logging/issue tracking application in ASP.Net but it&amp;#39;s&amp;nbsp;lacking some features we need&amp;nbsp;(I was only learning when I worte it!), and I want to do a complete&amp;nbsp;re-write in SharePoint as this seems like a&amp;nbsp;sensible place to host such a solution as we begin to make more and more use of SharePoint.&lt;/p&gt;  &lt;p&gt;&lt;span class="msg"&gt;I like the look of the Issues list in WSS and would like to use it as a&amp;nbsp;simple fault logging system. However &amp;#39;out of the box&amp;#39; it doesnt have everything we&amp;#39;d need and I&amp;#39;m going to have to extend it somewhat:&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span class="msg"&gt;For example &lt;/span&gt;&lt;/p&gt;  &lt;ol&gt;  &lt;li&gt;I would prefer the &amp;#39; Assign to&amp;#39; drop-down list to only list site administrators (or users with some other specific level of permission) rather than every user of the site - or be some other form of custom look-up that could be configured.   &lt;/li&gt;&lt;li&gt;I would prefer the notification email to also be cc&amp;#39; d to the user logging the issue. That way the person to whom the call has been assigned can quickly &amp;#39; Reply to All&amp;#39; so that everyone involved knows what&amp;#39; s going on. The other (even better) solution to this would be if the system could automatically create an alert for the user logging the issue (and maybe even the person who has been assigned the issue) to be notified of changes to the issue (with maybe a quick link to an opt-out to this alert).   &lt;/li&gt;&lt;li&gt;It would be nice if this could be somehow be linked to tasks, either in a task list in WSS or in Outlook (i.e. the person who has the issue assigned to them also has a new task created for them).&amp;nbsp;I had already written a post &lt;a href="http://www.sharepointblogs.com/rcragg/archive/2004/04/01/271.aspx"&gt;&lt;/a&gt; on using an issues list and a tasks list connected via two web parts but I saw some limitations with this approach which I outlined, and would need to be resolved.&lt;/li&gt;&lt;/ol&gt;  &lt;p&gt;&lt;a href="http://www.sharepointblogs.com/avelez/archive/2004/04/09/304.aspx"&gt;&lt;/a&gt; on Javascript &amp;#39;listeners&amp;#39; which sounds like just the kind of thing I&amp;#39;m looking for in point (2) but I&amp;#39;m not too sure just yet what&amp;nbsp;Andrew is using these listeners&amp;nbsp;for so I&amp;#39;m going to ask!... more to come...&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt; a while ago I printed off an article by Mark Bower at Microsoft on how to customise the context-menu for list items, but all I can find now is &lt;a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/spptsdk/html/tsptAddingContextMenu.asp"&gt;this article&lt;/a&gt;&amp;nbsp;which is not quite as friendly but it gives you a starting point. It occurs to me that you could use this for a &amp;#39;send email to person who logged the fault&amp;#39; function. Not quite as nice as the solution I hoped for in point (2) but better than nothing.&lt;/p&gt;&lt;p&gt;&lt;b&gt;Update2: &lt;/b&gt;Mark Bower has since &lt;a href="http://blogs.msdn.com/bowerm/archive/2004/06/28/167605.aspx"&gt;posted about this&lt;/a&gt; on his blog. Here&amp;#39;s a link to his &lt;a href="http://blogs.msdn.com/bowerm/articles/175691.aspx"&gt;updated article&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;img src="http://www.sharepointblogs.com/aggbug.aspx?PostID=314" width="1" height="1" alt="" /&gt;
			&lt;hr&gt;&lt;span style="font-size:10pt;"&gt;Posted on &lt;a href="http://www.sharepointblogs.com/"&gt;SharePoint Blogs&lt;/a&gt;&lt;/span&gt;
		  &lt;img src="http://www.sharepointblogs.com/aggbug.aspx?PostID=1535" width="1" height="1"&gt;</content><author><name>Unclaimed Blog</name><uri>http://www.sharepointblogs.com/members/Unclaimed-Blog.aspx</uri></author></entry><entry><title>Reporting Services - using parameters with Data Processing Extensions</title><link rel="alternate" type="text/html" href="http://www.sharepointblogs.com/rcragg/archive/2004/04/08/reporting-services-using-parameters-with-data-processing-extensions.aspx" /><id>http://www.sharepointblogs.com/rcragg/archive/2004/04/08/reporting-services-using-parameters-with-data-processing-extensions.aspx</id><published>2004-04-08T21:56:00Z</published><updated>2004-04-08T21:56:00Z</updated><content type="html">&lt;p&gt;I had been reading in Bryan Keller&amp;#39;s post &lt;a href="http://weblogs.asp.net/bryanke/archive/2004/03/16/90797.aspx"&gt;&amp;quot;How hard is it to write Reporting Services Extensions?&amp;quot;&lt;/a&gt;&amp;nbsp; &lt;/p&gt;  &lt;blockquote dir="ltr" style="MARGIN-RIGHT:0px;"&gt;  &lt;p&gt;The documentation for Reporting Services includes a sample, however, that sample does not cover the use of data extensions that handle parameters. This is the only area where it gets confusing. Hopefully we will include a more comprehensive sample in the future.&lt;/p&gt;&lt;/blockquote&gt;  &lt;p&gt;...but I didnt need to search too far to find &lt;a href="http://weblogs.asp.net/gavinjoyce/archive/2004/01/29/64339.aspx"&gt;Gavin Joyce&amp;#39;s post &lt;/a&gt;with some sample source code for doing just that.&lt;/p&gt;  &lt;p&gt;Now to try it out for myself!&lt;/p&gt;  &lt;p&gt;&lt;font face="Arial"&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://www.sharepointblogs.com/aggbug.aspx?PostID=300" width="1" height="1" alt="" /&gt;
			&lt;hr&gt;&lt;span style="font-size:10pt;"&gt;Posted on &lt;a href="http://www.sharepointblogs.com/"&gt;SharePoint Blogs&lt;/a&gt;&lt;/span&gt;
		  &lt;img src="http://www.sharepointblogs.com/aggbug.aspx?PostID=1536" width="1" height="1"&gt;</content><author><name>Unclaimed Blog</name><uri>http://www.sharepointblogs.com/members/Unclaimed-Blog.aspx</uri></author></entry><entry><title>Using the Form Web Part to pass parameters to a DataView Web Part</title><link rel="alternate" type="text/html" href="http://www.sharepointblogs.com/rcragg/archive/2004/04/02/using-the-form-web-part-to-pass-parameters-to-a-dataview-web-part.aspx" /><id>http://www.sharepointblogs.com/rcragg/archive/2004/04/02/using-the-form-web-part-to-pass-parameters-to-a-dataview-web-part.aspx</id><published>2004-04-03T01:31:00Z</published><updated>2004-04-03T01:31:00Z</updated><content type="html">&lt;div&gt;  &lt;p class="MsoNormal"&gt;&lt;font face="Arial" size="2"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Arial;"&gt;I have been reading&amp;nbsp;this article&amp;nbsp; &lt;a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_fp2003_ta/html/odc_fpbldgxmlwebs.asp?frame=true"&gt;Building XML Data-Driven Web Sites with FrontPage 2003&lt;/a&gt;&lt;/span&gt;&lt;/font&gt;&lt;font face="Arial" size="2"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Arial;"&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;font face="Arial" size="2"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Arial;"&gt;...and in the section on adding Data View Web Parts, it states that, when adding a connection to&amp;nbsp;a SQL Stored Proc, or a Web Service:&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;/div&gt;  &lt;div&gt;  &lt;p class="MsoNormal"&gt;&lt;font face="Arial" size="2"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Arial;"&gt;&amp;quot;you can supply&amp;nbsp;parameters at runtime. The Default Value combo box supplies several options, including [QueryString(arg)] and [Form(arg)]. Select [QueryString(arg)] if you will be supplying the parameter at runtime via a querystring item.&amp;quot;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;font face="Arial" size="2"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Arial;"&gt;However, i&lt;/span&gt;&lt;/font&gt;&lt;font face="Arial" size="2"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Arial;"&gt;t&amp;nbsp;wasn&amp;#39;t made at all&amp;nbsp;clear&amp;nbsp;how you would do this in practice, I know what forms and querystrings are but&amp;nbsp;at first I&amp;nbsp;couldn&amp;#39;t fathom how you are supposed to pass these parameters to&amp;nbsp;the Web Part. Also, it is not clear whether you can use web part connections (i.e. a provider web part on the same page) to supply the parameter to the consumer web part at runtime. I would have thought this is the ideal way to use dataview web parts without needing to do any coding?... so I started to&amp;nbsp;do some digging.&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;font face="Arial" size="2"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Arial;"&gt;So&amp;nbsp;then I have discovered &amp;#39;Insert | Form | Form Web Part&amp;#39; in FrontPage which looked promising. I put one onto the page and made a web part connection to my dataview web part with the following settings&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;font face="Arial" size="2"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Arial;"&gt;Source Web Part: Form Web Part&lt;br /&gt;Source action: Provide Form Values To&lt;br /&gt;Target Web Part: [my dataview web part]&lt;br /&gt;&lt;/span&gt;&lt;/font&gt;&lt;font face="Arial" size="2"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Arial;"&gt;Target action: Modify View Using Parameters From&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;font face="Arial" size="2"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Arial;"&gt;...and it just works!&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;font face="Arial" size="2"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Arial;"&gt;NB: After much tearing out of hair&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;font face="Arial" size="2"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:Arial;"&gt;I also discovered &lt;a href="http://support.microsoft.com/default.aspx?scid=kb;en-us;831092&amp;amp;Product=fp2003"&gt;this article&lt;/a&gt;, which states that you need to enable update support before you can used Stored Procs in FrontPage&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;/div&gt;&lt;img src="http://www.sharepointblogs.com/aggbug.aspx?PostID=286" width="1" height="1" alt="" /&gt;
			&lt;hr&gt;&lt;span style="font-size:10pt;"&gt;Posted on &lt;a href="http://www.sharepointblogs.com/"&gt;SharePoint Blogs&lt;/a&gt;&lt;/span&gt;
		  &lt;img src="http://www.sharepointblogs.com/aggbug.aspx?PostID=1537" width="1" height="1"&gt;</content><author><name>Unclaimed Blog</name><uri>http://www.sharepointblogs.com/members/Unclaimed-Blog.aspx</uri></author></entry></feed>