<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7654592095487633113</id><updated>2012-02-16T12:52:59.113Z</updated><category term='Integration Services'/><category term='NTFS'/><category term='Transact-SQL'/><category term='HDD'/><category term='PS3'/><category term='obise'/><category term='ASP .NET'/><category term='SQL Server'/><category term='SharePoint'/><category term='SQL Server 2005'/><category term='oracle bi'/><category term='Windows'/><category term='Java'/><category term='IIS'/><category term='USB'/><category term='SSIS 2005'/><category term='BO'/><category term='SSRS 2005'/><category term='Business Objects'/><category term='oracle answers'/><category term='SSRS'/><category term='HTML'/><category term='FAT32'/><category term='Excel 2000'/><category term='DVD'/><category term='Miscellaneous'/><category term='Reporting Services 2005'/><category term='T-SQL'/><category term='BO XI'/><category term='JavaScript'/><category term='SSIS'/><category term='obi'/><category term='Bluray'/><category term='obiee'/><category term='.NET'/><title type='text'>Software troubleshooting, cookbooks and HOWTOs</title><subtitle type='html'>Here you'll find solutions to random problems you may encounter whilst programming or using certain software tools (SSIS, Reporting Services, SharePoint, Business Objects, etc...)</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://codingassistance.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://codingassistance.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>JG</name><uri>http://www.blogger.com/profile/00738628010748308874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>36</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7654592095487633113.post-5046579781270735294</id><published>2009-10-27T14:06:00.003Z</published><updated>2009-10-27T14:12:36.660Z</updated><title type='text'>ORA-27069 and ORA-01114</title><content type='html'>When creating a new object on a database (e.g. an index, a table) you get a set of ORA-27069 errors, each of them accompanied by ORA-01114. The description for these errors is:&lt;br /&gt;&lt;br /&gt;ORA-27069 skgfdisp: attempt to do I/O beyond the range of the file&lt;br /&gt;Cause: This is an internal error. The range of blocks being read or written is&lt;br /&gt;outside the range of the file, additional information indicates the starting block&lt;br /&gt;number, number of blocks in I/O, and the last valid block in the file.&lt;br /&gt;Action: Check for a trace file and contact Oracle Support Services.&lt;br /&gt;&lt;br /&gt;ORA-01114: IO error writing block to file string (block # string)&lt;br /&gt;Cause: The device on which the file resides is probably offline. If the file is a temporary file, then it is also possible that the device has run out of space. This could happen because disk space of temporary files is not necessarily allocated at file creation time.&lt;br /&gt;Action: Restore access to the device or remove unnecessary files to free up space.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;How to work it out:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;This can happen for a multitude or reasons: damaged storage, lack of storage space, etc. On Windows, namely Windows Server 2003 running a 32-bit file system, this can happen when one of the files in your tablespace reaches or crosses 4GB, 8GB, 12GB etc, so this may be the first thing to check.&lt;br /&gt;&lt;br /&gt;You can use Oracle Enterprise Manager to check this: &lt;a href="http://download.oracle.com/docs/html/B14399_01/rev_precon_db.htm#CACDJBBF"&gt;http://download.oracle.com/docs/html/B14399_01/rev_precon_db.htm#CACDJBBF&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;If, in fact, the problem is related to having a file with the characteristics above, you have plenty of options. For example, if you have an 8GB file in the USERS tablespace, you may have trouble adding data to that tablespace (which is the default for user tables, indexes, etc). To solve it, you can:&lt;br /&gt;                - set the file's maximum size below the size limit that started causing problems (e.g. 8GB)&lt;br /&gt;                - add more files to the tablespace where that file resides, so the tablespace can grow without creating very large files&lt;br /&gt;                - move indexes to a specific table space (ALTER INDEX &lt;index_name&gt; REBUILD TABLESPACE &lt;tablspace_name&gt;;)&lt;br /&gt;                - furthermore, you can create specific tablespaces for specific objects and move them there, which is way better than having every single object cramping up your default tablespace&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;All in all, the best way to solve this problem is to correctly manage your storage, tablespaces and files. Oracle ASM can help you with this. If you're running older versions, start here: &lt;a href="http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/physical.htm"&gt;http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/physical.htm&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7654592095487633113-5046579781270735294?l=codingassistance.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codingassistance.blogspot.com/feeds/5046579781270735294/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7654592095487633113&amp;postID=5046579781270735294' title='38 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/5046579781270735294'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/5046579781270735294'/><link rel='alternate' type='text/html' href='http://codingassistance.blogspot.com/2009/10/ora-27069-and-ora-01114.html' title='ORA-27069 and ORA-01114'/><author><name>JG</name><uri>http://www.blogger.com/profile/00738628010748308874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>38</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7654592095487633113.post-5994182850739814625</id><published>2009-06-18T22:44:00.007+01:00</published><updated>2009-06-18T22:57:40.651+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Bluray'/><category scheme='http://www.blogger.com/atom/ns#' term='NTFS'/><category scheme='http://www.blogger.com/atom/ns#' term='PS3'/><category scheme='http://www.blogger.com/atom/ns#' term='USB'/><category scheme='http://www.blogger.com/atom/ns#' term='HDD'/><category scheme='http://www.blogger.com/atom/ns#' term='FAT32'/><category scheme='http://www.blogger.com/atom/ns#' term='DVD'/><title type='text'>Format large HDD as FAT32 for your PS3 or DVD</title><content type='html'>Do you have a PS3 or DVD/Bluray player on which you'd like to use your external USB HDD, but it's capacity (160GB, 250GB, 320GB, 500GB, 1TB, whatever) results in the drive being formatted in NTFS, and therefore your console or disc player can't read it?&lt;br /&gt;&lt;br /&gt;You have to format it in FAT32 so your Playstation or DVD can read it, but as you probably noticed already, you can't do this in Windows XP: &lt;a href="http://support.microsoft.com/kb/314463"&gt;http://support.microsoft.com/kb/314463&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;But you can simply grab a free utility, like &lt;a href="http://www.partition-tool.com/personal.htm"&gt;EASEUS Partition Manager&lt;/a&gt;, format the external USB HDD to FAT32 and you're good to go! :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7654592095487633113-5994182850739814625?l=codingassistance.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codingassistance.blogspot.com/feeds/5994182850739814625/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7654592095487633113&amp;postID=5994182850739814625' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/5994182850739814625'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/5994182850739814625'/><link rel='alternate' type='text/html' href='http://codingassistance.blogspot.com/2009/06/format-large-hdd-as-fat32.html' title='Format large HDD as FAT32 for your PS3 or DVD'/><author><name>JG</name><uri>http://www.blogger.com/profile/00738628010748308874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7654592095487633113.post-8740042445946911355</id><published>2009-05-08T17:32:00.003+01:00</published><updated>2010-05-27T11:11:16.641+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Transact-SQL'/><category scheme='http://www.blogger.com/atom/ns#' term='T-SQL'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server'/><title type='text'>Copy SQL Server database tables</title><content type='html'>&lt;p&gt;&lt;span style="font-family:arial;"&gt;Ever needed to copy an SQL Server database, but get only its data and leave out everything else?&lt;br /&gt;Here's a T-SQL script that you can use to copy all the database's tables' data, and leave out everything else (indexes, partitions, programmability components, etc...)&lt;br /&gt;The script will go through all tables in the 'dbo' schema of the source database (named 'sourceDatabase' in this example), create a copy of the table in the 'dbo' schema of the destination database (named 'targetDatabase') and insert all data from the source table in the destination table (by using a SELECT INTO). &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;Here's the code:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#000066;"&gt;DECLARE @tableName varchar(300)&lt;br /&gt;DECLARE @sqlStmt nvarchar(300)&lt;br /&gt;&lt;br /&gt;DECLARE curTables CURSOR LOCAL FOR&lt;br /&gt;SELECT table_name FROM sourceDatabase.INFORMATION_SCHEMA.tables&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;OPEN curTables&lt;br /&gt;&lt;br /&gt;FETCH NEXT FROM curTables INTO @tableName&lt;br /&gt;WHILE @@FETCH_STATUS = 0&lt;br /&gt;BEGIN&lt;br /&gt;SET @sqlStmt = 'SELECT * INTO targetDatabase.dbo.' + @tableName + ' FROM sourceDatabase.dbo.' + @tableName&lt;br /&gt;EXEC sp_executesql @sqlStmt&lt;br /&gt;&lt;br /&gt;FETCH NEXT FROM curTables INTO @tableName&lt;br /&gt;END&lt;br /&gt;&lt;br /&gt;CLOSE curTables&lt;br /&gt;DEALLOCATE curTables&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7654592095487633113-8740042445946911355?l=codingassistance.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codingassistance.blogspot.com/feeds/8740042445946911355/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7654592095487633113&amp;postID=8740042445946911355' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/8740042445946911355'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/8740042445946911355'/><link rel='alternate' type='text/html' href='http://codingassistance.blogspot.com/2009/05/copy-sql-server-database.html' title='Copy SQL Server database tables'/><author><name>JG</name><uri>http://www.blogger.com/profile/00738628010748308874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7654592095487633113.post-8661968991675678605</id><published>2008-08-14T15:33:00.007+01:00</published><updated>2008-08-14T16:07:09.415+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='obi'/><category scheme='http://www.blogger.com/atom/ns#' term='obiee'/><category scheme='http://www.blogger.com/atom/ns#' term='oracle bi'/><category scheme='http://www.blogger.com/atom/ns#' term='obise'/><category scheme='http://www.blogger.com/atom/ns#' term='oracle answers'/><title type='text'>Hyperlink on Oracle Answers or Interactive Dashboard values</title><content type='html'>&lt;span style="font-size:85%;"&gt;This is both an example on how to add custom hyperlinks to Oracle BI dashboards' values and on the importance that context information from the Web has for BI systems.&lt;br /&gt;&lt;br /&gt;So let's get to it: create a new Answers request and include the columns you desire. Go to the Criteria tab and, for the column on which you want to create the hyperlink, click on the "Column Properties" button. Click the "Data Format", enable "Override Default Data Format" and on "Treat Text As" choose "Custom Text Format".&lt;br /&gt;&lt;br /&gt;On the text box below, you'll have to enter the expression to create the link - the syntax isn't quite well documented, although this is where you usually insert ActionLinks to interact with Siebel. To create a standard hyperlink, the syntax is: &lt;/span&gt;&lt;blockquote&gt;&lt;span style="font-size:85%;"&gt;@[html]"&amp;lt;a href=\"http://codingassistance.blogspot.com \"&amp;gt;"@"&amp;lt;/a&amp;gt;"&lt;/span&gt;&lt;/blockquote&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;Trying it out, it's easy to determine that the "@" (quotation marks are required) stands for the row value, so this hyperlink will be something like &lt;span style="font-family: courier new;"&gt;&amp;lt;a href="website.com"&amp;gt;RowValue&amp;lt;/a&amp;gt;.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;If you want to kick it up a notch, you can pass the row value itself as an argument for the URL; for example, the  expression &lt;/span&gt;&lt;blockquote&gt;&lt;span style="font-size:85%;"&gt;@[html]"&amp;lt;a href=\"http://maps.google.com?q="@"\" \" target="_blank"&amp;gt;"@"&amp;lt;/a&amp;gt;"&lt;/span&gt;&lt;/blockquote&gt;&lt;span style="font-size:85%;"&gt; passes the row value to (the q parameter of) maps.google.com and opens a new window pointing to the map of the row value. On a dashboard, the row values are hyperlinks to, for example, "http://maps.google.com/?q=SANTA%20CRUZ%20DAS%20FLORES" where "SANTA%20CRUZ%20DAS%20FLORES" is one of the row values. In this particular case, the row value is a geographical location, hence the choice of Google Maps.&lt;br /&gt;&lt;br /&gt;We can embelish it a bit by adding a title to the anchor, like this:&lt;/span&gt;&lt;blockquote&gt;&lt;span style="font-size:85%;"&gt; @[html]"&amp;lt;a href=\"http://maps.google.com?q="@"\" \" target="_blank" title=\"Click to view this location on a map\"&amp;gt;"@"&amp;lt;/a&amp;gt;"&lt;/span&gt;&lt;/blockquote&gt;&lt;span style="font-size:85%;"&gt; (don't forget to escape your quotation marks!)&lt;br /&gt;&lt;br /&gt;So, bringing it all together, we'll have a dashboard like this:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_ei7oB845BsE/SKREU4apLSI/AAAAAAAAAAc/2lQxZ8GjcWQ/s1600-h/screen1.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://3.bp.blogspot.com/_ei7oB845BsE/SKREU4apLSI/AAAAAAAAAAc/2lQxZ8GjcWQ/s400/screen1.jpg" alt="" id="BLOGGER_PHOTO_ID_5234383792443567394" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;After clicking, a new window opens with a map for the location:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_ei7oB845BsE/SKREVSydfqI/AAAAAAAAAAk/FlbrKdWkZHc/s1600-h/screen2.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_ei7oB845BsE/SKREVSydfqI/AAAAAAAAAAk/FlbrKdWkZHc/s400/screen2.jpg" alt="" id="BLOGGER_PHOTO_ID_5234383799522786978" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7654592095487633113-8661968991675678605?l=codingassistance.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codingassistance.blogspot.com/feeds/8661968991675678605/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7654592095487633113&amp;postID=8661968991675678605' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/8661968991675678605'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/8661968991675678605'/><link rel='alternate' type='text/html' href='http://codingassistance.blogspot.com/2008/08/hyperlink-on-oracle-answers-or.html' title='Hyperlink on Oracle Answers or Interactive Dashboard values'/><author><name>JG</name><uri>http://www.blogger.com/profile/00738628010748308874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_ei7oB845BsE/SKREU4apLSI/AAAAAAAAAAc/2lQxZ8GjcWQ/s72-c/screen1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7654592095487633113.post-4332338880036663113</id><published>2008-07-31T15:17:00.004+01:00</published><updated>2008-08-14T16:08:45.572+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server 2005'/><title type='text'>Describe a table in SQL Server 2005</title><content type='html'>&lt;span style="font-size:85%;"&gt;Here's a quick snippet of SQL that allows you to describe a table in a SQL Server 2005 database, similar to the DESC or DESCRIBE command in Oracle and MySQL:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;SELECT column_name, data_type,column_default, is_nullable, character_maximum_lenght, numeric_precision, datetime_precision&lt;br /&gt;FROM   INFORMATION_SCHEMA.COLUMNS&lt;br /&gt;WHERE  table_name='MyTableName'&lt;/blockquote&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-size:85%;" &gt;&lt;br /&gt;Detailed info&lt;/span&gt;&lt;span style="font-size:85%;"&gt; on INFORMATION_SCHEMA: http://msdn.microsoft.com/en-us/library/ms186778.aspx&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7654592095487633113-4332338880036663113?l=codingassistance.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codingassistance.blogspot.com/feeds/4332338880036663113/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7654592095487633113&amp;postID=4332338880036663113' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/4332338880036663113'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/4332338880036663113'/><link rel='alternate' type='text/html' href='http://codingassistance.blogspot.com/2008/07/describe-table-in-sql-server-2005.html' title='Describe a table in SQL Server 2005'/><author><name>JG</name><uri>http://www.blogger.com/profile/00738628010748308874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7654592095487633113.post-5378132953690491149</id><published>2008-05-14T22:05:00.005+01:00</published><updated>2008-05-14T22:13:59.014+01:00</updated><title type='text'>Error 26 connecting to SQL Server 2005</title><content type='html'>While connecting to a remote SQL Server 2005 instance, you get an error like this:&lt;br /&gt;&lt;blockquote style="font-style: italic;"&gt;SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified&lt;/blockquote&gt;&lt;br /&gt;If you are sure that there are no firewalls blocking connections between the two machines, and that the server is configured to accept remote TCP connections, then the likely solution is to start the &lt;span style="font-style: italic;"&gt;SQL Server Browser&lt;/span&gt; service on the remote machine.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;More information:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;SQL Server Browser service: &lt;a href="http://msdn.microsoft.com/en-us/library/ms181087.aspx"&gt;http://msdn.microsoft.com/en-us/library/ms181087.aspx&lt;/a&gt;&lt;/span&gt;&lt;span style="font-family:times new roman;"&gt;&lt;br /&gt;Configure remote connections on SQL Server 2005: &lt;a href="http://support.microsoft.com/kb/914277"&gt;http://support.microsoft.com/kb/914277&lt;/a&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7654592095487633113-5378132953690491149?l=codingassistance.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codingassistance.blogspot.com/feeds/5378132953690491149/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7654592095487633113&amp;postID=5378132953690491149' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/5378132953690491149'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/5378132953690491149'/><link rel='alternate' type='text/html' href='http://codingassistance.blogspot.com/2008/05/error-26-connecting-to-sql-server-2005.html' title='Error 26 connecting to SQL Server 2005'/><author><name>JG</name><uri>http://www.blogger.com/profile/00738628010748308874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7654592095487633113.post-7581207768206059009</id><published>2008-04-24T11:07:00.002+01:00</published><updated>2008-04-24T11:11:03.679+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='oracle bi'/><title type='text'>Oracle BI default password</title><content type='html'>If you are having trouble (rejected password) logging in to Oracle Answers or Oracle BI Publisher, be aware that both have a default password that differs from the password you were asked upon installation of the Oracle BI suite. The default account credentials for these services are:&lt;br /&gt;Username: Administrator&lt;br /&gt;Password: Administrator&lt;br /&gt;&lt;br /&gt;(remember that the password is case sensitive)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7654592095487633113-7581207768206059009?l=codingassistance.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codingassistance.blogspot.com/feeds/7581207768206059009/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7654592095487633113&amp;postID=7581207768206059009' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/7581207768206059009'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/7581207768206059009'/><link rel='alternate' type='text/html' href='http://codingassistance.blogspot.com/2008/04/oracle-bi-default-password.html' title='Oracle BI default password'/><author><name>JG</name><uri>http://www.blogger.com/profile/00738628010748308874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7654592095487633113.post-1986707159449926060</id><published>2008-02-19T11:14:00.008Z</published><updated>2008-04-24T11:12:46.117+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Business Objects'/><category scheme='http://www.blogger.com/atom/ns#' term='BO XI'/><title type='text'>How to create folders programatically in Business Objects XI repository</title><content type='html'>&lt;span style="font-size:100%;"&gt;&lt;span style="font-family:arial;"&gt;This is an example of how to create folders in the Business Objects XI InfoStore using VB6 and the COM API. This code creates a folder called "MyNewFolder" beneath "TestFolder", which is created at the folder root.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=";font-family:arial;font-size:85%;"  &gt;   Dim sessionMgr, entSession, infoStore, pluginMgr, folderPlugin&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;   'create a session and connect to the InfoStore&lt;/span&gt;&lt;br /&gt;Set sessionMgr = CreateObject("CrystalEnterprise.SessionMgr")&lt;br /&gt;Set entSession = sessionMgr.Logon("Administrator", "myPassword", "myBoServer", "secEnterprise")&lt;br /&gt;Set infoStore = entSession.Service("", "InfoStore")&lt;br /&gt;Set pluginMgr = infoStore.PluginManager&lt;br /&gt;Set folderPlugin = pluginMgr.PluginInfo("Folder")&lt;br /&gt;&lt;br /&gt;Dim infoObjectCollection, newFolder&lt;br /&gt;&lt;br /&gt;Set infoObjectCollection = infoStore.NewInfoObjectCollection()&lt;br /&gt;Set newFolder = infoObjectCollection.Add(folderPlugin)&lt;br /&gt;&lt;br /&gt;newFolder.Title = "MyNewFolder"&lt;br /&gt;newFolder.Description = "This is the folder we're creating in the example"&lt;br /&gt;&lt;br /&gt;Dim infoObjectCollectionAux &lt;span style="color: rgb(0, 153, 0);"&gt;'used to help determine the parent folder id&lt;/span&gt;&lt;br /&gt;Dim queryStr As String&lt;br /&gt;Dim queryStr1 As String&lt;br /&gt;Dim queryStr2 As String&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;  'build a query to get the parent folder id&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;'you can test this using the Query Builder in the Admin Launchpad&lt;/span&gt;&lt;br /&gt;queryStr1 = "SELECT * FROM CI_INFOOBJECTS WHERE SI_NAME='"&lt;br /&gt;queryStr2 = "' AND SI_KIND='Folder' AND SI_PARENTID=0" &lt;span style="color: rgb(0, 153, 0);"&gt;'the root folder has id=0&lt;/span&gt;&lt;br /&gt;queryStr = queryStr1 &amp;amp; "TestFolder" &amp;amp; queryStr2&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;   'execute the query and get the parent folder id&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;   'if "TestFolder" doesn't exist in the root, the infoObjectCollectionAux will be empty&lt;/span&gt;&lt;br /&gt;Set infoObjectCollectionAux = infoStore.Query(queryStr)&lt;br /&gt;Dim parentFolderId As Long&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:arial;font-size:85%;"  &gt;&lt;span style="color: rgb(0, 153, 0);"&gt;'only get the first item, for example simplicity sake&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:arial;font-size:85%;"  &gt;parentFolderId = infoObjectCollectionAux.Item(1).Id&lt;span style="color: rgb(0, 153, 0);"&gt; &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;   'set the new folder's parent id and commit the changes&lt;/span&gt;&lt;br /&gt;newFolder.ParentID = parentFolderId&lt;br /&gt;infoStore.Commit (infoObjectCollection)&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt; &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7654592095487633113-1986707159449926060?l=codingassistance.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codingassistance.blogspot.com/feeds/1986707159449926060/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7654592095487633113&amp;postID=1986707159449926060' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/1986707159449926060'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/1986707159449926060'/><link rel='alternate' type='text/html' href='http://codingassistance.blogspot.com/2008/02/how-to-create-folders-in-business.html' title='How to create folders programatically in Business Objects XI repository'/><author><name>JG</name><uri>http://www.blogger.com/profile/00738628010748308874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7654592095487633113.post-4602459864476086639</id><published>2008-01-14T17:45:00.001Z</published><updated>2008-01-14T18:06:18.118Z</updated><title type='text'>WIS 00504 error on Business Objects XI</title><content type='html'>If you get a &lt;span class="postbody"&gt;WIS 00504 error message when trying to perform an action that requires access to a Universe (e.g. new WebI or DeskI report), this probably means that you don't have enough security privileges to acess the Universe's data. You need to have "View on Demand" rights over the Universe and &lt;/span&gt;&lt;span class="postbody"&gt;"View on Demand"&lt;/span&gt;&lt;span class="postbody"&gt; rights over the corresponding Universe Connection.&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7654592095487633113-4602459864476086639?l=codingassistance.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codingassistance.blogspot.com/feeds/4602459864476086639/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7654592095487633113&amp;postID=4602459864476086639' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/4602459864476086639'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/4602459864476086639'/><link rel='alternate' type='text/html' href='http://codingassistance.blogspot.com/2008/01/wis-00504-error-on-business-objects-xi.html' title='WIS 00504 error on Business Objects XI'/><author><name>JG</name><uri>http://www.blogger.com/profile/00738628010748308874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7654592095487633113.post-5029949690396697473</id><published>2008-01-02T11:38:00.000Z</published><updated>2008-01-02T11:49:38.843Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='SSIS'/><category scheme='http://www.blogger.com/atom/ns#' term='SSIS 2005'/><title type='text'>SSIS Script Component throws "Object reference not set to an instance of an object"</title><content type='html'>In Integration Services 2005, if you get an &lt;span id="_ctl0_MainContent_PostFlatView"&gt;&lt;span id="_ctl0_MainContent_PostFlatView__ctl0_PostSubject" class="forumName"&gt;&lt;span style="font-style: italic;"&gt;Object reference not set to an instance of an object&lt;/span&gt; exception when trying to manipulate rows from a Script Component, even after you have guaranteed that the column is set as an input for the script, try checking if the column you're accessing is not null, using the automatically available "_IsNull" property. For example, if the input column is called myInputCol, you can try something like this:&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span id="_ctl0_MainContent_PostFlatView"&gt;&lt;span id="_ctl0_MainContent_PostFlatView__ctl0_PostSubject" class="forumName"&gt;If Not Row.&lt;/span&gt;&lt;/span&gt;&lt;span id="_ctl0_MainContent_PostFlatView"&gt;&lt;span id="_ctl0_MainContent_PostFlatView__ctl0_PostSubject" class="forumName"&gt;myInputCol&lt;/span&gt;&lt;/span&gt;&lt;span id="_ctl0_MainContent_PostFlatView"&gt;&lt;span id="_ctl0_MainContent_PostFlatView__ctl0_PostSubject" class="forumName"&gt;_IsNull Then&lt;br /&gt;   'code that access the column here&lt;br /&gt;End If&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;span id="_ctl0_MainContent_PostFlatView"&gt;&lt;span id="_ctl0_MainContent_PostFlatView__ctl0_PostSubject" class="forumName"&gt;&lt;br /&gt;&lt;/span&gt;                                             &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7654592095487633113-5029949690396697473?l=codingassistance.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codingassistance.blogspot.com/feeds/5029949690396697473/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7654592095487633113&amp;postID=5029949690396697473' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/5029949690396697473'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/5029949690396697473'/><link rel='alternate' type='text/html' href='http://codingassistance.blogspot.com/2008/01/ssis-script-component-throws-object.html' title='SSIS Script Component throws &quot;Object reference not set to an instance of an object&quot;'/><author><name>JG</name><uri>http://www.blogger.com/profile/00738628010748308874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7654592095487633113.post-6564020506342834057</id><published>2007-12-27T16:04:00.001Z</published><updated>2008-02-19T11:13:59.571Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server'/><title type='text'>How to reset SQL Server identity column</title><content type='html'>Generally, to reset an identity column to value &lt;span style="font-style: italic;"&gt;n&lt;/span&gt; on table XYZ:&lt;br /&gt;DBCC CHECKIDENT('XYZ',RESEED,&lt;span style="font-style: italic;"&gt;n&lt;/span&gt;)&lt;br /&gt;&lt;br /&gt;So,  to reset an identity column to value 17 on table XYZ:&lt;br /&gt;DBCC CHECKIDENT('XYZ',RESEED,17)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7654592095487633113-6564020506342834057?l=codingassistance.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codingassistance.blogspot.com/feeds/6564020506342834057/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7654592095487633113&amp;postID=6564020506342834057' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/6564020506342834057'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/6564020506342834057'/><link rel='alternate' type='text/html' href='http://codingassistance.blogspot.com/2007/12/reset-sql-server-identity-column.html' title='How to reset SQL Server identity column'/><author><name>JG</name><uri>http://www.blogger.com/profile/00738628010748308874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7654592095487633113.post-8201268680835250385</id><published>2007-11-21T18:06:00.000Z</published><updated>2007-11-21T18:12:54.675Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='Business Objects'/><category scheme='http://www.blogger.com/atom/ns#' term='IIS'/><category scheme='http://www.blogger.com/atom/ns#' term='BO XI'/><title type='text'>The page cannot be found in Infoview</title><content type='html'>In Business Objects XI, you may get an error saying &lt;span style="font-style: italic;"&gt;The page cannot be found&lt;/span&gt; when trying to access InfoView or the Central Management Console. One cause for this problem is that, on Windows Server 2003, IIS 6.0 blocks .NET 2.o .aspx applications by default. To enable them, go to Administrative Tools -&gt; Internet Information Services (IIS) Manager, click the Web Service Extensions, select ASP .NET v2.0xxxx and click Allow.&lt;br /&gt;&lt;br /&gt;Detailed info on this operation:&lt;br /&gt;&lt;a href="http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/596ff388-bc4c-472f-b029-aea2b0418bea.mspx?mfr=true"&gt;http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/596ff388-bc4c-472f-b029-aea2b0418bea.mspx?mfr=true&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7654592095487633113-8201268680835250385?l=codingassistance.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codingassistance.blogspot.com/feeds/8201268680835250385/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7654592095487633113&amp;postID=8201268680835250385' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/8201268680835250385'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/8201268680835250385'/><link rel='alternate' type='text/html' href='http://codingassistance.blogspot.com/2007/11/page-cannot-be-found-in-infoview.html' title='The page cannot be found in Infoview'/><author><name>JG</name><uri>http://www.blogger.com/profile/00738628010748308874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7654592095487633113.post-7009860886724155728</id><published>2007-11-21T18:03:00.001Z</published><updated>2007-11-21T18:06:39.043Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='Business Objects'/><category scheme='http://www.blogger.com/atom/ns#' term='BO XI'/><title type='text'>[repo_proxy 13] SessionFacade::openSessionLogon with user info has failed</title><content type='html'>When trying to log on to InfoView on BusinessObjects XI, you may get this error because the CMS can't be contacted. This may be happen because of a firewall or traffic filtering on your network. The first reason is reasonably easy to solve: make sure there is no firewall blocking you in the path from the client to the BO server. If you suspect it's the latter, try putting &lt;span style="font-style: italic;"&gt;localhost&lt;/span&gt; on the System textbox.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7654592095487633113-7009860886724155728?l=codingassistance.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codingassistance.blogspot.com/feeds/7009860886724155728/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7654592095487633113&amp;postID=7009860886724155728' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/7009860886724155728'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/7009860886724155728'/><link rel='alternate' type='text/html' href='http://codingassistance.blogspot.com/2007/11/repoproxy-13-sessionfacadeopensessionlo.html' title='[repo_proxy 13] SessionFacade::openSessionLogon with user info has failed'/><author><name>JG</name><uri>http://www.blogger.com/profile/00738628010748308874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7654592095487633113.post-7476544759725897158</id><published>2007-11-01T15:34:00.000Z</published><updated>2007-11-01T17:08:49.475Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='SSIS'/><category scheme='http://www.blogger.com/atom/ns#' term='SSIS 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='Integration Services'/><title type='text'>Access and consume a Web Service from Integration Services</title><content type='html'>&lt;span style="font-size:100%;"&gt;&lt;span style="font-family:arial;"&gt;Sometimes you need to consume a Web Service that is specific enough for you not be able to use the default Web Service Task available on SSIS 2005. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;In this example I'm going to show how to consume a Web Service that returns a .NET object (a serialized DataSet, for example). For this, we'll have to use a Script Component that allows us to insert some custom code that is able to do what we need. The &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-family:arial;"&gt; Script Component will be part of a Data Flow acting as a Source that provides rows to Transformations down the pipeline.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Acessing a Web Service from a Script Component is pretty much similar to how we'd do it in a standard .NET application:&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;ol&gt;&lt;li&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-family:arial;"&gt;You need a proxy class (in the VB language) for the Web Service you want to consume. You can create it using the wsdl.exe application like this:&lt;/span&gt;&lt;br /&gt;&lt;span id="_ctl0_MainContent_PostFlatView"  style="font-family:arial;"&gt;&lt;span&gt;wsdl /language:VB http://yourserver/yourWebService?WSDL /out:yourProxyClass.vb&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:100%;"&gt;&lt;span id="_ctl0_MainContent_PostFlatView"  style="font-family:arial;"&gt;&lt;span&gt;Access the Script Component's code and, on the code window, go to the Project menu and select "Add Existing Item". The item you have to add is the proxy class you created previously (&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span id="_ctl0_MainContent_PostFlatView"  style="font-family:arial;"&gt;&lt;span&gt;yourProxyClass.vb, &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span id="_ctl0_MainContent_PostFlatView"  style="font-family:arial;"&gt;&lt;span&gt;in this example). Next, go to the Project menu, select "Add Reference" and add the&lt;span style="font-family:arial;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span id="_ctl0_MainContent_PostFlatView"  style="font-family:arial;"&gt;&lt;span&gt;System.Xml and System.Web.Services assemblies.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:100%;"&gt;&lt;span id="_ctl0_MainContent_PostFlatView"  style="font-family:arial;"&gt;&lt;span&gt;Now you have to write the code to acess the Web Service and output its results onto the outputs you defined for the Script Component.&lt;br /&gt;In this example, the Web Service defines a class called Export which has a method called getDataSet(String) that outputs is a serialized DataSet. The Script Component has one output, called Output0, with two columns (colOne and colTwo) defined as a String (DT_STR)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;blockquote  style="font-family:courier new;"&gt;&lt;span style="font-size:85%;"&gt;Public Class &lt;span style="font-weight: bold;"&gt;ScriptMain&lt;/span&gt;&lt;br /&gt;Inherits UserComponent&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Dim webServiceExport As Export&lt;br /&gt;Dim dsResults As DataSet&lt;br /&gt;&lt;br /&gt;'Prepare the required connections and initialize objects&lt;br /&gt;Public Overrides Sub &lt;span style="font-weight: bold;"&gt;AcquireConnections(&lt;/span&gt;ByVal Transaction As Object)&lt;br /&gt;MyBase.AcquireConnections(Transaction)&lt;br /&gt;&lt;br /&gt;webServiceExport = New Export()&lt;br /&gt;dsResults = Nothing&lt;br /&gt;&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;'Get the data from the WebService&lt;br /&gt;Public Overrides Sub &lt;span style="font-weight: bold;"&gt;PreExecute&lt;/span&gt;()&lt;br /&gt;MyBase.PreExecute()&lt;br /&gt;&lt;br /&gt;webServiceExport.Timeout = 3600&lt;br /&gt;dsResults = webServiceExport.getDataSet("test parameter string")&lt;br /&gt;&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;'Go through the received data and add it to the output rows&lt;br /&gt;Public Overrides Sub &lt;span style="font-weight: bold;"&gt;CreateNewOutputRows&lt;/span&gt;()&lt;br /&gt;&lt;br /&gt;Dim dtResults As New DataTable&lt;br /&gt;&lt;br /&gt;dtResults = dsResults.Tables(0)&lt;br /&gt;&lt;br /&gt;Output0Buffer.colOne = dtResults.Columns(0).ToString()&lt;br /&gt;Output0Buffer.colTwo = dtResults.Columns(1).ToString()&lt;br /&gt;&lt;br /&gt;Output0Buffer.AddRow()&lt;br /&gt;&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;End Class&lt;/span&gt;                                   &lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;              &lt;span style="font-size:100%;"&gt;&lt;span style="font-family:arial;"&gt;If you need some Web Services for testing you can search at http://www.webservicex.net/WS/default.aspx&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Detailed information links:&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;Wsdl.exe: &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;a href="http://msdn2.microsoft.com/en-us/library/7h3ystb6%28VS.80%29.aspx"&gt;http://msdn2.microsoft.com/en-us/library/7h3ystb6(VS.80).aspx&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;Referencing Assemblies in a script: &lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="font-size:100%;"&gt;&lt;a href="http://msdn2.microsoft.com/en-us/library/ms136007.aspx"&gt;http://msdn2.microsoft.com/en-us/library/ms136007.aspx&lt;/a&gt;&lt;br /&gt;Using the Script Component as a source: &lt;a href="http://msdn2.microsoft.com/en-us/library/ms136060.aspx"&gt;http://msdn2.microsoft.com/en-us/library/ms136060.aspx&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7654592095487633113-7476544759725897158?l=codingassistance.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codingassistance.blogspot.com/feeds/7476544759725897158/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7654592095487633113&amp;postID=7476544759725897158' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/7476544759725897158'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/7476544759725897158'/><link rel='alternate' type='text/html' href='http://codingassistance.blogspot.com/2007/11/access-and-consume-web-service-from.html' title='Access and consume a Web Service from Integration Services'/><author><name>JG</name><uri>http://www.blogger.com/profile/00738628010748308874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7654592095487633113.post-4725094744659043700</id><published>2007-10-25T11:47:00.000+01:00</published><updated>2007-10-25T12:02:48.657+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SSIS'/><category scheme='http://www.blogger.com/atom/ns#' term='SSIS 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='Integration Services'/><title type='text'>Convert Access' Memo to a VARCHAR string</title><content type='html'>The problem: the Memo data type in Access is a Unicode text stream (i.e. no fixed width) and the VARCHAR type is a non Unicode text string (fixed width). So, if you're transferring data from a Memo column on an Access file to a database column of the VARCHAR(n) type, you'll have to use a Data Conversion transformation to convert the Memo to String (DT_STR, which maps to VARCHAR) and when you do, Integration Services will throw the following error&lt;br /&gt;&lt;blockquote&gt;Conversion from DT_NTEXT to DT_STR is not supported&lt;/blockquote&gt;This means that you cannot directly convert a Unicode stream to a non Unicode string.&lt;br /&gt;What you can do in this situation is create a Data Conversion that converts the Memo column to DT_TEXT (non Unicode stream) and after that use another Data Conversion to convert that same column from DT_TEXT to DT_STR. Keep in mind that truncation may occur if the conversion to DT_STR doesn't reserve enough width on the column to fit the whole stream contents (i.e. if the stream has at most 500 characters you'll need to set up the Length of the column to 500 in the Data Conversion transformation)&lt;br /&gt;Another option could be using a Derived Column to perform both casts in a single transformation (haven't tried this solution).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7654592095487633113-4725094744659043700?l=codingassistance.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codingassistance.blogspot.com/feeds/4725094744659043700/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7654592095487633113&amp;postID=4725094744659043700' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/4725094744659043700'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/4725094744659043700'/><link rel='alternate' type='text/html' href='http://codingassistance.blogspot.com/2007/10/convert-access-memo-to-varchar-string.html' title='Convert Access&apos; Memo to a VARCHAR string'/><author><name>JG</name><uri>http://www.blogger.com/profile/00738628010748308874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7654592095487633113.post-7305083294683999924</id><published>2007-10-24T11:11:00.000+01:00</published><updated>2007-10-24T12:00:40.774+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SSIS'/><category scheme='http://www.blogger.com/atom/ns#' term='SSIS 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='Integration Services'/><title type='text'>Custom logging with Integration Services</title><content type='html'>Integration Services 2005 allows you to insert custom log entries from a Script Task by sending events of a specific type to your log provider. You can use something like this from within a script:&lt;br /&gt;&lt;span id="_ctl0_MainContent_PostFlatView"&gt;&lt;span&gt;&lt;blockquote&gt;Dts.Events.FireInformation(0, "CustomInfoHere", "This is a custom log entry thrown by a script task")&lt;/blockquote&gt;You can also use this technique to raise errors, warnings, progress information, etc...&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;If you need help on how to set up logging for a package see this: http://msdn2.microsoft.com/en-us/library/ms141727.aspx&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7654592095487633113-7305083294683999924?l=codingassistance.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codingassistance.blogspot.com/feeds/7305083294683999924/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7654592095487633113&amp;postID=7305083294683999924' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/7305083294683999924'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/7305083294683999924'/><link rel='alternate' type='text/html' href='http://codingassistance.blogspot.com/2007/10/custom-logging-with-integration.html' title='Custom logging with Integration Services'/><author><name>JG</name><uri>http://www.blogger.com/profile/00738628010748308874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7654592095487633113.post-5665102939351256013</id><published>2007-10-22T21:09:00.000+01:00</published><updated>2007-10-22T21:11:07.869+01:00</updated><title type='text'>Freeware encryption and compression</title><content type='html'>FreeSecurity is an easy to use freeware application that allows you to use AES encryption to secure your files and safeguard your privacy, also allowing file compression. It's developed in Java and requires only that your operating system has Java 1.4 or above installed, therefore being able to run in any operating system which provides the mentioned Java support.&lt;br /&gt;I developed it in 2005 and released it as a freeware application, you can get it here: &lt;a href="http://www.canudo.net/derelict/freesecurity/"&gt;http://www.canudo.net/derelict/freesecurity/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7654592095487633113-5665102939351256013?l=codingassistance.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.canudo.net/derelict/freesecurity/' title='Freeware encryption and compression'/><link rel='replies' type='application/atom+xml' href='http://codingassistance.blogspot.com/feeds/5665102939351256013/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7654592095487633113&amp;postID=5665102939351256013' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/5665102939351256013'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/5665102939351256013'/><link rel='alternate' type='text/html' href='http://codingassistance.blogspot.com/2007/10/freeware-encryption-and-compression.html' title='Freeware encryption and compression'/><author><name>JG</name><uri>http://www.blogger.com/profile/00738628010748308874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7654592095487633113.post-7124049320633526612</id><published>2007-10-22T21:06:00.000+01:00</published><updated>2007-10-22T21:08:55.138+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java'/><title type='text'>Convert MPC to MP3 and MPC to WAV</title><content type='html'>FreeMPC is a freeware, graphical and easy to use application for listening and converting MPC audio files. It can convert MPC to WAV and to MP3 (all bitrates) and you can also use it to play MPC files without having to convert them.&lt;br /&gt;I developed it in 2006 and released it as a freeware application, you can get it here: &lt;a href="http://www.canudo.net/derelict/freempc"&gt;http://www.canudo.net/derelict/freempc&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7654592095487633113-7124049320633526612?l=codingassistance.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.canudo.net/derelict/freempc/' title='Convert MPC to MP3 and MPC to WAV'/><link rel='replies' type='application/atom+xml' href='http://codingassistance.blogspot.com/feeds/7124049320633526612/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7654592095487633113&amp;postID=7124049320633526612' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/7124049320633526612'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/7124049320633526612'/><link rel='alternate' type='text/html' href='http://codingassistance.blogspot.com/2007/10/convert-mpc-to-mp3-and-mpc-to-wav.html' title='Convert MPC to MP3 and MPC to WAV'/><author><name>JG</name><uri>http://www.blogger.com/profile/00738628010748308874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7654592095487633113.post-6111122065464229589</id><published>2007-10-22T14:08:00.000+01:00</published><updated>2007-10-22T14:14:22.966+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SSIS'/><category scheme='http://www.blogger.com/atom/ns#' term='SSIS 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='Integration Services'/><title type='text'>Execute SQL Task (SSIS) with parameters</title><content type='html'>On Integration Services 2005, when using a query with parameters in the Execute SQL Task, mind that in the Parameter Name field the counting starts at 0 (if, at least, the connection type is OLE DB). Therefore, if you are using multiple parameters the first Parameter Name must be 0, the second must be 1, and so on.&lt;br /&gt;Otherwise, you'll get this error:&lt;br /&gt;[Execute SQL Task] Error: Executing the query "DELETE FROM myTable WHERE key = ?" failed with the following error: "Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.&lt;br /&gt;&lt;br /&gt;Check here for more information: http://msdn2.microsoft.com/en-us/library/ms187685.aspx&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7654592095487633113-6111122065464229589?l=codingassistance.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codingassistance.blogspot.com/feeds/6111122065464229589/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7654592095487633113&amp;postID=6111122065464229589' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/6111122065464229589'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/6111122065464229589'/><link rel='alternate' type='text/html' href='http://codingassistance.blogspot.com/2007/10/execute-sql-task-ssis-with-parameters.html' title='Execute SQL Task (SSIS) with parameters'/><author><name>JG</name><uri>http://www.blogger.com/profile/00738628010748308874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7654592095487633113.post-6362380601912210728</id><published>2007-10-16T21:31:00.000+01:00</published><updated>2007-10-16T21:32:36.129+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='IIS'/><category scheme='http://www.blogger.com/atom/ns#' term='Windows'/><title type='text'>Lots of 401.x errors on the IIS log</title><content type='html'>Substatus=2 and win32-status=2148074254 along with Substatus=1 and win32-status=0 means the packet exchange corresponds to normal NTLM authentication (Windows Integrated Authentication). If there are a lot of these, there is probably some configuration causing connections to close too soon.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7654592095487633113-6362380601912210728?l=codingassistance.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codingassistance.blogspot.com/feeds/6362380601912210728/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7654592095487633113&amp;postID=6362380601912210728' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/6362380601912210728'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/6362380601912210728'/><link rel='alternate' type='text/html' href='http://codingassistance.blogspot.com/2007/10/lots-of-401x-errors-on-iis-log.html' title='Lots of 401.x errors on the IIS log'/><author><name>JG</name><uri>http://www.blogger.com/profile/00738628010748308874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7654592095487633113.post-4966674742772388585</id><published>2007-10-16T21:28:00.000+01:00</published><updated>2007-10-16T21:31:06.907+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Excel 2000'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server 2005'/><title type='text'>Excel says 'user does not have permissions to run DBCC Traceon'</title><content type='html'>This is due to an incompatibility between Excel 2000 and SQL Server 2005. As a workaround, try this: press the Options button and replace the text on the "Application Name" textbox on the "SQL Server Login" panel with a single white space&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7654592095487633113-4966674742772388585?l=codingassistance.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codingassistance.blogspot.com/feeds/4966674742772388585/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7654592095487633113&amp;postID=4966674742772388585' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/4966674742772388585'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/4966674742772388585'/><link rel='alternate' type='text/html' href='http://codingassistance.blogspot.com/2007/10/excel-says-user-does-not-have.html' title='Excel says &apos;user does not have permissions to run DBCC Traceon&apos;'/><author><name>JG</name><uri>http://www.blogger.com/profile/00738628010748308874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7654592095487633113.post-986179677092880704</id><published>2007-10-16T20:47:00.000+01:00</published><updated>2007-10-16T20:48:31.849+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SSRS'/><category scheme='http://www.blogger.com/atom/ns#' term='SSRS 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='Reporting Services 2005'/><title type='text'>Insert a newline in a Reporting Services' textbox</title><content type='html'>Use an Expression such as this one:&lt;br /&gt;="Some text" &amp;amp; chr(10) &amp;amp; "more text, but on the next line"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7654592095487633113-986179677092880704?l=codingassistance.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codingassistance.blogspot.com/feeds/986179677092880704/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7654592095487633113&amp;postID=986179677092880704' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/986179677092880704'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/986179677092880704'/><link rel='alternate' type='text/html' href='http://codingassistance.blogspot.com/2007/10/insert-newline-in-reporting-services.html' title='Insert a newline in a Reporting Services&apos; textbox'/><author><name>JG</name><uri>http://www.blogger.com/profile/00738628010748308874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7654592095487633113.post-7822856181454497068</id><published>2007-10-16T20:45:00.001+01:00</published><updated>2010-10-12T14:25:48.448+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SSIS'/><category scheme='http://www.blogger.com/atom/ns#' term='SSIS 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='Integration Services'/><title type='text'>Changing system culture programatically in C# .NET</title><content type='html'>This is useful when handling dates in US or other format in C# .NET:&lt;br /&gt;&lt;br /&gt;Thread.CurrentThread.CurrentCulture = New CultureInfo("en-US", False)&lt;br /&gt;Row.date = MonthName(Row.datahorainicio.Month(), True) &amp;amp; " " &amp;amp; Row.datahorainicio.Day() &amp;amp; " " &amp;amp; Row.datahorainicio.Year()&lt;br /&gt;&lt;br /&gt;'reset the culture to the system's default&lt;br /&gt;Thread.CurrentThread.CurrentCulture = New CultureInfo("pt-PT", False)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7654592095487633113-7822856181454497068?l=codingassistance.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codingassistance.blogspot.com/feeds/7822856181454497068/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7654592095487633113&amp;postID=7822856181454497068' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/7822856181454497068'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/7822856181454497068'/><link rel='alternate' type='text/html' href='http://codingassistance.blogspot.com/2007/10/changing-system-culture-programatically.html' title='Changing system culture programatically in C# .NET'/><author><name>JG</name><uri>http://www.blogger.com/profile/00738628010748308874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7654592095487633113.post-7932519620684578672</id><published>2007-10-16T20:44:00.000+01:00</published><updated>2007-10-16T20:45:30.597+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Transact-SQL'/><category scheme='http://www.blogger.com/atom/ns#' term='T-SQL'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server'/><title type='text'>Get the datetime representing the first day of a date</title><content type='html'>This is pretty useful when you need to get data from the past n months:&lt;br /&gt;&lt;br /&gt;SELECT CAST(((convert(varchar(7),getdate(),121))+'-01') AS datetime)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7654592095487633113-7932519620684578672?l=codingassistance.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codingassistance.blogspot.com/feeds/7932519620684578672/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7654592095487633113&amp;postID=7932519620684578672' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/7932519620684578672'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/7932519620684578672'/><link rel='alternate' type='text/html' href='http://codingassistance.blogspot.com/2007/10/get-datetime-representing-first-day-of.html' title='Get the datetime representing the first day of a date'/><author><name>JG</name><uri>http://www.blogger.com/profile/00738628010748308874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7654592095487633113.post-6724493237845284138</id><published>2007-10-16T20:42:00.000+01:00</published><updated>2007-10-16T20:44:21.621+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Transact-SQL'/><category scheme='http://www.blogger.com/atom/ns#' term='T-SQL'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server'/><title type='text'>Get the date portion of a datetime</title><content type='html'>SELECT CONVERT(varchar(11), myDate, 102)&lt;br /&gt;You can then use REPLACE() to substitute the . with -&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7654592095487633113-6724493237845284138?l=codingassistance.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codingassistance.blogspot.com/feeds/6724493237845284138/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7654592095487633113&amp;postID=6724493237845284138' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/6724493237845284138'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/6724493237845284138'/><link rel='alternate' type='text/html' href='http://codingassistance.blogspot.com/2007/10/get-date-portion-of-datetime.html' title='Get the date portion of a datetime'/><author><name>JG</name><uri>http://www.blogger.com/profile/00738628010748308874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7654592095487633113.post-8055007086888265910</id><published>2007-10-16T20:40:00.002+01:00</published><updated>2007-10-22T21:19:54.712+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Miscellaneous'/><title type='text'>Clear Visual Studio 2005 Recent Projects list</title><content type='html'>Visual Studio's MRU list is located in the Registry under:&lt;br /&gt;HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0\ProjectMRUList&lt;br /&gt;&lt;br /&gt;If you need help on editing the Registry &lt;a href="http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/regedit_overview.mspx?mfr=true"&gt;see this article&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7654592095487633113-8055007086888265910?l=codingassistance.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codingassistance.blogspot.com/feeds/8055007086888265910/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7654592095487633113&amp;postID=8055007086888265910' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/8055007086888265910'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/8055007086888265910'/><link rel='alternate' type='text/html' href='http://codingassistance.blogspot.com/2007/10/clear-visual-studio-2005-recent.html' title='Clear Visual Studio 2005 Recent Projects list'/><author><name>JG</name><uri>http://www.blogger.com/profile/00738628010748308874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7654592095487633113.post-2526898595965751207</id><published>2007-10-16T20:40:00.001+01:00</published><updated>2007-10-16T21:36:00.069+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP .NET'/><title type='text'>FindControl on a MasterPage</title><content type='html'>When you need to use FindControl() on the Controls placed on a page inside a MasterPages layout, first you have to retrieve the ContentPlaceHolder that holds the page’s elements ( Master.FindControl(“myContentPlaceHolder”) ) and use FindControl on the ContentPlaceHolder.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7654592095487633113-2526898595965751207?l=codingassistance.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codingassistance.blogspot.com/feeds/2526898595965751207/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7654592095487633113&amp;postID=2526898595965751207' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/2526898595965751207'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/2526898595965751207'/><link rel='alternate' type='text/html' href='http://codingassistance.blogspot.com/2007/10/findcontrol-on-masterpage.html' title='FindControl on a MasterPage'/><author><name>JG</name><uri>http://www.blogger.com/profile/00738628010748308874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7654592095487633113.post-5282274601898611205</id><published>2007-10-16T20:38:00.000+01:00</published><updated>2007-10-16T21:35:40.264+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP .NET'/><title type='text'>A quick intro to MasterPages</title><content type='html'>MasterPages are a new feature of ASP .NET 2.0 and simplify the creation of a site-wide template with editable regions. In some applications I developed, the layout was previously created and styled using CSS; then, a MasterPage was created to centralize the site-wide page layout and make it easier to create a consistent and updateable look and feel across all pages, as they will appear within a ContentPlaceHolder defined on the MasterPage. Therefore, for the overall design to be applied to all other pages on the Presentation Layer it suffices to select their Master Page.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7654592095487633113-5282274601898611205?l=codingassistance.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codingassistance.blogspot.com/feeds/5282274601898611205/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7654592095487633113&amp;postID=5282274601898611205' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/5282274601898611205'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/5282274601898611205'/><link rel='alternate' type='text/html' href='http://codingassistance.blogspot.com/2007/10/quick-intro-to-masterpages.html' title='A quick intro to MasterPages'/><author><name>JG</name><uri>http://www.blogger.com/profile/00738628010748308874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7654592095487633113.post-7337232234949335296</id><published>2007-10-16T20:36:00.000+01:00</published><updated>2007-10-16T21:34:51.722+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='IIS'/><title type='text'>IIS Server Application Unavailable</title><content type='html'>Ever got that error when running/debugging an ASP .NET application?&lt;br /&gt;Try one of these methods:&lt;br /&gt;- Check if ASP .NET 2.0 is correctly installed (aspnet_regiis -lv)&lt;br /&gt;- See if the aspnet user has proper (read &amp;amp; execute) permissions over the application's directory - if he hasn't, &lt;span style="font-weight: bold;"&gt;the error won't be logged&lt;/span&gt; to the Event Log.&lt;br /&gt;- See if the application pool for the virtual directory is correct (this problem produces a log entry identifiable in the Event Viewer)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7654592095487633113-7337232234949335296?l=codingassistance.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codingassistance.blogspot.com/feeds/7337232234949335296/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7654592095487633113&amp;postID=7337232234949335296' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/7337232234949335296'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/7337232234949335296'/><link rel='alternate' type='text/html' href='http://codingassistance.blogspot.com/2007/10/iis-server-application-unavailable.html' title='IIS Server Application Unavailable'/><author><name>JG</name><uri>http://www.blogger.com/profile/00738628010748308874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7654592095487633113.post-5312386858696025490</id><published>2007-10-16T20:32:00.000+01:00</published><updated>2007-10-22T21:13:44.063+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server 2005'/><title type='text'>Fixing orphan logins on SQL Server 2005</title><content type='html'>Ever restored a backup that didn't  include database logins, winding up with a lot of orphan logins? Here's a way out:&lt;br /&gt;&lt;br /&gt;To set "targetUserNewLogin" as the new login for user "targetUser", run the following stored procedure (you can leave the first parameter unchanged):&lt;br /&gt;sp_change_users_login 'update_one', 'targetUser','targetUserNewLogin'&lt;br /&gt;&lt;br /&gt;If you need to get the list of users without logins:&lt;br /&gt;SELECT * FROM sysusers&lt;br /&gt;WHERE issqluser = 1 AND (sid IS NOT NULL AND sid &lt;&gt; 0x0)&lt;br /&gt;AND suser_sname(sid) IS NULL&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;If you need to delete schema ownership:&lt;br /&gt;&lt;br /&gt;SELECT s.* FROM sys.schemas AS s&lt;br /&gt;      INNER JOIN sys.database_principals AS dp ON dp.principal_id = s.principal_id&lt;br /&gt;WHERE dp.[name] = 'someUser';&lt;br /&gt;&lt;br /&gt;SELECT s.[name] as schemaname, o.[name] AS objectname, o.type_desc&lt;br /&gt;  FROM sys.objects AS o&lt;br /&gt;      INNER JOIN sys.schemas AS s ON s.schema_id = o.schema_id&lt;br /&gt;      INNER JOIN sys.database_principals AS dp ON dp.principal_id =s.principal_id&lt;br /&gt;WHERE dp.[name] = 'someUser'&lt;br /&gt;ORDER BY s.[name], o.type_desc, o.[name];&lt;br /&gt;&lt;br /&gt;DROP SCHEMA someUser;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7654592095487633113-5312386858696025490?l=codingassistance.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codingassistance.blogspot.com/feeds/5312386858696025490/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7654592095487633113&amp;postID=5312386858696025490' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/5312386858696025490'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/5312386858696025490'/><link rel='alternate' type='text/html' href='http://codingassistance.blogspot.com/2007/10/fixing-orphan-logins-on-sql-server-2005.html' title='Fixing orphan logins on SQL Server 2005'/><author><name>JG</name><uri>http://www.blogger.com/profile/00738628010748308874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7654592095487633113.post-6976632633026434414</id><published>2007-10-16T20:31:00.001+01:00</published><updated>2007-10-16T21:34:06.944+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP .NET'/><title type='text'>Can’t enable Design or Edit mode for a WebPart</title><content type='html'>If you can’t enable Design or Edit mode for a WebPart, check if IIS is allowing anonymous logons for the virtual directory. It shouldn't be, because the username needs to be stored in the aspnetdb database so personalization settings can se saved.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7654592095487633113-6976632633026434414?l=codingassistance.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codingassistance.blogspot.com/feeds/6976632633026434414/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7654592095487633113&amp;postID=6976632633026434414' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/6976632633026434414'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/6976632633026434414'/><link rel='alternate' type='text/html' href='http://codingassistance.blogspot.com/2007/10/cant-enable-design-or-edit-mode-for.html' title='Can’t enable Design or Edit mode for a WebPart'/><author><name>JG</name><uri>http://www.blogger.com/profile/00738628010748308874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7654592095487633113.post-4398565366489376945</id><published>2007-10-16T20:30:00.001+01:00</published><updated>2007-10-16T21:33:40.413+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><title type='text'>An intro to ASP .NET WebParts</title><content type='html'>WebParts are part of the Presentation Layer and empower users with the capability of customizing the contents of the Web page being visualized. A WebPart is a control whose positioning, content and design can be customized effortlessly by the user, creating a richer and easier interaction. A WebPart can be in one of five modes: Browse, for standard navigation; Design, which allows users to minimize and drag WebParts between zones; Edit, on which an EditorZone control is displayed allowing the user to add WebParts properties at runtime; Catalog, on which a CatalogZone control is displayed so that the user can use it to add new Web Parts to the page while navigating; and Connect (not explored yet).  The Sentry Customer Interface has its WebParts in Design mode, allowing only their minimization and customization of their position.&lt;br /&gt;WebParts use a WebPartZone as a container and can be moved within their container (to change their position) and between other WebPartZones that exist on the Web page. Almost all controls can be displayed from within a WebPart, using the GenericWebPart control as a wrapper.&lt;br /&gt;The WebPart framework requires a database, local or located on a server, to enable persistence of the customization options. This database is tipically "aspnetdb" and can be created by running the "aspnet_regsql" command. The customization settings are kept in a per-user basis (with the current logged on user by default).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7654592095487633113-4398565366489376945?l=codingassistance.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codingassistance.blogspot.com/feeds/4398565366489376945/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7654592095487633113&amp;postID=4398565366489376945' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/4398565366489376945'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/4398565366489376945'/><link rel='alternate' type='text/html' href='http://codingassistance.blogspot.com/2007/10/intro-to-asp-net-webparts.html' title='An intro to ASP .NET WebParts'/><author><name>JG</name><uri>http://www.blogger.com/profile/00738628010748308874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7654592095487633113.post-7697362213070965955</id><published>2007-10-16T20:28:00.000+01:00</published><updated>2007-10-16T20:29:47.393+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><title type='text'>Backing up specific SharePoint web sites</title><content type='html'>With Microsoft Windows SharePoint Services, you can back up and restore site collections hosted on your server. You can use this backup and restore method to replace a site collection that has become corrupted, or that contains changes that need to be rolled back (for example, if you need to recover a list or a list item that was deleted accidentally). This backup and restore method is not dependent on the type of database server that you are using.&lt;br /&gt;When you back up a site collection, you back up the content database for the site collection, including all pages in the site, files in document libraries or lists, security and permission settings, and feature settings. The backup process creates a single file that contains all of this data. You can then restore your site collection to either the same location, or to a new location. The backup file for a site includes any subsites of the site collection.&lt;br /&gt;&lt;br /&gt;To backup/restore a site, you use the backup/restore operation with the Stsadm.exe command-line tool. Therefore, you can automate the backup process by using a batch file, a script, or the Scheduled Tasks item on Microsoft Windows Control Panel.&lt;br /&gt;&lt;br /&gt;Example of backup: stsadm -o backup -urlhttp://server/site -filename backupFile.dat -overwrite&lt;br /&gt;Example of restore: stsadm -o restore -urlhttp://server/site -filename backupFile.dat&lt;br /&gt;&lt;br /&gt;Example of restore: stsadm -o restore&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7654592095487633113-7697362213070965955?l=codingassistance.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codingassistance.blogspot.com/feeds/7697362213070965955/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7654592095487633113&amp;postID=7697362213070965955' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/7697362213070965955'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/7697362213070965955'/><link rel='alternate' type='text/html' href='http://codingassistance.blogspot.com/2007/10/backing-up-specific-sharepoint-web.html' title='Backing up specific SharePoint web sites'/><author><name>JG</name><uri>http://www.blogger.com/profile/00738628010748308874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7654592095487633113.post-6887195339001914612</id><published>2007-10-16T20:23:00.000+01:00</published><updated>2007-10-16T20:28:34.655+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JavaScript'/><category scheme='http://www.blogger.com/atom/ns#' term='HTML'/><title type='text'>Grayscale an image programatically</title><content type='html'>This code allows you to dinamically apply a grayscale filter to an image contained in a div:&lt;br /&gt;&lt;br /&gt;&lt;div style="height:50; width:80; filter:progid:DXImageTransform.Microsoft.BasicImage(grayScale=1)" align="center"&gt;&lt;br /&gt;&lt;img src="..." style="height:50; width:80;" /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;You have to either set the div and img height and width or set its position to absolute, or the effect won't work.&lt;br /&gt;This seems not to work in ASP .NET pages, although it works perfectly on plain HTML.&lt;br /&gt;&lt;br /&gt;There are more filters that you can use like the above, here's a list: http://msdn2.microsoft.com/en-us/library/ms532853.aspx&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7654592095487633113-6887195339001914612?l=codingassistance.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codingassistance.blogspot.com/feeds/6887195339001914612/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7654592095487633113&amp;postID=6887195339001914612' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/6887195339001914612'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/6887195339001914612'/><link rel='alternate' type='text/html' href='http://codingassistance.blogspot.com/2007/10/grayscale-image-programatically.html' title='Grayscale an image programatically'/><author><name>JG</name><uri>http://www.blogger.com/profile/00738628010748308874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7654592095487633113.post-7831389015960645084</id><published>2007-10-15T16:51:00.000+01:00</published><updated>2007-10-15T16:58:53.625+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='BO'/><category scheme='http://www.blogger.com/atom/ns#' term='Business Objects'/><category scheme='http://www.blogger.com/atom/ns#' term='BO XI'/><title type='text'>Secured connection unavailable while editing a Universe</title><content type='html'>When using Business Objects Designer to create a Universe you can only export it to the CMS database if it has a Secured connection. If you're trying to change the connection type and the "Secured" option isn't available, it may be a matter of user rights: you need permissions to create a Universe in order to change the connection type.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7654592095487633113-7831389015960645084?l=codingassistance.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codingassistance.blogspot.com/feeds/7831389015960645084/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7654592095487633113&amp;postID=7831389015960645084' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/7831389015960645084'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/7831389015960645084'/><link rel='alternate' type='text/html' href='http://codingassistance.blogspot.com/2007/10/secured-connection-unavailable-while.html' title='Secured connection unavailable while editing a Universe'/><author><name>JG</name><uri>http://www.blogger.com/profile/00738628010748308874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7654592095487633113.post-4591798283680084276</id><published>2007-10-15T16:29:00.000+01:00</published><updated>2007-10-15T16:35:48.690+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SSIS'/><category scheme='http://www.blogger.com/atom/ns#' term='SSIS 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='Integration Services'/><title type='text'>Multiple-step OLE DB operation generated errors</title><content type='html'>When running an Execute SQL Task on SSIS 2005 you get the following error:&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-family:times new roman;"&gt;Error: Executing the query "your SQL code here&lt;your&gt;" failed with the following error: "Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.&lt;/your&gt;&lt;/span&gt;&lt;/blockquote&gt;The last time I ran into this error it turned out that I had (yes, it was copy/paste ;D) some comments in the middle of the T-SQL code - deleting the comments got it working, hope this method helps you.&lt;span style="font-family:times new roman;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7654592095487633113-4591798283680084276?l=codingassistance.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codingassistance.blogspot.com/feeds/4591798283680084276/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7654592095487633113&amp;postID=4591798283680084276' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/4591798283680084276'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7654592095487633113/posts/default/4591798283680084276'/><link rel='alternate' type='text/html' href='http://codingassistance.blogspot.com/2007/10/multiple-step-ole-db-operation.html' title='Multiple-step OLE DB operation generated errors'/><author><name>JG</name><uri>http://www.blogger.com/profile/00738628010748308874</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
