Bcp Fails When The Called SP Has An Update Statement

Jan 24, 2008

This is a very weird problem. SQL 2000. A bcp calls an SP:

bcp "exec MyDB.dbo.usp_DF_NA_Analytics_OOW" queryout SomeFile.dat -T -c -t "|" -S "MySvrMyInst"

SP code:
----------------------------
CREATE PROCEDURE dbo.usp_DF_NA_Analytics_OOW AS
BEGIN
SET NOCOUNT ON

--Declare Variables
DECLARE @CURRENTDATE DATETIME
DECLARE @BEGINTIME DATETIME
declare @feedname varchar(50)
set @feedname = 'DF_NA_Analytics_OOW'
SET @CURRENTDATE = CURRENT_TIMESTAMP

-- ensure there is a row for us - create 1 if it doesn't exist
exec usp_datafeed_timestamp_init @feedname

SET @BEGINTIME = (
SELECT LastRunTime
FROM NewAccounts.dbo.DataFeed_Timestamp
WHERE TaskName = @feedname
)

select oowReason.OOWTransaction_id,
oowReason.Position,
oowReason.ReasonCode,
oowTx.UpdateDateTime
from OOWTransaction oowTx (nolock)
join OOWReason oowReason (nolock)
on oowReason.OOWTransaction_id = oowTx.OOWTransaction_id
WHERE oowTx.UpdateDateTime >= @BEGINTIME and oowTx.UpdateDateTime < @CURRENTDATE
ORDER BY oowReason.OOWTransaction_id, Position

-- update the timestamp
exec usp_UPD @feedname, @currentdate
end
------------------------------


ALTER procedure dbo.usp_UPD (@feedname varchar(50), @lastruntime datetime)
as
begin
set nocount on


if not exists (select * from dbo.datafeed_timestamp where lower(taskname) = lower(@feedname))
INSERT INTO Datafeed_Timestamp(TaskName, LastRunTime) VALUES(@feedname, @lastruntime )
else
update Datafeed_Timestamp
set LastRunTime = @lastruntime
where TaskName = @feedname
end
----------------------------------------

The above bcp fails consistently unless the "exec usp_UPD" is completely removed.
Even if I substitute it with the update stmt instead of the SP call, it still fails.

I move the usp_UPD call and move it above the select making the select as the last command in the SP -- still fails.
Removed Order by -- still fails.

The weird thing is -- several other SPs that follow the same exact format (only select query is different) - they all succeed everytime.

This above bcp fails everytime unless the usp_UPD is fully removed.
I have tried putting the result dataset into a table variable and select it in the end -- still fails. several other attempt to workaround - fails -- by fails I mean "0 rows returned" from bcp -- when the UPD is removed, it returns the correct dataset. Otherwise always returns 0 rows.

Outside bcp, if I simply execute the SP from QA, it returns the correct dataset everytime. From bcp, it just doesn't like it. It returns 0 rows everytime, but does the UPD task -- the value does get updated adter execution.

Any thoughts/ideas? This thing is driving me NUTS


Thanks,
Rajesh

View 1 Replies


ADVERTISEMENT

SQL 2012 :: Get Identity Column Value When Update Statement Fails

Sep 9, 2015

My current proc updates(updates using joins of two or three tables) millions of records as per the condition provided for each department.

However, when the proc fails it writes to a ErrorTable, ERROR_MESSAGE(), ERROR_SEVERITY() and which department has failed.

Since the records are updated keeping the selected departments in loop, I get the department in a temp variable.

Now, I was asked to log the specific record where the failure was occured.

Something like log the identity column value or primary key value which record has failed.

View 4 Replies View Related

Transact SQL :: Get Identity Column Value When Update Statement Fails?

Sep 9, 2015

My current proc updates(updates using joins of two or three tables) millions of records as per the condition provided for each department.

However, when the proc fails it writes to a ErrorTable, ERROR_MESSAGE(), ERROR_SEVERITY() and which department has failed.

Since the records are updated keeping the selected departments in loop, I get the department in a temp variable.Now, I was asked to log the specific record where the failure was occured.Something like log the identity column value or primary key value which record has failed.

View 2 Replies View Related

SQL Server 2012 :: Update Statement Fails - Multipart Identifier Could Not Be Bound

Oct 7, 2014

Msg 4104, Level 16, State 1, Line 13
The multi-part identifier "Fatals_CTE.t_enrollmentID" could not be bound.

Here are the table definitions:

CREATE TABLE [dbo].[Enroll](
[enrollmentID] [int] IDENTITY(10000,1) NOT NULL,
[e_PatientID] [int] NOT NULL,
[e_ProtocolNo] [varchar](30) NOT NULL,
[enrollDate] [datetime] NULL,
[enrollOK] [bit] NULL,

[Code] .....

WHERE enrollmentID = Fatals_CTE.t_enrollmentID;

(I'm trying to update an enrollment's LeaveDate to the date of his Grade 5 event. )

View 2 Replies View Related

RAISERROR Of A SPROC Fails The SQl Job, From Which It Is Called

Apr 3, 2008



Hi All,

I have a Stored Procedure, which has a RAISERROR statement with LOG. I am calling this SP from a Job. Whenever the RAISERROR is executed, it also fails the job.. How should this be handled? The article:

http://support.microsoft.com/kb/309802 says that this has been fixed in SP4, but I am working on SQL Server 2000 SP4, but still it persists here. Can anyone please help me resolve issue? Can this be handled in Code? Or, Is it confirmed that even SP4 has not fixed this? Or is this a known issue and we need to live with it?

Thanks a lot,

Manoj Deshpande.

View 3 Replies View Related

Child Package Fails When Called From Parent

Oct 26, 2006

So I have a parent package that calls another package using the Execute Package Task. When I run the child it runs fine but when I run it from the parent i get this msg...Any ideas?

Error: 0xC00220E4 at Execute VR Account Load: Error 0xC0012050 while preparing to load the package. Package failed validation from the ExecutePackage task. The package cannot run.

View 4 Replies View Related

Excel Connection Manager Fails When Package Called Programatically

Jan 25, 2008

I've put together a SSIS package that, once a user uploads an Excel spreadsheet from a webpage, grabs it, does a mess of calculations and spits it out into a datareader (this last part is tricky, but I haven't even gotten to this point yet). In BIDS, the package works fine. Run using the 32-bit version of dtexec, it runs fine. But when I try to call it from the page, I keep getting an error. The errors look familiar enough that I'm thinking it's due to the package trying to run 64-bit, and that not playing nicely with Excel. If that's true, is there an easy way to force the 32-but version to be used? I've already set the project properties to Run64BitRuntime = false, which I'd hoped would help. but no luck.

Here's the code I'm using:




Code Snippet
string pkg = @"pathpackage.dtsx";
Application app = new Application();
Package p = app.LoadPackage(p, null);
Variable varFileName = p.Variables["strExcelFileName"];
varFileName.Vaue = strFileName;
Variable varFilePath = p.Variables["strExcelFilePath"];
varFilePath.Value = strFilePath;

DTSExecResult dte = p.Execute();

Error handling

p.Dispose();




And it kicks out the following:

-1071636471
TestReports_UploadTestReport
Connection manager "Excel Connection Manager"
Microsoft.SqlServer.Dts.Runtime.DtsError0{8BDFE898-E9D8-4D23-9739-DA807BCDC2AC}
SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80040154. An OLE DB record is available. Source: "Microsoft OLE DB Service Components" Hresult: 0x80040154 Description: "Class not registered".
-1071611876
DFT - Upload spreadsheet to dataset
Excel Source [1]
Microsoft.SqlServer.Dts.Runtime.DtsError0dtsmsg.rll{8BDFE893-E9D8-4D23-9739-DA807BCDC2AC}
SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "Excel Connection Manager" failed with error code 0xC0202009. There may be error messages posted before this with more information on why the AcquireConnection method call failed.
-1073450985
DFT - Upload spreadsheet to dataset
DTS.Pipeline
Microsoft.SqlServer.Dts.Runtime.DtsError0dtsmsg.rll{8BDFE893-E9D8-4D23-9739-DA807BCDC2AC}
component "Excel Source" (1) failed validation and returned error code 0xC020801C.
-1073450996
DFT - Upload spreadsheet to dataset
DTS.Pipeline
Microsoft.SqlServer.Dts.Runtime.DtsError0dtsmsg.rll{8BDFE893-E9D8-4D23-9739-DA807BCDC2AC}
One or more component failed validation.
-1073594105
DFT - Upload spreadsheet to dataset

View 3 Replies View Related

Update Stored Procedure Not Working When Called From C#

Jul 11, 2007

OK, I have been raking my brains with this and no solution yet. I simply want to update a field in a table given the record Id. When I try the SQL in standalone (no sp) it works and the field gets updated. When I do it by executing the stored procedure from a query window in the Express 2005 manager it works well too. When I use the stored procedure from C# then it does not work:
 1. ExecuteNonQuery() always returns -1 2. When retrieving the @RETURN_VALUE parameter I get -2, meaning that the SP did not find a matching record.
So, with #1 there is definitely something wrong as I would expect ExecuteNonQuery to return something meaningful and with #2 definitely strange as I am able to execute the same SQL code with those parameters from the manager and get the expected results.
Here is my code (some parts left out for brevity):1 int result = 0;
2 if (!String.IsNullOrEmpty(icaoCode))
3 {
4 icaoCode = icaoCode.Trim().ToUpper();
5 try
6 {
7 SqlCommand cmd = new SqlCommand(storedProcedureName);(StoredProcedure.ChangeAirportName);
8 cmd.Parameters.Add("@Icao", SqlDbType.Char, 4).Value = newName;
9 cmd.Parameters.Add("@AirportName", SqlDbType.NVarChar, 50).Value = (String.IsNullOrEmpty(newName) ? null : newName);
10 cmd.Parameters.Add("@RETURN_VALUE", SqlDbType.Int).Direction = ParameterDirection.ReturnValue;
11 cmd.Connection = mConnection; // connection has been opened already, not shown here
12 cmd.CommandType = CommandType.StoredProcedure;
13 int retval = cmd.ExecuteNonQuery(); // returns -1 somehow even when RETURN n is != -1
14 result = (int)cmd.Parameters["@RETURN_VALUE"].Value;
15
16 }
17 catch (Exception ex)
18 {
19 result = -1;
20 }
21 }

 And this is the stored procedure invoked by the code above:1 ALTER PROCEDURE [dbo].[ChangeAirfieldName]
