<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>IT Answers &#187; SQL Server 2005 error messages</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/tag/sql-server-2005-error-messages/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers</link>
	<description></description>
	<lastBuildDate>Tue, 18 Jun 2013 20:40:54 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>How do I resolve this SQL error</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-do-resolve-this-sql-error/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/how-do-resolve-this-sql-error/#comments</comments>
		<pubDate>Fri, 03 Feb 2012 11:52:04 +0000</pubDate>
		<dc:creator>ITdisciple</dc:creator>
				<category><![CDATA[SQL error messages]]></category>
		<category><![CDATA[SQL Server 2005 error messages]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[New Discussion Post by JSH]]></description>
				<content:encoded><![CDATA[New Discussion Post by JSH]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/how-do-resolve-this-sql-error/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SQL Server 2005 login error</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/sql-server-2005-5/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/sql-server-2005-5/#comments</comments>
		<pubDate>Sun, 06 Feb 2011 06:05:53 +0000</pubDate>
		<dc:creator>Servernetwrkdbase</dc:creator>
				<category><![CDATA[SQL Server 2005 error messages]]></category>
		<category><![CDATA[SQL Server error messages]]></category>
		<category><![CDATA[SQL Server errors]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I am not able to login in SQL SERVER 2005, I am getting error message&#8221;The connection was succesfully established with server, but then an error occur during pre-login handshake.(provider:SSL provider error:0- The certificate chain was issued by an authority that is not trusted.)(Microsoft sql error) Please provide me some solution&#8230;&#8230;&#8230;&#8230;&#8230; Thanks]]></description>
				<content:encoded><![CDATA[<p>I am not able to login in SQL SERVER 2005, I am getting error message&#8221;The connection was succesfully established with server, but then an error occur during pre-login handshake.(provider:SSL provider error:0- The certificate chain was issued by an authority that is not trusted.)(Microsoft sql error)</p>
<div></div>
<div></div>
<div>Please provide me some solution&#8230;&#8230;&#8230;&#8230;&#8230;</div>
<div></div>
<div>Thanks</div>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/sql-server-2005-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft Retail Management System and SQL Server &#8220;Write&#8221; error</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/microsoft-retail-management-system-and-sql-server-write-error/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/microsoft-retail-management-system-and-sql-server-write-error/#comments</comments>
		<pubDate>Mon, 16 Aug 2010 17:03:14 +0000</pubDate>
		<dc:creator>Cls</dc:creator>
				<category><![CDATA[Microsoft Retail Management]]></category>
		<category><![CDATA[RMS]]></category>
		<category><![CDATA[SQL Express]]></category>
		<category><![CDATA[SQL Server 2005]]></category>
		<category><![CDATA[SQL Server 2005 error messages]]></category>
		<category><![CDATA[SQL Server error messages]]></category>
		<category><![CDATA[Windows XP]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I am running Microsoft Dynamics Retail Management System POS 2.0 on Microsoft XP platform.  Store Operations Administrator and Manager are working with no problems.  I know I am networked properly.  When I open the POS I get the following:  &#8220;Open-Incorrect Function&#8221;, I can click OK and sign on the the POS, then I get &#8220;Write-No [...]]]></description>
				<content:encoded><![CDATA[<p>I am running Microsoft Dynamics Retail Management System POS 2.0 on Microsoft XP platform.  Store Operations Administrator and Manager are working with no problems.  I know I am networked properly.  When I open the POS I get the following:  &#8220;Open-Incorrect Function&#8221;, I can click OK and sign on the the POS, then I get &#8220;Write-No process on the other end of the pipe&#8221;.  I can add a customer and a product by just moving the Write error screen to the background, but I cannot tender the sale.  The Write error box keeps coming up and will not allow the transaction to continue.  I think this is a SQL server problem, but I cannot figure it out.  Please HELP!</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/microsoft-retail-management-system-and-sql-server-write-error/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>error in creating new database using sql server</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/error-in-creating-new-database-using-sql-server/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/error-in-creating-new-database-using-sql-server/#comments</comments>
		<pubDate>Tue, 27 Apr 2010 03:36:52 +0000</pubDate>
		<dc:creator>Ladylynn</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server 2005]]></category>
		<category><![CDATA[SQL Server 2005 administration]]></category>
		<category><![CDATA[SQL Server 2005 error messages]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I enter as the administrator, and when creating a new database a message always appear stating that permission denied in database master! what shall i do?]]></description>
				<content:encoded><![CDATA[<p>I enter as the administrator, and when creating a new database a message always appear stating that permission denied in database master! what shall i do?</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/error-in-creating-new-database-using-sql-server/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Deadlock issue in SQL Server 2005</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/deadlock-issue-in-sql-server-2005/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/deadlock-issue-in-sql-server-2005/#comments</comments>
		<pubDate>Mon, 06 Jul 2009 17:30:48 +0000</pubDate>
		<dc:creator>SQL Server Ask the Experts</dc:creator>
				<category><![CDATA[SQL Server 2005]]></category>
		<category><![CDATA[SQL Server 2005 error messages]]></category>
		<category><![CDATA[SQL Server errors]]></category>
		<category><![CDATA[SQL Troubleshooting]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I have encountered a deadlock issue in &#60;A href=&#8221;http://searchsqlserver.techtarget.com/topics/0,295493,sid87_tax301323,00.html”&#62;SQL Server 2005&#60;/a&#62;. According to the trace flag 1204 report, the following two queries are causing the deadlock: 1. Simple insert statement INSERT INTO TABLE1 (FIELD1, FIELD2, FIELD3) VALUES (@INTVAL, @NTEXTVAL, @CHARVAL) &#8211; Provide IX lock 2. Simple select statement with READPAST SELECT FIELD1, FIELD2, FIELD3 FROM [...]]]></description>
				<content:encoded><![CDATA[<p>I have encountered a deadlock issue in &lt;A href=&#8221;http://searchsqlserver.techtarget.com/topics/0,295493,sid87_tax301323,00.html”&gt;SQL Server 2005&lt;/a&gt;. </p>
<p>According to the trace flag 1204 report, the following two queries are causing the deadlock:</p>
<p>1. Simple insert statement<br />
   INSERT INTO TABLE1 (FIELD1, FIELD2, FIELD3) VALUES (@INTVAL, @NTEXTVAL, @CHARVAL)<br />
   &#8211; Provide IX lock</p>
<p>2. Simple select statement with READPAST<br />
   SELECT FIELD1, FIELD2, FIELD3 FROM TABLE1 WITH READPAST WHERE FIELD1 &gt; @VALUE<br />
   &#8211; Provide S lock</p>
<p>The above queries handle online transactions. One service will only run the insert statement and the other service will only run the select statement. This deadlock error happens intermittently.</p>
<p>I&#8217;m wondering if this deadlock happens because FIELD2 is a ntext field?  If I&#8217;m using NOLOCK in the SELECT statement, would it be possible that I may miss retrieving FIELD2 information since it is the ntext field that keeps data in a separate page?</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/deadlock-issue-in-sql-server-2005/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Installing SQL Server 2005 Enterprise Manager in Windows XP Pro</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/sql-2005-enterprise-manager/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/sql-2005-enterprise-manager/#comments</comments>
		<pubDate>Thu, 19 Feb 2009 11:25:59 +0000</pubDate>
		<dc:creator>Advancedjava</dc:creator>
				<category><![CDATA[IIS]]></category>
		<category><![CDATA[IIS errors]]></category>
		<category><![CDATA[SQL Server 2005 Enterprise Manager]]></category>
		<category><![CDATA[SQL Server 2005 error messages]]></category>
		<category><![CDATA[SQL Server Enterprise Manager]]></category>
		<category><![CDATA[SQL Server error messages]]></category>
		<category><![CDATA[Windows XP]]></category>
		<category><![CDATA[Windows XP Professional]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[how to install SQL 2005 enterprise manager in XP professional.. When I am trying to install it, it is giving me IIS errors]]></description>
				<content:encoded><![CDATA[<p>how to install SQL 2005 enterprise manager in XP professional.. When I am trying to install it, it is giving me IIS errors</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/sql-2005-enterprise-manager/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Inserting rows and multiple rows in SQL Server 2005 Express</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/insert-row-into-table1-and-then-insert-multiple-row-into-table2-in-sql-server-2005-express/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/insert-row-into-table1-and-then-insert-multiple-row-into-table2-in-sql-server-2005-express/#comments</comments>
		<pubDate>Sun, 14 Dec 2008 14:16:45 +0000</pubDate>
		<dc:creator>Ariell</dc:creator>
				<category><![CDATA[INSERT statement]]></category>
		<category><![CDATA[SQL Server 2005]]></category>
		<category><![CDATA[SQL Server 2005 error messages]]></category>
		<category><![CDATA[SQL Server 2005 Express]]></category>
		<category><![CDATA[SQL Server stored procedures]]></category>
		<category><![CDATA[Stored Procedures]]></category>
		<category><![CDATA[VB.NET]]></category>
		<category><![CDATA[Visual Basic .NET]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Anyone there who can help me solve my problem? I can’t continue my program because of this problem which I know someone can solve or can suggest the best possible solution. I have a project in my study doing simple accounting program. To facilitate the discussion, I will just show you the three tables where [...]]]></description>
				<content:encoded><![CDATA[<p>Anyone there who can help me solve my problem?  I can’t continue my program because of this problem which I know someone can solve or can suggest the best possible solution.<br />
I have a project in my study doing simple accounting program. To facilitate the discussion, I will just show you the three tables where I want to insert records &#8211; the TransactionTable and the TransactionDetailsTable. I am very confused of how to create a stored procedures to insert a single row of record in TransactionDetailsTable and multiple rows of record in TransactionTable. The GLTable only holds GLCode and its Description. Can you please help me to create the perfect one for my problem?</p>
<p>TRANSDETAILSTABLE<br />
TransRef_VC(15) PK     &#8211; the primary key to store the voucher No.<br />
TransDate_DT                &#8211; this will store the date of transaction<br />
Particulars_VC(200)      &#8211; this will store the explanation of transaction</p>
<p>TRANSACTIONTABLE<br />
TransEntryNum(BigInt) PK -the primary key, autoincrement<br />
TransRef_VC(15) FK        -the foreign key, this will store the voucher no.<br />
GLCode_CH(10) (FK)        -the account code such as 1010010000 for CASH<br />
TransAmount_MN             -the amount of transaction, positive for debit and negative for credit</p>
<p>GLTABLE<br />
GLCode_CH(10) (PK)      -primary key to hold code of accounts<br />
GLDescription_VC(75)    -the accounts description such as CASH, ACCOUNTS<br />
                                          RECEIVABLES, etc.</p>
<p>Below is a sample transaction</p>
<p>Transaction Reference Number: CR12345</p>
<p>Transaction Date: 12/14/2008</p>
<p>GLCode          GL Description             Debit            Credit<br />
———–          ———————        —&#8212;——–   &#8212;———–<br />
1010010000   CASH                         1,500.00<br />
1050020000   Sales Discount                                     30.00<br />
1050010000   SALES                                             1,500.00</p>
<p>Particulars: To record cash sales from customers.</p>
<p>I created a function under the Class as follows</p>
<p>Public Sub AddTransaction(ByVal myTransTable As DataTable, ByVal iret As Integer)</p>
<p>I have strConnectionString declared.</p>
<p>Dim myConnection As sqlConnection = New SqlConnection(strConnectionString)<br />
Dim cmdAddTransEntry, cmdAddTransRef As SqlCommand<br />
Dim ParamTransRef, ParamRef, ParamTransDate, ParamParticulars, ParamUserID, ParamGLCode, ParamSLCode, ParamTransAmount, ParamTransCat As SqlParameter<br />
Dim myTrans As SqlTransaction<br />
Dim strAddTrans As String</p>
<p>myConnection.Open()<br />
myTrans = myConnection.BeginTransaction</p>
<p>Try<br />
strAddTrans = “INSERT INTO TransactionDetailsTable(TransRef, TransDate, TransParticulars)” &#038; _<br />
“VALUES(@TransRef, @TransDate, @TransParticulars)”<br />
cmdAddTransRef = New SqlCommand(strAddTrans, myConnection)<br />
cmdAddTransRef.Transaction = myTrans</p>
<p>ParamTransRef = cmdAddTransRef.Parameters.Add(”@TransRef”, SqlDbType.VarChar, 16)<br />
ParamTransDate = cmdAddTransRef.Parameters.Add(”@TransDate”, SqlDbType.SmallDateTime, 8)<br />
ParamParticulars = cmdAddTransRef.Parameters.Add(”@TransParticulars”, SqlDbType.VarChar, 300)</p>
<p>ParamTransRef.Value = VoucherNo           &#8216;came from class<br />
ParamTransDate.Value = dtSystemDate     ‘dtSystemDate is a variable given under Global<br />
                                                                     Module<br />
ParamParticulars.Value = Particulars          &#8216;came from class<br />
cmdAddTransRef.ExecuteNonQuery()</p>
<p>strAddTrans = “INSERT INTO TransEntryTable(TransRef, GLCode, SLCode, TransAmount)” &#038; _<br />
“VALUES(@TransRef, @GLCode, @SLCode, @TransAmount)”</p>
<p>cmdAddTransEntry = New SqlCommand(strAddTrans, myConnection)<br />
cmdAddTransEntry.Transaction = myTrans</p>
<p>Dim TAmount As Double = 0</p>
<p>For i = 0 To myTransTable.Rows.Count &#8211; 1          ‘ Came from Dataset</p>
<p>‘to determine if debit or credit and if credit make it negative(-)<br />
If Not IsNumeric(myTransTable.Rows(i)(2)) Then<br />
TAmount = myTable.Rows(i)(3) * (-1)<br />
Else<br />
TAmount = myTable.Rows(i)(2)<br />
End If</p>
<p>ParamRef = cmdAddTransEntry.Parameters.Add(”@TransRef”, SqlDbType.VarChar, 16)<br />
ParamGLCode = cmdAddTransEntry.Parameters.Add(”@GLCode”, SqlDbType.Char, 10)<br />
ParamTransAmount = cmdAddTransEntry.Parameters.Add(”@TransAmount”, SqlDbType.Money, 10)</p>
<p>ParamRef.Value = VoucherNo<br />
ParamGLCode.Value = myTable.Rows(i)(0)<br />
ParamTransAmount.Value = TAmount<br />
cmdAddTransEntry.ExecuteNonQuery()<br />
Next</p>
<p>myTrans.Commit()</p>
<p>Catch ex As Exception</p>
<p>myTrans.Rollback()<br />
MsgBox(”Transaction Not Added”)</p>
<p>Finally<br />
myConnection.Close()<br />
End Try</p>
<p>End Sub</p>
<p>executing this will return error as follows under cmdAddTransEntry.ExecuteQuery()</p>
<p>The variable name ‘@TransRef’ has already been declared. Variable names must be<br />
unique within a query batch or stored procedure.</p>
<p>I observed that i just encountered an error for the 2nd iteration of the for each loop. </p>
<p>Please help me solve this problem.</p>
<p>Thanks in advance and more power</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/insert-row-into-table1-and-then-insert-multiple-row-into-table2-in-sql-server-2005-express/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 3/21 queries in 0.028 seconds using memcached
Object Caching 742/817 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-06-18 21:18:17 -->