<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0">
  <channel>
    <title>Kodyaz Development Resources</title>
    <description>Development resources, articles, tutorials, samples, codes and tools for .Net, SQL Server, Vista, etc.</description>
    <link>http://www.kodyaz.com/roller/default.aspx</link>
    <docs>http://backend.userland.com/rss</docs>
    <generator>Community Server v2.0 (http://www.communityserver.org)</generator>
    <item>
      <title>SqlConnection trouble</title>
      <description>&lt;p align=left&gt;&lt;font face=Arial size=2&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;Hello I am trying to open an SqlConnection and recieveing this error and don't know how to relove it. I closed theconnection in the Server Explorer in MSVS.&lt;/p&gt;
&lt;p align=left&gt;&lt;/p&gt;
&lt;p align=left&gt;"An attempt to attach an auto-named database for file FBasic8.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share."&lt;/p&gt;
&lt;p align=left&gt;&lt;/p&gt;
&lt;p align=left&gt;Here is the code I am trying to use.&lt;/p&gt;
&lt;p align=left&gt;&lt;/p&gt;&lt;font color="#0000ff" size=2&gt;&lt;font color="#0000ff" size=2&gt;
&lt;p&gt;string&lt;/font&gt;&lt;/font&gt;&lt;font size=2&gt; destConnectionString = &lt;/font&gt;&lt;font color="#a31515" size=2&gt;&lt;font color="#a31515" size=2&gt;"Data Source=.\\SQLEXPRESS;AttachDbFilename=FBasic8.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True"&lt;/font&gt;&lt;/font&gt;&lt;font size=2&gt;;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;font color="#0000ff" size=2&gt;&lt;font color="#0000ff" size=2&gt;
&lt;p&gt;using&lt;/font&gt;&lt;/font&gt;&lt;font size=2&gt; (&lt;/font&gt;&lt;font color="#2b91af" size=2&gt;&lt;font color="#2b91af" size=2&gt;SqlConnection&lt;/font&gt;&lt;/font&gt;&lt;font size=2&gt; destinationConnection =&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size=2&gt;&lt;font color="#0000ff" size=2&gt;new&lt;/font&gt;&lt;/font&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;font color="#2b91af" size=2&gt;&lt;font color="#2b91af" size=2&gt;SqlConnection&lt;/font&gt;&lt;/font&gt;&lt;font size=2&gt;(destConnectionString))&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;destinationConnection.Open();&lt;strong&gt;&lt;u&gt;&lt;font color="#ff0000"&gt; Error here&lt;/font&gt;&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size=2&gt;&lt;font color="#008000" size=2&gt;// Set up the bulk copy object.&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size=2&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size=2&gt;&lt;font color="#0000ff" size=2&gt;using&lt;/font&gt;&lt;/font&gt;&lt;font size=2&gt; (&lt;/font&gt;&lt;font color="#2b91af" size=2&gt;&lt;font color="#2b91af" size=2&gt;SqlBulkCopy&lt;/font&gt;&lt;/font&gt;&lt;font size=2&gt; bulkCopy =&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size=2&gt;&lt;font color="#0000ff" size=2&gt;new&lt;/font&gt;&lt;/font&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;font color="#2b91af" size=2&gt;&lt;font color="#2b91af" size=2&gt;SqlBulkCopy&lt;/font&gt;&lt;/font&gt;&lt;font size=2&gt;(destinationConnection))&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;bulkCopy.DestinationTableName =&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#a31515" size=2&gt;&lt;font color="#a31515" size=2&gt;"Client"&lt;/font&gt;&lt;/font&gt;&lt;font size=2&gt;;&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size=2&gt;&lt;font color="#008000" size=2&gt;// Set up the column mappings by name.&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size=2&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#2b91af" size=2&gt;&lt;font color="#2b91af" size=2&gt;SqlBulkCopyColumnMapping&lt;/font&gt;&lt;/font&gt;&lt;font size=2&gt; mapID =&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size=2&gt;&lt;font color="#0000ff" size=2&gt;new&lt;/font&gt;&lt;/font&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;font color="#2b91af" size=2&gt;&lt;font color="#2b91af" size=2&gt;SqlBulkCopyColumnMapping&lt;/font&gt;&lt;/font&gt;&lt;font size=2&gt;(&lt;/font&gt;&lt;font color="#a31515" size=2&gt;&lt;font color="#a31515" size=2&gt;"Code"&lt;/font&gt;&lt;/font&gt;&lt;font size=2&gt;, &lt;/font&gt;&lt;font color="#a31515" size=2&gt;&lt;font color="#a31515" size=2&gt;"Code"&lt;/font&gt;&lt;/font&gt;&lt;font size=2&gt;);&lt;/p&gt;
&lt;p&gt;bulkCopy.ColumnMappings.Add(mapID);&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#2b91af" size=2&gt;&lt;font color="#2b91af" size=2&gt;SqlBulkCopyColumnMapping&lt;/font&gt;&lt;/font&gt;&lt;font size=2&gt; mapName =&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size=2&gt;&lt;font color="#0000ff" size=2&gt;new&lt;/font&gt;&lt;/font&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;font color="#2b91af" size=2&gt;&lt;font color="#2b91af" size=2&gt;SqlBulkCopyColumnMapping&lt;/font&gt;&lt;/font&gt;&lt;font size=2&gt;(&lt;/font&gt;&lt;font color="#a31515" size=2&gt;&lt;font color="#a31515" size=2&gt;"FirstName"&lt;/font&gt;&lt;/font&gt;&lt;font size=2&gt;, &lt;/font&gt;&lt;font color="#a31515" size=2&gt;&lt;font color="#a31515" size=2&gt;"FirstName"&lt;/font&gt;&lt;/font&gt;&lt;font size=2&gt;);&lt;/p&gt;
&lt;p&gt;bulkCopy.ColumnMappings.Add(mapName);&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#2b91af" size=2&gt;&lt;font color="#2b91af" size=2&gt;SqlBulkCopyColumnMapping&lt;/font&gt;&lt;/font&gt;&lt;font size=2&gt; mapMumber =&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size=2&gt;&lt;font color="#0000ff" size=2&gt;new&lt;/font&gt;&lt;/font&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;font color="#2b91af" size=2&gt;&lt;font color="#2b91af" size=2&gt;SqlBulkCopyColumnMapping&lt;/font&gt;&lt;/font&gt;&lt;font size=2&gt;(&lt;/font&gt;&lt;font color="#a31515" size=2&gt;&lt;font color="#a31515" size=2&gt;"LastName"&lt;/font&gt;&lt;/font&gt;&lt;font size=2&gt;, &lt;/font&gt;&lt;font color="#a31515" size=2&gt;&lt;font color="#a31515" size=2&gt;"LastName"&lt;/font&gt;&lt;/font&gt;&lt;font size=2&gt;);&lt;/p&gt;
&lt;p&gt;bulkCopy.ColumnMappings.Add(mapMumber);&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size=2&gt;&lt;font color="#008000" size=2&gt;// Write from the source to the destination.&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size=2&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size=2&gt;&lt;font color="#0000ff" size=2&gt;try&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size=2&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;bulkCopy.WriteToServer(reader);&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size=2&gt;&lt;font color="#0000ff" size=2&gt;catch&lt;/font&gt;&lt;/font&gt;&lt;font size=2&gt; (&lt;/font&gt;&lt;font color="#2b91af" size=2&gt;&lt;font color="#2b91af" size=2&gt;Exception&lt;/font&gt;&lt;/font&gt;&lt;font size=2&gt; ex)&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#2b91af" size=2&gt;&lt;font color="#2b91af" size=2&gt;Console&lt;/font&gt;&lt;/font&gt;&lt;font size=2&gt;.WriteLine(ex.Message);&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size=2&gt;&lt;font color="#0000ff" size=2&gt;finally&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size=2&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size=2&gt;&lt;font color="#008000" size=2&gt;// Close the SqlDataReader. The SqlBulkCopy&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size=2&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size=2&gt;&lt;font color="#008000" size=2&gt;// object is automatically closed at the end&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size=2&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size=2&gt;&lt;font color="#008000" size=2&gt;// of the using block.&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size=2&gt;
&lt;p&gt;reader.Close();&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p align=left&gt;Thanks Jon&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;</description>
      <link>http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=4161466&amp;SiteID=1</link>
      <source url="http://forums.microsoft.com/msdn/ShowForum.aspx?ForumID=87&amp;SiteID=1">MSDN Forums: SQL Server Data Access</source>
      <comments>http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=4161466&amp;SiteID=1</comments>
      <guid isPermaLink="True">http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=4161466&amp;SiteID=1</guid>
      <pubDate>Sat, 22 Nov 2008 22:27:44 GMT</pubDate>
    </item>
    <item>
      <title>Error: 17058, Severity: 16, State: 1.</title>
      <description>&lt;p align=left&gt;&lt;font face=Arial size=2&gt;Hi Fellows,&lt;/font&gt;&lt;/p&gt;
&lt;p align=left&gt;&lt;/p&gt;
&lt;p align=left&gt;&lt;font color="#0000ff"&gt;I get this error message when trying to start the sql server. Error log doesnot mention of any error. There is only one user account of the system.&lt;/font&gt;&lt;/p&gt;
&lt;p align=left&gt;&lt;font color="#0000ff"&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p align=left&gt;&lt;font color="#0000ff"&gt;It shows that all the services are running and properties of the services is set to Local system.&lt;/font&gt;&lt;/p&gt;
&lt;p align=left&gt;&lt;/p&gt;
&lt;p&gt;C:\&gt;cd \Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn&lt;/p&gt;
&lt;p&gt;C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn&gt;sqlservr.exe&lt;br&gt;2008-11-23 21:26:29.45 Server Authentication mode is WINDOWS-ONLY.&lt;br&gt;2008-11-23 21:26:32.59 Server Error: 17058, Severity: 16, State: 1.&lt;br&gt;2008-11-23 21:26:32.59 Server initerrlog: Could not open error log file 'C:&lt;br&gt;\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG'. Operating syste&lt;br&gt;m error = 32(The process cannot access the file because it is being used by anot&lt;br&gt;her process.).&lt;br&gt;2008-11-23 21:26:32.64 Server Error: 17054, Severity: 16, State: 1.&lt;br&gt;2008-11-23 21:26:32.64 Server The current event was not reported to the Win&lt;br&gt;dows Events log. Operating system error = 1502(The event log file is full.). You&lt;br&gt;may need to clear the Windows Events log if it is full.&lt;br&gt;2008-11-23 21:26:32.95 Server Error: 17058, Severity: 16, State: 1.&lt;br&gt;2008-11-23 21:26:32.95 Server initerrlog: Could not open error log file 'C:&lt;br&gt;\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG'. Operating syste&lt;br&gt;m error = 32(The process cannot access the file because it is being used by anot&lt;br&gt;her process.).&lt;br&gt;2008-11-23 21:26:33.26 Server Error: 17058, Severity: 16, State: 1.&lt;br&gt;2008-11-23 21:26:33.26 Server initerrlog: Could not open error log file 'C:&lt;br&gt;\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG'. Operating syste&lt;br&gt;m error = 32(The process cannot access the file because it is being used by anot&lt;br&gt;her process.).&lt;br&gt;2008-11-23 21:26:33.57 Server Error: 17058, Severity: 16, State: 1.&lt;br&gt;2008-11-23 21:26:33.57 Server initerrlog: Could not open error log file 'C:&lt;br&gt;\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG'. Operating syste&lt;br&gt;m error = 32(The process cannot access the file because it is being used by anot&lt;br&gt;her process.).&lt;br&gt;2008-11-23 21:26:33.89 Server Error: 17058, Severity: 16, State: 1.&lt;br&gt;2008-11-23 21:26:33.89 Server initerrlog: Could not open error log file 'C:&lt;br&gt;\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG'. Operating syste&lt;br&gt;m error = 32(The process cannot access the file because it is being used by anot&lt;br&gt;her process.).&lt;br&gt;2008-11-23 21:26:34.20 Server Error: 17058, Severity: 16, State: 1.&lt;br&gt;2008-11-23 21:26:34.20 Server initerrlog: Could not open error log file 'C:&lt;br&gt;\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG'. Operating syste&lt;br&gt;m error = 32(The process cannot access the file because it is being used by anot&lt;br&gt;her process.).&lt;br&gt;2008-11-23 21:26:34.51 Server Error: 17058, Severity: 16, State: 1.&lt;br&gt;2008-11-23 21:26:34.51 Server initerrlog: Could not open error log file 'C:&lt;br&gt;\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG'. Operating syste&lt;br&gt;m error = 32(The process cannot access the file because it is being used by anot&lt;br&gt;her process.).&lt;br&gt;2008-11-23 21:26:34.82 Server Error: 17058, Severity: 16, State: 1.&lt;br&gt;2008-11-23 21:26:34.82 Server initerrlog: Could not open error log file 'C:&lt;br&gt;\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG'. Operating syste&lt;br&gt;m error = 32(The process cannot access the file because it is being used by anot&lt;br&gt;her process.).&lt;br&gt;2008-11-23 21:26:35.14 Server Error: 17058, Severity: 16, State: 1.&lt;br&gt;2008-11-23 21:26:35.14 Server initerrlog: Could not open error log file 'C:&lt;br&gt;\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG'. Operating syste&lt;br&gt;m error = 32(The process cannot access the file because it is being used by anot&lt;br&gt;her process.).&lt;br&gt;2008-11-23 21:26:35.45 Server Error: 17058, Severity: 16, State: 1.&lt;br&gt;2008-11-23 21:26:35.45 Server initerrlog: Could not open error log file 'C:&lt;br&gt;\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG'. Operating syste&lt;br&gt;m error = 32(The process cannot access the file because it is being used by anot&lt;br&gt;her process.).&lt;/p&gt;</description>
      <link>http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=4161434&amp;SiteID=1</link>
      <source url="http://forums.microsoft.com/msdn/ShowForum.aspx?ForumID=87&amp;SiteID=1">MSDN Forums: SQL Server Data Access</source>
      <comments>http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=4161434&amp;SiteID=1</comments>
      <guid isPermaLink="True">http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=4161434&amp;SiteID=1</guid>
      <pubDate>Sat, 22 Nov 2008 22:03:47 GMT</pubDate>
    </item>
    <item>
      <title>Time out on reading data from table.</title>
      <description>&lt;font size=2&gt;&lt;span&gt;Hi&lt;br&gt;Im new in this area so what i need is general direction to solve some problem i have.&lt;br&gt;I have table that created like this&lt;br&gt;&lt;br&gt;SET ANSI_NULLS ON&lt;br&gt;GO&lt;br&gt;SET QUOTED_IDENTIFIER ON&lt;br&gt;GO&lt;br&gt;SET ANSI_PADDING ON&lt;br&gt;GO&lt;br&gt;CREATE TABLE [dbo].[DataTable](&lt;br&gt; [frame] [varbinary](max) NULL,&lt;br&gt; [timestamp] [bigint] NOT NULL,&lt;br&gt; [flags] [tinyint] NULL,&lt;br&gt;CONSTRAINT [&lt;/span&gt;&lt;/font&gt;&lt;font size=2&gt;&lt;span&gt;DataTable&lt;/span&gt;&lt;/font&gt;&lt;font size=2&gt;&lt;span&gt;] PRIMARY KEY CLUSTERED &lt;br&gt;(&lt;br&gt; [timestamp] ASC&lt;br&gt;)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]&lt;br&gt;) ON [PRIMARY]&lt;br&gt;&lt;br&gt;GO&lt;br&gt;SET ANSI_PADDING OFF&lt;br&gt;&lt;br&gt;One process (.NET application) continuously insert data into table using SqlBulkCopy. ~ every 15 minutes or so SqlBulCopy inserts ~9000 records (about 15 MB in total) into this table.&lt;br&gt;Other process (ODBC client)tries to access this table and search for some record using this query&lt;br&gt;&lt;br&gt;select top 1 timestamp from DataTable where timestamp &lt;br&gt;Sometimes query runs in second, but sometimes its rises "Timeout expired" exception .&lt;br&gt;Can anybody advise me in which way i should look to find solution to this problem?&lt;br&gt;Thanks&lt;br&gt;&lt;br&gt;&lt;/span&gt;&lt;/font&gt;</description>
      <link>http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=4161290&amp;SiteID=1</link>
      <source url="http://forums.microsoft.com/msdn/ShowForum.aspx?ForumID=87&amp;SiteID=1">MSDN Forums: SQL Server Data Access</source>
      <comments>http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=4161290&amp;SiteID=1</comments>
      <guid isPermaLink="True">http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=4161290&amp;SiteID=1</guid>
      <pubDate>Sat, 22 Nov 2008 20:29:46 GMT</pubDate>
    </item>
    <item>
      <title>How to access Mirror Database with out main database failover?</title>
      <description>Hi Experts,&lt;font face=Arial size=2&gt;&lt;/font&gt;&lt;div&gt;&lt;span class=Apple-style-span&gt;&lt;br&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=Apple-style-span&gt;  I have a Database with lorge amount of Data. I don't want to distrube this database instaed of this, I plan to access through Mirror Database. But the Mirror Database we can't access directly. If the main database server has failover, then only we can access data from Mirror Database.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=Apple-style-span&gt;&lt;br&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=Apple-style-span&gt; How can we access data from mirror database &lt;span class=Apple-style-span&gt;with out main database failover&lt;/span&gt;?&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=Apple-style-span&gt;&lt;br&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=Apple-style-span&gt;&lt;br&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=Apple-style-span&gt;Please help me to solve this problem.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=Apple-style-span&gt;&lt;br&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=Apple-style-span&gt;Thanks in advance,&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=Apple-style-span&gt;Manian.R&lt;/span&gt;&lt;/div&gt;</description>
      <link>http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=4159818&amp;SiteID=1</link>
      <source url="http://forums.microsoft.com/msdn/ShowForum.aspx?ForumID=87&amp;SiteID=1">MSDN Forums: SQL Server Data Access</source>
      <comments>http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=4159818&amp;SiteID=1</comments>
      <guid isPermaLink="True">http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=4159818&amp;SiteID=1</guid>
      <pubDate>Fri, 21 Nov 2008 22:29:10 GMT</pubDate>
    </item>
    <item>
      <title>SQl Server 2005 JDBC Driver 1.2 error</title>
      <description>&lt;br&gt;We are running Jboss on Windows 2003 Enterprise edition which is connecting to 64 bit SQL Server 2005 Enterprise edition running on a cluster. This is the error that we are getting. &lt;br&gt;&lt;br&gt;&lt;font color="#ff0000" face=Arial size=2&gt;&lt;span class=758562018-21112008&gt;Failed to 