2 -- Add the parameters for the stored procedure here
3 @Id bigint = null,-- Airport Id, OR
4 @Icao char(4) = null,-- ICAO code
5 @AirportName nvarchar(50)
6 AS
7 BEGIN
8 -- SET NOCOUNT ON added to prevent extra result sets from
9 -- interfering with SELECT statements.
10 SET NOCOUNT ON;
11
12 -- Parameter checking
13 IF @Id IS NULL AND @Icao IS NULL
14 BEGIN
15 RETURN -1;-- Did not specify which record to change
16 END
17 -- Get Id if not known given the ICAO code
18 IF @Id IS NULL
19 BEGIN
20 SET @Id = (SELECT [Id] FROM [dbo].[Airports] WHERE [Icao] = @Icao);
21 --PRINT @id
22 IF @Id IS NULL
23 BEGIN
24 RETURN -2;-- No airport found with that ICAO Id
25 END
26 END
27 -- Update record
28 UPDATE [dbo].[Airfields] SET [Name] = @AirportName WHERE [Id] = @Id;
29 RETURN @@ROWCOUNT
30 END

 As I said when I execute standalone UPDATE works fine, but when approaching it via C# it returns -2 (did not find Id).

View 2 Replies View Related

Wait For Recieve Fails To Recieve Message When Called From .Net SqlClient

Oct 14, 2005

I have been building out an application and Service Broker has been working great but I have this one nagging problem.

View 15 Replies View Related

Multiple Tables Used In Select Statement Makes My Update Statement Not Work?

Aug 29, 2006

I am currently having this problem with gridview and detailview. When I drag either onto the page and set my select statement to pick from one table and then update that data through the gridview (lets say), the update works perfectly.  My problem is that the table I am pulling data from is mainly foreign keys.  So in order to hide the number values of the foreign keys, I select the string value columns from the tables that contain the primary keys.  I then use INNER JOIN in my SELECT so that I only get the data that pertains to the user I am looking to list and edit.  I run the "test query" and everything I need shows up as I want it.  I then go back to the gridview and change the fields which are foreign keys to templates.  When I edit the templates I bind the field that contains the string value of the given foreign key to the template.  This works great, because now the user will see string representation instead of the ID numbers that coinside with the string value.  So I run my webpage and everything show up as I want it to, all the data is correct and I get no errors.  I then click edit (as I have checked the "enable editing" box) and the gridview changes to edit mode.  I make my changes and then select "update."  When the page refreshes, and the gridview returns, the data is not updated and the original data is shown. I am sorry for so much typing, but I want to be as clear as possible with what I am doing.  The only thing I can see being the issue is that when I setup my SELECT and FROM to contain fields from multiple tables, the UPDATE then does not work.  When I remove all of my JOIN's and go back to foreign keys and one table the update works again.  Below is what I have for my SQL statements:------------------------------------------------------------------------------------------------------------------------------------- SELECT:SELECT People.FirstName, People.LastName, People.FullName, People.PropertyID, People.InviteTypeID, People.RSVP, People.Wheelchair, Property.[House/Day Hab], InviteType.InviteTypeName FROM (InviteType INNER JOIN (Property INNER JOIN People ON Property.PropertyID = People.PropertyID) ON InviteType.InviteTypeID = People.InviteTypeID) WHERE (People.PersonID = ?)UPDATE:UPDATE [People] SET [FirstName] = ?, [LastName] = ?, [FullName] = ?, [PropertyID] = ?, [InviteTypeID] = ?, [RSVP] = ?, [Wheelchair] = ? WHERE [PersonID] = ? ---------------------------------------------------------------------------------------------------------------------------------------The only fields I want to update are in [People].  My WHERE is based on a control that I use to select a person from a drop down list.  If I run the test query for the update while setting up my data source the query will update the record in the database.  It is when I try to make the update from the gridview that the data is not changed.  If anything is not clear please let me know and I will clarify as much as I can.  This is my first project using ASP and working with databases so I am completely learning as I go.  I took some database courses in college but I have never interacted with them with a web based front end.  Any help will be greatly appreciated.Thank you in advance for any time, help, and/or advice you can give.Brian 

View 5 Replies View Related

SQL Server 2012 :: Create Dynamic Update Statement Based On Return Values In Select Statement

Jan 9, 2015

Ok I have a query "SELECT ColumnNames FROM tbl1" let's say the values returned are "age,sex,race".

Now I want to be able to create an "update" statement like "UPATE tbl2 SET Col2 = age + sex + race" dynamically and execute this UPDATE statement. So, if the next select statement returns "age, sex, race, gender" then the script should create "UPDATE tbl2 SET Col2 = age + sex + race + gender" and execute it.

View 4 Replies View Related

SQL Server 2012 :: Update Statement With CASE Statement?

Aug 13, 2014

i was tasked to created an UPDATE statement for 6 tables , i would like to update 4 columns within the 6 tables , they all contains the same column names. the table gets its information from the source table, however the data that is transferd to the 6 tables are sometimes incorrect , i need to write a UPDATE statement that will automatically correct the data. the Update statement should also contact a where clause

the columns are [No] , [Salesperson Code], [Country Code] and [Country Name]

i was thinking of doing

Update [tablename]
SET [No] =
CASE
WHEN [No] ='AF01' THEN 'Country Code' = 'ZA7' AND 'Country Name' = 'South Africa'
ELSE 'Null'
END

What is the best way to script this

View 1 Replies View Related

Transact SQL :: Update Statement In Select Case Statement

May 5, 2015

I am attempting to run update statements within a SELECT CASE statement.

Select case x.field
WHEN 'XXX' THEN
  UPDATE TABLE1
   SET TABLE1.FIELD2 = 1
  ELSE
   UPDATE TABLE2
   SET TABLE2.FIELD1 = 2
END
FROM OuterTable x

I get incorrect syntax near the keyword 'update'.

View 7 Replies View Related

UPDATE SQL Statement In Excel VBA Editor To Update Access Database - ADO - SQL

Jul 23, 2005

Hello,I am trying to update records in my database from excel data using vbaeditor within excel.In order to launch a query, I use SQL langage in ADO as follwing:------------------------------------------------------------Dim adoConn As ADODB.ConnectionDim adoRs As ADODB.RecordsetDim sConn As StringDim sSql As StringDim sOutput As StringsConn = "DSN=MS Access Database;" & _"DBQ=MyDatabasePath;" & _"DefaultDir=MyPathDirectory;" & _"DriverId=25;FIL=MS Access;MaxBufferSize=2048;PageTimeout=5;" &_"PWD=xxxxxx;UID=admin;"ID, A, B C.. are my table fieldssSql = "SELECT ID, `A`, B, `C being a date`, D, E, `F`, `H`, I, J,`K`, L" & _" FROM MyTblName" & _" WHERE (`A`='MyA')" & _" AND (`C`>{ts '" & Format(Date, "yyyy-mm-dd hh:mm:ss") & "'})"& _" ORDER BY `C` DESC"Set adoConn = New ADODB.ConnectionadoConn.Open sConnSet adoRs = New ADODB.RecordsetadoRs.Open Source:=sSql, _ActiveConnection:=adoConnadoRs.MoveFirstSheets("Sheet1").Range("a2").CopyFromRecordset adoRsSet adoRs = NothingSet adoConn = Nothing---------------------------------------------------------------Does Anyone know How I can use the UPDATE, DELETE INSERT SQL statementsin this environement? Copying SQL statements from access does not workas I would have to reference Access Object in my project which I do notwant if I can avoid. Ideally I would like to use only ADO system andSQL approach.Thank you very muchNono

View 1 Replies View Related

JDBC 2005 Update Statement - Failing Multi Row Update.

Nov 9, 2007

It appears to update only the first qualifying row. The trace shows a row count of one when there are multiple qualifying rows in the table. This problem does not exist in JDBC 2000.

View 5 Replies View Related

Insert Statement Fails

Aug 16, 2007

All,
 Trying to format some data before I drop it into a grid. I have this in a stored proc but it fails
CREATE TABLE dbo.tmpSummary ( AE    NVARCHAR(50), PRODUCT_LINE  NVARCHAR(20), ANNUAL_REV   NUMERIC (9), [GRWTH/ACQ]   NUMERIC (9), RETENTION   NUMERIC (9), CATEGORY   NVARCHAR(20)
)
INSERT INTO dbo.tmpSummary ( [AE], [PRODUCT_LINE], [ANNUAL_REV], [GRWTH/ACQ] , RETENTION, CATEGORY)SELECT      A.AE,  A.PRODUCT_LINE, A.ANNUAL_REV, A.[GRWTH/ACQ], A.RETENTION, B.PRODUCT_CATEGORY AS CATEGORY
FROM   tmpSummary A  RIGHT OUTER JOIN PRODUCT B On A.PRODUCT_LINE=B.PRODUCT_CATEGORY
I keep getting an error "Invalid Column name CATEGORY" Anyone know why? Thanks
 

View 2 Replies View Related

Stored Procedure - Update Statement Does Not Seem To Update Straight Away

Jul 30, 2007

Hello,

I'm writing a fairly involved stored procedure. In this Stored Procedure, I have an update statement, followed by a select statement. The results of the select statement should be effected by the previous update statement, but its not. When the stored procedure is finish, the update statement seemed to have worked though, so it is working.

I suspect I need something, like a GO statement, but that doesnt seem to work for a stored procedure. Can anyone offer some assistance?

View 6 Replies View Related

Continue Statement After Insert Fails

Oct 16, 2007



Hi,

How can avoid SQL to rollback the transaction after an insert fails?. I would like to keep the sucessfully inserted rows and continue with next ones after a single one has failed, and then report the ones that failed.


NOT ATOMIC CONTINUE ON SQLEXCEPTION??

Sorry for such a lame question

Regards,

View 13 Replies View Related

SQL Update Command Fails

Jan 5, 2008

 
I have the code as fallows to update my SQL data ;Sub Kaydet(ByVal TickerKod As String, ByVal op1 As Double, ByVal op2 As Double, ByVal op3 As Double, ByVal op4 As Double, ByVal op5 As Double, ByVal op6 As Double, ByVal op7 As Double, ByVal mov1 As Double, ByVal mov2 As Double)
'Dim nop1 As Decimal = FormatNumber(Replace(op1, ",", "."), 2)Dim mysource As New SqlDataSource
mysource.ConnectionString = ("Data Source=.SQLEXPRESS;AttachDbFilename=|DataDirectory|Stock.mdf;Integrated Security=True;User Instance=True")mysource.UpdateCommand = ("UPDATE StockParametre SET OPT1 = " & FormatNumber(op1, 2) & ", OPT2 = " & FormatNumber(op2, 2) & ", OPT3 = " & FormatNumber(op3, 2) & ", OPT4 = " & FormatNumber(op4, 2) & ", OPT5 = " & FormatNumber(op5, 2) & ", OPT6 = " & FormatNumber(op6, 2) & ", OPT7 = " & FormatNumber(op7, 2) & ", MOVY = " & FormatNumber(mov1, 2) & ", MOVD = " & FormatNumber(mov2, 2) & " WHERE (Stock = '" & TickerKod & "')")
mysource.Update()Response.Write(mysource.UpdateCommand & "<br>")
End Sub
When I call this code inside of Virtual Web Developer it functions perfect and updates the data..There is no problerm
But when I call it like http:// .......myip/updatedata.aspx then I have the error " System.Data.SqlClient.SqlException: Incorrect Syntax near 32
I  see that 32 is the value inside the update command like SET OPT1=107,32, OPT2=25,00, ........and so on Where do I make wrong ?
Thanks

