<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:copyright="http://blogs.law.harvard.edu/tech/rss" xmlns:image="http://purl.org/rss/1.0/modules/image/">
    <channel>
        <title>[ B1zT@Lk ]</title>
        <link>http://weblogs.sqlteam.com/randyp/Default.aspx</link>
        <description>C# | BizTalk </description>
        <language>en-US</language>
        <copyright>Aldrich</copyright>
        <generator>Subtext Version 2.5.1.0</generator>
        <image>
            <title>[ B1zT@Lk ]</title>
            <url>http://weblogs.sqlteam.com/images/RSS2Image.gif</url>
            <link>http://weblogs.sqlteam.com/randyp/Default.aspx</link>
            <width>77</width>
            <height>60</height>
        </image>
        <item>
            <title>SQL MDS - Updating the Name attribute of member using Staging Table</title>
            <category>Microsoft Master Data Management - MDM</category>
            <link>http://weblogs.sqlteam.com/randyp/archive/2010/03/11/61117.aspx</link>
            <description>&lt;p&gt;Creating member is usually done by populating the Member Staging Table (tblStgMember), during this process you assign a value for member code and member name. Now if you want to update the member name attribute you can do this by adding record in Attribute staging table (tblStgMemberAttribute) with Attribute Name = "Name". If you try populating the tblStgMember table it will say that the member code already exists.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;font face="Courier New"&gt;INSERT INTO mdm.tblStgMemberAttribute (ModelName, EntityName, MemberType_ID, MemberCode, AttributeName, AttributeValue) VALUES&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Courier New"&gt;(N'Product', N'Product', 1, N'BK-M101', N'Name',N'Updated Member Name Description')&lt;/font&gt;&lt;/p&gt;&lt;img src="http://weblogs.sqlteam.com/randyp/aggbug/61117.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Randy Aldrich Paulo</dc:creator>
            <guid>http://weblogs.sqlteam.com/randyp/archive/2010/03/11/61117.aspx</guid>
            <pubDate>Thu, 11 Mar 2010 08:20:40 GMT</pubDate>
            <comments>http://weblogs.sqlteam.com/randyp/archive/2010/03/11/61117.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://weblogs.sqlteam.com/randyp/comments/commentRss/61117.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Uploading documents to WSS (Windows Sharepoint Services) using SSIS</title>
            <link>http://weblogs.sqlteam.com/randyp/archive/2010/02/16/61102.aspx</link>
            <description>&lt;p&gt;Recently I was tasked to create an SSIS application that will query a database, split the results with certain criteria and create CSV file for every result and upload the file to a Sharepoint Document Library site. I've search the web and &lt;strong&gt;compiled&lt;/strong&gt; the steps I've taken to build the solution.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Summary:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;A) Create a proxy class of WSS Copy.asmx.&lt;/p&gt;
&lt;p&gt;B) Create a wrapper class for the proxy class and add a mechanism to check if the file is existing and delete method.&lt;/p&gt;
&lt;p&gt;C) Create an SSIS and call the wrapper class to transfer the files.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;A) Creating Proxy Class&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;1) Go to Visual Studio Command Prompt type wsdl &lt;a href="http://[sharepoint site]/_vti_bin/Copy.asmx"&gt;http://[sharepoint site]/_vti_bin/Copy.asmx&lt;/a&gt; this will generate the proxy class (Copy.cs) that will be added to the solution.&lt;/p&gt;
&lt;p&gt;2) Add Copy.cs to solution and create another constructor for Copy() that will accept additional parameters url, userName, password and domain.&lt;/p&gt;
&lt;p&gt;  &lt;/p&gt;
&lt;table border="1" cellspacing="0" summary="" cellpadding="0" width="784" height="23"&gt;
    &lt;tbody&gt;
        &lt;tr&gt;
            &lt;td&gt;&lt;font size="2"&gt;&lt;/font&gt;
            &lt;p&gt;public Copy(string url, string userName, string password, string domain)&lt;/p&gt;
            &lt;p&gt;{&lt;/p&gt;
            &lt;p&gt;this.Url = url;&lt;/p&gt;
            &lt;p&gt;this.Credentials = new System.Net.NetworkCredential(userName, password, domain); &lt;/p&gt;
            &lt;p&gt;}&lt;/p&gt;
            &lt;/td&gt;
        &lt;/tr&gt;
    &lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;3) Add a namespace. &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;strong&gt; B) Wrapper Class&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Create a C# new library that references the Proxy Class. &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img width="1077" height="454" alt="" src="/images/weblogs_sqlteam_com/randyp/Copy.PNG" /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt; &lt;img width="867" height="522" alt="" src="/images/weblogs_sqlteam_com/randyp/Check.PNG" /&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;img alt="" src="/images/weblogs_sqlteam_com/randyp/Delete.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;C) Create SSIS&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;SSIS solution is composed of:&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;1) Execute SQL Task, returns a single column rows containing the criteria.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img border="1" width="1156" height="545" alt="" src="/images/weblogs_sqlteam_com/randyp/SQLTask.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;2) Foreach Loop Container - loops per result from query (SQL Task) and creates a CSV file on a certain folder.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img border="1" width="1157" height="544" alt="" src="/images/weblogs_sqlteam_com/randyp/ForeachLoopEditor.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;3) Script Task - calls the wrapper class to upload CSV files located on a certain folder to targer WSS Document Library&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note: I've created another overload of CopyFiles that accepts a Directory Info instead of file location that loops thru the contents of the folder.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img width="1157" height="558" alt="" src="/images/weblogs_sqlteam_com/randyp/WSSScriptCode.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Designer View&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img border="1" width="467" height="441" alt="" src="/images/weblogs_sqlteam_com/randyp/SSISFlow.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Variable View&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img width="755" height="266" alt="" src="/images/weblogs_sqlteam_com/randyp/Variables.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;&lt;img src="http://weblogs.sqlteam.com/randyp/aggbug/61102.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Randy Aldrich Paulo</dc:creator>
            <guid>http://weblogs.sqlteam.com/randyp/archive/2010/02/16/61102.aspx</guid>
            <pubDate>Tue, 16 Feb 2010 09:33:09 GMT</pubDate>
            <comments>http://weblogs.sqlteam.com/randyp/archive/2010/02/16/61102.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://weblogs.sqlteam.com/randyp/comments/commentRss/61102.aspx</wfw:commentRss>
        </item>
        <item>
            <title>WCF-SQL Adapter MSDTC / Identity Insert Issue</title>
            <category>Biztalk (tungkol sa Biztalk)</category>
            <category>Microsoft SQL Server</category>
            <link>http://weblogs.sqlteam.com/randyp/archive/2009/07/03/60948.aspx</link>
            <description>&lt;p&gt;I was working on a Biztalk integration project that perform a CRUD operation using old SQL adapter (the new one is available via Microsoft Adapter Pack 2.0), everything works fine on the development environment but when we've tried to deploy it to test environment which have the same structure with the production server we stumble again on MSDTC issues. &lt;/p&gt;
