Update problem from a dataset with ODT.

I'm having a problem updating a row on a backend database using a dataset which contains the datacolumns as parameters with a TableMapping object. I'm using this in conjunction with the ODT.net tool.
I've used this technique hundreds of times with a SQL Server backend, with no problems whatsoever. I'm not doing anything different.
Here is the SQL I'm executing:
<code>
PROCEDURE proc_prUpdate
          p_CALLID IN CALL.CALLID%TYPE,
          p_STARTTIME IN CALL.STARTTIME%TYPE,
          p_STANDARD IN CALL.STANDARD%TYPE,
          p_DURATION IN CALL.DURATION%TYPE,
          p_VOYCALLID IN CALL.VOYCALLID%TYPE,
          p_LESID IN CALL.LESID%TYPE,
          p_SERVICETYPE IN CALL.SERVICETYPE%TYPE,
          p_MESCATEGORY IN CALL.MESCATEGORY%TYPE,
          p_MOBILE IN CALL.MOBILE%TYPE,
          p_REGIONID IN CALL.REGIONID%TYPE,
          p_TXCHANNEL IN CALL.TXCHANNEL%TYPE,
          p_RXCHANNEL IN CALL.RXCHANNEL%TYPE,
          p_SPOTBEAM IN CALL.SPOTBEAM%TYPE,
          p_TERMINALID IN CALL.TERMINALID%TYPE,
          p_RETURNID IN CALL.RETURNID%TYPE,
          p_TELEPHONENUMBER IN CALL.TELEPHONENUMBER%TYPE,
          p_PID IN CALL.PID%TYPE,
          p_TIMEDURATION IN CALL.TIMEDURATION%TYPE,
          p_LESNAME IN CALL.LESNAME%TYPE,
          p_MESNAME IN CALL.MESNAME%TYPE,
          p_CITY IN CALL.CITY%TYPE,
          p_COUNTRY IN CALL.COUNTRY%TYPE,
          p_TARGETID IN CALL.TARGETID%TYPE,
          p_MESID IN CALL.MESID%TYPE,
          p_DBSERVERID IN CALL.DBSERVERID%TYPE
     AS
     BEGIN
          update CALL set      
          STARTTIME = p_STARTTIME, STANDARD = p_STANDARD, DURATION = p_DURATION, VOYCALLID = p_VOYCALLID, LESID = p_LESID, SERVICETYPE = p_SERVICETYPE, MESCATEGORY = p_MESCATEGORY, MOBILE = p_MOBILE, REGIONID = p_REGIONID, TXCHANNEL = p_TXCHANNEL, RXCHANNEL = p_RXCHANNEL, SPOTBEAM = p_SPOTBEAM, TERMINALID = p_TERMINALID, RETURNID = p_RETURNID, TELEPHONENUMBER = p_TELEPHONENUMBER, PID = p_PID, TIMEDURATION = p_TIMEDURATION, LESNAME = p_LESNAME, MESNAME = p_MESNAME, CITY = p_CITY, COUNTRY = p_COUNTRY, TARGETID = p_TARGETID, MESID = p_MESID, DBSERVERID = p_DBSERVERID
          where CALLID = p_CALLID;
     END;