View 4 Replies View Related

Insert If Update Fails

Aug 28, 2007

Here is my problem. There is a form where some information has to be filled out while the other does not. Information that is left blank is not inserted into the database so that I don't have millions of empty rows. This works perfectly, keeps the database accurate. When someone goes to update, if they add something new it would need to be inserted, since there is nothing to update. I was going to write a procedure, but that seems like such a waste since this will happen often. Is there an sql command in MS SQL to do this. I tried all of the sql commands from other databases I had used. (I am new to MS SQL). If there isn't one does someone have a procedure that won't create a huge amount of overhead.

A.

View 7 Replies View Related

Windows Update Fails And Won't Go Away

Sep 12, 2007

I had installed SQL Server 2005 developer on my machine (Vista 64-bit) prior to installing Visual Studio 2005. When I installed VS, I used the default installation, which installed SQL Server Express. Soon thereafter, I started getting notifications in Windows Update about an update to SP2. However, when I try to install it, it fails with "Code 7367", and provides no other useful information. I tried downloading SQL Server Express SP2 myself but it would not let me update the existing instance on my machine. So I totally removed the instance from my machine through add/remove. However, I restarted and the update is still showing up and won't go away!! Does anybody have any ideas of getting this problem?

View 14 Replies View Related

Insert Statement For Datetime Column Fails

Oct 16, 2006

I ve a simple table with a column of type datetime. I ve successfully inserted the following values in it,

2006-09-13 18:00:10
2006-09-14 18:00:10
2006-09-15 18:00:10


however, it fails when i try to insert the value 0000-00-00 00:00:00. ie., the following insert statement fails

INSERT INTO TEST VALUES('0000-00-00 00:00:00')

The error thrown is,

Server Msg 242, Level 16, State 3, Line 1
The conversion of a char data type to a datetime data type resulted in an out-of-range datetime value. The statement has been terminated.

View 13 Replies View Related

SELECT Works But UPDATE Fails. ?

Jul 23, 2005

This statement failsupdate ded_temp aset a.balance = (select sum(b.ln_amt)from ded_temp bwhere a.cust_no = b.cust_noand a.ded_type_cd = b.ded_type_cdand a.chk_no = b.chk_nogroup by cust_no, ded_type_cd, chk_no)With this error:Server: Msg 170, Level 15, State 1, Line 1Line 1: Incorrect syntax near 'a'.But this statement:select * from ded_temp awhere a.balance = (select sum(b.ln_amt)from ded_temp bwhere a.cust_no = b.cust_noand a.ded_type_cd = b.ded_type_cdand a.chk_no = b.chk_nogroup by cust_no, ded_type_cd, chk_no)Runs without error:Why? and How should I change the first statement to run my update. Thisstatement of course works fine in Oracle. :)tksken.

View 17 Replies View Related

INSERT Fails To Update Any Rows...

Nov 11, 2007

Hello,

I seem to have a strange problem in that my code runs fine, but I am trying to INSERT rows into a database, and the rows affected by the INSERT command is alwsy zero, even though no error is thrown. Hence no data gets inserted.

Here is the code:



void recordTick(string pair, DateTime time, decimal sell, decimal buy)

{

SqlConnection thisConnection = new SqlConnection("Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\FOREX.mdf;Integrated Security=True;User Instance=True");

insert = "INSERT INTO " + pair + " VALUES(" +

"'" + time.ToString("yyyy-MM-dd HH:mms") + "'," +

"'" + sell.ToString() + "'," +

"'" + buy.ToString() + "'" + ")";

thisConnection.Open();

SqlCommand command = new SqlCommand(insert, thisConnection);

Int32 success = command.ExecuteNonQuery(); // success always = 0!

thisConnection.Close();

}


The database is type .MDF that I created with the Project/Add Component/SQL Database menu. I can inspect it easily in Server Exporer and add data manually with no problem.

Can any one suggest how to get the INSERT to actually add the data?

Any help much appreciated!

Anding

View 8 Replies View Related

ADO.NET Transaction Fails To Update Database After .Commit()

Nov 24, 2003

SQL Server 2000, C#, ASP.NET and ADO.NET. I have searched for 3 days trying to figure out why my ADO.NET Transaction executes my stored procedures and runs the .COMMIT() on the server, figured this out by using the SQL Profiler, but the data doesn't show up in the database tables and I recieve no error from SQL or ASP.NET. What gives???? Anyone else ever heard of such a thing. Please help, before I loose my sanity.

View 4 Replies View Related

Update On Single Row Fails - Timeout Expired

Mar 29, 2001

I get a timeout expired error when running the following in a vb component.

'update cm_event_notification Set processed = '3/29/01 9:46:01 AM' Where dn = '{2E738808-23B4-11D5-B49A-00508BD934F8}'

The table dn column is a primary key, when I run it from sql Anyalzer it works. If there are two rows to update it works, just the single row update times out!

Thanks in Advance,
Phillip M. Tricoli

View 1 Replies View Related

2005 SP2 Update Fails On Database Services

Apr 15, 2008

I tried to upgrade my SQL Server 2005 Developer edition to SP2 today. What a disaster.


The install of the update fails because the installer process can't get my MSSQLSERVER instance to restart after it's done updating all the files.


Everything else in the SP2 upgrade succeeds. Now my SQL Server instance won't start. The following is what ends up in my ERRORLOG file when I try to start the Service:






Code Snippet

2008-04-15 14:43:45.29 Server (c) 2005 Microsoft Corporation.


2008-04-15 14:43:45.29 Server All rights reserved.
2008-04-15 14:43:45.29 Server Server process ID is 3692.
2008-04-15 14:43:45.29 Server Authentication mode is MIXED.
2008-04-15 14:43:45.29 Server Logging SQL Server messages in file 'C:Program FilesMicrosoft SQL ServerMSSQL.1MSSQLLOGERRORLOG'.
2008-04-15 14:43:45.29 Server This instance of SQL Server last reported using a process ID of 3316 at 4/15/2008 2:43:00 PM (local) 4/15/2008 9:43:00 PM (UTC). This is an informational message only; no user action is required.
2008-04-15 14:43:45.29 Server Registry startup parameters:
2008-04-15 14:43:45.29 Server -d C:Program FilesMicrosoft SQL ServerMSSQL.1MSSQLDATAmaster.mdf
2008-04-15 14:43:45.29 Server -e C:Program FilesMicrosoft SQL ServerMSSQL.1MSSQLLOGERRORLOG
2008-04-15 14:43:45.29 Server -l C:Program FilesMicrosoft SQL ServerMSSQL.1MSSQLDATAmastlog.ldf
2008-04-15 14:43:45.31 Server SQL Server is starting at normal priority base (=7). This is an informational message only. No user action is required.
2008-04-15 14:43:45.31 Server Detected 1 CPUs. This is an informational message; no user action is required.
2008-04-15 14:43:45.42 Server Using dynamic lock allocation. Initial allocation of 2500 Lock blocks and 5000 Lock Owner blocks per node. This is an informational message only. No user action is required.
2008-04-15 14:43:45.43 Server Attempting to initialize Microsoft Distributed Transaction Coordinator (MS DTC). This is an informational message only. No user action is required.
2008-04-15 14:43:45.45 Server The Microsoft Distributed Transaction Coordinator (MS DTC) service could not be contacted. If you would like distributed transaction functionality, please start this service.
2008-04-15 14:43:45.45 Server Database mirroring has been enabled on this instance of SQL Server.
2008-04-15 14:43:45.46 spid5s Starting up database 'master'.
2008-04-15 14:43:45.54 spid5s SQL Trace ID 1 was started by login "sa".
2008-04-15 14:43:45.56 spid5s Starting up database 'mssqlsystemresource'.
2008-04-15 14:43:45.56 spid5s The resource database build version is 9.00.3042. This is an informational message only. No user action is required.
2008-04-15 14:43:45.62 spid5s Server name is 'NATHAN-PARALLEL'. This is an informational message only. No user action is required.
2008-04-15 14:43:45.84 Server The server could not load the certificate it needs to initiate an SSL connection. It returned the following error: 0x80090304. Check certificates to make sure they are valid.
2008-04-15 14:43:45.84 Server Unable to initialize SSL encryption because a valid certificate could not be found, and it is not possible to create a self-signed certificate.
2008-04-15 14:43:45.84 Server Error: 17182, Severity: 16, State: 1.
2008-04-15 14:43:45.84 Server TDSSNIClient initialization failed with error 0x80090304, status code 0x80.
2008-04-15 14:43:45.84 Server Error: 17182, Severity: 16, State: 1.
2008-04-15 14:43:45.84 Server TDSSNIClient initialization failed with error 0x80090304, status code 0x1.
2008-04-15 14:43:45.84 Server Error: 17826, Severity: 18, State: 3.
2008-04-15 14:43:45.84 Server Could not start the network library because of an internal error in the network library. To determine the cause, review the errors immediately preceding this one in the error log.
2008-04-15 14:43:45.84 Server Error: 17120, Severity: 16, State: 1.
2008-04-15 14:43:45.84 Server SQL Server could not spawn FRunCM thread. Check the SQL Server error log and the Windows event logs for information about possible related problems.




I'm currently dead in the water on two development projects until this is resolved. Of course there's no way to uninstall SP2, and since I have to install SQL Server over a network using VPN it'll take me several hours to complete a reinstall... not to mention I still won't have SP2.


Please help.


-Nathan

View 6 Replies View Related

SP1 Integration Services Update Package Fails

Jul 20, 2006

Hello,

the SP1 update of the Integrations Services failed, the rest was fine. Here is the log:

07/20/2006 19:46:56.914 ================================================================================
07/20/2006 19:46:56.914 Hotfix package launched
07/20/2006 19:46:58.648 Product discovery successfully completed during the install process for DTS
07/20/2006 19:46:58.648 SP Level check successfully completed during the install process for DTS
07/20/2006 19:46:58.648 Product language check successfully completed during the install process for DTS
07/20/2006 19:46:58.664 Product version check successfully completed during the install process for DTS
07/20/2006 19:46:58.664 Command-line instance name check completed during the install process
07/20/2006 19:46:58.664 Baseline build check completed during the install process
07/20/2006 19:47:18.118 Attempting to install instance: DTS
07/20/2006 19:47:18.118 Attempting to install target: SGFDDEWER102
07/20/2006 19:47:18.134 Attempting to stop service: MsDtsServer
07/20/2006 19:47:20.150 Successfully stopped service: MsDtsServer
07/20/2006 19:47:20.150 Attempting to check for locked files: sqlrun_dts.msp
07/20/2006 19:47:20.165 Attempting to check for locked files: \SGFDDEWER102c$97de952b8999258c0040eafe4a8d1354HotFixDTSFilessqlrun_dts.msp
07/20/2006 19:47:20.165 Creating MSP locked file check log at: C:WINDOWSHotfixDTS9LogsDTS9_Hotfix_KB913090_sqlrun_dts.msp.out
07/20/2006 19:47:30.244 MSP returned 1602: The user cancels installation.
07/20/2006 19:47:30.244 Successfully checked file: \SGFDDEWER102c$97de952b8999258c0040eafe4a8d1354HotFixDTSFilessqlrun_dts.msp
07/20/2006 19:47:30.244 Successfully opened registry key: SystemCurrentControlSetControlSession Manager
07/20/2006 19:47:30.244 Successfully read registry key: PendingFileRenameOperations
07/20/2006 19:47:30.244 Multi-string values:
07/20/2006 19:47:30.244 ??C:DOCUME~1urgerLOCALS~1Tempose00000.exe
07/20/2006 19:47:45.807 Failed to read version information for the following file: C:Program FilesMicrosoft SQL Server90Shared9.0.2047.0
C:Program FilesMicrosoft SQL Server90Shareddbghelp.dll
07/20/2006 19:47:45.807 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90SharedSqlDumper.exe
07/20/2006 19:47:45.807 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90SharedSqlDumper.exe
07/20/2006 19:47:45.807 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90SharedSqlDumper.exe
07/20/2006 19:47:45.807 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90Sharedsqlsqm.exe
07/20/2006 19:47:45.807 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSBinndtsinstall.exe
07/20/2006 19:47:45.807 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsResources1033msmdsrv.rll
07/20/2006 19:47:45.807 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsResources1033msmdsrv.rll
07/20/2006 19:47:45.823 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsResources1033msmdsrv.rll
07/20/2006 19:47:45.823 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsmsmdlocal.dll
07/20/2006 19:47:45.823 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsmsmdlocal.dll
07/20/2006 19:47:45.823 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsmsmdlocal.dll
07/20/2006 19:47:45.823 Failed to read version information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponents9.0.2047.0
C:Program FilesMicrosoft SQL Server90Sharedmsmdlo~1.dll
07/20/2006 19:47:45.823 Failed to read associated hotfix build information for the following file: C:WINDOWSassemblyGAC_MSILMicrosoft.SqlServerCe.Dts.Provider9.0.242.0__89845dcd8080cc91Microsoft.SqlServerCe.Dts.Provider.dll
07/20/2006 19:47:45.823 Failed to read associated hotfix build information for the following file: C:WINDOWSassemblyGAC_MSILMicrosoft.SqlServer.DataStorage9.0.242.0__89845dcd8080cc91Microsoft.SqlServer.DataStorage.dll
07/20/2006 19:47:45.823 Failed to read associated hotfix build information for the following file: C:WINDOWSassemblyGAC_MSILMicrosoft.SqlServer.CustomControls9.0.242.0__89845dcd8080cc91Microsoft.SqlServer.CustomControls.dll
07/20/2006 19:47:45.839 Failed to read associated hotfix build information for the following file: C:WINDOWSassemblyGAC_MSILMicrosoft.SqlServer.WizardFramework9.0.242.0__89845dcd8080cc91Microsoft.SqlServer.WizardFramework.dll
07/20/2006 19:47:45.839 Failed to read associated hotfix build information for the following file: C:WINDOWSassemblyGAC_MSILMicrosoft.AnalysisServices.Xmla9.0.242.0__89845dcd8080cc91Microsoft.AnalysisServices.XMLA.dll
07/20/2006 19:47:45.839 Failed to read associated hotfix build information for the following file: C:WINDOWSassemblyGAC_MSILMicrosoft.SqlServer.OlapEnum9.0.242.0__89845dcd8080cc91Microsoft.SqlServer.OlapEnum.dll
07/20/2006 19:47:45.839 Failed to read version information for the following file: C:Program FilesMicrosoft SQL Server90DTSTasksenMicrosoft.SqlServer.ActiveXScriptTask.xml
07/20/2006 19:47:45.839 Failed to read associated hotfix build information for the following file: C:WINDOWSassemblyGAC_32Microsoft.SqlServer.ActiveXScriptTaskUtil9.0.242.0__89845dcd8080cc91Microsoft.SqlServer.ActiveXScriptTaskUtil.dll
07/20/2006 19:47:45.839 Failed to read associated hotfix build information for the following file: C:WINDOWSassemblyGAC_32Microsoft.SqlServer.ActiveXScriptTaskUtil9.0.242.0__89845dcd8080cc91Microsoft.SqlServer.ActiveXScriptTaskUtil.dll
07/20/2006 19:47:45.839 Failed to read associated hotfix build information for the following file: C:WINDOWSassemblyGAC_32Microsoft.SqlServer.ActiveXScriptTaskUtil9.0.242.0__89845dcd8080cc91Microsoft.SqlServer.ActiveXScriptTaskUtil.dll
07/20/2006 19:47:45.854 Failed to read associated hotfix build information for the following file: C:WINDOWSassemblyGAC_MSILMicrosoft.SqlServer.ActiveXScriptTask9.0.242.0__89845dcd8080cc91Microsoft.SqlServer.ActiveXScriptTask.dll
07/20/2006 19:47:45.854 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSBinnMicrosoft.SqlServer.ActiveXScriptTaskUtil.dll
07/20/2006 19:47:45.854 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSBinnMicrosoft.SqlServer.ActiveXScriptTaskUtil.dll
07/20/2006 19:47:45.870 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSBinnMicrosoft.SqlServer.ActiveXScriptTaskUtil.dll
07/20/2006 19:47:45.870 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSTasksMicrosoft.SqlServer.ActiveXScriptTask.dll
07/20/2006 19:47:45.870 Failed to read associated hotfix build information for the following file: C:WINDOWSassemblyGAC_MSILMicrosoft.DataTransformationServices.Controls9.0.242.0__89845dcd8080cc91Microsoft.DataTransformationServices.Controls.DLL
07/20/2006 19:47:45.870 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSBinnDTSWizard.exe
07/20/2006 19:47:45.870 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90SDKAssembliesMicrosoft.SqlServer.TxScript.dll
07/20/2006 19:47:45.870 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsMicrosoft.SqlServer.TxScript.dll
07/20/2006 19:47:45.870 Failed to read associated hotfix build information for the following file: C:WINDOWSassemblyGAC_MSILMicrosoft.SqlServer.TxScript9.0.242.0__89845dcd8080cc91Microsoft.SqlServer.TxScript.dll
07/20/2006 19:47:45.870 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsTxSampling.dll
07/20/2006 19:47:45.870 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsTxSampling.dll
07/20/2006 19:47:45.870 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsTxSampling.dll
07/20/2006 19:47:45.870 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsTxRowCount.dll
07/20/2006 19:47:45.870 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsTxRowCount.dll
07/20/2006 19:47:45.886 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsTxRowCount.dll
07/20/2006 19:47:45.886 Failed to read associated hotfix build information for the following file: C:WINDOWSassemblyGAC_MSILMicrosoft.SqlServer.Dts.DtsClient9.0.242.0__89845dcd8080cc91Microsoft.SqlServer.Dts.DtsClient.dll
07/20/2006 19:47:45.886 Failed to read associated hotfix build information for the following file: C:WINDOWSassemblyGAC_MSILMicrosoft.SqlServer.DataReaderDest9.0.242.0__89845dcd8080cc91Microsoft.SqlServer.DataReaderDest.dll
07/20/2006 19:47:45.886 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSBinnMicrosoft.SqlServer.Dts.DtsClient.dll
07/20/2006 19:47:45.886 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsMicrosoft.SqlServer.DataReaderDest.dll
07/20/2006 19:47:45.886 Failed to read version information for the following file: C:Program FilesMicrosoft SQL Server90DTSTasksenMicrosoft.SqlServer.TransferSqlServerObjectsTask.xml
07/20/2006 19:47:45.886 Failed to read associated hotfix build information for the following file: C:WINDOWSassemblyGAC_MSILMicrosoft.SqlServer.TransferSqlServerObjectsTask9.0.242.0__89845dcd8080cc91Microsoft.SqlServer.TransferSqlServerObjectsTask.dll
07/20/2006 19:47:45.886 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSTasksMicrosoft.SqlServer.TransferSqlServerObjectsTask.dll
07/20/2006 19:47:45.901 Failed to read version information for the following file: C:Program FilesMicrosoft SQL Server90DTSTasksenMicrosoft.SqlServer.TransferStoredProceduresTask.xml
07/20/2006 19:47:45.901 Failed to read version information for the following file: C:Program FilesMicrosoft SQL Server90DTSTasksenMicrosoft.SqlServer.TransferLoginsTask.xml
07/20/2006 19:47:45.901 Failed to read version information for the following file: C:Program FilesMicrosoft SQL Server90DTSTasksenMicrosoft.SqlServer.TransferJobsTask.xml
07/20/2006 19:47:45.917 Failed to read version information for the following file: C:Program FilesMicrosoft SQL Server90DTSTasksenMicrosoft.SqlServer.TransferErrorMessagesTask.xml
07/20/2006 19:47:45.917 Failed to read version information for the following file: C:Program FilesMicrosoft SQL Server90DTSTasksenMicrosoft.SqlServer.TransferDatabasesTask.xml
07/20/2006 19:47:45.917 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSTasksMicrosoft.SqlServer.TransferStoredProceduresTask.dll
07/20/2006 19:47:45.917 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSTasksMicrosoft.SqlServer.TransferLoginsTask.dll
07/20/2006 19:47:45.932 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSTasksMicrosoft.SqlServer.TransferJobsTask.dll
07/20/2006 19:47:45.932 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSTasksMicrosoft.SqlServer.TransferErrorMessagesTask.dll
07/20/2006 19:47:45.932 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSTasksMicrosoft.SqlServer.TransferDatabasesTask.dll
07/20/2006 19:47:45.932 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSTasksMicrosoft.SqlServer.TransferObjectsTask.dll
07/20/2006 19:47:45.932 Failed to read associated hotfix build information for the following file: C:WINDOWSassemblyGAC_MSILMicrosoft.SqlServer.TransferStoredProceduresTask9.0.242.0__89845dcd8080cc91Microsoft.SqlServer.TransferStoredProceduresTask.dll
07/20/2006 19:47:45.932 Failed to read associated hotfix build information for the following file: C:WINDOWSassemblyGAC_MSILMicrosoft.SqlServer.TransferLoginsTask9.0.242.0__89845dcd8080cc91Microsoft.SqlServer.TransferLoginsTask.dll
07/20/2006 19:47:45.932 Failed to read associated hotfix build information for the following file: C:WINDOWSassemblyGAC_MSILMicrosoft.SqlServer.TransferJobsTask9.0.242.0__89845dcd8080cc91Microsoft.SqlServer.TransferJobsTask.dll
07/20/2006 19:47:45.948 Failed to read associated hotfix build information for the following file: C:WINDOWSassemblyGAC_MSILMicrosoft.SqlServer.TransferErrorMessagesTask9.0.242.0__89845dcd8080cc91Microsoft.SqlServer.TransferErrorMessagesTask.dll
07/20/2006 19:47:45.948 Failed to read associated hotfix build information for the following file: C:WINDOWSassemblyGAC_MSILMicrosoft.SqlServer.TransferDatabasesTask9.0.242.0__89845dcd8080cc91Microsoft.SqlServer.TransferDatabasesTask.dll
07/20/2006 19:47:45.948 Failed to read associated hotfix build information for the following file: C:WINDOWSassemblyGAC_MSILMicrosoft.SqlServer.TransferObjectsTask9.0.242.0__89845dcd8080cc91Microsoft.SqlServer.TransferObjectsTask.dll
07/20/2006 19:47:45.948 Failed to read associated hotfix build information for the following file: C:WINDOWSassemblyGAC_MSILMicrosoft.SqlServer.DtsTransferProvider9.0.242.0__89845dcd8080cc91Microsoft.SqlServer.DtsTransferProvider.dll
07/20/2006 19:47:45.948 Failed to read associated hotfix build information for the following file: C:WINDOWSassemblyGAC_MSILMicrosoft.SqlServer.TableTransferGeneratorTask9.0.242.0__89845dcd8080cc91Microsoft.SqlServer.TableTransferGeneratorTask.dll
07/20/2006 19:47:45.948 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSBinnMicrosoft.SqlServer.DtsTransferProvider.dll
07/20/2006 19:47:45.948 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSTasksMicrosoft.SqlServer.TableTransferGeneratorTask.dll
07/20/2006 19:47:45.948 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsTxTermExtraction.dll
07/20/2006 19:47:45.948 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsTxTermExtraction.dll
07/20/2006 19:47:45.948 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsTxTermExtraction.dll
07/20/2006 19:47:45.948 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsTxTermLookup.dll
07/20/2006 19:47:45.964 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsTxTermLookup.dll
07/20/2006 19:47:45.964 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsTxTermLookup.dll
07/20/2006 19:47:45.964 Failed to read version information for the following file: C:Program FilesMicrosoft SQL Server90DTSBinnResources10332005.90.2047.0
C:Program FilesMicrosoft SQL Server90DTSBinnResources1033dts.rll
07/20/2006 19:47:45.964 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSBinnResources1033dtsconn.rll
07/20/2006 19:47:45.964 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSBinnResources1033dtsconn.rll
07/20/2006 19:47:45.964 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSBinnResources1033dtsconn.rll
07/20/2006 19:47:45.964 Failed to read version information for the following file: C:Program FilesMicrosoft SQL Server90DTSForEachEnumeratorsenMicrosoft.SqlServer.ForEachAdoEnumerator.xml
07/20/2006 19:47:45.979 Failed to read version information for the following file: C:Program FilesMicrosoft SQL Server90DTSForEachEnumeratorsenMicrosoft.SqlServer.ForEachSMOEnumerator.xml
07/20/2006 19:47:45.979 Failed to read version information for the following file: C:Program FilesMicrosoft SQL Server90DTSConnectionsenMicrosoft.SqlServer.ManagedConnections.xml
07/20/2006 19:47:45.979 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSBinnDTSPipelinePerf.dll
07/20/2006 19:47:45.979 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSBinnDTSPipelinePerf.dll
07/20/2006 19:47:45.979 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSBinnDTSPipelinePerf.dll
07/20/2006 19:47:45.979 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSBinnResources1033dtspipeline.rll
07/20/2006 19:47:45.995 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSBinnResources1033dtspipeline.rll
07/20/2006 19:47:45.995 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSBinnResources1033dtspipeline.rll
07/20/2006 19:47:45.995 Failed to read version information for the following file: C:Program FilesMicrosoft SQL Server90DTSTasksenMicrosoft.SqlServer.FtpTask.xml
07/20/2006 19:47:45.995 Failed to read associated hotfix build information for the following file: C:WINDOWSassemblyGAC_MSILMicrosoft.SqlServer.FtpTask9.0.242.0__89845dcd8080cc91Microsoft.SqlServer.FtpTask.dll
07/20/2006 19:47:45.995 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSTasksMicrosoft.SqlServer.FtpTask.dll
07/20/2006 19:47:46.011 Failed to read version information for the following file: C:Program FilesMicrosoft SQL Server90DTSTasksenMicrosoft.SqlServer.ExecProcTask.xml
07/20/2006 19:47:46.011 Failed to read version information for the following file: C:Program FilesMicrosoft SQL Server90DTSTasksenMicrosoft.SqlServer.SendMailTask.xml
07/20/2006 19:47:46.011 Failed to read version information for the following file: C:Program FilesMicrosoft SQL Server90DTSTasksenMicrosoft.SqlServer.MSMQTask.xml
07/20/2006 19:47:46.011 Failed to read associated hotfix build information for the following file: C:WINDOWSassemblyGAC_32Microsoft.SqlServer.MSMQUtil9.0.242.0__89845dcd8080cc91Microsoft.SqlServer.MSMQUtil.dll
07/20/2006 19:47:46.011 Failed to read associated hotfix build information for the following file: C:WINDOWSassemblyGAC_32Microsoft.SqlServer.MSMQUtil9.0.242.0__89845dcd8080cc91Microsoft.SqlServer.MSMQUtil.dll
07/20/2006 19:47:46.026 Failed to read associated hotfix build information for the following file: C:WINDOWSassemblyGAC_32Microsoft.SqlServer.MSMQUtil9.0.242.0__89845dcd8080cc91Microsoft.SqlServer.MSMQUtil.dll
07/20/2006 19:47:46.026 Failed to read associated hotfix build information for the following file: C:WINDOWSassemblyGAC_MSILMicrosoft.SqlServer.MSMQTask9.0.242.0__89845dcd8080cc91Microsoft.SqlServer.MSMQTask.dll
07/20/2006 19:47:46.026 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSBinnMicrosoft.SqlServer.MSMQUtil.dll
07/20/2006 19:47:46.026 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSBinnMicrosoft.SqlServer.MSMQUtil.dll
07/20/2006 19:47:46.026 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSBinnMicrosoft.SqlServer.MSMQUtil.dll
07/20/2006 19:47:46.026 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSTasksMicrosoft.SqlServer.MSMQTask.dll
07/20/2006 19:47:46.026 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsTxMulticast.dll
07/20/2006 19:47:46.026 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsTxMulticast.dll
07/20/2006 19:47:46.026 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsTxMulticast.dll
07/20/2006 19:47:46.026 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsCommandDest.dll
07/20/2006 19:47:46.026 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsCommandDest.dll
07/20/2006 19:47:46.026 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsCommandDest.dll
07/20/2006 19:47:46.026 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsTxFileInserter.dll
07/20/2006 19:47:46.042 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsTxFileInserter.dll
07/20/2006 19:47:46.042 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsTxFileInserter.dll
07/20/2006 19:47:46.042 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsTxFileExtractor.dll
07/20/2006 19:47:46.042 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsTxFileExtractor.dll
07/20/2006 19:47:46.042 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsTxFileExtractor.dll
07/20/2006 19:47:46.042 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsTxLineage.dll
07/20/2006 19:47:46.042 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsTxLineage.dll
07/20/2006 19:47:46.042 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsTxLineage.dll
07/20/2006 19:47:46.042 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsTxUnPivot.dll
07/20/2006 19:47:46.042 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsTxUnPivot.dll
07/20/2006 19:47:46.042 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsTxUnPivot.dll
07/20/2006 19:47:46.042 Failed to read version information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponents2005.90.2047.0
C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsTxPivot.dll
07/20/2006 19:47:46.042 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsTxMergeJoin.dll
07/20/2006 19:47:46.057 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsTxMergeJoin.dll
07/20/2006 19:47:46.057 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsTxMergeJoin.dll
07/20/2006 19:47:46.057 Failed to read version information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponents2005.90.2047.0
C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsTxUnAll.dll
07/20/2006 19:47:46.057 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsTxSort.dll
07/20/2006 19:47:46.057 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsTxSort.dll
07/20/2006 19:47:46.057 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsTxSort.dll
07/20/2006 19:47:46.057 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsTxSplit.dll
07/20/2006 19:47:46.057 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsTxSplit.dll
07/20/2006 19:47:46.057 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsTxSplit.dll
07/20/2006 19:47:46.057 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsTxLookup.dll
07/20/2006 19:47:46.057 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsTxLookup.dll
07/20/2006 19:47:46.057 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsTxLookup.dll
07/20/2006 19:47:46.057 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsTxGroupDups.dll
07/20/2006 19:47:46.073 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsTxGroupDups.dll
07/20/2006 19:47:46.073 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsTxGroupDups.dll
07/20/2006 19:47:46.073 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsTxDerived.dll
07/20/2006 19:47:46.073 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsTxDerived.dll
07/20/2006 19:47:46.073 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsTxDerived.dll
07/20/2006 19:47:46.073 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsTxDataConvert.dll
07/20/2006 19:47:46.073 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsTxDataConvert.dll
07/20/2006 19:47:46.073 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsTxDataConvert.dll
07/20/2006 19:47:46.073 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsTxCopyMap.dll
07/20/2006 19:47:46.073 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsTxCopyMap.dll
07/20/2006 19:47:46.073 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsTxCopyMap.dll
07/20/2006 19:47:46.073 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsTxCharMap.dll
07/20/2006 19:47:46.073 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsTxCharMap.dll
07/20/2006 19:47:46.089 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsTxCharMap.dll
07/20/2006 19:47:46.089 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsTxBestMatch.dll
07/20/2006 19:47:46.089 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsTxBestMatch.dll
07/20/2006 19:47:46.089 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsTxBestMatch.dll
07/20/2006 19:47:46.089 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsTxAgg.dll
07/20/2006 19:47:46.089 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsTxAgg.dll
07/20/2006 19:47:46.089 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsTxAgg.dll
07/20/2006 19:47:46.089 Failed to read version information for the following file: C:Program FilesMicrosoft SQL Server90DTSTasksenMicrosoft.SqlServer.XmlTask.xml
07/20/2006 19:47:46.104 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90dtsBinnatchparser90.dll
07/20/2006 19:47:46.104 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90dtsBinnatchparser90.dll
07/20/2006 19:47:46.104 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90dtsBinnatchparser90.dll
07/20/2006 19:47:46.104 Failed to read associated hotfix build information for the following file: C:WINDOWSassemblyGAC_32Microsoft.SqlServer.SQLTask9.0.242.0__89845dcd8080cc91Microsoft.SqlServer.SQLTask.dll
07/20/2006 19:47:46.104 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSBinnSQLTaskConnections.dll
07/20/2006 19:47:46.104 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSBinnSQLTaskConnections.dll
07/20/2006 19:47:46.104 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSBinnSQLTaskConnections.dll
07/20/2006 19:47:46.104 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSTasksMicrosoft.SqlServer.SQLTask.dll
07/20/2006 19:47:46.104 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsSqlDest.dll
07/20/2006 19:47:46.104 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsSqlDest.dll
07/20/2006 19:47:46.104 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsSqlDest.dll
07/20/2006 19:47:46.120 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90SDKAssembliesMicrosoft.SqlServer.ScriptTask.dll
07/20/2006 19:47:46.120 Failed to read associated hotfix build information for the following file: C:WINDOWSassemblyGAC_MSILMicrosoft.SqlServer.ScriptTask9.0.242.0__89845dcd8080cc91Microsoft.SqlServer.ScriptTask.dll
07/20/2006 19:47:46.120 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSTasksMicrosoft.SqlServer.ScriptTask.dll
07/20/2006 19:47:46.120 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsRecordSetDest.dll
07/20/2006 19:47:46.120 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsRecordSetDest.dll
07/20/2006 19:47:46.120 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsRecordSetDest.dll
07/20/2006 19:47:46.120 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsRawSource.dll
07/20/2006 19:47:46.120 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsRawSource.dll
07/20/2006 19:47:46.120 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsRawSource.dll
07/20/2006 19:47:46.120 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsRawDest.dll
07/20/2006 19:47:46.120 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsRawDest.dll
07/20/2006 19:47:46.120 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsRawDest.dll
07/20/2006 19:47:46.136 Failed to read version information for the following file: C:Program FilesMicrosoft SQL Server90DTSTasksenMicrosoft.SqlServer.ASTasks.xml
07/20/2006 19:47:46.136 Failed to read associated hotfix build information for the following file: C:WINDOWSassemblyGAC_MSILMicrosoft.SqlServer.ASTasks9.0.242.0__89845dcd8080cc91Microsoft.SqlServer.ASTasks.dll
07/20/2006 19:47:46.136 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSTasksMicrosoft.SqlServer.ASTasks.dll
07/20/2006 19:47:46.136 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsOleDbSrc.dll
07/20/2006 19:47:46.136 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsOleDbSrc.dll
07/20/2006 19:47:46.136 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsOleDbSrc.dll
07/20/2006 19:47:46.136 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsOleDbDest.dll
07/20/2006 19:47:46.136 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsOleDbDest.dll
07/20/2006 19:47:46.136 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsOleDbDest.dll
07/20/2006 19:47:46.136 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsFlatFileDest.dll
07/20/2006 19:47:46.151 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsFlatFileDest.dll
07/20/2006 19:47:46.151 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsFlatFileDest.dll
07/20/2006 19:47:46.151 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsFlatFileSrc.dll
07/20/2006 19:47:46.151 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsFlatFileSrc.dll
07/20/2006 19:47:46.151 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsFlatFileSrc.dll
07/20/2006 19:47:46.151 Failed to read version information for the following file: C:Program FilesMicrosoft SQL Server90DTSTasksenMicrosoft.SqlServer.FileSystemTask.xml
07/20/2006 19:47:46.151 Failed to read associated hotfix build information for the following file: C:WINDOWSassemblyGAC_MSILMicrosoft.SqlServer.FileSystemTask9.0.242.0__89845dcd8080cc91Microsoft.SqlServer.FileSystemTask.dll
07/20/2006 19:47:46.151 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSTasksMicrosoft.SqlServer.FileSystemTask.dll
07/20/2006 19:47:46.167 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSBinnExecPackageTask.dll
07/20/2006 19:47:46.167 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSBinnExecPackageTask.dll
07/20/2006 19:47:46.167 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSBinnExecPackageTask.dll
07/20/2006 19:47:46.167 Failed to read version information for the following file: C:Program FilesMicrosoft SQL Server90DTSTasksenMicrosoft.SqlServer.DmQueryTask.xml
07/20/2006 19:47:46.167 Failed to read associated hotfix build information for the following file: C:WINDOWSassemblyGAC_MSILMicrosoft.SqlServer.DMQueryTask9.0.242.0__89845dcd8080cc91Microsoft.SqlServer.DmQueryTask.dll
07/20/2006 19:47:46.167 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSTasksMicrosoft.SqlServer.DmQueryTask.dll
07/20/2006 19:47:46.182 Failed to read version information for the following file: C:Program FilesMicrosoft SQL Server90DTSTasksenMicrosoft.SqlServer.BulkInsertTask.xml
07/20/2006 19:47:46.182 Failed to read associated hotfix build information for the following file: C:WINDOWSassemblyGAC_32Microsoft.SqlServer.BulkInsertTaskConnections9.0.242.0__89845dcd8080cc91Microsoft.SqlServer.BulkInsertTaskConnections.dll
07/20/2006 19:47:46.182 Failed to read associated hotfix build information for the following file: C:WINDOWSassemblyGAC_32Microsoft.SqlServer.BulkInsertTaskConnections9.0.242.0__89845dcd8080cc91Microsoft.SqlServer.BulkInsertTaskConnections.dll
07/20/2006 19:47:46.182 Failed to read associated hotfix build information for the following file: C:WINDOWSassemblyGAC_32Microsoft.SqlServer.BulkInsertTaskConnections9.0.242.0__89845dcd8080cc91Microsoft.SqlServer.BulkInsertTaskConnections.dll
07/20/2006 19:47:46.182 Failed to read associated hotfix build information for the following file: C:WINDOWSassemblyGAC_MSILMicrosoft.SqlServer.BulkInsertTask9.0.242.0__89845dcd8080cc91Microsoft.SqlServer.BulkInsertTask.dll
07/20/2006 19:47:46.182 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSBinnMicrosoft.SqlServer.BulkInsertTaskConnections.dll
07/20/2006 19:47:46.182 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSBinnMicrosoft.SqlServer.BulkInsertTaskConnections.dll
07/20/2006 19:47:46.182 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSBinnMicrosoft.SqlServer.BulkInsertTaskConnections.dll
07/20/2006 19:47:46.182 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSTasksMicrosoft.SqlServer.BulkInsertTask.dll
07/20/2006 19:47:46.198 Failed to read version information for the following file: C:Program FilesMicrosoft SQL Server90DTSTasksenMicrosoft.SqlServer.WMIEWTask.xml
07/20/2006 19:47:46.198 Failed to read version information for the following file: C:Program FilesMicrosoft SQL Server90DTSTasksenMicrosoft.SqlServer.WMIDRTask.xml
07/20/2006 19:47:46.214 Failed to read version information for the following file: C:Program FilesMicrosoft SQL Server90DTSTasksenMicrosoft.SqlServer.WebServiceTask.xml
07/20/2006 19:47:46.214 Failed to read associated hotfix build information for the following file: C:WINDOWSassemblyGAC_MSILMicrosoft.SqlServer.WebServiceTask9.0.242.0__89845dcd8080cc91Microsoft.SqlServer.WebServiceTask.dll
07/20/2006 19:47:46.214 Failed to read associated hotfix build information for the following file: C:WINDOWSassemblyGAC_MSILMicrosoft.SqlServer.MaintenancePlanTasks9.0.242.0__89845dcd8080cc91Microsoft.SqlServer.MaintenancePlanTasks.dll
07/20/2006 19:47:46.214 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSTasksMicrosoft.SqlServer.WebServiceTask.dll
07/20/2006 19:47:46.214 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSTasksMicrosoft.SqlServer.MaintenancePlanTasks.dll
07/20/2006 19:47:46.214 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsResources1033dtspipeline.rll
07/20/2006 19:47:46.214 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsResources1033dtspipeline.rll
07/20/2006 19:47:46.214 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsResources1033dtspipeline.rll
07/20/2006 19:47:46.214 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsexceldest.dll
07/20/2006 19:47:46.214 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsexceldest.dll
07/20/2006 19:47:46.229 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsexceldest.dll
07/20/2006 19:47:46.229 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsexcelsrc.dll
07/20/2006 19:47:46.229 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsexcelsrc.dll
07/20/2006 19:47:46.229 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsexcelsrc.dll
07/20/2006 19:47:46.229 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsMicrosoft.SqlServer.XMLSrc.dll
07/20/2006 19:47:46.229 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSPipelineComponentsMicrosoft.SqlServer.ADONETSrc.dll
07/20/2006 19:47:46.229 Failed to read associated hotfix build information for the following file: C:WINDOWSassemblyGAC_MSILMicrosoft.SqlServer.XmlSrc9.0.242.0__89845dcd8080cc91Microsoft.SqlServer.XMLSrc.dll
07/20/2006 19:47:46.229 Failed to read associated hotfix build information for the following file: C:WINDOWSassemblyGAC_MSILMicrosoft.SqlServer.ADONETSrc9.0.242.0__89845dcd8080cc91Microsoft.SqlServer.ADONETSrc.dll
07/20/2006 19:47:46.229 Failed to read associated hotfix build information for the following file: C:WINDOWSassemblyGAC_MSILMicrosoft.SqlServer.PipelineHost9.0.242.0__89845dcd8080cc91Microsoft.SQLServer.PipelineHost.dll
07/20/2006 19:47:46.229 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSBinnDTSPipeline.dll
07/20/2006 19:47:46.229 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSBinnDTSPipeline.dll
07/20/2006 19:47:46.245 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSBinnDTSPipeline.dll
07/20/2006 19:47:46.245 Failed to read associated hotfix build information for the following file: C:WINDOWSassemblyGAC_MSILMicrosoft.SqlServer.ForEachNodeListEnumerator9.0.242.0__89845dcd8080cc91Microsoft.SqlServer.ForEachNodeListEnumerator.dll
07/20/2006 19:47:46.245 Failed to read associated hotfix build information for the following file: C:WINDOWSassemblyGAC_MSILMicrosoft.SqlServer.ForEachSMOEnumerator9.0.242.0__89845dcd8080cc91Microsoft.SqlServer.ForEachSMOEnumerator.dll
07/20/2006 19:47:46.245 Failed to read associated hotfix build information for the following file: C:WINDOWSassemblyGAC_32DTEParseMgd9.0.242.0__89845dcd8080cc91DTEParseMgd.dll
07/20/2006 19:47:46.245 Failed to read associated hotfix build information for the following file: C:WINDOWSassemblyGAC_32DTEParseMgd9.0.242.0__89845dcd8080cc91DTEParseMgd.dll
07/20/2006 19:47:46.245 Failed to read associated hotfix build information for the following file: C:WINDOWSassemblyGAC_32DTEParseMgd9.0.242.0__89845dcd8080cc91DTEParseMgd.dll
07/20/2006 19:47:46.245 Failed to read version information for the following file: C:Program FilesMicrosoft SQL Server90DTSBinn2005.90.2047.0
C:Program FilesMicrosoft SQL Server90DTSBinnDTSComEx.dll
07/20/2006 19:47:46.245 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSBinndtsmsg.dll
07/20/2006 19:47:46.245 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSBinndtsmsg.dll
07/20/2006 19:47:46.245 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSBinndtsmsg.dll
07/20/2006 19:47:46.245 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSBinnDTSLog.dll
07/20/2006 19:47:46.261 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSBinnDTSLog.dll
07/20/2006 19:47:46.261 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSBinnDTSLog.dll
07/20/2006 19:47:46.261 Failed to read version information for the following file: C:Program FilesMicrosoft SQL Server90DTSBinn2005.90.2047.0
C:Program FilesMicrosoft SQL Server90DTSBinnDtsUt.dll
07/20/2006 19:47:46.261 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSBinnDTS.dll
07/20/2006 19:47:46.261 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSBinnDTS.dll
07/20/2006 19:47:46.261 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSBinnDTS.dll
07/20/2006 19:47:46.261 Failed to read version information for the following file: C:Program FilesMicrosoft SQL Server90DTSBinn2005.90.2047.0
C:Program FilesMicrosoft SQL Server90DTSBinnDTEParsM.dll
07/20/2006 19:47:46.261 Failed to read version information for the following file: C:Program FilesMicrosoft SQL Server90DTSBinn2005.90.2047.0
C:Program FilesMicrosoft SQL Server90DTSForEachEnumeratorsNodeList.dll
07/20/2006 19:47:46.261 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSForEachEnumeratorsForEachFileEnumerator.dll
07/20/2006 19:47:46.261 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSForEachEnumeratorsForEachFileEnumerator.dll
07/20/2006 19:47:46.261 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSForEachEnumeratorsForEachFileEnumerator.dll
07/20/2006 19:47:46.261 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSForEachEnumeratorsMicrosoft.SqlServer.ForEachSMOEnumerator.dll
07/20/2006 19:47:46.261 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90DTSBinnMsDtsSrvr.exe
07/20/2006 19:47:46.276 Failed to read version information for the following file: C:Program FilesMicrosoft.NETADOMD.NET90enMicrosoft.AnalysisServices.AdomdClient.xml
07/20/2006 19:47:46.276 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft.NETADOMD.NET90Microsoft.AnalysisServices.AdomdClient.dll
07/20/2006 19:47:46.276 Failed to read associated hotfix build information for the following file: C:WINDOWSassemblyGAC_MSILMicrosoft.AnalysisServices.AdomdClient9.0.242.0__89845dcd8080cc91Microsoft.AnalysisServices.AdomdClient.dll
07/20/2006 19:47:46.276 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90Sharedmsasxpress.dll
07/20/2006 19:47:46.276 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90Sharedmsasxpress.dll
07/20/2006 19:47:46.276 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90Sharedmsasxpress.dll
07/20/2006 19:47:46.276 Failed to read version information for the following file: C:Program FilesMicrosoft SQL Server90ToolsBinnResources1033
C:Program FilesMicrosoft SQL Server90ToolsBinnResources1033sqlcm.xml
07/20/2006 19:47:46.276 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90ToolsBinnResources1033SqlManager.rll
07/20/2006 19:47:46.276 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90ToolsBinnResources1033SqlManager.rll
07/20/2006 19:47:46.276 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90ToolsBinnResources1033SqlManager.rll
07/20/2006 19:47:46.292 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90ToolsinnSqlManager.dll
07/20/2006 19:47:46.292 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90ToolsinnSqlManager.dll
07/20/2006 19:47:46.292 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90ToolsinnSqlManager.dll
07/20/2006 19:47:46.292 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90Sharedsqlsvcsync.dll
07/20/2006 19:47:46.292 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90Sharedsqlsvcsync.dll
07/20/2006 19:47:46.292 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90Sharedsqlsvcsync.dll
07/20/2006 19:47:46.292 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90Sharedsqlsecacctchg.dll
07/20/2006 19:47:46.292 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90Sharedsqlsecacctchg.dll
07/20/2006 19:47:46.292 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90Sharedsqlsecacctchg.dll
07/20/2006 19:47:46.292 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90Sharedsqlftacct.dll
07/20/2006 19:47:46.292 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90Sharedsqlftacct.dll
07/20/2006 19:47:46.292 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90Sharedsqlftacct.dll
07/20/2006 19:47:46.307 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90Sharedisacctchange.dll
07/20/2006 19:47:46.307 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90Sharedisacctchange.dll
07/20/2006 19:47:46.307 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90Sharedisacctchange.dll
07/20/2006 19:47:46.307 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90Sharedsvrenumapi.dll
07/20/2006 19:47:46.307 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90Sharedsvrenumapi.dll
07/20/2006 19:47:46.307 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90Sharedsvrenumapi.dll
07/20/2006 19:47:46.307 Failed to read version information for the following file: C:Program FilesMicrosoft SQL Server90Shared2005.90.2047.0
C:WINDOWSassemblyGAC_MSILMicrosoft.SqlServer.Rmo9.0.242.0__89845dcd8080cc91Rmo.dll
07/20/2006 19:47:46.307 Failed to read associated hotfix build information for the following file: C:WINDOWSassemblyGAC_MSILMicrosoft.AnalysisServices9.0.242.0__89845dcd8080cc91Microsoft.AnalysisServices.DLL
07/20/2006 19:47:46.307 Failed to read associated hotfix build information for the following file: C:WINDOWSassemblyGAC_MSILMicrosoft.DataWarehouse.Interfaces9.0.242.0__89845dcd8080cc91Microsoft.DataWarehouse.Interfaces.DLL
07/20/2006 19:47:46.307 Failed to read associated hotfix build information for the following file: C:WINDOWSassemblyGAC_MSILMicrosoft.SqlServer.RegSvrEnum9.0.242.0__89845dcd8080cc91Microsoft.SqlServer.RegSvrEnum.dll
07/20/2006 19:47:46.307 Failed to read associated hotfix build information for the following file: C:WINDOWSassemblyGAC_32Microsoft.SqlServer.BatchParser9.0.242.0__89845dcd8080cc91microsoft.sqlserver.batchparser.dll
07/20/2006 19:47:46.307 Failed to read associated hotfix build information for the following file: C:WINDOWSassemblyGAC_32Microsoft.SqlServer.BatchParser9.0.242.0__89845dcd8080cc91microsoft.sqlserver.batchparser.dll
07/20/2006 19:47:46.307 Failed to read associated hotfix build information for the following file: C:WINDOWSassemblyGAC_32Microsoft.SqlServer.BatchParser9.0.242.0__89845dcd8080cc91microsoft.sqlserver.batchparser.dll
07/20/2006 19:47:46.323 Failed to read associated hotfix build information for the following file: C:WINDOWSassemblyGAC_MSILMicrosoft.SqlServer.ServiceBrokerEnum9.0.242.0__89845dcd8080cc91Microsoft.SqlServer.ServiceBrokerEnum.dll
07/20/2006 19:47:46.323 Failed to read associated hotfix build information for the following file: C:WINDOWSassemblyGAC_MSILMicrosoft.SqlServer.WmiEnum9.0.242.0__89845dcd8080cc91Microsoft.SqlServer.WmiEnum.dll
07/20/2006 19:47:46.323 Failed to read associated hotfix build information for the following file: C:WINDOWSassemblyGAC_MSILMicrosoft.SqlServer.SqlEnum9.0.242.0__89845dcd8080cc91Microsoft.SqlServer.SqlEnum.dll
07/20/2006 19:47:46.323 Failed to read associated hotfix build information for the following file: C:WINDOWSassemblyGAC_MSILMicrosoft.SqlServer.SmoEnum9.0.242.0__89845dcd8080cc91Microsoft.SqlServer.SmoEnum.dll
07/20/2006 19:47:46.323 Failed to read associated hotfix build information for the following file: C:WINDOWSassemblyGAC_MSILMicrosoft.SqlServer.Smo9.0.242.0__89845dcd8080cc91Microsoft.SqlServer.Smo.dll
07/20/2006 19:47:46.323 Failed to read associated hotfix build information for the following file: C:WINDOWSassemblyGAC_MSILMicrosoft.SqlServer.msxml6_interop6.0.0.0__89845dcd8080cc91Microsoft.SqlServer.msxml6_interop.dll
07/20/2006 19:47:46.323 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90SharedSqlSAC.exe
07/20/2006 19:47:46.323 Failed to read associated hotfix build information for the following file: C:Program FilesMicrosoft SQL Server90SharedMicrosoft.SqlSac.Public.dll
07/20/2006 19:47:46.511 Attempting to install file: sqlrun_dts.msp
07/20/2006 19:47:46.542 Attempting to install file: \SGFDDEWER102c$97de952b8999258c0040eafe4a8d1354HotFixDTSFilessqlrun_dts.msp
07/20/2006 19:47:46.542 Creating MSP install log file at: C:WINDOWSHotfixDTS9LogsDTS9_Hotfix_KB913090_sqlrun_dts.msp.log
07/20/2006 19:47:46.542 Successfully opened registry key: SoftwarePoliciesMicrosoftWindowsInstaller
07/20/2006 19:47:46.542 Failed to read registry key: Debug
07/20/2006 19:48:48.358 MSP returned 0: The action completed successfully.
07/20/2006 19:48:48.373 Successfully opened registry key: SoftwarePoliciesMicrosoftWindowsInstaller
07/20/2006 19:48:48.373 Failed to read registry key: Debug
07/20/2006 19:48:48.373 Successfully installed file: \SGFDDEWER102c$97de952b8999258c0040eafe4a8d1354HotFixDTSFilessqlrun_dts.msp
07/20/2006 19:48:48.373 Restarting DTS Service MsDtsServer since it was previously running
07/20/2006 19:48:48.373 Attempting to start service: MsDtsServer
07/20/2006 19:49:18.594 Unable to start service: MsDtsServer
07/20/2006 19:49:18.594 The following exception occurred: Unable to start service Date: 07/20/2006 19:49:18.594 File: depotsqlvaultsetupmainsetupsqlsesqlsedllservice.cpp Line: 222
----------------------