create the XA control connection. Error: Could not load the DLL SQLJDBC_XA.dll, 
or one of the DLLs it references. Reason: 126(The specified module could not be 
found.)&lt;br&gt;&lt;br&gt;&lt;span&gt;We did follow the documentation to take the dll file and put it in the mentioned folder.&lt;br&gt;&lt;br&gt;Thanks.&lt;br&gt;&lt;/span&gt;&lt;br&gt;&lt;/span&gt;&lt;/font&gt;</description>
      <link>http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=4157692&amp;SiteID=1</link>
      <source url="http://forums.microsoft.com/msdn/ShowForum.aspx?ForumID=87&amp;SiteID=1">MSDN Forums: SQL Server Data Access</source>
      <comments>http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=4157692&amp;SiteID=1</comments>
      <guid isPermaLink="True">http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=4157692&amp;SiteID=1</guid>
      <pubDate>Fri, 21 Nov 2008 01:19:43 GMT</pubDate>
    </item>
    <item>
      <title>Best Way to Store Documents In SQL Server</title>
      <description>&lt;p&gt;Hi,&lt;br&gt;I am wrighting abusiness application for a professional placement firm and they would like to be able to add a resume to the data for a person and be able to search that resume. I am currently designing the databasein SQL Server 2008 and was wondering the best way to store the resume. Should Ijust put it into a VarChar(Max) column orcould Istore a MS Word or XPS document in SQL Server?What are the best practrices for this and can you point me todocumentation that would help with designing and implementingsuch a task?&lt;/p&gt;