</code>
The following is in the generated code for the DataAdapter. Here are all the parameters for the update command:
<code>
Dim OracleParameter29 As Oracle.DataAccess.Client.OracleParameter = New Oracle.DataAccess.Client.OracleParameter
Dim OracleParameter30 As Oracle.DataAccess.Client.OracleParameter = New Oracle.DataAccess.Client.OracleParameter
Dim OracleParameter31 As Oracle.DataAccess.Client.OracleParameter = New Oracle.DataAccess.Client.OracleParameter
Dim OracleParameter32 As Oracle.DataAccess.Client.OracleParameter = New Oracle.DataAccess.Client.OracleParameter
Dim OracleParameter33 As Oracle.DataAccess.Client.OracleParameter = New Oracle.DataAccess.Client.OracleParameter
Dim OracleParameter34 As Oracle.DataAccess.Client.OracleParameter = New Oracle.DataAccess.Client.OracleParameter
Dim OracleParameter35 As Oracle.DataAccess.Client.OracleParameter = New Oracle.DataAccess.Client.OracleParameter
Dim OracleParameter36 As Oracle.DataAccess.Client.OracleParameter = New Oracle.DataAccess.Client.OracleParameter
Dim OracleParameter37 As Oracle.DataAccess.Client.OracleParameter = New Oracle.DataAccess.Client.OracleParameter
Dim OracleParameter38 As Oracle.DataAccess.Client.OracleParameter = New Oracle.DataAccess.Client.OracleParameter
Dim OracleParameter39 As Oracle.DataAccess.Client.OracleParameter = New Oracle.DataAccess.Client.OracleParameter
Dim OracleParameter40 As Oracle.DataAccess.Client.OracleParameter = New Oracle.DataAccess.Client.OracleParameter
Dim OracleParameter41 As Oracle.DataAccess.Client.OracleParameter = New Oracle.DataAccess.Client.OracleParameter
Dim OracleParameter42 As Oracle.DataAccess.Client.OracleParameter = New Oracle.DataAccess.Client.OracleParameter
Dim OracleParameter43 As Oracle.DataAccess.Client.OracleParameter = New Oracle.DataAccess.Client.OracleParameter
Dim OracleParameter44 As Oracle.DataAccess.Client.OracleParameter = New Oracle.DataAccess.Client.OracleParameter
Dim OracleParameter45 As Oracle.DataAccess.Client.OracleParameter = New Oracle.DataAccess.Client.OracleParameter
Dim OracleParameter46 As Oracle.DataAccess.Client.OracleParameter = New Oracle.DataAccess.Client.OracleParameter
Dim OracleParameter47 As Oracle.DataAccess.Client.OracleParameter = New Oracle.DataAccess.Client.OracleParameter
Dim OracleParameter48 As Oracle.DataAccess.Client.OracleParameter = New Oracle.DataAccess.Client.OracleParameter
Dim OracleParameter49 As Oracle.DataAccess.Client.OracleParameter = New Oracle.DataAccess.Client.OracleParameter
Dim OracleParameter50 As Oracle.DataAccess.Client.OracleParameter = New Oracle.DataAccess.Client.OracleParameter
Dim OracleParameter51 As Oracle.DataAccess.Client.OracleParameter = New Oracle.DataAccess.Client.OracleParameter
Dim OracleParameter52 As Oracle.DataAccess.Client.OracleParameter = New Oracle.DataAccess.Client.OracleParameter
Dim OracleParameter53 As Oracle.DataAccess.Client.OracleParameter = New Oracle.DataAccess.Client.OracleParamete
</code>
The following is the code for the parameter list in the generated code:
<code>
Me.updateOracleCommand1.CommandText = "CALL_PKG.PROC_PRUPDATE"
Me.updateOracleCommand1.CommandType = System.Data.CommandType.StoredProcedure
Me.updateOracleCommand1.Connection = Me.oracleConnection1
OracleParameter29.OracleDbType = Oracle.DataAccess.Client.OracleDbType.Decimal
OracleParameter29.ParameterName = "P_CALLID"
OracleParameter29.SourceColumn = "P_CALLID"
OracleParameter30.OracleDbType = Oracle.DataAccess.Client.OracleDbType.Date
OracleParameter30.ParameterName = "P_STARTTIME"
OracleParameter30.SourceColumn = "P_STARTTIME"
OracleParameter31.OracleDbType = Oracle.DataAccess.Client.OracleDbType.Varchar2
OracleParameter31.ParameterName = "P_STANDARD"
OracleParameter31.SourceColumn = "P_STANDARD"
OracleParameter32.OracleDbType = Oracle.DataAccess.Client.OracleDbType.Decimal
OracleParameter32.ParameterName = "P_DURATION"
OracleParameter32.SourceColumn = "P_DURATION"
OracleParameter33.OracleDbType = Oracle.DataAccess.Client.OracleDbType.Decimal
OracleParameter33.ParameterName = "P_VOYCALLID"
OracleParameter33.SourceColumn = "P_VOYCALLID"
OracleParameter34.OracleDbType = Oracle.DataAccess.Client.OracleDbType.Char
OracleParameter34.ParameterName = "P_LESID"
OracleParameter34.SourceColumn = "P_LESID"
OracleParameter35.OracleDbType = Oracle.DataAccess.Client.OracleDbType.Varchar2
OracleParameter35.ParameterName = "P_SERVICETYPE"
OracleParameter35.SourceColumn = "P_SERVICETYPE"
OracleParameter36.OracleDbType = Oracle.DataAccess.Client.OracleDbType.Decimal
OracleParameter36.ParameterName = "P_MESCATEGORY"
OracleParameter36.SourceColumn = "P_MESCATEGORY"
OracleParameter37.OracleDbType = Oracle.DataAccess.Client.OracleDbType.Varchar2
OracleParameter37.ParameterName = "P_MOBILE"
OracleParameter37.SourceColumn = "P_MOBILE"
OracleParameter38.OracleDbType = Oracle.DataAccess.Client.OracleDbType.Varchar2
OracleParameter38.ParameterName = "P_REGIONID"
OracleParameter38.SourceColumn = "P_REGIONID"
OracleParameter39.OracleDbType = Oracle.DataAccess.Client.OracleDbType.Char
OracleParameter39.ParameterName = "P_TXCHANNEL"
OracleParameter39.SourceColumn = "P_TXCHANNEL"
OracleParameter40.OracleDbType = Oracle.DataAccess.Client.OracleDbType.Char
OracleParameter40.ParameterName = "P_RXCHANNEL"
OracleParameter40.SourceColumn = "P_RXCHANNEL"
OracleParameter41.OracleDbType = Oracle.DataAccess.Client.OracleDbType.Decimal
OracleParameter41.ParameterName = "P_SPOTBEAM"
OracleParameter41.SourceColumn = "P_SPOTBEAM"
OracleParameter42.OracleDbType = Oracle.DataAccess.Client.OracleDbType.Decimal
OracleParameter42.ParameterName = "P_TERMINALID"
OracleParameter42.SourceColumn = "P_TERMINALID"
OracleParameter43.OracleDbType = Oracle.DataAccess.Client.OracleDbType.Char
OracleParameter43.ParameterName = "P_RETURNID"
OracleParameter43.SourceColumn = "P_RETURNID"
OracleParameter44.OracleDbType = Oracle.DataAccess.Client.OracleDbType.Varchar2
OracleParameter44.ParameterName = "P_TELEPHONENUMBER"
OracleParameter44.SourceColumn = "P_TELEPHONENUMBER"
OracleParameter45.OracleDbType = Oracle.DataAccess.Client.OracleDbType.Char
OracleParameter45.ParameterName = "P_PID"
OracleParameter45.SourceColumn = "P_PID"
OracleParameter46.OracleDbType = Oracle.DataAccess.Client.OracleDbType.Varchar2
OracleParameter46.ParameterName = "P_TIMEDURATION"
OracleParameter46.SourceColumn = "P_TIMEDURATION"
OracleParameter47.OracleDbType = Oracle.DataAccess.Client.OracleDbType.Varchar2
OracleParameter47.ParameterName = "P_LESNAME"
OracleParameter47.SourceColumn = "P_LESNAME"
OracleParameter48.OracleDbType = Oracle.DataAccess.Client.OracleDbType.Varchar2
OracleParameter48.ParameterName = "P_MESNAME"
OracleParameter48.SourceColumn = "P_MESNAME"
OracleParameter49.OracleDbType = Oracle.DataAccess.Client.OracleDbType.Varchar2
OracleParameter49.ParameterName = "P_CITY"
OracleParameter49.SourceColumn = "P_CITY"
OracleParameter50.OracleDbType = Oracle.DataAccess.Client.OracleDbType.Varchar2
OracleParameter50.ParameterName = "P_COUNTRY"
OracleParameter50.SourceColumn = "P_COUNTRY"
OracleParameter51.OracleDbType = Oracle.DataAccess.Client.OracleDbType.Decimal
OracleParameter51.ParameterName = "P_TARGETID"
OracleParameter51.SourceColumn = "P_TARGETID"
OracleParameter52.OracleDbType = Oracle.DataAccess.Client.OracleDbType.Char
OracleParameter52.ParameterName = "P_MESID"
OracleParameter52.SourceColumn = "P_MESID"
OracleParameter53.OracleDbType = Oracle.DataAccess.Client.OracleDbType.Decimal
OracleParameter53.ParameterName = "P_DBSERVERID"
OracleParameter53.SourceColumn = "P_DBSERVERID"
Me.updateOracleCommand1.Parameters.Add(OracleParameter29)
Me.updateOracleCommand1.Parameters.Add(OracleParameter30)
Me.updateOracleCommand1.Parameters.Add(OracleParameter31)
Me.updateOracleCommand1.Parameters.Add(OracleParameter32)
Me.updateOracleCommand1.Parameters.Add(OracleParameter33)
Me.updateOracleCommand1.Parameters.Add(OracleParameter34)
Me.updateOracleCommand1.Parameters.Add(OracleParameter35)
Me.updateOracleCommand1.Parameters.Add(OracleParameter36)
Me.updateOracleCommand1.Parameters.Add(OracleParameter37)
Me.updateOracleCommand1.Parameters.Add(OracleParameter38)
Me.updateOracleCommand1.Parameters.Add(OracleParameter39)
Me.updateOracleCommand1.Parameters.Add(OracleParameter40)
Me.updateOracleCommand1.Parameters.Add(OracleParameter41)
Me.updateOracleCommand1.Parameters.Add(OracleParameter42)
Me.updateOracleCommand1.Parameters.Add(OracleParameter43)
Me.updateOracleCommand1.Parameters.Add(OracleParameter44)
Me.updateOracleCommand1.Parameters.Add(OracleParameter45)
Me.updateOracleCommand1.Parameters.Add(OracleParameter46)
Me.updateOracleCommand1.Parameters.Add(OracleParameter47)
Me.updateOracleCommand1.Parameters.Add(OracleParameter48)
Me.updateOracleCommand1.Parameters.Add(OracleParameter49)
Me.updateOracleCommand1.Parameters.Add(OracleParameter50)
Me.updateOracleCommand1.Parameters.Add(OracleParameter51)
Me.updateOracleCommand1.Parameters.Add(OracleParameter52)
Me.updateOracleCommand1.Parameters.Add(OracleParameter53)
</code>
Here is the code I'm running to try the update:
<code>
OracleDataAdapter1.TableMappings.Add("Table", "CALL")
OracleDataAdapter1.UpdateCommand.Parameters.Item(0).Value = Call11._Call.Item(0).CALLID
OracleDataAdapter1.UpdateCommand.Parameters.Item(2).Value = Call11._Call.Item(0).STANDARD
Call11._Call.Item(0).STARTTIME = DataGrid1.Item(0, 1)
Call11._Call.Item(0).STANDARD = DataGrid1.Item(0, 2)
Call11._Call.Item(0).DURATION = DataGrid1.Item(0, 3)
Call11._Call.Item(0).LESID = DataGrid1.Item(0, 4)
Call11._Call.Item(0).SERVICETYPE = DataGrid1.Item(0, 5)
Call11._Call.Item(0).MESCATEGORY = DataGrid1.Item(0, 6)
Call11._Call.Item(0).MOBILE = DataGrid1.Item(0, 7)
Call11._Call.Item(0).REGIONID = DataGrid1.Item(0, 8)
Call11._Call.Item(0).MESID = DataGrid1.Item(0, 22)
Call11._Call.Item(0).CALLID = Convert.ToInt32(TextBox1.Text)
OracleDataAdapter1.Update(Call11)
</code>
I shouldn't need to add the above lines:
<code>
OracleDataAdapter1.UpdateCommand.Parameters.Item(0).Value = Call11._Call.Item(0).CALLID
OracleDataAdapter1.UpdateCommand.Parameters.Item(2).Value = Call11._Call.Item(0).STANDARD
</code>
, but I added them to show you the value of the parms going in.
When debugging, the following is my output:
?Call11._Call.Item(0).RowState
Modified
?Call11._Call.Rows.Count
1
You can see that the rowstate is set to "Modified" and the rowcount is 1
?OracleDataAdapter1.UpdateCommand.Parameters.Item(0).Value
8612967 {Long}
[Long]: 8612967 {Long}
?OracleDataAdapter1.UpdateCommand.Parameters.Item(2).Value
"B" {String}
String: "B"
The above, are the values of the first & third parms before the "Update" statement is executed.
?OracleDataAdapter1.UpdateCommand.Parameters.Item(0).Value
{System.DBNull}
[System.DBNull]: {System.DBNull}
?OracleDataAdapter1.UpdateCommand.Parameters.Item(2).Value
{System.DBNull}
[System.DBNull]: {System.DBNull}
The above are the values of the first & third parms after the "Update" statement is executed.
<code>
OracleDataAdapter1.Update(Call11)
</code>
Notice the values are NULL. why???
Below, is the value of my TableMapping object:
?OracleDataAdapter1.TableMappings.Count
1
?OracleDataAdapter1.TableMappings.Item(0)
{System.Data.Common.DataTableMapping}
ColumnMappings: {System.Data.Common.DataColumnMappingCollection}
DataSetTable: "CALL"
SourceTable: "Table"
The datatable name of the strongly typed dataset I am using is "CALL".
When I change the update statement from:
<code>
OracleDataAdapter1.Update(Call11)
</code>
to
<code>
OracleDataAdapter1.UpdateCommand.ExecuteNonQuery()
</code>
the update works (using the latter), but returns a -1 for the records affected (-1 typically means the command can't decipher the action of the command that just took place).
I might add that I successfully executed a similiar "update" the same way via a dataset prior to what I'm trying to do here.
Why isn't the backend datasource being updated? I do not get any errors during the update statement execpt for the -1 for the records affected?

I shortened the package spec to the following:
<code>
PROCEDURE proc_prUpdate
          p_CALLID IN CALL.CALLID%TYPE,
          p_STANDARD IN CALL.STANDARD%TYPE
</code>
I shortened the package body to the following:
<code>
PROCEDURE proc_prUpdate
          p_CALLID IN CALL.CALLID%TYPE,
          p_STANDARD IN CALL.STANDARD%TYPE
     AS
     BEGIN
          update CALL set      
          STANDARD = p_STANDARD
          where CALLID = p_CALLID;
     END;
</code>
When I execute the update statement from the associated data adapter, it updates the db correctly, but still gives me a -1 for the records affected.
When I execute the exact same sql with the record inside a strongly typed dataset, it doesn't update and I still get the -1 for the records affected.
While debugging, the following output is shown for the parameter list:
?daORA.UpdateCommand.Parameters.Item(0)
{Oracle.DataAccess.Client.OracleParameter}
ArrayBindSize: Nothing
ArrayBindStatus: Nothing
CollectionType: None
DbType: Decimal
Direction: Input
IsNullable: False
Offset: 0
OracleDbType: Decimal
ParameterName: "P_CALLID"
Precision: 0
Scale: 0
Size: 0
SourceColumn: "P_CALLID"
SourceVersion: Original
Status: Success
Value: 8612967 {Long}
?daORA.UpdateCommand.Parameters.Item(1)
{Oracle.DataAccess.Client.OracleParameter}
ArrayBindSize: Nothing
ArrayBindStatus: Nothing
CollectionType: None
DbType: String
Direction: Input
IsNullable: False
Offset: 0
OracleDbType: Varchar2
ParameterName: "P_STANDARD"
Precision: 0
Scale: 0
Size: 0
SourceColumn: "P_STANDARD"
SourceVersion: Current
Status: Success
Value: "c" {String}
?ds.Tables(0).Rows(0).RowState
Modified
Two questions:
Even though it updates successfully in the first iteration, how come I get the -1 for the records affected?
In the second iteration, how come it is not updating the backend datasource and how come I still get the -1 for the records affected? You can see that the rowstate is set to modified.
Is there a problem with the ODP.Net data provider not being able to update a backend datasource with values inside of a datatable during a "da.update" statement?
With MS SQL Server data provider, it updates the data flawlessly when I put the tables inside of a MS SQL Server.

Similar Messages

  • Update problem from a dataset

    I'm having a problem updating a row on a backend database using a dataset which contains the datacolumns as parameters with a TableMapping object. I'm using this in conjunction with the ODT.net tool.
    I've used this technique hundreds of times with a SQL Server backend, with no problems whatsoever. I'm not doing anything different.
    Here is the SQL I'm executing:
    <code>
    PROCEDURE proc_prUpdate
              p_CALLID IN CALL.CALLID%TYPE,
              p_STARTTIME IN CALL.STARTTIME%TYPE,
              p_STANDARD IN CALL.STANDARD%TYPE,
              p_DURATION IN CALL.DURATION%TYPE,
              p_VOYCALLID IN CALL.VOYCALLID%TYPE,
              p_LESID IN CALL.LESID%TYPE,
              p_SERVICETYPE IN CALL.SERVICETYPE%TYPE,
              p_MESCATEGORY IN CALL.MESCATEGORY%TYPE,
              p_MOBILE IN CALL.MOBILE%TYPE,
              p_REGIONID IN CALL.REGIONID%TYPE,
              p_TXCHANNEL IN CALL.TXCHANNEL%TYPE,
              p_RXCHANNEL IN CALL.RXCHANNEL%TYPE,
              p_SPOTBEAM IN CALL.SPOTBEAM%TYPE,
              p_TERMINALID IN CALL.TERMINALID%TYPE,
              p_RETURNID IN CALL.RETURNID%TYPE,
              p_TELEPHONENUMBER IN CALL.TELEPHONENUMBER%TYPE,
              p_PID IN CALL.PID%TYPE,
              p_TIMEDURATION IN CALL.TIMEDURATION%TYPE,
              p_LESNAME IN CALL.LESNAME%TYPE,
              p_MESNAME IN CALL.MESNAME%TYPE,
              p_CITY IN CALL.CITY%TYPE,
              p_COUNTRY IN CALL.COUNTRY%TYPE,
              p_TARGETID IN CALL.TARGETID%TYPE,
              p_MESID IN CALL.MESID%TYPE,
              p_DBSERVERID IN CALL.DBSERVERID%TYPE
         AS
         BEGIN
              update CALL set      
              STARTTIME = p_STARTTIME, STANDARD = p_STANDARD, DURATION = p_DURATION, VOYCALLID = p_VOYCALLID, LESID = p_LESID, SERVICETYPE = p_SERVICETYPE, MESCATEGORY = p_MESCATEGORY, MOBILE = p_MOBILE, REGIONID = p_REGIONID, TXCHANNEL = p_TXCHANNEL, RXCHANNEL = p_RXCHANNEL, SPOTBEAM = p_SPOTBEAM, TERMINALID = p_TERMINALID, RETURNID = p_RETURNID, TELEPHONENUMBER = p_TELEPHONENUMBER, PID = p_PID, TIMEDURATION = p_TIMEDURATION, LESNAME = p_LESNAME, MESNAME = p_MESNAME, CITY = p_CITY, COUNTRY = p_COUNTRY, TARGETID = p_TARGETID, MESID = p_MESID, DBSERVERID = p_DBSERVERID
              where CALLID = p_CALLID;
         END;
    </code>
    The following is in the generated code for the DataAdapter. Here are all the parameters for the update command:
    <code>
    Dim OracleParameter29 As Oracle.DataAccess.Client.OracleParameter = New Oracle.DataAccess.Client.OracleParameter
    Dim OracleParameter30 As Oracle.DataAccess.Client.OracleParameter = New Oracle.DataAccess.Client.OracleParameter
    Dim OracleParameter31 As Oracle.DataAccess.Client.OracleParameter = New Oracle.DataAccess.Client.OracleParameter
    Dim OracleParameter32 As Oracle.DataAccess.Client.OracleParameter = New Oracle.DataAccess.Client.OracleParameter
    Dim OracleParameter33 As Oracle.DataAccess.Client.OracleParameter = New Oracle.DataAccess.Client.OracleParameter
    Dim OracleParameter34 As Oracle.DataAccess.Client.OracleParameter = New Oracle.DataAccess.Client.OracleParameter
    Dim OracleParameter35 As Oracle.DataAccess.Client.OracleParameter = New Oracle.DataAccess.Client.OracleParameter
    Dim OracleParameter36 As Oracle.DataAccess.Client.OracleParameter = New Oracle.DataAccess.Client.OracleParameter
    Dim OracleParameter37 As Oracle.DataAccess.Client.OracleParameter = New Oracle.DataAccess.Client.OracleParameter
    Dim OracleParameter38 As Oracle.DataAccess.Client.OracleParameter = New Oracle.DataAccess.Client.OracleParameter
    Dim OracleParameter39 As Oracle.DataAccess.Client.OracleParameter = New Oracle.DataAccess.Client.OracleParameter
    Dim OracleParameter40 As Oracle.DataAccess.Client.OracleParameter = New Oracle.DataAccess.Client.OracleParameter
    Dim OracleParameter41 As Oracle.DataAccess.Client.OracleParameter = New Oracle.DataAccess.Client.OracleParameter
    Dim OracleParameter42 As Oracle.DataAccess.Client.OracleParameter = New Oracle.DataAccess.Client.OracleParameter
    Dim OracleParameter43 As Oracle.DataAccess.Client.OracleParameter = New Oracle.DataAccess.Client.OracleParameter
    Dim OracleParameter44 As Oracle.DataAccess.Client.OracleParameter = New Oracle.DataAccess.Client.OracleParameter
    Dim OracleParameter45 As Oracle.DataAccess.Client.OracleParameter = New Oracle.DataAccess.Client.OracleParameter
    Dim OracleParameter46 As Oracle.DataAccess.Client.OracleParameter = New Oracle.DataAccess.Client.OracleParameter
    Dim OracleParameter47 As Oracle.DataAccess.Client.OracleParameter = New Oracle.DataAccess.Client.OracleParameter
    Dim OracleParameter48 As Oracle.DataAccess.Client.OracleParameter = New Oracle.DataAccess.Client.OracleParameter
    Dim OracleParameter49 As Oracle.DataAccess.Client.OracleParameter = New Oracle.DataAccess.Client.OracleParameter
    Dim OracleParameter50 As Oracle.DataAccess.Client.OracleParameter = New Oracle.DataAccess.Client.OracleParameter
    Dim OracleParameter51 As Oracle.DataAccess.Client.OracleParameter = New Oracle.DataAccess.Client.OracleParameter
    Dim OracleParameter52 As Oracle.DataAccess.Client.OracleParameter = New Oracle.DataAccess.Client.OracleParameter
    Dim OracleParameter53 As Oracle.DataAccess.Client.OracleParameter = New Oracle.DataAccess.Client.OracleParamete
    </code>
    The following is the code for the parameter list in the generated code:
    <code>
    Me.updateOracleCommand1.CommandText = "CALL_PKG.PROC_PRUPDATE"
    Me.updateOracleCommand1.CommandType = System.Data.CommandType.StoredProcedure
    Me.updateOracleCommand1.Connection = Me.oracleConnection1
    OracleParameter29.OracleDbType = Oracle.DataAccess.Client.OracleDbType.Decimal
    OracleParameter29.ParameterName = "P_CALLID"
    OracleParameter29.SourceColumn = "P_CALLID"
    OracleParameter30.OracleDbType = Oracle.DataAccess.Client.OracleDbType.Date
    OracleParameter30.ParameterName = "P_STARTTIME"
    OracleParameter30.SourceColumn = "P_STARTTIME"
    OracleParameter31.OracleDbType = Oracle.DataAccess.Client.OracleDbType.Varchar2
    OracleParameter31.ParameterName = "P_STANDARD"
    OracleParameter31.SourceColumn = "P_STANDARD"
    OracleParameter32.OracleDbType = Oracle.DataAccess.Client.OracleDbType.Decimal
    OracleParameter32.ParameterName = "P_DURATION"
    OracleParameter32.SourceColumn = "P_DURATION"
    OracleParameter33.OracleDbType = Oracle.DataAccess.Client.OracleDbType.Decimal
    OracleParameter33.ParameterName = "P_VOYCALLID"
    OracleParameter33.SourceColumn = "P_VOYCALLID"
    OracleParameter34.OracleDbType = Oracle.DataAccess.Client.OracleDbType.Char
    OracleParameter34.ParameterName = "P_LESID"
    OracleParameter34.SourceColumn = "P_LESID"
    OracleParameter35.OracleDbType = Oracle.DataAccess.Client.OracleDbType.Varchar2
    OracleParameter35.ParameterName = "P_SERVICETYPE"
    OracleParameter35.SourceColumn = "P_SERVICETYPE"
    OracleParameter36.OracleDbType = Oracle.DataAccess.Client.OracleDbType.Decimal
    OracleParameter36.ParameterName = "P_MESCATEGORY"
    OracleParameter36.SourceColumn = "P_MESCATEGORY"
    OracleParameter37.OracleDbType = Oracle.DataAccess.Client.OracleDbType.Varchar2
    OracleParameter37.ParameterName = "P_MOBILE"
    OracleParameter37.SourceColumn = "P_MOBILE"
    OracleParameter38.OracleDbType = Oracle.DataAccess.Client.OracleDbType.Varchar2
    OracleParameter38.ParameterName = "P_REGIONID"
    OracleParameter38.SourceColumn = "P_REGIONID"
    OracleParameter39.OracleDbType = Oracle.DataAccess.Client.OracleDbType.Char
    OracleParameter39.ParameterName = "P_TXCHANNEL"
    OracleParameter39.SourceColumn = "P_TXCHANNEL"
    OracleParameter40.OracleDbType = Oracle.DataAccess.Client.OracleDbType.Char
    OracleParameter40.ParameterName = "P_RXCHANNEL"
    OracleParameter40.SourceColumn = "P_RXCHANNEL"
    OracleParameter41.OracleDbType = Oracle.DataAccess.Client.OracleDbType.Decimal
    OracleParameter41.ParameterName = "P_SPOTBEAM"
    OracleParameter41.SourceColumn = "P_SPOTBEAM"
    OracleParameter42.OracleDbType = Oracle.DataAccess.Client.OracleDbType.Decimal
    OracleParameter42.ParameterName = "P_TERMINALID"
    OracleParameter42.SourceColumn = "P_TERMINALID"
    OracleParameter43.OracleDbType = Oracle.DataAccess.Client.OracleDbType.Char
    OracleParameter43.ParameterName = "P_RETURNID"
    OracleParameter43.SourceColumn = "P_RETURNID"
    OracleParameter44.OracleDbType = Oracle.DataAccess.Client.OracleDbType.Varchar2
    OracleParameter44.ParameterName = "P_TELEPHONENUMBER"
    OracleParameter44.SourceColumn = "P_TELEPHONENUMBER"
    OracleParameter45.OracleDbType = Oracle.DataAccess.Client.OracleDbType.Char
    OracleParameter45.ParameterName = "P_PID"
    OracleParameter45.SourceColumn = "P_PID"
    OracleParameter46.OracleDbType = Oracle.DataAccess.Client.OracleDbType.Varchar2
    OracleParameter46.ParameterName = "P_TIMEDURATION"
    OracleParameter46.SourceColumn = "P_TIMEDURATION"
    OracleParameter47.OracleDbType = Oracle.DataAccess.Client.OracleDbType.Varchar2
    OracleParameter47.ParameterName = "P_LESNAME"
    OracleParameter47.SourceColumn = "P_LESNAME"
    OracleParameter48.OracleDbType = Oracle.DataAccess.Client.OracleDbType.Varchar2
    OracleParameter48.ParameterName = "P_MESNAME"
    OracleParameter48.SourceColumn = "P_MESNAME"
    OracleParameter49.OracleDbType = Oracle.DataAccess.Client.OracleDbType.Varchar2
    OracleParameter49.ParameterName = "P_CITY"
    OracleParameter49.SourceColumn = "P_CITY"
    OracleParameter50.OracleDbType = Oracle.DataAccess.Client.OracleDbType.Varchar2
    OracleParameter50.ParameterName = "P_COUNTRY"
    OracleParameter50.SourceColumn = "P_COUNTRY"
    OracleParameter51.OracleDbType = Oracle.DataAccess.Client.OracleDbType.Decimal
    OracleParameter51.ParameterName = "P_TARGETID"
    OracleParameter51.SourceColumn = "P_TARGETID"
    OracleParameter52.OracleDbType = Oracle.DataAccess.Client.OracleDbType.Char
    OracleParameter52.ParameterName = "P_MESID"
    OracleParameter52.SourceColumn = "P_MESID"
    OracleParameter53.OracleDbType = Oracle.DataAccess.Client.OracleDbType.Decimal
    OracleParameter53.ParameterName = "P_DBSERVERID"
    OracleParameter53.SourceColumn = "P_DBSERVERID"
    Me.updateOracleCommand1.Parameters.Add(OracleParameter29)
    Me.updateOracleCommand1.Parameters.Add(OracleParameter30)
    Me.updateOracleCommand1.Parameters.Add(OracleParameter31)
    Me.updateOracleCommand1.Parameters.Add(OracleParameter32)
    Me.updateOracleCommand1.Parameters.Add(OracleParameter33)
    Me.updateOracleCommand1.Parameters.Add(OracleParameter34)
    Me.updateOracleCommand1.Parameters.Add(OracleParameter35)
    Me.updateOracleCommand1.Parameters.Add(OracleParameter36)
    Me.updateOracleCommand1.Parameters.Add(OracleParameter37)
    Me.updateOracleCommand1.Parameters.Add(OracleParameter38)
    Me.updateOracleCommand1.Parameters.Add(OracleParameter39)
    Me.updateOracleCommand1.Parameters.Add(OracleParameter40)
    Me.updateOracleCommand1.Parameters.Add(OracleParameter41)
    Me.updateOracleCommand1.Parameters.Add(OracleParameter42)
    Me.updateOracleCommand1.Parameters.Add(OracleParameter43)
    Me.updateOracleCommand1.Parameters.Add(OracleParameter44)
    Me.updateOracleCommand1.Parameters.Add(OracleParameter45)
    Me.updateOracleCommand1.Parameters.Add(OracleParameter46)
    Me.updateOracleCommand1.Parameters.Add(OracleParameter47)
    Me.updateOracleCommand1.Parameters.Add(OracleParameter48)
    Me.updateOracleCommand1.Parameters.Add(OracleParameter49)
    Me.updateOracleCommand1.Parameters.Add(OracleParameter50)
    Me.updateOracleCommand1.Parameters.Add(OracleParameter51)
    Me.updateOracleCommand1.Parameters.Add(OracleParameter52)
    Me.updateOracleCommand1.Parameters.Add(OracleParameter53)
    </code>
    Here is the code I'm running to try the update:
    <code>
    OracleDataAdapter1.TableMappings.Add("Table", "CALL")
    OracleDataAdapter1.UpdateCommand.Parameters.Item(0).Value = Call11._Call.Item(0).CALLID
    OracleDataAdapter1.UpdateCommand.Parameters.Item(2).Value = Call11._Call.Item(0).STANDARD
    Call11._Call.Item(0).STARTTIME = DataGrid1.Item(0, 1)
    Call11._Call.Item(0).STANDARD = DataGrid1.Item(0, 2)
    Call11._Call.Item(0).DURATION = DataGrid1.Item(0, 3)
    Call11._Call.Item(0).LESID = DataGrid1.Item(0, 4)
    Call11._Call.Item(0).SERVICETYPE = DataGrid1.Item(0, 5)
    Call11._Call.Item(0).MESCATEGORY = DataGrid1.Item(0, 6)
    Call11._Call.Item(0).MOBILE = DataGrid1.Item(0, 7)
    Call11._Call.Item(0).REGIONID = DataGrid1.Item(0, 8)
    Call11._Call.Item(0).MESID = DataGrid1.Item(0, 22)
    Call11._Call.Item(0).CALLID = Convert.ToInt32(TextBox1.Text)
    OracleDataAdapter1.Update(Call11)
    </code>
    I shouldn't need to add the above lines:
    <code>
    OracleDataAdapter1.UpdateCommand.Parameters.Item(0).Value = Call11._Call.Item(0).CALLID
    OracleDataAdapter1.UpdateCommand.Parameters.Item(2).Value = Call11._Call.Item(0).STANDARD
    </code>
    , but I added them to show you the value of the parms going in.
    When debugging, the following is my output:
    ?Call11._Call.Item(0).RowState
    Modified
    ?Call11._Call.Rows.Count
    1
    You can see that the rowstate is set to "Modified" and the rowcount is 1
    ?OracleDataAdapter1.UpdateCommand.Parameters.Item(0).Value
    8612967 {Long}
    [Long]: 8612967 {Long}
    ?OracleDataAdapter1.UpdateCommand.Parameters.Item(2).Value
    "B" {String}
    String: "B"
    The above, are the values of the first & third parms before the "Update" statement is executed.
    ?OracleDataAdapter1.UpdateCommand.Parameters.Item(0).Value
    {System.DBNull}
    [System.DBNull]: {System.DBNull}
    ?OracleDataAdapter1.UpdateCommand.Parameters.Item(2).Value
    {System.DBNull}
    [System.DBNull]: {System.DBNull}
    The above are the values of the first & third parms after the "Update" statement is executed.
    <code>
    OracleDataAdapter1.Update(Call11)
    </code>
    Notice the values are NULL. why???
    Below, is the value of my TableMapping object:
    ?OracleDataAdapter1.TableMappings.Count
    1
    ?OracleDataAdapter1.TableMappings.Item(0)
    {System.Data.Common.DataTableMapping}
    ColumnMappings: {System.Data.Common.DataColumnMappingCollection}
    DataSetTable: "CALL"
    SourceTable: "Table"
    The datatable name of the strongly typed dataset I am using is "CALL".
    When I change the update statement from:
    <code>
    OracleDataAdapter1.Update(Call11)
    </code>
    to
    <code>
    OracleDataAdapter1.UpdateCommand.ExecuteNonQuery()
    </code>
    the update works (using the latter), but returns a -1 for the records affected (-1 typically means the command can't decipher the action of the command that just took place).
    I might add that I successfully executed a similiar "update" the same way via a dataset prior to what I'm trying to do here.
    Why isn't the backend datasource being updated? I do not get any errors during the update statement execpt for the -1 for the records affected?

    I shortened the package spec to the following:
    <code>
    PROCEDURE proc_prUpdate
              p_CALLID IN CALL.CALLID%TYPE,
              p_STANDARD IN CALL.STANDARD%TYPE
    </code>
    I shortened the package body to the following:
    <code>
    PROCEDURE proc_prUpdate
              p_CALLID IN CALL.CALLID%TYPE,
              p_STANDARD IN CALL.STANDARD%TYPE
         AS
         BEGIN
              update CALL set      
              STANDARD = p_STANDARD
              where CALLID = p_CALLID;
         END;
    </code>
    When I execute the update statement from the associated data adapter, it updates the db correctly, but still gives me a -1 for the records affected.
    When I execute the exact same sql with the record inside a strongly typed dataset, it doesn't update and I still get the -1 for the records affected.
    While debugging, the following output is shown for the parameter list:
    ?daORA.UpdateCommand.Parameters.Item(0)
    {Oracle.DataAccess.Client.OracleParameter}
    ArrayBindSize: Nothing
    ArrayBindStatus: Nothing
    CollectionType: None
    DbType: Decimal
    Direction: Input
    IsNullable: False
    Offset: 0
    OracleDbType: Decimal
    ParameterName: "P_CALLID"
    Precision: 0
    Scale: 0
    Size: 0
    SourceColumn: "P_CALLID"
    SourceVersion: Original
    Status: Success
    Value: 8612967 {Long}
    ?daORA.UpdateCommand.Parameters.Item(1)
    {Oracle.DataAccess.Client.OracleParameter}
    ArrayBindSize: Nothing
    ArrayBindStatus: Nothing
    CollectionType: None
    DbType: String
    Direction: Input
    IsNullable: False
    Offset: 0
    OracleDbType: Varchar2
    ParameterName: "P_STANDARD"
    Precision: 0
    Scale: 0
    Size: 0
    SourceColumn: "P_STANDARD"
    SourceVersion: Current
    Status: Success
    Value: "c" {String}
    ?ds.Tables(0).Rows(0).RowState
    Modified
    Two questions:
    Even though it updates successfully in the first iteration, how come I get the -1 for the records affected?
    In the second iteration, how come it is not updating the backend datasource and how come I still get the -1 for the records affected? You can see that the rowstate is set to modified.
    Is there a problem with the ODP.Net data provider not being able to update a backend datasource with values inside of a datatable during a "da.update" statement?
    With MS SQL Server data provider, it updates the data flawlessly when I put the tables inside of a MS SQL Server.

  • Update problems from 10.3.7.to 10.3.9

    Because problems I was encountering with my CoreMidi, CoreAudio plug in, I was force to re-install the system. I used the system disk that came with my Mac Mini (10.3.7), and by accident I cleaned out the drive. Not a problem. The thing is I was running 10.3.9 before the re-install and a few of my programs I cannot install because I need to be running 10.3.9 but I’m now back on 10.3.7.
    I downloaded updates from the Apple site to install but during the 2nd step of the installation process, when you assign the drive in which to install to, it does not allow it due to insufficient disk space. I have 43GB of available space on my hard drive and the OS X 10.3.9 is only 37MB.
    I tried updating to 10.4.1 but a window popup said that it could not be installed on my computer.
    Any help/insight will be deeply appreciated.
    Willie Bruno

    I tried updating to 10.4.1 but a window popup said that it could not be installed on my computer.
    If you are saying you tried to use a downloaded updater for 10.4.1, that won't work because you currently have 10.3 installed. You would need to buy a retail copy of 10.4 and install it before being able to use any 10.4.x updater.
    If you are using the downloaded updater for 10.3.9, make sure you are using the "combo" updater. There is also an updater that updates from 10.3.8 to 10.3.9, but since you are trying to go from 10.3.7 to 10.3.9, you need the combo updater. This one...
    http://docs.info.apple.com/article.html?artnum=300967

  • Updating problems from Lightroom 5.5 to 5.6

    i tried to update Lightroom from 5.5 to 5.6 but when it says "updating component registration" I keep getting the error message "Key not valid for use in specified state."  To make matters worse, the updater has already removed Lighroom 5.5 so I don't even have the program on my computer at all!  I tried to re-download it and re-install Lightroom 5.0, but I get the same error message, and I don't even have a chance to put in my product key.  this is very frustrating and I have no idea why this would have happened.

    I don't know for sure, but I imagine it has to do with Adobe's method of gradually notifying people of the upgrade to keep their servers from getting flooded. If all the hundreds of thousands of accounts where constantly checking to see if new programs where available every minute of every day, that would be some serious overhead. They probably do something like "check once daily at midnight to see if new versions of PS, LR, IL, DW, etc are available and notify the user".

  • IPod Touch 2G Update Problem from 2.2.1 to 4.2.1

    Hi @ all
    and at the first, sorry for my bad english.
    I have a strange problem with my iPod Touch 2G 32GB.
    At the moment there is the version 2.2.1 installed.
    When i connect it to the pc, there pop's up a Message,
    that there is a new version (4.2.1) available.
    Wenn i confirm this, the update process is running,
    but after some time, it pop's up an error message.
    (Mostly error 1601 or 1604).
    AND the iPod is complete dark (only black screen).
    No apple logo or itunes connect image, only black.
    With some time i get 'blind' in the DFU mode and so
    i can recover the Version 2.2.1. All other firmwares
    3.x or 4.x do not work. Alway's the same Problems.
    I have tested this on different pc systems with the newes
    iTunse version and in Recover and DFU Modes with the same
    bad results.
    What can i do, to install the firmware 4.2.1 on my device ?
    I hope someone can help me.
    Best regards,
    AttNet

    Yes, i have do all the things, but with the same result.
    I have update a second ipod touch 2g 32GB (from my girlfriend) from
    2.2.1 to 4.2.1 without problems.
    Only my device have this problem.
    I have the newest itunes installed on two different pc systems also with
    the same bad results.
    I found the following. Before the update is started, the device is
    in by example DFU mode. I can see it with usbview on the port.
    When an update is running normal, this descriptor is canceld and the
    device coms up with an other one (by example iBoot Device)
    Then the update start. The first USB connection is ok, and then, this
    one is canceld but the second on, don't come up.
    itunes wait a long time for it and the ist pop up error 160x message.
    For my bad device it work's, when i use an firmware file with version
    2.x.x but for all others (3.x and 4.x) the update do not work
    (while the second usb descriptor don't comes up).
    But this is not an hardware Problem of the device and not from the
    pc side. 2.x Versions are running .....
    I hope someone has an other idea for me :-(
    Best regards and thank you for your reply !
    AttNet

  • How to insert records in database from a dataset with multiple tables

    Hi,
    I'm struggling with the following problem:
    I have saved a dataset to an XML file by executing the following statement:
       ds.WriteXml( "Export\\ModuleChain_Mdata.xml" );The dataset, ds, includes records from several tables.
    Is there an easy way to retrieve those records to the database, I.E inserting them again?
    regards Peter

    you can try Associative Arrays:
    http://www.oracle.com/technology/oramag/oracle/07-jan/o17odp.html
    you need to convert yore DataTables to array first and than pass them in to the associative array procedure.

  • Update problems from 10.7.5 upwards

    Hi, i have an Imac 27inch, Mid 2011.
    processor: 3.4 GHz intel core i7
    memory: 8GB
    Storage: 2TB
    Currently on operating system Mac OS x Lion 10.7.5.
    i have a big issue from where when i try to do a software update it says "software update can't check for updates because of a network problem. software update can't connect to update server."
    i do not understand this as my internet connection is faultless and works perfectly and i can use the internet on my imac.
    So i cannot do an update from 10.7.5 and also the app store says "cannot connect to app store" im guessing these two problems must be linked.
    i have tried doing it over wired connection, wireless stil no luck.
    if anyone can help me solve this i'll be eternally grateful.
    thanks, abu.

    Hi abu-bakr khan,
    I'm sorry to hear you are having connection issues with your iMac. If you are having multiple issues connecting to Apple update or app download servers/stores, you may find the troubleshooting steps outlined in the following articles helpful. In particular, you may want to verify with your ISP or network administrator that the listed ports and server addresses are not blocked, especially if your Internet connection otherwise works fine, and that they have not been added to any local or network firewalls.
    Can't connect to the iTunes Store - Apple Support
    Well known TCP and UDP ports used by Apple software products - Apple Support
    OS X: Server addresses used by Software Update - Apple Support
    Regards,
    - Brenden

  • Database updation problem from textbox input

    Hi everybody
    I am new to java technology .. Plz help me out ...
    I am having a problem with this code in one JSP page ..
    I am not able to retrive value stored in text box with request.getParameter method whose initial value is assigned by retriving value from database ...
    Also Not able to update these values back to database ...
    Here is the code ...
    <%@ page language="java" import="java.sql.*" import="java.lang.*" %> <%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"   "http://www.w3.org/TR/html4/loose.dtd"> <% String Susername; Susername = session.getAttribute( "theUsername" ).toString(); %> <html>     <head>         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">         <title>Edit details</title>     </head>     <body>     <table border="0" cellspacing="10" > <thead> <tr>     <%@ include file = "Logtab.jsp" %> </tr> </thead>     <% String Empname,EmpID,Address; Empname = request.getParameter("Empname");   EmpID = request.getParameter("EmpID");   Address = request.getParameter("Address"); Connection connection = null; PreparedStatement statement = null; ResultSet rs = null; response.setContentType("text/html");   try { Class.forName("com.mysql.jdbc.Driver"); connection = DriverManager.getConnection ("jdbc:mysql://localhost:3306/fts","root","admin");                                               statement = connection.prepareStatement("SELECT empname,empid,address FROM emp Where empid='admin'");                                    rs = statement.executeQuery();                                   while(rs.next()){                 %>                 <tbody><form name="DetailsForm" action="AdminHome.jsp" method="POST"> <tr>     <table width="80%" border="0">   <tr>     <td>Name</td>     <td><input name="Empname" type="text" value="<%= rs.getString(1) %>"></td>   </tr>   <tr>     <td>Employee ID</td>     <td><input name="EmpID" type="text" readonly="true" value="<%= rs.getString(2) %>"></td>   </tr>   <tr>     <td>Address</td>     <td><input name="Address" type="text"  value="<%= rs.getString(3) %>"></td>   </tr>   <tr>   <td><input type="submit" value="Submit" name="Submit" /></td>   <td><input type="reset" value="Reset" name="Reset" /></td>   </tr> </table> <%                }                       rs.close();                   Statement s = connection.createStatement();                                  String q = "UPDATE emp SET empname='"+ request.getParameter("Empname") +"' , address ='" +request.getParameter("Address") +"' WHERE empid ='admin'";                                 s.executeUpdate(q);                                                       statement.close();                 s.close();                 }                 catch(SQLException se ) { System.out.println("SQL Exception generated "); }                 %> </tr> </form> </tbody> </table>     </body> </html>

    Have you tried adding single quote (') before and after %
    cmdSearch.Parameters.Add("@search",
    SqlDbType.VarChar).Value
    = "\'%" + txtContactFirstName.Text
    + "%\'";
    cmdSearch.Parameters.Add("@StId",
    SqlDbType.VarChar).Value
    = "\'%" + txtContactID.Text
    + "%\'";

  • Kernel update problem from 7.00 pl 57 to 75

    Hi
    We've installed ECC 6.0 unicode system on i5/os V5R4. Our kernel patch level is 7.00 57. Now we want to  apply pl 75. We've downloaded SAPEXE.SAR and SAPEXEDB.SAR from SAP Service Marketplace. And we've copied this files to a directory named "kern75" at root of our SAP server. And also we create a file named PART under the directory "kern75" and the content of the file PART is:
    SAPEXE.SAR,
    SAPEXEDB.SAR,
    after this we logon to server with KNPADM and we tried the execute this command:
    LODSAPKRN DEV(STMF) MNTPNT ('/kern75') KRNLIB(SAPKNPUC) USERDEF(YES) LIST('/kern75/PART')
    But this command ended with error. We could not know which is wrong with this command?
    On the other hand, we could not sure kernel library name is true or not...
    We are waiting for your suggestion.

    Hi Thomas,
    Thank you very much for your suggestion about authorization.
    We can run APYR3FIX succesfully, after giving necessary authorization for object RSTOBJ.
    But now, we have a new problem...
    We think that we should run APYSAP after running AYPR3FIX. So we run the command below:
    APYSAP TYPE(KERNEL) SID(KNP) DSTLIB(SAPKNPUC) MODE(INCR)                
    But we get an error with this command.
    We gave the current kernel library as DSTLIB parameter. Is this correct?
    And also we run both APYR3FIX and APSAP command as user KNPADM not KNPOFR, Does this cause any problem?
    Best Regards...
    Summary of log is:
    Display All Messages                                                                               
    Sistem:   KNCPRD  
    Job . . :   QPADEV0002    User . . :   KNPADM        Number . . . :   009613                                                                               
    3>> APYSAP TYPE(KERNEL) SID(KNP) DSTLIB(SAPKNPUC) MODE(INCR)                
         QTEMP kitapl&#305;&#287;&#305;nda yer alan *USRSPC tipindeki GETOBJINF nesnesinin iyesi  
           de&#287;i&#351;tirildi.                                                           
         QTEMP kitapl&#305;&#287;&#305;nda yer alan *USRSPC tipindeki GETOBJINF nesnesinin iyesi  
           de&#287;i&#351;tirildi.                                                           
         APYSAP startet at Wed Dec 13 13:35:08 2006                                
         *INCR Mode                                                                
         Ignoring IFS part cleanipc - no update needed.                            
         Ignoring IFS part ar_AA.ISO8859-6 - no update needed.                     
         Ignoring IFS part ar_AA.ISO8859-6__64 - no update needed.                 
         Ignoring IFS part cs_CZ.ISO8859-2 - no update needed.                     
         Ignoring IFS part cs_CZ.ISO8859-2__64 - no update needed.                 
         Ignoring IFS part da_DK.ISO8859-1 - no update needed.                     
        Ignoring IFS part R3load - no update needed.                              
         Ignoring IFS part R3szchk - no update needed.                             
         QTEMP kitapl&#305;&#287;&#305;nda yer alan *USRSPC tipindeki GETOBJINF nesnesinin iyesi  
           de&#287;i&#351;tirildi.                                                           
         QTEMP kitapl&#305;&#287;&#305;nda yer alan *USRSPC tipindeki GETOBJINF nesnesinin iyesi  
           de&#287;i&#351;tirildi.                                                           
         QTEMP kitapl&#305;&#287;&#305;nda yer alan *USRSPC tipindeki GETOBJINF nesnesinin iyesi  
           de&#287;i&#351;tirildi.                                                           
         QTEMP kitapl&#305;&#287;&#305;nda yer alan *USRSPC tipindeki GETOBJINF nesnesinin iyesi  
           de&#287;i&#351;tirildi.                  
         QTEMP kitapl&#305;&#287;&#305;nda yer alan *USRSPC tipindeki GETOBJINF nesnesinin iyesi  
           de&#287;i&#351;tirildi.                                                           
         IFS part updated: /usr/sap/KNP/sys/exe/run/IGSEXE.SAR.                    
         QTEMP kitapl&#305;&#287;&#305;nda yer alan *USRSPC tipindeki GETOBJINF nesnesinin iyesi  
           de&#287;i&#351;tirildi.                                                           
         Directory created.                                                        
         Object changed.                                                           
         Object changed.                                                           
         Object changed.                                                           
         Object changed.                                                           
         Object changed.                                                                               
    Link added.                                                               
         Object changed.                                                           
         Object changed.                                                           
         Link added.                                                               
         Object changed.                                                           
         Object changed.                                                           
         Link added.                                                               
         Link added.                                                               
         Object changed.                                                           
         Object changed.                                                           
         R3KNP400 kitapl&#305;&#287;&#305;nda yer alan *PGM tipindeki R3INLPGM nesnesi silindi.   
         R3KNP400 kitapl&#305;&#287;&#305;nda yer alan *PGM tipindeki R3INLPGM nesnesinin iyesi   
           de&#287;i&#351;tirildi.                                                           
         Object R3INLPGM in R3KNP400 type *PGM created.                            
         1 objects duplicated.                                                     
         R3KNP400 kitapl&#305;&#287;&#305;nda yer alan *PGM tipindeki R3INLPGM nesnesinin iyesi   
           de&#287;i&#351;tirildi.                                                           
         R3SYS kitapl&#305;&#287;&#305;nda yer alan *PGM tipindeki SAPINITX nesnesinin iyesi      
           de&#287;i&#351;tirildi.                                                           
         Object SAPINITX in R3SYS type *PGM created.                               
         1 objects duplicated.                                                                               
    R3SYS kitapl&#305;&#287;&#305;nda yer alan *PGM tipindeki SAPINITX nesnesi silindi.      
         QTEMP kitapl&#305;&#287;&#305;nda yer alan *USRSPC tipindeki GETOBJINF nesnesinin iyesi  
           de&#287;i&#351;tirildi.                                                           
         collectSystemInfo: could not open profile directory                       
           Ü/usr/sap/KNP/put/KNP/SYS/profileÜ.                                     
         Current library changed to R3KNPDATA.                                     
         User class and special authorities do not match system supplied values.   
         User profile KNPOFR changed.                                              
         User class and special authorities do not match system supplied values.   
         User profile KNPOPR changed.                                              
         User class and special authorities do not match system supplied values.   
         User profile KNPADM changed.                                              
         QTEMP kitapl&#305;&#287;&#305;nda yer alan *USRSPC tipindeki GETOBJINF nesnesinin iyesi  
           de&#287;i&#351;tirildi.                                                                               
    collectSystemInfo: could not open profile directory                       
           Ü/usr/sap/KNP/put/KNP/SYS/profileÜ.                                     
         JDBC exit programs for system KNP registered successfully.                
         APYSAP: 2 parts failed, 1 parts succeeded.                                
         APYSAP finished with errors at Wed Dec 13 13:38:18 2006._                 
         Errors occurred in command.                                               
         Errors occurred in command.

  • Update problem after an install with exe package

    Hello,
    I have an other problem with the update of my app.
    My app had an auto update and it running perfectly. But today with AIR 2 I want to package my app in .EXE or .DMG file (no problem for do that).
    My update system dl the .AIR file of my last version and install it
    automatically. And my problem come from here.
    When my app is installed from an .AIR file, no problem with the update. But
    when I install my app from an .EXE file, the update process dl the .AIR
    of my last version but doesn't want to launch the installation of it.
    Somebody have a solution or an explication (or both ) ?
    Thanks

    Hi,
    I did following to get all my existing users upgraded to native installer based app.
    a) develop a version of the existing air app (new version say 1.05 , same app name, same pub id), which will be installed on 1.0 version using the existing version upgrade f/w which 1.0 version of your app is already configured to do.
    b) this version on installation and launch would download the exe based setup (new version  say 1.1 ), on prompt the user to save and run the exe, by opening it in a default browser (using navigate_to_url )
    c) when user runs the exe (new setup) it asks for replacement of existing application, i.e upgrade to new version.
    d) this new version then takes care of the any further upgrades by downloading the latest exe from server (write code for it), and then runs the exe, either by using openWithDefault() or as a native process.
    Once you call open with default or call it as a native process, invoke close on the existing app, so that it closes before the version upgrade begins, there by allowing installation.
    This process is kind of not that good looking, but it seamless from user experience point of view. Just that it prompts for version upgrade twice. But is still an auto process, and I think the best you can do it with all your existing installations without asking the user to do any manual un-install and re-install of new version.
    Let me know if this helps.
    Regards,
    Brijesh

  • Aperture App Store Update Problem (from 3.4.1)

    i am trying to find out if i have a problem with updates.
    i am on 3.4.1 on a mac pro using lion and it appears to me there are updates available for Aperture. when i go into the App Store and login under my CURRENT apple ID it shows Aperture (along with Lion and Mountain Lion and a couple other items. however, when i click on "Update" it says that "to update you must sign in to the account you used to purchase it."
    if i log in using an old App Store (?) ID it shows that i have Skitch and Mactracker purchased under this account.
    unless i am missing something this has been a source of endless problems over here and i cannot figure out if it is due to my originally having another account, if there is something amiss with my Aperture d/l or if there is soemthing going on with my switch from MobileMe to iCloud (very hairy problems with this indeed).
    in any event can anyone offer advice as to whether i am just misunderstanding something here or if this is a bona fide problem? is there a way now to merge these two accounts?
    TIA

    Hi,
    Try resetting your iPod:  http://support.apple.com/kb/HT1430. 
    Hope this helps! 
    ---likeabird---

  • Last update Problems on Macbook Pro with retina display

    After installing OS X.8.2 last update (9/20) my MacBook Pro with retina display crashes in Finder and Parallels. Do you know how can I solve this problem?

    Its the creative suite w photoshop, illustrator, indesign etc. it's like that on all of them but I'm specifically talking about photoshop.

  • System Update Problems - Windows XP 64bit with SP2

    Hi,
    I have been Googling away but can't seem to fix my error when running System Update 3.14 on Windows XP 64bit with SP2. I keep getting the following error at 9-10%:
    "An error occurred while gathering user information"
    Has anyone managed to get this working on this OS?
    I have tried uninstalling and reinstalling and also uninstalling .NET 3.5 but nothing has worked.
    Thanks.

    Hi,
    x64 Bit XP is not supported by TVSU, so I really doubt, that there is an official fix for this one.
    Cheers

  • Pending Update problems on my 4s with ios7

    I have updated to iOS 7 on my 4s.  About a quarter of my apps made the transition, the rest are under pending.  I hit update all and nothing happened.  I signed out of my iTunes account, did a hard reset, signed back in and clicked on the arrow in the cloud next to each app.  When I then click update, it circles for a while and then I get a circle with a blue square in it.  When I click on the circle with the blue square I get the updated button and it becomes a viscous cycle.   What does this mean?  Why can't I access these apps any more?  Call it old age if it is a simple solution, but could someone please ease my frustration?

    Hello Soccer Mom,
    It sounds like you are trying to delete text messages but the app quits or closes on you and you have to restart the phone. When you do, the messages you tried deleting are still there. I would try closing all the running apps on the phone first:
    iOS: Force an app to close
    http://support.apple.com/kb/ht5137
    Double-click the Home button.
    Swipe left or right until you have located the app you wish to close.
    Swipe the app up to close it.
    When you have done that restart the phone:
    iOS: Turning off and on (restarting) and resetting
    http://support.apple.com/kb/ht1430
    If the issue persists, I would next backup your device to iTunes, and restore it:
    iOS: How to back up and restore your content
    http://support.apple.com/kb/HT1766
    Thank you for using Apple Support Communities.
    Take care,
    Sterling

  • How to use same group element from two dataset

    Hi,
    I've two datasets in xml file which has one common field(say colA). I've two subreports in the workbook, first one from dataset_1, second one built from dataset_2.
    ColA should be used as a group-by field above the section and split-by-page-break. If I use colA from respective dataset in the subreports, first it will display subreport_1 for each colA value and then starts subreport_2. How can I display 2 subreports for one colA value then pagebreak and in next page 2 subreports for 2nd colA value..so on?
    Please suggest.
    Regards.

    Hi Vetsrini,
    Thanks very much for your help.
    There are 2 distinct M_KOG3_CONC in xml dataset I posted: 000 and 574. The same field is named as M_KOG3_CONC2 in 2nd dataset.
    Desired output:
    KOG3: 000
    <<crosstab Monthly Cost Report >>
    <<crosstab Monthly Quantity Mounted Tire>>
    <<crosstab Monthly No. of Services>>
    KOG3: 574
    <<crosstab Monthly Cost Report >>
    <<crosstab Monthly Quantity Mounted Tire>>
    <<crosstab Monthly No. of Services>>
    My problem is to match value of M_KOG3_CONC2 with current value of M_KOG3_CONC inside for-loop of M_KOG3_CONC; ie, when M_KOG3_CONC=000 from 1st dataset, bring those rows from 2nd dataset which has M_KOG3_CONC2=000, when M_KOG3_CONC=xxx, bring rows from 2nd dataset with M_KOG3_CONC2=xxx so on..
    I used that if statement only to enforce matching between M_KOG3_CONC and M_KOG3_CONC2.
    I ran your template. It is giving too high values for Monthly No. of Services, which is not there in the xml dataset.
    Can you please look.
    Kind Regards.

Maybe you are looking for