First I thought of an ACL problem, so I gave it a try and gave full control to everyone for the MSSQL folder, but that didn't work out.

Thank you for your help! Regards,

Michael burger

View 8 Replies View Related

Update Fails When Only One Row To Update

Mar 29, 2001

The update statement is failing with Timeout expired when there is only one row to update, otherwise if there are multiple rows to update it does not update the first row but updates the rest!!!??

Update cm_event_notification Set processed = '3/29/01 10:41:01 AM' Where dn = '{2E738808-23B4-11D5-B49A-00508BD934F8}'

View 1 Replies View Related

Update Via SQLDataSource Fails For Record With A Null Value In One Column

Oct 16, 2006

Hi,I have an updatable DataGrid linked to a SQLDataSource in a web site developed using VS2005. Update works fine unless a value in the existing row is Null. Only one column in the database allows nulls.Putting a debug stop in the SqlDataSource1_Updating event, I checked the parameter value in the Immediate window and got the following result:?e.Command.Parameters(16){System.Data.SqlClient.SqlParameter}System.Data.SqlClient.SqlParameter: {System.Data.SqlClient.SqlParameter}DbType: Int32 {11}Direction: Input {1}IsNullable: FalseParameterName: "@original_FiresolveJobNo"Size: 0SourceColumn: ""SourceColumnNullMapping: FalseSourceVersion: Current {512}Value: NothingIs there a property I can set to generate a suitable Null check clause for the Update statement?Many Thanks,Keith.