&lt;p align=left&gt;As you can imagine, they get resumes in many differnt formats and it would be nice to be able to just cut and paste them into a Rich Text Block. I would like to databind that to business object that gets persited to SQL Server. I would also like to be able to search the text so that when a certain skill is needed and it is not found in the normal data, the Resume data could be search to see if it exists. Any suggestions?&lt;/p&gt;
&lt;p align=left&gt;&lt;font face=Arial size=2&gt;&lt;/font&gt;&lt;/p&gt;</description>
      <link>http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=4157790&amp;SiteID=1</link>
      <source url="http://forums.microsoft.com/msdn/ShowForum.aspx?ForumID=87&amp;SiteID=1">MSDN Forums: SQL Server Data Access</source>
      <comments>http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=4157790&amp;SiteID=1</comments>
      <guid isPermaLink="True">http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=4157790&amp;SiteID=1</guid>
      <pubDate>Fri, 21 Nov 2008 01:46:19 GMT</pubDate>
    </item>
    <item>
      <title>Can you create a SQL table by linking it to a VFP table?</title>
      <description>&lt;font size=2&gt;&lt;span&gt;I'm trying to figure out how to create a SQL table by linking it to a VFP table. Some suggested this as a solution to a problem we're having trying to get the application KnowledgeSync (KS) to connect to our accounting application. KS uses ODBC and the most recent VFP ODBC dive is for version 6 and our tables are version 9. They're using some data types that the ver 6 driver doesn't support. So, the suggestion was to create some kind of "linked" table in SQL Server, excluding the field which contians the unsupport date type - an auto increment field, and then connect KS to the SQL server table.&lt;br&gt;&lt;br&gt;Does anyone have any suggestions?&lt;br&gt;&lt;br&gt;Thanks,&lt;br&gt;Mike&lt;br&gt;&lt;/span&gt;&lt;/font&gt;</description>
      <link>http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=4156123&amp;SiteID=1</link>
      <source url="http://forums.microsoft.com/msdn/ShowForum.aspx?ForumID=87&amp;SiteID=1">MSDN Forums: SQL Server Data Access</source>
      <comments>http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=4156123&amp;SiteID=1</comments>
      <guid isPermaLink="True">http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=4156123&amp;SiteID=1</guid>
      <pubDate>Thu, 20 Nov 2008 19:05:18 GMT</pubDate>
    </item>
    <item>
      <title>Strange opccurence of "String or binary data would be truncated" error</title>
      <description>&lt;p align=left&gt;&lt;font face=Arial size=2&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;Hi,&lt;/p&gt;
