Error when adding columns to table and update sync group schema
Hi,
I have an Azure SQL Database that is synced to five lokal SQL Server Express 2012 clients. Today I had to add some columns to the tables, I did this using SMMS and ALTER TABLE on the hub-database.
Then I disabled auto-sync in the Azure Portal and updated the sync schema.
The first error I got when clicking on Save-Button was that my goup is not ready for syncing. I assumed that was caused by two sync agents who were offline. So I deleted them from the group and the error was gone. (is this an generall issue that all agents
must be online to update the schema?)
But then I got the next error when clicking on Save-Button who tells me SQL Error 207, invalid column name on the new columns I've added.
Here's the error in the eventlog:
id:DbProvider_SqlSyncScopeProvisioning_Error, rId:, sId:cc009538-29a6-4980-8db6-98fe520626b6, agentId:cb734c59-3484-41ed-8002-dec8cf7e21b4,
agentInstanceId:1aa5a36e-0dfb-4ff1-841a-c298d2e77fe7, syncGroupId:9d439cdd-de14-4e4d-a799-8a7fa518f533, syncGroupMemberId:dd2d6cdf-fdb3-4ff8-8ab5-8e639c35af47, hubDbId:d5c5615a-6f55-484a-8c76-cf335989fa41, tracingId:b5f0eb23-1ade-437b-af33-a1960ebd1c23, databaseId:a9c5ba71-a7b0-4ffe-ab8d-10b6006fc282,
sqlAzureActivityId:00000000-0000-0000-0000-000000000000, e:'Type=System.Data.SqlClient.SqlException,Message=Ungültiger Spaltenname 'Kunde_Name'.
Ungültiger Spaltenname 'Rechnung_gestellt'.
Ungültiger Spaltenname 'Rechnung_bezahlt'.
Ungültiger Spaltenname 'Kunde_Name'.
Ungültiger Spaltenname 'Rechnung_gestellt'.
Ungültiger Spaltenname 'Rechnung_bezahlt'.,Source=.Net SqlClient Data Provider,StackTrace=
bei System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
bei System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean
breakConnection, Action`1 wrapCloseInAction)
bei System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj,
Boolean callerHasConnectionLock, Boolean asyncClose)
bei System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler,
SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
bei System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean
async, Int32 timeout, Boolean asyncWrite)
bei System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion,
String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
bei System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
bei Microsoft.Synchronization.Data.SqlServer.SqlSyncTrackingTableHelper.UpdateTrackingTableWhereColumnsNotNullInBaseTable(SqlConnection
connection, SqlTransaction transaction, DbSyncColumnDescription[] addedColumns, DbSyncColumnDescription[] modifiedColumns, Int32 tableObjectId, SqlSyncMarkerTableHelper markerHelper)
bei Microsoft.Synchronization.Data.SqlServer.SqlSyncTableProvisioning.ReApply(SqlTransaction
trans, SqlSyncProviderAdapterConfiguration oldConfiguration)
bei Microsoft.Synchronization.Data.SqlServer.SqlSyncScopeProvisioning.ReApplyScope(SqlConnection
connection)
bei Microsoft.Synchronization.Data.SqlServer.SqlSyncScopeProvisioning.ReApplyInternal(SqlConnection
connection)
bei Microsoft.Synchronization.Data.SqlServer.SqlSyncScopeProvisioning.ReApply(),', eType:'Type=System.Data.SqlClient.SqlException',
eMessage:'Message=Ungültiger Spaltenname 'Kunde_Name'.
Ungültiger Spaltenname 'Rechnung_gestellt'.
Ungültiger Spaltenname 'Rechnung_bezahlt'.
Ungültiger Spaltenname 'Kunde_Name'.
Ungültiger Spaltenname 'Rechnung_gestellt'.
Ungültiger Spaltenname 'Rechnung_bezahlt'.' Error Code: -2146232060 - SqlError Number:207,
Message: Ungültiger Spaltenname 'Kunde_Name'.. SqlError Number:207, Message: Ungültiger Spaltenname 'Rechnung_gestellt'.. SqlError Number:207, Message: Ungültiger Spaltenname 'Rechnung_bezahlt'.. SqlError
Number:207, Message: Ungültiger Spaltenname 'Kunde_Name'.. SqlError Number:207, Message: Ungültiger Spaltenname 'Rechnung_gestellt'.. SqlError Number:207, Message: Ungültiger Spaltenname 'Rechnung_bezahlt'..
, eTypeInner:, eMessageInner:
Can anyone help here?
Kind
regards,
selmiac
Hello,
When you alter the table on hub database, did you specify the new column allow NULLs or have a DEFAULT? The column must allow NULLs or have a DEFAULT for the user to create it in the other tables on the sync group.
Reference:Add or remove a column in a sync group
If the issue persists, you may try to delete the sync group and recreate the group.
Regards,
Fanny Liu
Fanny Liu
TechNet Community Support
Similar Messages
-
i get a windows installer package not running or installing properly error when i try to install and update to the new icloud control panel.
Okay ... so it's not one of the cases of bodged up ACLs on the Apple folder in Common Files. (That's been underlying a few of the recalcitrant E7W5s.
Just in case, let's try the fixit from the following document:
Fix problems with programs that can't be installed or uninstalled -
Error when click on any table and when click on sql its show errors....
Dear i am using updated SQL Developer 1.5
Errors when i click on the tables under my user, then on the window there is cloumn,data,constraints, ets i click on every tab no error when i click on the sql tab i found these errors on every user table and on every single tables kindly check this out.
and its also show me the results but on logging window its shows these errors.
Sequence - 144, Elapsed - 0, source- oracle.dbtools.raptor.utils.Connections$ConnectionKey
messgae = null
Sequence - 146, Elapsed - 553672, source-oracle.dbtools.db.DBUtil
message =
ORA-31600: invalid input value EMIT_SCHEMA for parameter NAME in function SET_TRANSFORM_PARAM
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
ORA-06512: at "SYS.DBMS_METADATA_INT", line 3918
ORA-06512: at "SYS.DBMS_METADATA_INT", line 4066
ORA-06512: at "SYS.DBMS_METADATA", line 831
ORA-06512: at line 1
Sequence - 147, Elapsed - 78, source- oracle.dbtools.db.DBUtil
messgae =
ORA-00904: invalid column name
Regards,
Kamran J. Chaudhry
Pakistan.Dear 1st of all thansk for given me reply,
Actually i am using oracle 9.02 and i just checking that its connect or not but its successfully connected and also showing me the results.
so you tell me is this a fine work or just conencted and show the results and others commands or its what...
thanks for your nice cooperation
Kamran J. Chaudhry
Pakistan. -
Web ADI Error when using column from table which can be NULL as parameter
Hi
We have a custom integrator which queries the records and downloads into excel sheet. There is parameter list attached to it. One of the parameter is on a field which can have NULL. When we try running the ADI , we are getting the error :
Fatal error: Please have your system administrator view the bne.log file.
java.lang.NullPointerException
Please contact your support representative
Please help.
Regards,
Pradeep.<BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Stefan Misch ([email protected]):
Yep - if you try:
create unique index XAK2_A_ARTIKEL
on A_ARTIKEL(CUST_ID, EXTERNAL_ID);
I get error ORA-01452, because of duplicate keys. I verified, that within a each CUST_ID, there is no duplicate non-null EXTERNAL_ID, but there are lots of rows for each CUST_ID where EXTERNAL_ID is NULL.
Thanks for your help.
Stefan<HR></BLOCKQUOTE>
Create a view on your table, that you will use for inserts.
Then, create a trigger INSTEAD OF INSERT on your view. You can perform the checks for uniqueness in it...
Hope this will help...
Thomas.
null -
Error when adding forigen key (table or view does not exist)
Hi
i write the foreign key name and select the the table from the combo and also the field and click apply it gives me error message says :-
error table or view does not exist vendor code 942
any help?
thanks in advance.
.There is only an issue with this if your table has to be enclosed in double quotes. i.e. If you have mixed case table names. In that case, instead of using the context menu (right click on Table) Constraint -> Add Foreign Key, you should use the Edit... table dialog.
We did have a bug logged for this, but the instance for using the Create foreign key dialog has not been fixed. I have reopened the bug.
Sue -
a message comes up when i plug in my iPod shuffle (version 1.0.2) and when i click to restore and update message comes up saying iPod could not be restored unknown error occurred (1430)
The linked article
http://support.apple.com/kb/TS1372
has some suggestions. Did you try doing those things? -
Adding a new field in BCONT table and updating it
Hi All,
Is there any BAPI/BADI which will allow to add a new field in standard BCONT table and update its value?
Your solution will be really helpful.
Thanks,
NirupamHi Santosh,
This is required for UCES. We need to add a field in BCONT table (SE11/SE16), which will hold a flag value, i.e Y/N.
The value will be updated through a custom FM being used in UCES, and also based on the value there is a validation inside UCES.
This field need not be displayed inside any SAP screen.
thanks,
Nirupam
Edited by: Nirupam Deb on Jun 8, 2011 11:44 AM -
Error when executing statement for table/stored proc
Hi All,
I am getting this error when executing IDOC to JDBC (Stored Procedure) Scenario.
In my stored procedure I have three insert statements to insert rows in to 3 tables.
This stored procedure is working fine for two insert statements i.e,
For this I have created data type for stored procedure with 10 elements and executed the scenario and was successfully running.
when I added 3rd insert statement to stored procedure ie., when i added 5 more elements to the datatype (totally 15 elements) it starts giving the bellow error in Message Monitoring.
<i><b>Exception caught by adapter framework: Error processing request in sax parser: Error when executing statement for table/stored proc. 'COGRP_TMP_PROC_1' (structure 'Statements'): java.sql.SQLException: General error</b></i>
<i><b>Delivery of the message to the application using connection JDBC_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'COGRP_TMP_PROC_1' (structure 'Statements'): java.sql.SQLException: General error</b></i>
Note:- I have run the stored procedure with three insert statements in Sql Server, and also by calling an external program also, and was working fine.
<i><b> Note : Is there any structure needs to be follow when working with IDOC to Stored procedure.</b></i>
I am struck up with the error, can any body resolve this issue.
Thanks in Advance,
MurthyHi narasimha,
This seems to be any error due to incorrect query formation.In your receiver jdbc channel set the parameter logSQLstatement = true.you can find this parameter in the advanced mode. Using this parameter you will be able to see the sql query which is generated at runtime in the audit log in RWB.
Regards,
Pragati -
Comparing columns in table and triggers
hi masters,
i have oracle 10g in Linux and us PL/SQL developer to access database, ia m not a developer, but am assigned task to compare columns in table and associated trigger.
let me explain, we have 800 tables, and each table essentially have a trigger created on it. the condition is that each trigger on table should include each column in table, that is columns in table and trigger should be same.
now i don't understand how to compare them, rather can you suggest any query for the same?? and comparing 800 tables manually will be tedious job...
i am unable to compare trigger columns with that of tables..
how can we achieve this???
any suggestions??
thanks and regards
VDHi,
A good starting point could be consult user_triggers view. Example:
Connected to Oracle Database 10g Enterprise Edition Release 10.2.0.1.0
Connected as hr
SQL> desc user_triggers
Name Type Nullable Default Comments
TRIGGER_NAME VARCHAR2(30) Y Name of the trigger
TRIGGER_TYPE VARCHAR2(16) Y Type of the trigger (when it fires) - BEFORE/AFTER and STATEMENT/ROW
TRIGGERING_EVENT VARCHAR2(227) Y Statement that will fire the trigger - INSERT, UPDATE and/or DELETE
TABLE_OWNER VARCHAR2(30) Y Owner of the table that this trigger is associated with
BASE_OBJECT_TYPE VARCHAR2(16) Y
TABLE_NAME VARCHAR2(30) Y Name of the table that this trigger is associated with
COLUMN_NAME VARCHAR2(4000) Y The name of the column on which the trigger is defined over
REFERENCING_NAMES VARCHAR2(128) Y Names used for referencing to OLD, NEW and PARENT values within the trigger
WHEN_CLAUSE VARCHAR2(4000) Y WHEN clause must evaluate to true in order for triggering body to execute
STATUS VARCHAR2(8) Y If DISABLED then trigger will not fire
DESCRIPTION VARCHAR2(4000) Y Trigger description, useful for re-creating trigger creation statement
ACTION_TYPE VARCHAR2(11) Y
TRIGGER_BODY LONG Y Action taken by this trigger when it fires
SQL> select * from user_triggers;
TRIGGER_NAME TRIGGER_TYPE TRIGGERING_EVENT TABLE_OWNER BASE_OBJECT_TYPE TABLE_NAME COLUMN_NAME REFERENCING_NAMES WHEN_CLAUSE STATUS DESCRIPTION ACTION_TYPE TRIGGER_BODY
TRGTEST BEFORE STATEMENT INSERT HR TABLE DEPARTMENTS REFERENCING NEW AS NEW OLD AS OLD ENABLED trgTest PL/SQL DECLARE
before insert on departments -- local variables here
BEGIN
nul;
END trgTest;
UPDATE_JOB_HISTORY AFTER EACH ROW UPDATE HR TABLE EMPLOYEES REFERENCING NEW AS NEW OLD AS OLD ENABLED update_job_history PL/SQL BEGIN
AFTER UPDATE OF job_id, department_id ON employees add_job_history(:old.employee_id, :old.hire_date, sysdate,
FOR EACH ROW
SECURE_EMPLOYEES BEFORE STATEMENT INSERT OR UPDATE OR DELETE HR TABLE EMPLOYEES REFERENCING NEW AS NEW OLD AS OLD ENABLED secure_employees PL/SQL BEGIN
BEFORE INSERT OR UPDATE OR DELETE ON employees secure_dml;
END secure_employees;
RK_ALT_BEF_TRG AFTER EVENT ALTER HR SCHEMA REFERENCING NEW AS NEW OLD AS OLD ENABLED rk_alt_bef_trg PL/SQL BEGIN
AFTER ALTER ON HR.SCHEMA dbms_output.put_line('AFTER Schema trigger fired');
dbms_output.
SQL> Regards, -
Error when generating program /SAPAPO/TSM141 and Errors in source system
Hello APO Experts!
I had to include a new key figure in the cube and the planning area with configuration semantic = 000.
The problem is, in my DEV system, the modification was perfect. Then when I did in the QA system, I´ve got the error "Error when generating program /SAPAPO/TSM141" and u201CErrors in source systemu201D when trying to load data in the Infopackage.
Do you have any idea of what this could be?
Best Regards
NikHello,
The problem may come from the inconsistency between the datasource settings and the content in table /SAPAPO/TSAREATE.
- SE16, go to table /SAPAPO/TSAREATE, input the planning area name, check the extraction structure, which is started from '/1APO/EXT_STRU'.
- SE16, go to table /SAPAPO/TSAREAEX, input the datasource name, and check the extraction structure.
Are the two extraction structures the same or different ?
If they're different, please read the below solutions, otherwise, you can ignore the following.
In general and most customer cases this inconsistency happens during transporting of datasource alone. In many cases the planning area is directly created at target system and datasoucre transported from a a different system which causes incorrect export structure entry in planning area table.
Please refer to following content from note 549184:
Q4: Why could I have extraction problem after transport of DataSource?
A4: DataSources for DP/SNP planning areas depend directly on the structure of the planning areas. That's why the planning area MUST ALWAYS be transported with or before the DataSource.
The simple solution will be to create a dummy data source for this planning area. This will regenerate the extract structure for all other data sources as well and update the corresponding tables. After that you can delete the dummy datasource.
After delete the dummy datasource, in case of inconsistency, please also run the report /SAPAPO/TS_PSTRU_GEN report for
- Basis - form routines
- Create planning objects
- Planning area extractor
with the flags "Reset generation time stamp" and "Generate" set.
And in order to transfer datasource correctly, please also refer to the consulting note 514524.
Best Regards,
Ada -
Error when adding Essbase server...
Hi,
I installed Hyperion System 9.3.1 in my development machine and encounter the following error when adding a Essbase server in AAS for the first time.
Error: 1042017: Network error: The client or server timed out waiting to receive data using TCP/IP. Check network connections. Increase the NetRetryCount and/or NetDelay values in the ESSBASE.CFG file. Update this file on both client and server. Restart the client and try again.
I used the default user "admin" and password "password". I used my servername:10080 as the server name. I hope I am right.
Why is this happening? I tried changing netdelay settings but still get the same. Is this something else? Does this have anything to do with my TCP/IP settings? I am installing this on a virtual PC.
I couldn't find an answer in previous posts.
regards
hThe things that come to mind:
The server name you use should be the name of the virtual PC, not the machine it's running on. Also, depending on the settings for the Virtual PC environment, you may have to change the network options to allow it to be visible to the network, be in the right domain, etc...
The above may or may not get you any closer, the error message itself is just saying it can't receive a response from the server, which means the server never got the request or can't send a response back.
Good Luck, -
" Error when inserting in PSA table RSTSODSPART" when loading into PSA
Hello,
Did anyone encounter something similar, and found a solution ?
BI 7.0 - EnhP 1 - SP5
When loading data from R/3 into PSA, we encounter following error message:
" Error when inserting in PSA table RSTSODSPART"
===============================================================
- the first datapackage is written successfully to PSA,
but from the second datapackage onwards the error message pops-up
" Error when inserting in PSA table RSTSODSPART"
- The original dataselection in the infopackage is somewhere stored
If the selection in the InfoPackage is reduced (e.g. only one document i.o. a period)
it stil starts loading according the original selection (the month)
- If we create a new InfoPackage and select very few data (only one datapackage)
then we can load to PSA succesfully, but when we load to DSO we can't activate the DSO.
- We remarked that:
Two versions of the PSA exist for that datasource 0FI_GL_40:
a Table(/BIC/B0000555000) in version 1 exists,
a Table(/BIC/B0000555001) in version 2 exists
Thanks in advance,
Best regardsHello All,
We had a problem similar to what Ilse Depoortere describes. The problem happens in our BW QA system a few days/weeks after it has been copied from Production. Data loads start failing with these two error messages:
RSM2 851 - Error when writing in PSA (Caller 32)
RSAR 130 - Error 7 when adding to PSA (Caller 70)
We have just implemented the fix described in note 1340371 (replaced the LIB_DBSL with patch level 247), and the problem is gone. Failed data load process chains can be restarted and finish successfully.
This has been a really useful discussion, thanks all! And thanks to my coworker Bob who found it.
Vince Vajda -
File to JDBC :Error when executing statement for table/stored proc.
Hi,
I am getting following error when i am trying to insert data into z-table using JDBC recr adapter.
Error while parsing or executing XML-SQL document: Error processing request in sax parser: Error when executing statement for table/stored proc. 'ZTEST' (structure 'STATEMENT'): java.sql.SQLException: <u>[Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Invalid object name '<b>ZTEST</b>'.</u>
But the database table name 'ZTEST' exists in the system.
XML structure:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_RECR xmlns:ns0="http://urn:srini/FileToJDBC">
<STATEMENT>
<TEST action="INSERT">
<table>ZTEST</table>
<access>
<ROLLNO>123</ROLLNO>
<FIRSTNAME>ABC</FIRSTNAME>
<LASTNAME>XYZ</LASTNAME>
</access>
</TEST>
</STATEMENT>
</ns0:MT_RECR>
Regards,
SrinivasHi,
I have changed my MT str but still getting the same error.Is it possible to insert/ update a z-table using JDBC adapter.
XML str:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_RECR xmlns:ns0="http://urn:srini/FileToJDBC">
<STATEMENT>
<ZTEST action="INSERT">
<access>
<ROLLNO>123</ROLLNO>
<FIRSTNAME>abc</FIRSTNAME>
<LASTNAME>XYZ</LASTNAME>
</access>
</ZTEST>
</STATEMENT>
</ns0:MT_RECR>
Regards,
Srinivas -
Insert one table and update another???
Hello,
I was wondering if it is possible to insert a record in one table and update another another record in a different table.
I have a form on my company's intranet that allows employees to add comments (ADDT Insert transaction) about new products we are going to bring to the market. At the same time, I would like to count the numbers of comments on a particular product and update that number for each product to see which product is getting the most reviews.
Right now the products are on the homepage with the title and inserted date. From there, the employees click on the product get the info and make comments about it. The problem for me is that I would like to see the comment counts for each product on the home page, which means I would have to update the product table with the count.
Sorry, I am using PHP as the technology.
When I used to do it in ASP, I would insert the comment using the POST from the form, but add another hidden field with the count in it and I would use the "Command" Server behavior to retrieve the number and update the other table field.
I noticed that dreamweaver removed the "Command" server behavior when using PHP.
All help is greatly appreciated
Charles.Hi Charles,
you can generally execute queries on a different table using Custom Triggers, and in regards to your "update the product table with the count" scenario the ADDT help file has a helpful pointer in the chapter "Custom transactions and triggers : Save additional information on login" -- in here you´ll find a sample "incremental counter" query which should be easy to adapt.
Cheers,
Günter Schenk
Adobe Community Expert, Dreamweaver -
Library error when adding contact or when logging in
The messenger server has a replica of the partition holding the users.
It's an OES 2 sp2 server, and the GW Messenger is 2.04.
Sometimes we see an error that says 'Library error' when adding a contact, or it doesn't show all users that exists with the search parameter given.
We also sporadically see a 'Library error' when some users log in to it.
Looking in the log I see an error that says 0xAE16 when users log in fails.
I can find the 0xAE11 error in the TID's but not the 0xAE16, I did find an article on the forums, mentioning this problem http://forums.novell.com/novell-prod...or-server.html, they mention memory problems, so it seems to me there is a bug that needs fixing.I've disabled the '/diruseralias-"Internet EMail Address"' setting that was set up in the strtup.ma and strtup.aa scripts.
I've also, for now at least, chosen another replica.
I haven't seen the errors yet, so here's hoping...
Maybe you are looking for
-
Problem with retrieving data from Oracle 10g / PHP4.3 / Apache 1.3.27
Hi, I re-open a new thread following the opened post 'Getting RPMs for php-oracle for PHP4.3 on RHEL 4.0 and issue with OCI8 ' I could re-installed PHP4.3 and apache 1.3.27 from the normal tar package (./configure then make) - I had some issues with
-
How can I force an image to open fully on screen within action?
In PS CS5 when I open an image with height dimension in range of 1405-1411 or 1873-1882, the image opens half off the bottom of the screen. Width does opt seem to matter. I assume this is a bug, but until fixed I am trying to work around. For manu
-
I have a portlet that make a portal search for documents on some custom property. Before running the portlet I create the properties like searcheable and supported for use with documents property, then I mapped these props in the Global Document Prop
-
Hello, I create some RenderedImages from URLs (JAI.create("url", new URL(url))) and I mosaic them using the code bellow. The input files are RGB JPEGs. The result mosaic has unfortunatelly wrong colors. But if I save first the images on the disk ( JA
-
I just down loaded CS6 updates and saved them to my down load file , Now what
How do i get them to intergate into the CS6 programs like PS Flash and etc