View 3 Replies View Related

DB Update Fails In Program, Works In Management Studio?

Jul 4, 2007

I have an SQL statement that, when run through SQL Server management studio works fine. However, when I run it on my ASP page, it doesn’t update the data! I have tried both as a stored procedure and as a simple commandText update statement.
All I do is simly update the value of a column based on another column – nothing particularly complex: update customer set dateChanged = System.DateTime.Now.ToString("dd-MMM-yyyy"), CURRSTAT = 'Active',custType = case WHEN cust_Changing_To IS NOT NULL THEN cust_Changing_To  ELSE custType END,cust_Changing_To = NULLFROM customers_v WHERE CURRSTAT = 'Changing'
           
As you can see, nothing that complex. The line that is causing the problem is the case: 
custType = case WHEN cust_Changing_To IS NOT NULL THEN cust_Changing_To  ELSE custType END 
all it does is if another nullable integer column is not null, sets it to the value of that column, else it retains its existing value. 
Like I say, this works in Management studio, but I cannot get it to execute programatticaly from an asp page.
No exceptions are being thrown, it just doesn’t update the data. 
Any ideas? 
Thanks
 

View 1 Replies View Related

Gridview Button For Calling Sqldatasource.update Fails

Aug 1, 2007

<!-- Trying
to create a GridView Survey form:
    Hi [User]
    Do you have these assets? 
    [Gridview]
    Tag Number   Response
    123         