&lt;p align=left&gt;&lt;/p&gt;
&lt;p align=left&gt;I have an web application running on Windows Server 2008, IIS 7, Sql Server 2005; developed using Visual Studio 2008 and .Net Framework 3.5. &lt;/p&gt;
&lt;p align=left&gt;&lt;/p&gt;
&lt;p align=left&gt;Problem: In my login screen where I accept a username and password for my application, this error stating "String or binary data would be truncated. Statement would be terminated" occurs. &lt;/p&gt;
&lt;p align=left&gt;This occurs in the following condition - when there are about 4-5 instances of the application running on other machines, I get the error on my system running Windows Vista. When I close down all other instances, login to the application on my machine running Vista, I succeed (without any change being done to application / server settings). Later when the other systems log in to the application, they are also able to successfully.&lt;/p&gt;
&lt;p align=left&gt;Same bhaviour with another system too running Vista.&lt;/p&gt;
&lt;p align=left&gt;&lt;/p&gt;
&lt;p align=left&gt;Does this have to do with the multiple instances running or with Windows Vista? How do I solve this?&lt;/p&gt;
&lt;p align=left&gt;&lt;/p&gt;
&lt;p align=left&gt;Thanks for any help.&lt;/p&gt;
&lt;p align=left&gt;DA.&lt;/p&gt;
&lt;p align=left&gt;&lt;/p&gt;
&lt;p align=left&gt;&lt;/p&gt;
&lt;p align=left&gt;&lt;/p&gt;</description>
      <link>http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=4154547&amp;SiteID=1</link>
      <source url="http://forums.microsoft.com/msdn/ShowForum.aspx?ForumID=87&amp;SiteID=1">MSDN Forums: SQL Server Data Access</source>
      <comments>http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=4154547&amp;SiteID=1</comments>
      <guid isPermaLink="True">http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=4154547&amp;SiteID=1</guid>
      <pubDate>Thu, 20 Nov 2008 22:46:28 GMT</pubDate>
    </item>
    <item>
      <title>New login - form computer object type</title>
      <description>&lt;p align=left&gt;&lt;font face=Arial size=2&gt;Hi all,&lt;/font&gt;&lt;/p&gt;
&lt;p align=left&gt;&lt;/p&gt;
&lt;p align=left&gt;I'm transfering some Crystal Report web applications (ASP.NET 2.0) to a new server and pointing them to SQL Server 2005 (was pointing to SQL Server 2000) and I have hit a snag related to the SQL Server login.&lt;/p&gt;
&lt;p align=left&gt;&lt;/p&gt;
&lt;p align=left&gt;When developing the app (in VS 2005) I successfully use a windowsdomain user group login to access the data. However, when deployed to the web server (IIS on Windows Server 2003 R2), the user accessing the database is recorded as the web server itself (&lt;em&gt;domain\servername&lt;/em&gt;$) and logon fails.&lt;/p&gt;
&lt;p align=left&gt;&lt;/p&gt;
&lt;p align=left&gt;I hit this problem with SQL Server 2000 as well, but I found I could solve this by creating a new login based on the computer object type with the appropriate permissions. This option doesn't seem to be available in SQL Server 2005 - only &lt;em&gt;'built-in security principals'&lt;/em&gt;, &lt;em&gt;'users'&lt;/em&gt;, and &lt;em&gt;'groups'&lt;/em&gt; options are available. Is there a way to allow the computer option to be turned on? &lt;/p&gt;
&lt;p align=left&gt;&lt;/p&gt;
&lt;p align=left&gt;I've also tried using &lt;/p&gt;
&lt;p align=left&gt;&lt;/p&gt;&lt;font color="#0000ff" size=2&gt;
&lt;p align=left&gt;
&lt;div class=codeseg&gt;
&lt;div class=codecontent&gt;
&lt;div class=codesniptitle&gt;&lt;span&gt;Code Snippet&lt;/span&gt;&lt;/div&gt;&lt;font color="#0000ff" size=2&gt;
&lt;p align=left&gt;CREATE&lt;/font&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;font color="#0000ff" size=2&gt;LOGIN&lt;/font&gt;&lt;font size=2&gt; [&lt;em&gt;domain\servername&lt;/em&gt;$] &lt;/font&gt;&lt;font color="#0000ff" size=2&gt;FROM&lt;/font&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;font color="#0000ff" size=2&gt;WINDOWS&lt;/font&gt;&lt;/p&gt;
&lt;p align=left&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p align=left&gt;&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size=2&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#000000"&gt;to create a login, but the ASP.NET app still doesn't work.&lt;/font&gt;&lt;/p&gt;
&lt;p align=left&gt;&lt;font color="#000000"&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p align=left&gt;&lt;font color="#000000"&gt;(I realise that a solution may also lie in the configuration of IIS and forcing the user credentials in the .NET application, so all suggestions are welcome!)&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p align=left&gt;Thanks in advance.&lt;/p&gt;</description>
      <link>http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=4142763&amp;SiteID=1</link>
      <source url="http://forums.microsoft.com/msdn/ShowForum.aspx?ForumID=87&amp;SiteID=1">MSDN Forums: SQL Server Data Access</source>
      <comments>http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=4142763&amp;SiteID=1</comments>
      <guid isPermaLink="True">http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=4142763&amp;SiteID=1</guid>
      <pubDate>Tue, 18 Nov 2008 02:49:42 GMT</pubDate>
    </item>
    <item>
      <title>how to SELECT into output file (scheduled task) ?</title>
      <description>&lt;p align=left&gt;&lt;font face=Arial size=2&gt;With utilitycan be executed from scheduled task,&lt;br&gt;and can run SELECT operator &lt;br&gt;and save result into output file?&lt;/font&gt;&lt;/p&gt;
&lt;p align=left&gt;&lt;/p&gt;
&lt;p align=left&gt;&lt;font face=Arial size=2&gt;I can ran script and save result into output file using SQL Server Management &lt;/font&gt;&lt;/p&gt;
&lt;p align=left&gt;&lt;font face=Arial size=2&gt;Studio,&lt;br&gt;but I dont know how to execute this from scheduled task.&lt;/font&gt;&lt;/p&gt;
&lt;p align=left&gt;&lt;/p&gt;
&lt;p align=left&gt;&lt;font face=Arial size=2&gt;I mast not use ISQL(because of DB Library) and OSQL(ODBC).&lt;/font&gt;&lt;/p&gt;</description>
      <link>http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=4153217&amp;SiteID=1</link>
      <source url="http://forums.microsoft.com/msdn/ShowForum.aspx?ForumID=87&amp;SiteID=1">MSDN Forums: SQL Server Data Access</source>
      <comments>http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=4153217&amp;SiteID=1</comments>
      <guid isPermaLink="True">http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=4153217&amp;SiteID=1</guid>
      <pubDate>Thu, 20 Nov 2008 02:35:37 GMT</pubDate>
    </item>
    <item>
      <title>ODBC SQLGetTypeInfo returns no row for SQL_SS_UDT</title>
      <description>&lt;font size=2&gt;&lt;span&gt;SQL Server Native Client 10.0 2007.100.1600.22&lt;br&gt;ODBC driver returns no row for data type SQL_SS_UDT. However, this data type is returned as the data type for the new geometry and geography data types. Example,&lt;br&gt;&lt;br&gt;CREATE TABLE [test_geometry](&lt;br&gt; [col1] [int] NOT NULL,&lt;br&gt; [col_geometry] [geometry] NULL,&lt;br&gt; [col_geography] [geography] NULL,&lt;br&gt; [col_hierarchyid] [hierarchyid] NULL,&lt;br&gt;CONSTRAINT [PK_test_geometry] PRIMARY KEY );&lt;br&gt;&lt;br&gt;Select&lt;br&gt;"col1", "col_geometry", "col_geography", "col_hierarchyid"&lt;br&gt;from&lt;br&gt;"test_geometry"&lt;br&gt;&lt;br&gt;My application gets the following resultset description for the select statement above ( col, typename, datatype ):&lt;br&gt;col1 int SQL_INTEGER&lt;br&gt;col_geometry udt SQL_SS_UDT&lt;br&gt;col_geography udt SQL_SS_UDT&lt;br&gt;col_hierarchyid udt SQL_SS_UDT&lt;br&gt;&lt;br&gt;Querying SQLGetTypeInfo about SQL_SS_UDT (-151) returns no row, so a cross-DBMS ODBC application would would not know for example that SQL Server 2008 supports datatype SQL_SS_UDT (-151) and can not find out the literal prefix/suffix since no row is returned by SQLGetTypeInfo. &lt;br&gt;&lt;br&gt;SQLGetTypeInfo I believe should return a row similar to row returned for SQL_LONGVARBINARY datatype.&lt;br&gt;&lt;br&gt;&lt;/span&gt;&lt;/font&gt;</description>
      <link>http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=4152408&amp;SiteID=1</link>
      <source url="http://forums.microsoft.com/msdn/ShowForum.aspx?ForumID=87&amp;SiteID=1">MSDN Forums: SQL Server Data Access</source>
      <comments>http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=4152408&amp;SiteID=1</comments>
      <guid isPermaLink="True">http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=4152408&amp;SiteID=1</guid>
      <pubDate>Wed, 19 Nov 2008 23:19:17 GMT</pubDate>
    </item>
    <item>
      <title>Searching in 2 different tables</title>
      <description>&lt;font size=2&gt;&lt;span&gt;Hi All,&lt;br&gt;&lt;br&gt;I don't use SQL that much, so maybe this is a bit of a stupid question. But I hope to get an answer here.&lt;br&gt;&lt;br&gt;I have three tables:&lt;br&gt;Table 1 contains the columns: GroupID, GroupDesc.&lt;br&gt;Table 2 contains the columns: GroupID, PartNr, PartDescr&lt;br&gt;Table 3 contains the columns: GroupID, DetailNr, DetailDescr&lt;br&gt;&lt;br&gt;As you can imagine 1 table contains group names and the other two tables contain elements that belong to one of the groups in table 1.&lt;br&gt;&lt;br&gt;What I want is to read all values from table 2 and from table 3 that have GroupID=1.&lt;br&gt;&lt;br&gt;I tried:&lt;br&gt;Select Table2.PartNr, Table3.DetailNr FROM (Table2 LEFT JOIN Table1 ON Table2.GroupID=Table1.GroupID) LEFT JOIN Table3 ON Table3.GroupID=Table1.GroupID WHERE Table1.GroupID=1;&lt;br&gt;&lt;br&gt;This doesn't work, cause it lists 2 columns and duplicates entries. Like Table2 has 3 items with GroupID=1 and Table3 has 5 items with GroupID=1, I get a total of 3*5 = 15 results. One column with 5x all three Table2 results and a second column with 3x all five Table3 results.&lt;br&gt;&lt;br&gt;Can anybody help me on how I solve this?&lt;br&gt;Thanks in advance for your answer.&lt;br&gt;&lt;/span&gt;&lt;/font&gt;</description>
      <link>http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=4152510&amp;SiteID=1</link>
      <source url="http://forums.microsoft.com/msdn/ShowForum.aspx?ForumID=87&amp;SiteID=1">MSDN Forums: SQL Server Data Access</source>
      <comments>http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=4152510&amp;SiteID=1</comments>
      <guid isPermaLink="True">http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=4152510&amp;SiteID=1</guid>
      <pubDate>Wed, 19 Nov 2008 23:43:21 GMT</pubDate>
    </item>
    <item>
      <title>SqlParameter with spaces characters in its ParameterName</title>
      <description>&lt;p align=left&gt;&lt;/p&gt;
&lt;p&gt;Hi to everybody, I have a little problem.&lt;/p&gt;
&lt;p align=left&gt;&lt;/p&gt;
&lt;p align=left&gt;I need that the name of a sqlparameter has a space charater.&lt;/p&gt;
&lt;p align=left&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#2b91af"&gt;&lt;font color="#2b91af"&gt;SqlParameter&lt;/font&gt;&lt;/font&gt; paremeterEdadReal = &lt;font color="#0000ff"&gt;&lt;font color="#0000ff"&gt;new&lt;/font&gt;&lt;/font&gt; &lt;font color="#2b91af"&gt;&lt;font color="#2b91af"&gt;SqlParameter&lt;/font&gt;&lt;/font&gt;();&lt;/p&gt;
&lt;p&gt;paremeterEdadReal.ParameterName = &lt;font color="#a31515"&gt;&lt;font color="#a31515"&gt;"Edad real"&lt;/font&gt;&lt;/font&gt;;&lt;/p&gt;
&lt;p&gt;paremeterEdadReal.Value = 666;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p align=left&gt;&lt;/p&gt;
&lt;p align=left&gt;I tryed this queries:&lt;/p&gt;
&lt;p align=left&gt;&lt;/p&gt;&lt;font color="#0000ff"&gt;&lt;font color="#0000ff"&gt;
&lt;p&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#a31515"&gt;&lt;font color="#a31515"&gt;@"INSERT INTO Tabla ([Nombre], [Edad], [Edad real]) VALUES (@Nombre, @Edad, @Edad real)"&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p align=left&gt;&lt;/p&gt;&lt;font color="#0000ff"&gt;&lt;font color="#0000ff"&gt;&lt;font color="#0000ff"&gt;&lt;font color="#0000ff"&gt;
&lt;p&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#a31515"&gt;&lt;font color="#a31515"&gt;&lt;font color="#993300"&gt;@"INSERT&lt;/font&gt; INTO Tabla ([Nombre], [Edad], [Edad real]) VALUES (@Nombre, @Edad, @[Edad real])"&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;font color="#0000ff"&gt;&lt;font color="#0000ff"&gt;
&lt;p&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#a31515"&gt;&lt;font color="#a31515"&gt;@"INSERT INTO Tabla ([Nombre], [Edad], [Edad real]) VALUES (@Nombre, @Edad, [@Edad real])"&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p align=left&gt;&lt;/p&gt;
&lt;p align=left&gt;But I have an exception when I execute this query.&lt;/p&gt;
&lt;p align=left&gt;&lt;/p&gt;
&lt;p align=left&gt;Somebody could help me please?&lt;/p&gt;
&lt;p align=left&gt;&lt;/p&gt;
&lt;p align=left&gt;Thanks in advance :)&lt;/p&gt;</description>
      <link>http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=4150918&amp;SiteID=1</link>
      <source url="http://forums.microsoft.com/msdn/ShowForum.aspx?ForumID=87&amp;SiteID=1">MSDN Forums: SQL Server Data Access</source>
      <comments>http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=4150918&amp;SiteID=1</comments>
      <guid isPermaLink="True">http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=4150918&amp;SiteID=1</guid>
      <pubDate>Thu, 20 Nov 2008 05:47:09 GMT</pubDate>
    </item>
    <item>
      <title>How to create two instance at same machine?</title>
      <description>&lt;p align=left&gt;&lt;font face=Arial size=2&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;Hi,&lt;/p&gt;
&lt;p align=left&gt; Could you please guide me, how to create more than one instance at same machine? I want to assign this instances for Primary Database server, Mirror Database server and Witness Server also.&lt;/p&gt;
&lt;p align=left&gt;&lt;/p&gt;
&lt;p align=left&gt;&lt;/p&gt;
&lt;p align=left&gt;Thanks in advance.&lt;/p&gt;
&lt;p align=left&gt;&lt;/p&gt;
&lt;p align=left&gt;Manian.R&lt;/p&gt;</description>
      <link>http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=4150977&amp;SiteID=1</link>
      <source url="http://forums.microsoft.com/msdn/ShowForum.aspx?ForumID=87&amp;SiteID=1">MSDN Forums: SQL Server Data Access</source>
      <comments>http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=4150977&amp;SiteID=1</comments>
      <guid isPermaLink="True">http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=4150977&amp;SiteID=1</guid>
      <pubDate>Thu, 20 Nov 2008 06:03:57 GMT</pubDate>
    </item>
    <item>
      <title>Performance Impact of enabling MARS in Connection Strings</title>
      <description>I am making custom modules for DotNetNuke. As many of you might be knowing, DNN is a .NET based CMS, with great extensibility &amp; flexibility.&lt;br&gt;&lt;br&gt;The connection string is stored centrally in web.config. I am creating a new Module which requires MARS capability. However, I am confused to simply modify the web.config connection string for enabling MARS, or should I do it in code for that single module only??&lt;br&gt;&lt;br&gt;The reason being that no other module or the core needs MARS. Enabling it in web.config would make all connections MARS cpabale, &amp; if that causes a performance penalty, that would slow down the entire portal. So, in that case, I would like to do it in code for the single module only, that needs MARS capability.&lt;br&gt;</description>
      <link>http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=4149677&amp;SiteID=1</link>
      <source url="http://forums.microsoft.com/msdn/ShowForum.aspx?ForumID=87&amp;SiteID=1">MSDN Forums: SQL Server Data Access</source>
      <comments>http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=4149677&amp;SiteID=1</comments>
      <guid isPermaLink="True">http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=4149677&amp;SiteID=1</guid>
      <pubDate>Wed, 19 Nov 2008 23:56:28 GMT</pubDate>
    </item>
    <item>
      <title>SYSTEM ERROR 5! Help me please...</title>
      <description>&lt;p align=left&gt;&lt;font face=Arial size=2&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;I was having trouble with Windows updater (error code 80240016) and then found the solution was to open service command and follow the instructions given on this microsoft site. BUT it didn't work because for some reason access was denied and it kept saying 'System Error 5". &lt;img src="http://forums.microsoft.com/TechNet/WebResource.axd?d=NySzF1eivP_rMoc50GQJzcvS4MHMOEKwYrCIgDtzuzlw7GsNki3H_INlfYaLgkxFL0PPoa0rCDFqtyG35ZPaHQ2&amp;t=633337194230757564"&gt;&lt;/p&gt;
&lt;p align=left&gt;&lt;/p&gt;
&lt;p align=left&gt;Please help, I can't update windows until this issue is resolved!&lt;/p&gt;</description>
      <link>http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=4148077&amp;SiteID=1</link>
      <source url="http://forums.microsoft.com/msdn/ShowForum.aspx?ForumID=87&amp;SiteID=1">MSDN Forums: SQL Server Data Access</source>
      <comments>http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=4148077&amp;SiteID=1</comments>
      <guid isPermaLink="True">http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=4148077&amp;SiteID=1</guid>
      <pubDate>Wed, 19 Nov 2008 02:41:40 GMT</pubDate>
    </item>
    <item>
      <title>Connecting SQL Server between VSTS on two different Windows versions?</title>
      <description>&lt;p align=left&gt;I have SQL Server 2005 set up on a Windows XP machine, which I'm using as an app server (home network) and my development machine is a Windows Vista (Home Premium edition...). I have Visual Studio Team Developer 2008 installed. Both machines are set up on a home network with a Linksys 4-port/wireless hub router connecting them to the internet. The XP machine is set up wirelessly; the Vista machine is wired.&lt;/p&gt;
&lt;p align=left&gt;&lt;/p&gt;
&lt;p align=left&gt;In SQL Server Configuration Manager, I have enabled Named Pipes under the Protocols. I created an NT AUTHORITY/Network Service account under the Logins. I also installed the Applications Services database (it's called the default of aspnetdb) using the commandline prompt (aspnet_regsql -E-S myxpmachine -A r),and given the Network Service account the Role of aspnet_Roles_FullAccess.&lt;/p&gt;
&lt;p align=left&gt;&lt;/p&gt;
&lt;p align=left&gt;In VSTS, with a project open, I right-click on Data Connections, click Add Connection, select Sql Server connection type, type myxpmachine in the server name, and aspnetdb in the Database Name box, and click Test Connection.&lt;/p&gt;
&lt;p align=left&gt;&lt;/p&gt;
&lt;p align=left&gt;I get this message:&lt;/p&gt;
&lt;p align=left&gt;&lt;/p&gt;
&lt;p align=left&gt;Login failed for user MYXPMACHINE\Guest.&lt;/p&gt;
&lt;p align=left&gt;&lt;/p&gt;
&lt;p align=left&gt;If I try to use Sql Server Express Management Studio from Vista to XP, I get a very long message about permissions (I'll copy that in here later if someone doesn't know what I'm talking about already) and no connection.&lt;/p&gt;
&lt;p align=left&gt;&lt;/p&gt;
&lt;p align=left&gt;My colleague at work says I need to open up a port on my Linksys router to permit the connection, but I'm wondering if there is something germane about a Vista machine trying to connect to an XP server that is causing the issue. Or, is there some sort of permission I need to set in Sql Server? Or, do I need to change a setting in VSTS?&lt;/p&gt;
&lt;p align=left&gt;&lt;/p&gt;
&lt;p align=left&gt;Help!!!&lt;/p&gt;</description>
      <link>http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=4148004&amp;SiteID=1</link>
      <source url="http://forums.microsoft.com/msdn/ShowForum.aspx?ForumID=87&amp;SiteID=1">MSDN Forums: SQL Server Data Access</source>
      <comments>http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=4148004&amp;SiteID=1</comments>
      <guid isPermaLink="True">http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=4148004&amp;SiteID=1</guid>
      <pubDate>Wed, 19 Nov 2008 02:21:28 GMT</pubDate>
    </item>
    <item>
      <title>MSIDXS: Row handle is invalid</title>
      <description>&lt;p align=left&gt;I've migrated a legacy application from SQL 2000 to SQL 2008 and Im getting the following error when running an OPENQUERY against the MS indexing Service. &lt;/p&gt;
&lt;p align=left&gt;&lt;/p&gt;
&lt;p align=left&gt;
&lt;div class=codeseg&gt;
&lt;div class=codesniptitle&gt;select * &lt;br&gt;FROM OPENQUERY(fullOsfi,'select Directory,Rank&lt;br&gt;FROM web1.catOSFI82_e..SCOPE('' "E:\IIS\Sites\Evolutra8\HTML\" '') &lt;br&gt;WHERE CONTAINS('' "repository" '') &gt; 0 ')&lt;/div&gt;
&lt;p class=codecontent align=left&gt;&lt;/p&gt;&lt;/div&gt;
&lt;p align=left&gt;&lt;/p&gt;
&lt;p align=left&gt;OLE DB provider "MSIDXS" for linked server "fullOsfi" returned message "Row handle is invalid.".&lt;br&gt;Msg 7330, Level 16, State 2, Line 1&lt;br&gt;Cannot fetch a row from OLE DB provider "MSIDXS" for linked server "fullOsfi".&lt;br&gt;&lt;/p&gt;
&lt;p align=left&gt;&lt;/p&gt;
&lt;p align=left&gt;The issue seems to be data related. Interestingly enough if I I limit the number of rows returned with the TOP command it works up until 42 records. As soon as I hit TOP 43 it fails. If I reduce the columns I can return more data until a limit. &lt;/p&gt;
&lt;p align=left&gt;&lt;/p&gt;
&lt;p align=left&gt;Something also interesting is the results seem to briefly appear after running the query but then disappear with the error.&lt;/p&gt;
&lt;p align=left&gt;&lt;/p&gt;
&lt;p align=left&gt;Im running SQL 2008 64bit on Window 2008 and the web1 server running MS indexing service is Window 2000&lt;/p&gt;
&lt;p align=left&gt;Paul&lt;/p&gt;
&lt;p align=left&gt;&lt;/p&gt;</description>
      <link>http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=4147573&amp;SiteID=1</link>
      <source url="http://forums.microsoft.com/msdn/ShowForum.aspx?ForumID=87&amp;SiteID=1">MSDN Forums: SQL Server Data Access</source>
      <comments>http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=4147573&amp;SiteID=1</comments>
      <guid isPermaLink="True">http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=4147573&amp;SiteID=1</guid>
      <pubDate>Wed, 19 Nov 2008 00:21:58 GMT</pubDate>
    </item>
    <item>
      <title>JDBC driver 2.1 connecting to SQL Server 2005</title>
      <description>&lt;p align=left&gt;&lt;font size=2 face=Arial&gt;&lt;/font&gt;&lt;/p&gt;We are implementing a oracle solution which uses JDBC 1.2 to connect to a SQL Server 2005 database server. The SQL Server is a named instance and we are getting a connection error when we try to connect to that server. I want to know if JDBC 1.2 supports named instances. Thanks for any help in this regard.</description>
      <link>http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=4147760&amp;SiteID=1</link>
      <source url="http://forums.microsoft.com/msdn/ShowForum.aspx?ForumID=87&amp;SiteID=1">MSDN Forums: SQL Server Data Access</source>
      <comments>http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=4147760&amp;SiteID=1</comments>
      <guid isPermaLink="True">http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=4147760&amp;SiteID=1</guid>
      <pubDate>Wed, 19 Nov 2008 01:12:26 GMT</pubDate>
    </item>
    <item>
      <title>How do you determine if a SQLException is due to a connection or query problem?</title>
      <description>&lt;font size=2&gt;&lt;span&gt;Is there a foolproof method for determining if a SQLException was caused by a query versus some connection-related problem? My application should handle the two cases in very different ways, so it's important to cover every case.&lt;br&gt;&lt;br&gt;Any help would be appreciated.&lt;br&gt;&lt;/span&gt;&lt;/font&gt;</description>
      <link>http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=4147239&amp;SiteID=1</link>
      <source url="http://forums.microsoft.com/msdn/ShowForum.aspx?ForumID=87&amp;SiteID=1">MSDN Forums: SQL Server Data Access</source>
      <comments>http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=4147239&amp;SiteID=1</comments>
      <guid isPermaLink="True">http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=4147239&amp;SiteID=1</guid>
      <pubDate>Tue, 18 Nov 2008 23:09:54 GMT</pubDate>
    </item>
    <item>
      <title>Connecting with Windows Authentication using different Domain</title>
      <description>&lt;p align=left&gt;&lt;font size=2 face=Arial&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;Hi,&lt;/p&gt;
&lt;p align=left&gt;&lt;/p&gt;
&lt;p align=left&gt;I have Vista Home Edition and has no posibility to add my computer to a domain but i have Windows authentication on a sql server 2005 server. I need help in connecting to sql server using Windows authentication for a given domain.&lt;/p&gt;
&lt;p align=left&gt;&lt;/p&gt;
&lt;p align=left&gt;Thanks,&lt;/p&gt;
&lt;p align=left&gt;sanp&lt;/p&gt;</description>
      <link>http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=4147186&amp;SiteID=1</link>
      <source url="http://forums.microsoft.com/msdn/ShowForum.aspx?ForumID=87&amp;SiteID=1">MSDN Forums: SQL Server Data Access</source>
      <comments>http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=4147186&amp;SiteID=1</comments>
      <guid isPermaLink="True">http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=4147186&amp;SiteID=1</guid>
      <pubDate>Tue, 18 Nov 2008 22:58:16 GMT</pubDate>
    </item>
    <item>
      <title>server is not configured for data access error</title>
      <description>&lt;font size=2&gt;&lt;span&gt;Hi all, Im relativly new to SQL Server so this may be a bit of a dumb question. &lt;br&gt;&lt;br&gt;I have a user who originally was getting the error "could not find server in sys.servers...." when they were trying to delete a record. &lt;br&gt;&lt;br&gt;So I ran select * from sys.servers and sure enough it was not listed&lt;br&gt;&lt;br&gt;then &lt;br&gt;&lt;br&gt;sp_addserver 'SERVER'&lt;br&gt;&lt;br&gt;they are no longer receiving the could not find server error however they are receiving the server is not configured for data access error. &lt;br&gt;&lt;br&gt;What is confusing to me is that this user can log into the database and query for data, just not delete any data.&lt;br&gt;&lt;br&gt;I am completely stumped as to what is causing this. Not to mention The servers name isn't even 'server' its 'iO' and the ODBC connection is configured properly.&lt;br&gt;&lt;br&gt;any help would be greatly appreciated&lt;br&gt;&lt;br&gt;Thanks!&lt;br&gt;&lt;br&gt;EDIT: the client is running SQL Server 2005&lt;br&gt;&lt;/span&gt;&lt;/font&gt;</description>
      <link>http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=4147075&amp;SiteID=1</link>
      <source url="http://forums.microsoft.com/msdn/ShowForum.aspx?ForumID=87&amp;SiteID=1">MSDN Forums: SQL Server Data Access</source>
      <comments>http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=4147075&amp;SiteID=1</comments>
      <guid isPermaLink="True">http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=4147075&amp;SiteID=1</guid>
      <pubDate>Tue, 18 Nov 2008 22:36:28 GMT</pubDate>
    </item>
    <item>
      <title>SQL Server 2008 connecting to DB2 Server for VSE 7.1</title>
      <description>&lt;p align=left&gt;&lt;font face=Arial size=2&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;Has anyone connected SQL Server to DB2 Server for VSE? Does the DB2 Server include an ODBC connection or do we need another product (i.e DB2 connect and/or Host Integration Server) to connect?&lt;/p&gt;
&lt;p align=left&gt;&lt;/p&gt;
&lt;p align=left&gt;Thanks&lt;/p&gt;
&lt;p align=left&gt;Lorie &lt;/p&gt;</description>
      <link>http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=4146866&amp;SiteID=1</link>
      <source url="http://forums.microsoft.com/msdn/ShowForum.aspx?ForumID=87&amp;SiteID=1">MSDN Forums: SQL Server Data Access</source>
      <comments>http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=4146866&amp;SiteID=1</comments>
      <guid isPermaLink="True">http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=4146866&amp;SiteID=1</guid>
      <pubDate>Tue, 18 Nov 2008 21:55:38 GMT</pubDate>
    </item>
    <item>
      <title>Classic ASP On Server 2008 &amp; SQL 2008</title>
      <description>&lt;p&gt;I am currently migrating one of my clients sites to a windows server 2008 and SQL 2008 setup, but I am having massive problems with connecting to the database from the site.&lt;/p&gt;
&lt;p align=left&gt;&lt;/p&gt;
&lt;p&gt;I have restored the database from a SQL 2k backup into the SQL 2008 server, I have setup the user correctly and can login as that user in management studio fine. I have copied over the site .asp files which load fine when there is no database access. But when i try to access the database it fails with "Login Failed for user......". &lt;/p&gt;
&lt;p align=left&gt;&lt;/p&gt;
&lt;p&gt;I have reset the passwords, created new users, changed the connectionstring from OLEDB to SQL Native Client and back again but keep getting errors. I have even setup a dummy database and user and still have the same problem.&lt;/p&gt;
&lt;p&gt;Does anyone know of a reason why this could be happening? Is there a setting in SQL or windows that I am missing?&lt;/p&gt;
&lt;p&gt;I have been at this for hours and would really appreciate any ideas.&lt;/p&gt;
&lt;p align=left&gt;&lt;/p&gt;
&lt;p&gt;UPDATE 1: If I put the wrong login details in the connection string I get the error on "conn.open" but if I put in the correct login details I get the error on "cmd.activeconnection = conn". Not sure if that helps.&lt;/p&gt;
&lt;p align=left&gt;&lt;/p&gt;
&lt;p align=left&gt;UPDATE 2 : I did try setting up a UDL on the server whichconnected so I copied the connection string and now it returns an error "Object required: 'Provider=SQLOLEDB.1;' " on line "cmd.activeconnection = conn"&lt;/p&gt;
&lt;p align=left&gt;&lt;/p&gt;
&lt;p align=left&gt;The connection string is&lt;/p&gt;
&lt;p align=left&gt;"Provider=SQLOLEDB.1;Password=test;Persist Security Info=True;User ID=TestLogin;Initial Catalog=TestDB;Data Source=ServerName"&lt;/p&gt;
&lt;p align=left&gt;&lt;font face=Arial size=2&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p align=left&gt;Thanks&lt;/p&gt;</description>
      <link>http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=4146695&amp;SiteID=1</link>
      <source url="http://forums.microsoft.com/msdn/ShowForum.aspx?ForumID=87&amp;SiteID=1">MSDN Forums: SQL Server Data Access</source>
      <comments>http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=4146695&amp;SiteID=1</comments>
      <guid isPermaLink="True">http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=4146695&amp;SiteID=1</guid>
      <pubDate>Tue, 18 Nov 2008 21:21:04 GMT</pubDate>
    </item>
    <item>
      <title>SQL express 2005!</title>
      <description>I have SQL express edition 2005 to setup a server, buth a vew years ago i screwd it up and cant install or use it now anymore. I want to know how to completly remmove it from my pc withouth needing to reinstal my Windows.&lt;br&gt;&lt;br&gt;Iff i try to install it at this moment then i get a red cross at the Native client. Somehow it wont instal.&lt;br&gt;And bequze of that it makes some errors and reject me when i want to open SQL.&lt;br&gt;</description>
      <link>http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=4145207&amp;SiteID=1</link>
      <source url="http://forums.microsoft.com/msdn/ShowForum.aspx?ForumID=87&amp;SiteID=1">MSDN Forums: SQL Server Data Access</source>
      <comments>http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=4145207&amp;SiteID=1</comments>
      <guid isPermaLink="True">http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=4145207&amp;SiteID=1</guid>
      <pubDate>Wed, 19 Nov 2008 03:59:07 GMT</pubDate>
    </item>
  </channel>
</rss>