&lt;p&gt;To cut the story short it was too complicated and too many settings (firewall, NETBIOS etc) needs to be change since the database server is located on DMZ. The next day while I'm configuring the mySAP adapter, I found out that license has expired, since we've downloaded the trial version of BizTalk adapter pack 1.0. So I have to look for another setup, it so happen that for some reason I can't find the 1.0 version that's why I've installed the Adapter pack 2.0. I was a little bit surprise to see that there's a new SQL Adapter included. So I've installed it and give it a try and it works fine.&lt;/p&gt;
&lt;p&gt;Two important sql binding settings that needs to be set are:&lt;/p&gt;
&lt;p&gt;1) useAmbientTransaction = false, to solve &lt;strong&gt;MSDTC issue.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;2) allowIdentityInsert = true, if you're trying to add rows to a table that has &lt;strong&gt;identity column.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;1) &lt;img height="580" alt="" width="420" src="/images/weblogs_sqlteam_com/randyp/wcfsql.PNG" /&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;&lt;img src="http://weblogs.sqlteam.com/randyp/aggbug/60948.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Randy Aldrich Paulo</dc:creator>
            <guid>http://weblogs.sqlteam.com/randyp/archive/2009/07/03/60948.aspx</guid>
            <pubDate>Fri, 03 Jul 2009 08:58:25 GMT</pubDate>
            <comments>http://weblogs.sqlteam.com/randyp/archive/2009/07/03/60948.aspx#feedback</comments>
            <wfw:commentRss>http://weblogs.sqlteam.com/randyp/comments/commentRss/60948.aspx</wfw:commentRss>
        </item>
        <item>
            <title>SSIS - “OLE DB provider ‘STREAM’ for linked server ‘(null)’ returned invalid data for column ‘[!BulkInsert].column_name’."</title>
            <category>Microsoft SQL Server</category>
            <link>http://weblogs.sqlteam.com/randyp/archive/2009/03/06/60865.aspx</link>
            <description>&lt;p&gt;I've been trying all day to solve the problem with export of data using SSIS and keep encountering this error: &lt;font face="Arial"&gt;"OLE DB provider 'STREAM' for linked server '(null)' returned invalid data for column '[!BulkInsert].{column_name}'. &lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Arial"&gt;It seems that data in that column is invalid so I've tried to add validation to my source OLEDB source. I've created a dataflow to filter all records that have bad data and redirect it to a file. To do this in the query of my source OLEDB I've add the following condition: &lt;font face="Arial"&gt;WHERE isnumeric(convert(varchar(250), coalesce([{column_name}],0))) = 0 then put the results in the file IDs and etc, but I removed the {column_name} to prevent errors.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;I now have the IDs of bad data and will try to some fixes before do the import.&lt;/p&gt;&lt;img src="http://weblogs.sqlteam.com/randyp/aggbug/60865.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Randy Aldrich Paulo</dc:creator>
            <guid>http://weblogs.sqlteam.com/randyp/archive/2009/03/06/60865.aspx</guid>
            <pubDate>Fri, 06 Mar 2009 10:24:20 GMT</pubDate>
            <comments>http://weblogs.sqlteam.com/randyp/archive/2009/03/06/60865.aspx#feedback</comments>
            <slash:comments>2</slash:comments>
            <wfw:commentRss>http://weblogs.sqlteam.com/randyp/comments/commentRss/60865.aspx</wfw:commentRss>
        </item>
        <item>
            <title>SQL 2005 Configuring SQL Job to send email notification if it failed.</title>
            <category>Microsoft SQL Server</category>
            <link>http://weblogs.sqlteam.com/randyp/archive/2009/03/04/60863.aspx</link>
            <description>&lt;div&gt;This are the simple steps to enable it.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;1) Run SQL Server Surface Area Configuration - &amp;gt; Surface Area Configuration for features -&amp;gt; &lt;/div&gt;
&lt;div&gt;    Select Database Mail - &amp;gt; Check Enable Database mail stored procedures.&lt;/div&gt;
&lt;div&gt;2) Open SQL Management Studio - &amp;gt; Management - &amp;gt; Database mail - &amp;gt; Configure SMTP Settings.&lt;/div&gt;
&lt;div&gt;3) Go to SQL Server Agent - &amp;gt; Operators - &amp;gt; Create New Operator&lt;/div&gt;
&lt;div&gt;4) Go to SQL Job - &amp;gt; In the Notifications, Check email and select the Operator. You can either&lt;/div&gt;
&lt;div&gt;select  the option to send notification if job fails / succeeds/ completed.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Lastly, don't forget to restart the SQL Agent.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;&lt;img src="http://weblogs.sqlteam.com/randyp/aggbug/60863.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Randy Aldrich Paulo</dc:creator>
            <guid>http://weblogs.sqlteam.com/randyp/archive/2009/03/04/60863.aspx</guid>
            <pubDate>Wed, 04 Mar 2009 15:24:19 GMT</pubDate>
            <comments>http://weblogs.sqlteam.com/randyp/archive/2009/03/04/60863.aspx#feedback</comments>
            <slash:comments>3</slash:comments>
            <wfw:commentRss>http://weblogs.sqlteam.com/randyp/comments/commentRss/60863.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Installing Master Data Management on Windows x64</title>
            <category>Microsoft Master Data Management - MDM</category>
            <link>http://weblogs.sqlteam.com/randyp/archive/2009/02/24/60852.aspx</link>
            <description>&lt;p&gt;I've tried to installed it on Windows x64 machine and based on documentation it's pretty straight forward install. But upon running the site I'm getting an error which is &lt;strong&gt;W3SVC-WP could not load ISAPI Filters&lt;/strong&gt;, at first I've no idea what this is, I tried serveral thing like reinstalling IIS, registering asp.net and even reinstalling the MDM and reconfiguring report server. I've been doing this for the next 2 hours then finally it worked, this is the steps I've performed ( see Highlighted part )&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;
1) .NET 2.0/.NET 3.5&lt;/p&gt;
&lt;div&gt;2) Install SQL, SSRS&lt;/div&gt;
&lt;div&gt;3) Create a user with create db permission&lt;/div&gt;
&lt;div&gt;4) Configure SSRS - optional&lt;/div&gt;
&lt;div&gt;&lt;strong&gt;5) Reinstall IIS 6.0&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;&lt;strong&gt;6) Run Script: C:\Inetpub\AdminScripts cscript.exe adsutil.vbs set W3SVC/AppPools/&lt;wbr&gt;&lt;/wbr&gt;Enable32BitAppOnWin64 true&lt;br /&gt;
7) Register &lt;/strong&gt;&lt;a target="_blank" href="http://asp.net/"&gt;&lt;strong&gt;ASP.NET&lt;/strong&gt;&lt;/a&gt;&lt;strong&gt; in 32Bit : Navigate to c:\Windows\Microsoft.Net\&lt;wbr&gt;&lt;/wbr&gt;Framework\v2.0.50727  - this is the 32bit version&lt;br /&gt;
&lt;br /&gt;
Run &lt;span style="FONT-WEIGHT: bold"&gt;aspnet_regiis.exe -i&lt;/span&gt;   to install &lt;/strong&gt;&lt;a target="_blank" href="http://asp.net/"&gt;&lt;strong&gt;asp.net&lt;/strong&gt;&lt;/a&gt;&lt;strong&gt; 2.0 32bit&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;&lt;strong&gt;8) In Web Service Extension, Permit &lt;/strong&gt;&lt;a target="_blank" href="http://asp.net/"&gt;&lt;strong&gt;ASP.NET&lt;/strong&gt;&lt;/a&gt;&lt;strong&gt; 2.0 (32 bit)&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;9) Create Web Site&lt;/div&gt;
&lt;div&gt;10) Create MDM App Pool&lt;/div&gt;
&lt;div&gt;11) Install MDM and use the new site and app pool.&lt;/div&gt;&lt;img src="http://weblogs.sqlteam.com/randyp/aggbug/60852.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Randy Aldrich Paulo</dc:creator>
            <guid>http://weblogs.sqlteam.com/randyp/archive/2009/02/24/60852.aspx</guid>
            <pubDate>Tue, 24 Feb 2009 07:56:03 GMT</pubDate>
            <comments>http://weblogs.sqlteam.com/randyp/archive/2009/02/24/60852.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://weblogs.sqlteam.com/randyp/comments/commentRss/60852.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Storing files to database and downloading it using ASP.NET</title>
            <category>ASP.NET</category>
            <category>C# - C Sharp</category>
            <link>http://weblogs.sqlteam.com/randyp/archive/2008/11/20/60771.aspx</link>
            <description>&lt;p&gt;1) First create a new column and set it as varbinary(MAX) for the datatype.&lt;/p&gt;
&lt;p&gt;2) Use this code to store the file to database:&lt;/p&gt;
&lt;p&gt;&lt;font face="Arial"&gt;            //Read File to Bytes&lt;br /&gt;
                    FileStream st = new FileStream(&lt;strong&gt;&amp;lt;Location of the file&amp;gt;&lt;/strong&gt;, FileMode.Open);&lt;br /&gt;
                    byte[] fileData= new byte[st.Length];&lt;br /&gt;
                    st.Read(fileData, 0, (int)st.Length);&lt;br /&gt;
                    st.Close();&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;                    &lt;font face="Arial"&gt;SqlParameter[] param = new SqlParameter[] { new SqlParameter("@ID",&lt;strong&gt;&amp;lt;Reference ID&amp;gt;&lt;/strong&gt;),&lt;br /&gt;
                                                    new SqlParameter("@Data",fileData)  };&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Arial"&gt;            int i = SqlAccessor.ExecuteNonQuery(&lt;strong&gt;&amp;lt;ConnectionString&amp;gt;&lt;/strong&gt;, SqlAccessor.SqlCommandBuilder(new SqlCommand (&lt;strong&gt;&amp;lt;Stored Procedure Name&amp;gt;&lt;/strong&gt;), param), CommandType.StoredProcedure, out retVal);&lt;/font&gt;&lt;/p&gt;
&lt;p&gt; I've used Application Blocks to simplify data operation.&lt;/p&gt;
&lt;p&gt;To Retrieve the data and to be downloaded from an ASP.NET Page:&lt;/p&gt;
&lt;p&gt;3)  I created a function that returns a byte array with ID as parameter&lt;/p&gt;
&lt;p&gt; &lt;font face="Arial"&gt;public static byte[] GetFileFromDB(string id)&lt;br /&gt;
    {&lt;br /&gt;
        object[] retVal = null;&lt;br /&gt;
        byte[] file = null;&lt;br /&gt;
        SqlParameter[] param = new SqlParameter[] &lt;br /&gt;
        {&lt;br /&gt;
            new SqlParameter ("@id", id)&lt;br /&gt;
        };&lt;br /&gt;
        string _connString = ConfigurationManager.ConnectionStrings[&lt;strong&gt;&amp;lt;ConnectionStringName&amp;gt;&lt;/strong&gt;].ConnectionString.ToString();&lt;br /&gt;
        SqlDataReader reader = SqlAccessor.ExecuteReader(_connString, SqlAccessor.SqlCommandBuilder(new SqlCommand("SourceFileLogSelFileDataProc"), param), CommandType.StoredProcedure, out retVal);&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Arial"&gt;        if (reader.Read())&lt;br /&gt;
        {&lt;br /&gt;
            file = (byte[])reader["&lt;strong&gt;&amp;lt;varbinary column that we define in Step 1&amp;gt;&lt;/strong&gt;"];&lt;br /&gt;
        }&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Arial"&gt;        return file;&lt;br /&gt;
    }&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;4) And on the ASP.NET Page itself, on the Page_Load event:&lt;/p&gt;
&lt;p&gt;&lt;font face="Arial"&gt;           byte[] fileData = Utils.GetFileFromDB(&lt;strong&gt;&amp;lt;ID&amp;gt;&lt;/strong&gt;);&lt;br /&gt;
            Response.ClearContent();&lt;br /&gt;
            Response.AddHeader("Content-Disposition", "attachment; filename=" + &amp;lt;&lt;strong&gt;filename&lt;/strong&gt;&amp;gt;);&lt;br /&gt;
            BinaryWriter bw = new BinaryWriter(Response.OutputStream);&lt;br /&gt;
            bw.Write(fileData);&lt;br /&gt;
            bw.Close();&lt;br /&gt;
            Response.ContentType = ReturnExtension(&lt;strong&gt;&amp;lt;file extension&amp;gt;&lt;/strong&gt;);&lt;br /&gt;
            Response.End();&lt;/font&gt;&lt;/p&gt;
&lt;p&gt; 5) I have another method to determine the ContentType:&lt;/p&gt;
&lt;p&gt; &lt;font face="Arial"&gt; private string ReturnExtension(string fileExtension)&lt;br /&gt;
    {&lt;br /&gt;
        switch (fileExtension)&lt;br /&gt;
        {&lt;br /&gt;
            case ".htm":&lt;br /&gt;
            case ".html":&lt;br /&gt;
            case ".log":&lt;br /&gt;
                return "text/HTML";&lt;br /&gt;
            case ".txt":&lt;br /&gt;
                return "text/plain";&lt;br /&gt;
            case ".doc":&lt;br /&gt;
                return "application/ms-word";&lt;br /&gt;
            case ".tiff":&lt;br /&gt;
            case ".tif":&lt;br /&gt;
                return "image/tiff";&lt;br /&gt;
            case ".asf":&lt;br /&gt;
                return "video/x-ms-asf";&lt;br /&gt;
            case ".avi":&lt;br /&gt;
                return "video/avi";&lt;br /&gt;
            case ".zip":&lt;br /&gt;
                return "application/zip";&lt;br /&gt;
            case ".xls":&lt;br /&gt;
            case ".csv":&lt;br /&gt;
                return "application/vnd.ms-excel";&lt;br /&gt;
            case ".gif":&lt;br /&gt;
                return "image/gif";&lt;br /&gt;
            case ".jpg":&lt;br /&gt;
            case "jpeg":&lt;br /&gt;
                return "image/jpeg";&lt;br /&gt;
            case ".bmp":&lt;br /&gt;
                return "image/bmp";&lt;br /&gt;
            case ".wav":&lt;br /&gt;
                return "audio/wav";&lt;br /&gt;
            case ".mp3":&lt;br /&gt;
                return "audio/mpeg3";&lt;br /&gt;
            case ".mpg":&lt;br /&gt;
            case "mpeg":&lt;br /&gt;
                return "video/mpeg";&lt;br /&gt;
            case ".rtf":&lt;br /&gt;
                return "application/rtf";&lt;br /&gt;
            case ".asp":&lt;br /&gt;
                return "text/asp";&lt;br /&gt;
            case ".pdf":&lt;br /&gt;
                return "application/pdf";&lt;br /&gt;
            case ".fdf":&lt;br /&gt;
                return "application/vnd.fdf";&lt;br /&gt;
            case ".ppt":&lt;br /&gt;
                return "application/mspowerpoint";&lt;br /&gt;
            case ".dwg":&lt;br /&gt;
                return "image/vnd.dwg";&lt;br /&gt;
            case ".msg":&lt;br /&gt;
                return "application/msoutlook";&lt;br /&gt;
            case ".xml":&lt;br /&gt;
            case ".sdxl":&lt;br /&gt;
                return "application/xml";&lt;br /&gt;
            case ".xdp":&lt;br /&gt;
                return "application/vnd.adobe.xdp+xml";&lt;br /&gt;
            default:&lt;br /&gt;
                return "application/octet-stream";&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;/font&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Hope this helps.&lt;/p&gt;&lt;img src="http://weblogs.sqlteam.com/randyp/aggbug/60771.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Randy Aldrich Paulo</dc:creator>
            <guid>http://weblogs.sqlteam.com/randyp/archive/2008/11/20/60771.aspx</guid>
            <pubDate>Thu, 20 Nov 2008 08:59:47 GMT</pubDate>
            <comments>http://weblogs.sqlteam.com/randyp/archive/2008/11/20/60771.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://weblogs.sqlteam.com/randyp/comments/commentRss/60771.aspx</wfw:commentRss>
        </item>
        <item>
            <title>BizTalk Database Maintenance</title>
            <category>Biztalk (tungkol sa Biztalk)</category>
            <link>http://weblogs.sqlteam.com/randyp/archive/2008/05/05/60587.aspx</link>
            <description>&lt;p&gt;Out of the box, BizTalk Server 2006 doesn't provide any tool for auto clearing and cleaning up database used by BizTalk, this cause problems like performance and data storage issues. While browsing BizTalk installation directory (\BizTalk Installation Folder\Schema) I've found out few sql scripts that can used to cleanup the MessageBox  = BizTalkMsgBoxDb and Tracking = BizTalkDTADb database. &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;To clean MessageBox: &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;1) Stop all BizTalk related services.&lt;/p&gt;
&lt;p&gt;2) Open Analyzer and open sql script:  msgbox_cleanup_logic.sql, press F5 (this will create the sp) - be sure to use &lt;font face="Arial"&gt;BizTalkMsgBoxDb.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;3) run &lt;font face="Arial"&gt;bts_CleanupMsgbox&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;4) Start services.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;For Tracking:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;1) Execute dtasp_CleanHMData sp from BizTalkDTADb &lt;/p&gt;
&lt;p&gt;There are many sql script located in that Schema Directory and by reading and analyzing this scripts it will give us better understanding on how BizTalk stores the data.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;&lt;img src="http://weblogs.sqlteam.com/randyp/aggbug/60587.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Randy Aldrich Paulo</dc:creator>
            <guid>http://weblogs.sqlteam.com/randyp/archive/2008/05/05/60587.aspx</guid>
            <pubDate>Mon, 05 May 2008 07:23:16 GMT</pubDate>
            <comments>http://weblogs.sqlteam.com/randyp/archive/2008/05/05/60587.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://weblogs.sqlteam.com/randyp/comments/commentRss/60587.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Changing Users Email address in MOSS 2007</title>
            <category>Microsoft Office Sharepoint Services (MOSS)</category>
            <link>http://weblogs.sqlteam.com/randyp/archive/2007/07/25/60268.aspx</link>
            <description>&lt;p&gt;It's been a week since I've installed MOSS on our development server and found out that it's quite easy to install and configure except for changing the email of users associated in MOSS. I've done some research and here is it:&lt;/p&gt;
&lt;p&gt;1) Go to Sharepoint Server (physical server), Click Start -&amp;gt; Microsoft Office Server -&amp;gt; Sharepoint 3.0 Central Administration.&lt;/p&gt;
&lt;p&gt;2) Login as administrator, on the left pane click Shared Services Administration.&lt;/p&gt;
&lt;p&gt;3) Click the default Shared Services by default it's SharedServices1. Login as administrator.&lt;/p&gt;
&lt;p&gt;4) Click user profiles and properties.&lt;/p&gt;
&lt;p&gt;5) Click view user profiles.&lt;/p&gt;
&lt;p&gt;6) User list is displayed. To edit the email address click the dropdown menu and select edit.&lt;/p&gt;
&lt;p&gt;Note:&lt;/p&gt;
&lt;p&gt;When adding user to group or site just click the address book popup to browse to the list of users (email address can be seen in this list) . &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;&lt;img src="http://weblogs.sqlteam.com/randyp/aggbug/60268.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>raclede</dc:creator>
            <guid>http://weblogs.sqlteam.com/randyp/archive/2007/07/25/60268.aspx</guid>
            <pubDate>Wed, 25 Jul 2007 07:27:27 GMT</pubDate>
            <comments>http://weblogs.sqlteam.com/randyp/archive/2007/07/25/60268.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://weblogs.sqlteam.com/randyp/comments/commentRss/60268.aspx</wfw:commentRss>
        </item>
        <item>
            <title>BizTalk Server 2006 Prerequisite</title>
            <category>Biztalk (tungkol sa Biztalk)</category>
            <link>http://weblogs.sqlteam.com/randyp/archive/2007/05/15/60206.aspx</link>
            <description>&lt;p&gt;Link  can be found below:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://msdn2.microsoft.com/en-us/library/aa578652.aspx"&gt;http://msdn2.microsoft.com/en-us/library/aa578652.aspx&lt;/a&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;br /&gt;
&lt;/p&gt;&lt;img src="http://weblogs.sqlteam.com/randyp/aggbug/60206.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>raclede</dc:creator>
            <guid>http://weblogs.sqlteam.com/randyp/archive/2007/05/15/60206.aspx</guid>
            <pubDate>Tue, 15 May 2007 08:40:19 GMT</pubDate>
            <comments>http://weblogs.sqlteam.com/randyp/archive/2007/05/15/60206.aspx#feedback</comments>
            <slash:comments>3</slash:comments>
            <wfw:commentRss>http://weblogs.sqlteam.com/randyp/comments/commentRss/60206.aspx</wfw:commentRss>
        </item>
        <item>
            <title>C# Using ThreadPool for Multi-Threaded Application</title>
            <category>C# - C Sharp</category>
            <link>http://weblogs.sqlteam.com/randyp/archive/2007/03/19/60138.aspx</link>
            <description>&lt;p&gt;I'm currently designing an application specifically to handle multiple processing at a certain time. I've read all articles about threading, whether to use a background worker, custom thread management, or by using a thread pool. What facinates me is the thread pool, just by passing a workitem viola you have a working multi-threaded application. See simple example below:&lt;/p&gt;
&lt;p&gt;&lt;span style="COLOR: blue"&gt;using&lt;/span&gt; System;&lt;br /&gt;
&lt;span style="COLOR: blue"&gt;using&lt;/span&gt; System.Threading;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="COLOR: blue"&gt;public&lt;/span&gt; &lt;span style="COLOR: blue"&gt;class&lt;/span&gt; MyProcess&lt;br /&gt;
{&lt;/p&gt;
&lt;p&gt;    &lt;span style="COLOR: blue"&gt;private&lt;/span&gt; ManualResetEvent _doneEvent;&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;    &lt;span style="COLOR: blue"&gt;public&lt;/span&gt; MyProcess(ManualResetEvent doneEvent)&lt;br /&gt;
    {&lt;br /&gt;
        _doneEvent = doneEvent;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    &lt;span style="COLOR: blue"&gt;public&lt;/span&gt; &lt;span style="COLOR: blue"&gt;void&lt;/span&gt; MyProcessThreadPoolCallback(Object threadContext)&lt;br /&gt;
    {&lt;br /&gt;
        &lt;span style="COLOR: blue"&gt;int&lt;/span&gt; threadIndex = (&lt;span style="COLOR: blue"&gt;int&lt;/span&gt;)threadContext;&lt;br /&gt;
        Console.WriteLine("thread {0} started...", threadIndex);&lt;br /&gt;
        StartProcess();&lt;br /&gt;
        Console.WriteLine("thread {0} end...", threadIndex);&lt;/p&gt;
&lt;p&gt;    &lt;span style="COLOR: green"&gt;// Indicates that the process had been completed&lt;/span&gt;&lt;br /&gt;
        _doneEvent.Set();&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    &lt;span style="COLOR: blue"&gt;public&lt;/span&gt; &lt;span style="COLOR: blue"&gt;void &lt;/span&gt;StartProcess()&lt;br /&gt;
    {&lt;br /&gt;
        &lt;span style="COLOR: green"&gt;// TODO: Add code for processing here&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="COLOR: green"&gt;&lt;/span&gt;    }&lt;br /&gt;
&lt;br /&gt;
  &lt;br /&gt;
}&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;&lt;span style="COLOR: blue"&gt;public&lt;/span&gt; &lt;span style="COLOR: blue"&gt;class&lt;/span&gt; ThreadPoolExample&lt;br /&gt;
{&lt;br /&gt;
    &lt;span style="COLOR: blue"&gt;static&lt;/span&gt; &lt;span style="COLOR: blue"&gt;void&lt;/span&gt; Main()&lt;br /&gt;
    {&lt;br /&gt;
        &lt;span style="COLOR: blue"&gt;const&lt;/span&gt; &lt;span style="COLOR: blue"&gt;int&lt;/span&gt; totalCountToProcess = 10;&lt;br /&gt;
        &lt;br /&gt;
        ManualResetEvent[] doneEvents = &lt;span style="COLOR: blue"&gt;new&lt;/span&gt; ManualResetEvent[totalCountToProcess];&lt;br /&gt;
        MyProcess[] MyProcessArray = &lt;span style="COLOR: blue"&gt;new&lt;/span&gt; MyProcess[totalCountToProcess];&lt;br /&gt;
      &lt;br /&gt;
        &lt;span style="COLOR: green"&gt;// Configure and launch threads using ThreadPool:&lt;/span&gt;&lt;br /&gt;
        Console.WriteLine("launching tasks...");&lt;br /&gt;
        &lt;span style="COLOR: blue"&gt;for&lt;/span&gt; (&lt;span style="COLOR: blue"&gt;int&lt;/span&gt; i = 0; i &amp;lt; totalCountToProcess ; i++)&lt;br /&gt;
        {&lt;br /&gt;
            doneEvents[i] = &lt;span style="COLOR: blue"&gt;new&lt;/span&gt; ManualResetEvent(&lt;span style="COLOR: blue"&gt;false&lt;/span&gt;);&lt;br /&gt;
            MyProcess p = &lt;span style="COLOR: blue"&gt;new&lt;/span&gt; MyProcess(doneEvents[i]);&lt;br /&gt;
            MyProcess[i] = p;&lt;br /&gt;
            ThreadPool.QueueUserWorkItem(p.MyProcessThreadPoolCallback, i);&lt;br /&gt;
        }&lt;br /&gt;
&lt;br /&gt;
        &lt;span style="COLOR: green"&gt;// Wait for all threads in pool to finished processing&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="COLOR: green"&gt;&lt;/span&gt;        WaitHandle.WaitAll(doneEvents);&lt;br /&gt;
        Console.WriteLine("All Process are complete.");&lt;br /&gt;
&lt;br /&gt;
           }&lt;br /&gt;
}&lt;br /&gt;
&lt;/p&gt;&lt;img src="http://weblogs.sqlteam.com/randyp/aggbug/60138.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>raclede</dc:creator>
            <guid>http://weblogs.sqlteam.com/randyp/archive/2007/03/19/60138.aspx</guid>
            <pubDate>Mon, 19 Mar 2007 05:01:58 GMT</pubDate>
            <comments>http://weblogs.sqlteam.com/randyp/archive/2007/03/19/60138.aspx#feedback</comments>
            <slash:comments>2</slash:comments>
            <wfw:commentRss>http://weblogs.sqlteam.com/randyp/comments/commentRss/60138.aspx</wfw:commentRss>
        </item>
        <item>
            <title>N-Tier Web Applications using ASP.NET 2.0 and SQL Server 2005 </title>
            <category>ASP.NET</category>
            <link>http://weblogs.sqlteam.com/randyp/archive/2007/02/19/60105.aspx</link>
            <description>&lt;p&gt;Been looking for articles on how to implement a N-tier Web applications using ASP.NET 2.0 and SQL 2005 and I think this article clearly provide techniques and samples on how to.&lt;/p&gt;
&lt;p&gt;&lt;span class="clsTitle"&gt;&lt;font face="Arial"&gt;&lt;a href="http://www.15seconds.com/issue/050721.htm"&gt;http://www.15seconds.com/issue/050721.htm&lt;/a&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;img src="http://weblogs.sqlteam.com/randyp/aggbug/60105.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>raclede</dc:creator>
            <guid>http://weblogs.sqlteam.com/randyp/archive/2007/02/19/60105.aspx</guid>
            <pubDate>Mon, 19 Feb 2007 10:02:25 GMT</pubDate>
            <comments>http://weblogs.sqlteam.com/randyp/archive/2007/02/19/60105.aspx#feedback</comments>
            <slash:comments>4</slash:comments>
            <wfw:commentRss>http://weblogs.sqlteam.com/randyp/comments/commentRss/60105.aspx</wfw:commentRss>
        </item>
        <item>
            <title>ASP.NET AJAX "Atlas" </title>
            <category>ASP.NET</category>
            <link>http://weblogs.sqlteam.com/randyp/archive/2007/02/15/60099.aspx</link>
            <description>&lt;p&gt;Microsoft recently released the v. 1.0 of ASP.NET AJAX "Atlas" and I've attended a demo about Atlas and find it really cool. Just simple drag and drop, cut and paste viola... you have an AJAX enabled website. It also include AJAX toolkit (extenders) which can be downloaded for free.&lt;/p&gt;
&lt;p&gt;Microsoft offers new certification for ASP.NET Developers named MCDDP which stands for Microsoft Ceritified Drag-and-Drop Professional..&lt;img alt="" src="/Providers/BlogEntryEditor/FCKeditor/editor/images/smiley/msn/teeth_smile.gif" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://ajax.asp.net"&gt;http://ajax.asp.net&lt;/a&gt;&lt;/p&gt;&lt;img src="http://weblogs.sqlteam.com/randyp/aggbug/60099.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>raclede</dc:creator>
            <guid>http://weblogs.sqlteam.com/randyp/archive/2007/02/15/60099.aspx</guid>
            <pubDate>Thu, 15 Feb 2007 04:26:44 GMT</pubDate>
            <comments>http://weblogs.sqlteam.com/randyp/archive/2007/02/15/60099.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://weblogs.sqlteam.com/randyp/comments/commentRss/60099.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Microsoft BizTalk 2004 SP2 Installation</title>
            <category>Biztalk (tungkol sa Biztalk)</category>
            <link>http://weblogs.sqlteam.com/randyp/archive/2007/02/15/60098.aspx</link>
            <description>&lt;p&gt;I've tried to install the latest Service Pack of BizTalk 2004 and prompts me an installation error.&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Arial','sans-serif'"&gt;&lt;font color="#ff0000"&gt;The Patch b3ce917f-b0f4-4b45-8fa7-97e44aec4a0e in the package Microsoft BizTalk Server 2004 Service Pack - (SP2) cannot be applied. It requires the installed version of Microsoft Enterprise Single Sign-On to be between 3.0.6070.0 and 3.0.7405.0. The installed version on this computer is 3.0.4902.0.&lt;/font&gt; &lt;/span&gt; &lt;/p&gt;
&lt;p&gt;I googled the error and found that solution is quite simple.. install the SP1 prior to the installation of SP2. (Huh!) weird, cause the normal Service packs from Microsoft doesn't require the installing the previous SPs.&lt;/p&gt;&lt;img src="http://weblogs.sqlteam.com/randyp/aggbug/60098.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>raclede</dc:creator>
            <guid>http://weblogs.sqlteam.com/randyp/archive/2007/02/15/60098.aspx</guid>
            <pubDate>Thu, 15 Feb 2007 03:32:44 GMT</pubDate>
            <comments>http://weblogs.sqlteam.com/randyp/archive/2007/02/15/60098.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://weblogs.sqlteam.com/randyp/comments/commentRss/60098.aspx</wfw:commentRss>
        </item>
        <item>
            <title>BizTalk Database Customization</title>
            <category>Biztalk (tungkol sa Biztalk)</category>
            <link>http://weblogs.sqlteam.com/randyp/archive/2006/07/21/10726.aspx</link>
            <description>&lt;p&gt;&lt;font face="Arial" size="2"&gt;One of the problems we face during the development of BizTalk Application is that lack of space in the main drive C:\, Since we do default installation for MSSQL and BizTalk 2004, the Data File and Log Files is of course is installed in C:\Program Files\Microsoft SQL Server\MSSQL\Data. &lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Arial" size="2"&gt;To solve this is we have to move all BizTalk's DB from C:\ to another drive. Another thing is, we also do have the CovastDB which is used in X12 parsing which has to be moved also.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Arial" size="2"&gt;Note: Before performing this operation you should first stop the following services:&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Arial" size="2"&gt;Enterprise Single Sign-On Services&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Arial" size="2"&gt;BizTalk Service BizTalk Group : BizTalkServerApplication&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Arial" size="2"&gt;Covast EDI Service&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Arial" size="2"&gt;Script: &lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Arial" size="2"&gt;sp_detach_db 'BAMArchive'&lt;br /&gt;
sp_detach_db 'BAMPrimaryImport'&lt;br /&gt;
sp_detach_db 'BizTalkDTADB'&lt;br /&gt;
sp_detach_db 'BizTalkEDIDb'&lt;br /&gt;
sp_detach_db 'BizTalkHwsDb'&lt;br /&gt;
sp_detach_db 'BizTalkMgmtDb'&lt;br /&gt;
sp_detach_db 'BizTalkMsgBoxDb'&lt;br /&gt;
sp_detach_db 'BizTalkRuleEngineDb'&lt;br /&gt;
sp_detach_db 'SSODB'&lt;br /&gt;
sp_detach_db 'CovastDB'&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;
&lt;font face="Arial" size="2"&gt;sp_attach_db 'BAMArchive',&lt;br /&gt;
'E:\DBDat\BAMArchive.mdf',&lt;br /&gt;
'F:\DBLOG\BAMArchive_log.LDF'&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Arial" size="2"&gt;sp_attach_db 'BAMPrimaryImport',&lt;br /&gt;
'E:\DBDat\BAMPrimaryImport.mdf',&lt;br /&gt;
'F:\DBLOG\BAMPrimaryImport_log.LDF'&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;
&lt;font face="Arial" size="2"&gt;sp_attach_db 'BizTalkDTADB',&lt;br /&gt;
'E:\DBDat\BizTalkDTADB.mdf',&lt;br /&gt;
'F:\DBLOG\BizTalkDTADB_log.LDF'&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Arial" size="2"&gt;&lt;/font&gt; &lt;/p&gt;
&lt;p&gt;&lt;font face="Arial" size="2"&gt;sp_attach_db 'BizTalkEDIDb',&lt;br /&gt;
'E:\DBDat\BizTalkEDIDb.mdf',&lt;br /&gt;
'F:\DBLOG\BizTalkEDIDb_log.LDF'&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Arial" size="2"&gt;&lt;/font&gt; &lt;/p&gt;
&lt;p&gt;&lt;font face="Arial" size="2"&gt;sp_attach_db 'BizTalkHwsDb',&lt;br /&gt;
'E:\DBDat\BizTalkHwsDb.mdf',&lt;br /&gt;
'F:\DBLOG\BizTalkHwsDb_log.LDF'&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;
&lt;font face="Arial" size="2"&gt;sp_attach_db 'BizTalkMgmtDb',&lt;br /&gt;
'E:\DBDat\BizTalkMgmtDb.mdf',&lt;br /&gt;
'F:\DBLOG\BizTalkMgmtDb_log.LDF'&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Arial" size="2"&gt;sp_attach_db 'BizTalkMsgBoxDb',&lt;br /&gt;
'E:\DBDat\BizTalkMsgBoxDb.mdf',&lt;br /&gt;
'F:\DBLOG\BizTalkMsgBoxDb_log.LDF'&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Arial" size="2"&gt;sp_attach_db 'BizTalkRuleEngineDb',&lt;br /&gt;
'E:\DBDat\BizTalkRuleEngineDb.mdf',&lt;br /&gt;
'F:\DBLOG\BizTalkRuleEngineDb_log.LDF'&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Arial" size="2"&gt;sp_attach_db 'SSODB',&lt;br /&gt;
'E:\DBDat\SSODB.mdf',&lt;br /&gt;
'F:\DBLOG\SSODB_log.LDF'&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;
&lt;font face="Arial" size="2"&gt;sp_attach_db 'CovastDB',&lt;br /&gt;
'E:\DBDat\CovastDB.mdf',&lt;br /&gt;
'F:\DBLOG\CovastDB_log.LDF'&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Arial" size="2"&gt;Luckily, BizTalk 2004 and Covast still work.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Arial" size="2"&gt;&lt;/font&gt; &lt;/p&gt;&lt;img src="http://weblogs.sqlteam.com/randyp/aggbug/10726.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>raclede</dc:creator>
            <guid>http://weblogs.sqlteam.com/randyp/archive/2006/07/21/10726.aspx</guid>
            <pubDate>Fri, 21 Jul 2006 13:28:00 GMT</pubDate>
            <comments>http://weblogs.sqlteam.com/randyp/archive/2006/07/21/10726.aspx#feedback</comments>
            <wfw:commentRss>http://weblogs.sqlteam.com/randyp/comments/commentRss/10726.aspx</wfw:commentRss>
        </item>
    </channel>
</rss>