[Yes ] [No] [Comments textbox]
    234         
[Yes ] [No] [Comments textbox] 

Goal: The desire
is for the user to click Yes or No and have the database updated with the
user's name, date, response and any comments.  





So far, I have
created SqlDataSource with Select and Update commands, created the gridview and
response buttons, setup the RowCommand and On_Updating Functions. 

Problems:1) If I call the update() function for SqlDataSource1 and misuse the Defaultvalue parameters to run the sql, no update is posted to the database.

2) If I use the On_Update function to set the parameter values, I get "Data type mismatch in criteria expression."  (Additionally, the On_Update function runs twice which I don't understand)Can anyone tell
me what/why? (and how to fix it?)Sorry for the deluge, but here is the code:
-->

<%@ Page
Language="VB"
%>
<html>
<head id="Head1" runat="server">
    <title>Asset Survey</title>
</head>
<SCRIPT runat="server">
    Protected Sub SqlDataSource1_Selecting(ByVal
sender As Object,
ByVal e As
System.Web.UI.WebControls.SqlDataSourceSelectingEventArgs) Handles SqlDataSource1.Selecting
        e.Command.Parameters("Name1").Value = User.Identity.Name
    End Sub







    Protected Sub SqlDataSource1_Updating(ByVal
sender As Object,
ByVal e As
System.Web.UI.WebControls.SqlDataSourceCommandEventArgs) Handles SqlDataSource1.Updating        'For some
reason, this function executes twice        '2nd execution gets error: "Data type
mismatch in criteria expression."        'e.Command.Parameters("PrimaryKey1").Value
= intPrimaryKey        'e.Command.Parameters("Responder1").Value
= strUser        'e.Command.Parameters("ResponseDate1").Value
= dtModDate        'e.Command.Parameters("Response1").Value
= strResponse        'e.Command.Parameters("ResponseComments1").Value
= strComments    End Sub

    Protected Sub
GridView1_RowCommand(ByVal sender As Object, ByVal e As
GridViewCommandEventArgs) _
        Handles
GridView1.RowCommand 
        Dim
GridRow1 As Integer
= Convert.ToInt32(e.CommandArgument)
        If
e.CommandName = "UpdateYes" Then
            'code here to disable buttons and textbox
            '...
           
SqlDataSource1.UpdateParameters("Response1").DefaultValue
= "Yes"
        End If    

        If
e.CommandName = "UpdateNo" Then
            'code here to disable buttons and textbox
            '...
           
SqlDataSource1.UpdateParameters("Response1").DefaultValue
= "No"
        End If

   
    'if I use the SqlDataSource1_Updating
function, I get the mismatch error
        'but if I (mis)use the DefaultValue
parameter, no update occurs.
        SqlDataSource1.UpdateParameters("ResponseComments1").DefaultValue = _
           
GridView1.Rows(GridRow1).FindControl("txtComments").ToString
        SqlDataSource1.UpdateParameters("Responder1").DefaultValue =
User.Identity.Name
        SqlDataSource1.UpdateParameters("ResponseDate1").DefaultValue =
DateTime.Now
        SqlDataSource1.UpdateParameters("PrimaryKey1").DefaultValue = _
           
GridView1.Rows(GridRow1).Cells(0).Text
           
   
    Try
          
SqlDataSource1.Update() 'Error Here if I use on_updating: "Data
type mismatch in criteria expression."
        Catch except As Exception
            ' Handle the Exception.
        End Try
    End Sub

</SCRIPT>
<body>
    <form id="formInv"
runat="server">
    <div>
          <asp:SqlDataSource ID="SqlDataSource1" runat="server"
            ConnectionString="<%$
ConnectionStrings:LocalTestMDB %>"
            ProviderName="<%$
ConnectionStrings:LocalTestMDB.ProviderName %>"
            SelectCommand="SELECT
[PrimaryKey], [Name], [AssetTag], [Response], [Responder],
[ResponseDate],[ResponseComments] FROM [Tablename] WHERE ([Name] = ?) ORDER BY
[Login Name], [AssetTag]"
            UpdateCommand="Update
[Tablename] SET [Response]=@Response1, [Responder]=@Responder1,
[ResponseDate]=ResponseDate1, [ResponseComments]=ResponseComments1 WHERE
[PrimaryKey]=@PrimaryKey1"
            OnSelecting="SqlDataSource1_Selecting"
            OnUpdating="SqlDataSource1_Updating">
            <SelectParameters>
        
       <asp:Parameter DefaultValue=""  Name="Name1" Type=String />
            </SelectParameters>
            <UpdateParameters>
               
<asp:Parameter Name="ResponseComments1"
Type=String DefaultValue=""
/>
               
<asp:Parameter Name="Response1"
Type=String DefaultValue=""
/>
               
<asp:Parameter Name="ResponseDate1"
Type=DateTime DefaultValue="#8/1/2007
12:00:00PM#" />
               
<asp:Parameter Name="Responder1"
Type=String DefaultValue=""
/>
               
<asp:Parameter Name="PrimaryKey1"
Type=Int32 DefaultValue=0 />
            </UpdateParameters>
        </asp:SqlDataSource>
        <span>Hi, Please
respond by clicking "Yes" or "No" for each asset</span>
        <asp:GridView ID="GridView1" runat="server"
            AutoGenerateColumns="False"
DataKeyNames="PrimaryKey"
            DataSourceID="SqlDataSource1">

           
<Columns>
               
<asp:BoundField DataField="PrimaryKey"
HeaderText="PrimaryKey"
       
            AccessibleHeaderText="PrimaryKey" Visible=False/>           

               
<asp:BoundField DataField="Name"
HeaderText="Name"
SortExpression="Name"
       
            AccessibleHeaderText="Name" />           

               
<asp:BoundField DataField="AssetTag"
HeaderText="AssetTag"
SortExpression="AssetTag"
               
    AccessibleHeaderText="AssetTag"
/>
               
<asp:TemplateField 
HeaderText="Please
Respond">
                   
<ItemTemplate>
                   
<asp:Button ID="btnYes" runat="server"
Text="Yes"
Visible="true"
               
        CommandName='UpdateYes'
               
        CommandArgument='<%#
CType(Container, GridViewRow).RowIndex %>' />
                   
<asp:Button ID="btnNo" runat="server"
Text="No"
Visible="true"
               
        CommandName='UpdateNo'
               
        CommandArgument='<%#
CType(Container, GridViewRow).RowIndex %>' />&nbsp;
                   
<br />
                   
<asp:Label ID="lblComments"
runat="server"
Text="Comments:"
Visible=True></asp:Label>
                   
<asp:TextBox ID="txtComments"
runat="server"
Text='<%#
Bind("ResponseComments") %>'
       
               
Visible=True MaxLength=512 Height=24 Width=320 Wrap=True Enabled=True
               
        TextMode=MultiLine></asp:TextBox>&nbsp;
                   
</ItemTemplate>
               
</asp:TemplateField>
            </Columns>
        </asp:GridView>
        </div>
    </form>
</body>
</html>

 

View 1 Replies View Related

LinqDataSource && GridView: Update Fails (no Rows Affected)

Nov 7, 2007

Hi,
Using VS.NET 2008 Beta2, and SQL Server 2005.
I have a gridview bound to a linq data source, and when trying to update a row, I get an exception that no rows were modified.
The query generated is:
 UPDATE [dbo].[package]
SET [owner_id] = @p5
WHERE ([package_id] = @p0) AND ([title] = @p1) AND ([directory] = @p2) AND ([owner_id] = @p3) AND ([creation_date] = @p4)
-- @p0: Input Int32 (Size = 0; Prec = 0; Scale = 0) [20006]
-- @p1: Input String (Size = 22; Prec = 0; Scale = 0) [Visual Studio.NET 2005]
-- @p2: Input String (Size = 26; Prec = 0; Scale = 0) [MSI_Visual_Studio.NET_2005]
-- @p3: Input Int32 (Size = 0; Prec = 0; Scale = 0) [10000]
-- @p4: Input DateTime (Size = 0; Prec = 0; Scale = 0) [11/07/2007 12:00:00 a.m.]
-- @p5: Input Int32 (Size = 0; Prec = 0; Scale = 0) [10001]
-- Context: SqlProvider(Sql2005) Model: AttributedMetaModel Build: 3.5.20706.1

 
If I run it manually on sql server, it fails until the directory column is removed. The type is varchar(50), with a uniqueness constraint. However, this is same type as the title column, which doesn't have this problem.
Thanks,
Jessica

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved