Internal Error Issue in VK12

Hi,
I m Creating Condition Records through VK11 t.code..select Condition Type PR00 (Key Combination : Material)...
After giving Condition Records saved message, When I want to change this condition record through VK12...
It gives an error message : Internal error: T XKONH F KONDITION_ZUORDNEN I MV13AF0K after execution..
Plz tell, what is this issue...
thanks

Hi
Prince Kumar
      If yr requirement is to change the maintained price condition then go to VK13  --- go to Condition -- change
put yr condition type PR00 and try to change the same.
Thx.

Similar Messages

  • Internal Error Issue

    This has been going on for a while...and it happens with
    photos or graphic
    files I create. Every now and then, I will try to save, I
    then get an error
    message saying that an internal error has occurred and the
    command cannot be
    completed (not exact error message, I cannot duplicate it at
    will).
    So then the file cannot be saved. If I want to save it, I
    have to select
    all, copy/paste into a new document then save as a different
    file name.
    This has happened on at least 2 computers. Fireworks 8, xp
    Anyone have any ideas on what is going wrong and how I can
    solve it?
    Thanks
    Gary

    So what your saying is that the issue would not be solved by
    upgrading?
    Oh, BTW, the time that is just happened, it was not extended
    use. I had a
    picture, applied a fade, and boom...internal error. The other
    weird thing is
    that when I created the new doc, I tried to save it as the
    old doc...no go,
    had to rename.
    Thanks for your reply.
    Gary
    "SiamJai" <[email protected]> wrote in
    message
    news:gku6a2$fs2$[email protected]..
    >
    quote:
    Originally posted by:
    Newsgroup User
    > This has been going on for a while...and it happens with
    photos or graphic
    > files I create. Every now and then, I will try to save,
    I then get an
    > error
    > message saying that an internal error has occurred and
    the command cannot
    > be
    > completed (not exact error message, I cannot duplicate
    it at will).
    >
    > So then the file cannot be saved. If I want to save it,
    I have to select
    > all, copy/paste into a new document then save as a
    different file name.
    >
    > This has happened on at least 2 computers. Fireworks 8,
    xp
    >
    > Anyone have any ideas on what is going wrong and how I
    can solve it?
    >
    > Thanks
    >
    > Gary
    >
    >
    > Hi Gary,
    >
    > This has happened with me too occasionally, and I'm
    using CS4 on xp. For
    > the
    > last couple months I've been trying to figure out how to
    replicate the
    > problem,
    > but like you said, it looks like it occurs randomly. The
    only thing that
    > seems
    > common (on my side at least) is that the error occurs
    after extended use.
    >
    > I haven't found a solution in the Adobe Technotes
    either. Maybe someone
    > more
    > knowledgeable can help. :-)
    >

  • Business Partner -  Internal Error issue

    Hi
    I am getting the following internal error. It seems to be technical side issue..
    Can anyone help me ????
    Internal error in IGS2, US. RFC: Connection error Destination: IGS_RFC_DEST2
    Message no. GEOCODING004
    Diagnosis
    An internal error occurred during geocoding or in a related geocoding program.
    Procedure
    Create a SAPNet message (previously OSS message) for the BC-SRV-GEO component.
    Thanks
    Meenakshi.N

    Hello,
    If you are not using any geocoding application, you can turn it off (which should remove this bug and also improve performance).
    -->Execute report GEOCODING_SET_GEOFLAG
    Kind regards,
    Nicolas Busson.

  • Internal Error in Specification workbench ( CG02)

    Hi All,
    We had raised an OSS message for an Internal error we were getting in the t code CG02 while entering the data for chemical properties.Below mentioned is the error message.
    Internal program error; (SAPLC1AX RMWBPWB0 0 charact.-descr. not found)
    SAP has asked us to refer the Note: 1146700 and adopt method 2 to fix the issue.Method 2  steps as in the Note 1146700 mentioned below.
    Method 2: Call transaction SCC1 with a user-defined object list.
    Prerequisites:
    This is recommended if you have already made modifications to EH&S objects that are in the object list EHS_COMM24.
    In your target client, the protection against the client copy is not activated.
    Proceed as follows:
    On the source client, create your own object list in which you specify the missing classes, characteristics and so on, that is, the complete delta. Call transaction SCC1 on your target client, specify 000 as the source client and specify the name of the last object list you created as the transport request.
    Note that the user who executes this activity must have authorization for the client copy because the same functions (restricted to objects in your object list) are executed in this activity. The object list must be created once and can then be used for all clients.
    Please refer the Note 1146700: Transferring the standard database structure
    Please can you let us know how do we adopt method 2 to fix the internal error issue.
    Thanks
    Ismail

    Hello Ismael and Krishna,
    Please be more specific:
    Which part of the OSS response / OSS Note did you not understand?
    Basically what is wrong in you system is:
    You are missing some SAP EH&S class and characteristic definition in your client xxx (In your case it seems to be the object description).
    However these classes and characteristics are in client 000.
    The object list EHS_COMM24 contains all these classes and characteristics and can be used to bring them into your client xxx via the methods described in the OSS Notes - or see SAP help.
    HOWEVER: If you have modified SAP EH&S Classes (SAP_EHS*) or characteristics they will be overwritten with the default delivery from client 000 if you use object list EHS_COMM24. Therefore - if you have modified classes or characteristics - you need to create your own object list containing only the classes and characteristics for which you get an error in CG02.
    Hope this helps
    Mark

  • When trying to open adobe get message internal error occured.

    What do I need to do to fix my internal error issue?

    If you use ZoneAlarm Extreme Security then disable Virtualization and reinstall Firefox.
    *http://kb.mozillazine.org/Browser_will_not_start_up#XULRunner_error_after_an_update
    See also:
    *[[/questions/880050]]

  • CS4 FW Internal Error

    Has anyone a solution to the Fireworks not launching/Internal
    Error issue? I've read a good bit of threads and no single solution
    has worked.

    I'm having similar issues as well. In my case, I can't do a
    thing but kill the session using Task manager and try to start
    over. Doesn't seem to be a file corruption issue, more like a file
    size issue...these freeze ups are more frequent and more serious on
    my laptop (Vista 32bit with 3GB RAM) than with the exact same files
    on my workstation (Vista 64 with 6GB RAM).
    I suspect that reinstalling isn't the answer, given that this
    is happening for me on 2 diff machines.
    Looks like Adobe is staying true to its tradition of shipping
    lemons as a first release...

  • Internal error (-2014) Goods Issue with Batch Items added through UI

    Hello Experts,
    I've added a button to my Production Order screen labeled 'Issue Components' that is meant to streamline the process, and it works, except when the ProdOrder has Batch controlled items on it. When that happens it returns Internal error (-2014)<br><br>
    I've tried stepping through the code and it doesn't error until the final Add
    Here is my function, Thanks for the Help!<br><br>
    I'm using CitiXSys Inventory Pro and am pulling the items from the Picked table, that's what that sQuery does. It returns correctly. I've also set everything to 'Manual' instead of 'Backflush'<br><br><br>
    <pre>
    Private Sub IssueComponents(ByVal iDocNum As Integer)
            Try
                'Declaring the needed variables'
                Dim oRec As SAPbobsCOM.Recordset
                Dim oGoodsIssue As SAPbobsCOM.Documents
                Dim bIssueLineAdded As Boolean = False, sQuery As String = "", x As Integer = 0, iCode As Long = 0, sErrorMessage As String = ""
                Dim tmpLot As String = ""
                'Instanciating the Goods Issue'
                oGoodsIssue = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInventoryGenExit)
                'Initialzing the SBO object'
                oRec = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
                'Assing the header of the Goods Issue'
                oGoodsIssue.DocDate = Date.Now
                oGoodsIssue.DocDueDate = Date.Now
                'Getting the entire "Manual" components for this production order to issue them'
                sQuery &= "Select PK1.U_DocNo, KI.U_ItemCode, KI.U_BseLnNo, OW.DocEntry, KI.U_Quantity, KI.U_WhsCode, KI2.U_BatSrlNo, KI2.U_LotNo from [OWOR] OW (NOLOCK) INNER JOIN [@ctx_pkin] PK ON OW.DocNum = PK.U_BaseDoc," & vbNewLine
                sQuery &= "[@ctx_PKIN] PK1 (NOLOCK) INNER JOIN [@CTX_KIN1] KI (NOLOCK) ON PK1.U_DocNo = KI.U_DocNo," & vbNewLine
                sQuery &= "[@ctx_KIN1] KI1 (NOLOCK) INNER JOIN [@CTX_KIN2] KI2 (NOLOCK) ON KI1.U_DocNo = KI2.U_DocNo and KI1.U_BseLnNo = KI2.U_BseLnNo" & vbNewLine
                sQuery &= "where OW.DocNum = '" & iDocNum & "' and PK.U_BaseType = 202 and PK1.U_DocNo = PK.U_DocNo and KI1.U_DocNo = PK.U_DocNo and KI1.U_BseLnNo = KI.U_BseLnNo" & vbNewLine
                'Executing the query'
                oRec.DoQuery(sQuery)
                'Looping through the "Manual" components'
                For x = 0 To oRec.RecordCount - 1
                    'Prompting the user'
                    oAppl.StatusBar.SetText("Issuing Components...(" & x + 1 & " of " & oRec.RecordCount & ")", SAPbouiCOM.BoMessageTime.bmt_Long, SAPbouiCOM.BoStatusBarMessageType.smt_Warning)
                    'Adding the previous line if applicable'
                    If bIssueLineAdded Then
                        oGoodsIssue.Lines.Add()
                    End If
                    'Filling the line information'
                    oGoodsIssue.Lines.WarehouseCode = oRec.Fields.Item("U_WhsCode").Value 'dIssueComponents(x).Item("WhsCode")
                    'oGoodsIssue.Lines.TransactionType = SAPbobsCOM.BoTransactionTypeEnum.botrntComplete
                    oGoodsIssue.Lines.BaseEntry = oRec.Fields.Item("DocEntry").Value 'oProductionOrder.AbsoluteEntry
                    oGoodsIssue.Lines.BaseType = 202                                          'Production Order Type'
                    oGoodsIssue.Lines.BaseLine = oRec.Fields.Item("U_BseLnNo").Value 'GetBaseLine(oProductionOrder.AbsoluteEntry, dIssueComponents(x).Item("Component"))
                    'oGoodsIssue.Lines.ItemCode = oRec.Fields.Item("U_ItemCode").Value
                    oGoodsIssue.Lines.Quantity = oRec.Fields.Item("U_Quantity").Value 'Math.Round(oRec.Fields.Item("U_Quantity").Value, 2) 'dIssueComponents(x).Item("PlanQty")
                    'Checking if the item is neither lot or serial controlled item'
                    If oRec.Fields.Item("U_BatSrlNo").Value = "" And oRec.Fields.Item("U_LotNo").Value = "" Then
                        'Nothing controlled item'
                    ElseIf oRec.Fields.Item("U_BatSrlNo").Value <> "" Then
                        'Lot controlled item'
                        tmpLot = oRec.Fields.Item("U_BatSrlNo").Value
                        'oAppl.MessageBox("Lot: " & tmpLot & ", whs: " & oRec.Fields.Item("U_WhsCode").Value & ", qty: " & oRec.Fields.Item("U_Quantity").Value)
                        oGoodsIssue.Lines.BatchNumbers.Add()
                        oGoodsIssue.Lines.BatchNumbers.BatchNumber = oRec.Fields.Item("U_BatSrlNo").Value
                        oGoodsIssue.Lines.BatchNumbers.Quantity = oRec.Fields.Item("U_Quantity").Value 'Math.Round(oRec.Fields.Item("U_Quantity").Value, 2)
                        'Else
                        'Serial controlled item'
                        'oGoodsIssue.Lines.SerialNumbers.SystemSerialNumber = oRec.Fields.Item("").Value
                    End If
                    'Setting the line to be added'
                    bIssueLineAdded = True
                    'Movoing to the next record'
                    oRec.MoveNext()
                Next x
                'Checking if there was any component or not'
                If bIssueLineAdded Then
                    'Adding the Goods Issue'
                    iCode = oGoodsIssue.Add
                    If iCode <> 0 Then
                        oCompany.GetLastError(iCode, sErrorMessage)
                        oAppl.MessageBox("Goods Issue Production Order: " & iDocNum & " didn't get created for the following reason: " & serrormessage)
                    Else
                        oAppl.StatusBar.SetText("Components were issued successfully.", SAPbouiCOM.BoMessageTime.bmt_Short, SAPbouiCOM.BoStatusBarMessageType.smt_Success)
                        'TODO: add to ProdOrder remarks field
                    End If
                End If
            Catch ex As Exception
                oAppl.MessageBox("IssueComponents() " & ex.Message)
                oAppl.StatusBar.SetText("Error in IssueComponenets() : " & ex.Message, SAPbouiCOM.BoMessageTime.bmt_Short, SAPbouiCOM.BoStatusBarMessageType.smt_Error)
            End Try
        End Sub
    </pre>
    Edited by: Rob Daniels on May 30, 2011 10:33 PM

    Please use the latest upgrade of Inventory Pro from CitiXsys.
    If you are using SAP Business One 2007; use Inventory Pro 5.6 series
    For SAP Business One 8.8 and up; use Inventory Pro 6.6.1 and up

  • Internal Error Msg Issue

    Dear All,
    The user has SAP 9.0 PL 08.
    He is frequently getting different-different Internal Error Messages.
    Eg:-
    "Internal error (-1101) [Message 131-183]"
    "Internal error (-1200) [Message 131-183]"
    Please guide on the issue above.
    Regards,
    Angad

    Hi,
    Please check this thread http://scn.sap.com/message/15109313#15109313
    Thanks & Regards,
    Nagarajan

  • Error when using Vk12 transaction

    Hi All,
    When i am trying to use transaction  VK12  for condition type i get the following hard stop.
    Internal Error :T XKONH F KONDITION_ZUORDNEN I MV13AF0K.
    I used VK+C for analysing and found some cocdition records mentioned under "Check condition key and VAKEY".
    when i checked those records in KONH and KONP i could not find any errors as such.
    What do you think is going wrong ? Any ideas ?
    Regards
    Kiran

    Hi Kiran A
    From your post its not clear that whether you have searched for it or not and I don't think anything, in fact I read what is written in question. If you had searched then you should have mentioned it because there are already many links and notes discussing this issue.
    I had gone through your query very carefully and after that suggested you that note and link in which there are again 4 notes. This error is not that common and can be seen in varios programs/screens in SAP. Tax codes/tax conditions are used in VK12 and there are also many other transactions which use same logic and you don't need to be stick to VK12 only and think outside the box for resolving this type of issue.
    FYI in SAP there can be many transactions or events where we get same error message and this is because SAP uses same logic in different programs. Condition technique is there in SD FI and MM.
    You had asked for any idea and we are here to give suggestions and recommendtions when we don't know the exact solution. If you didn't get satisfactory answer then its better to raise your query to SAP.
    Thank$

  • Error while transporting objects:Internal error during pvc call: Parameter

    Dear all,
    We are facing the following error while transporting the individual configuration objects from our PI development system.
    Export failed: Internal error during pvc call: Parameter versionSpecifier or version has the invalid value null .
    However, it works fine when the complete configuration scenario is transported.
    We tried to transport the objects with different user id's, even then the issue still exists.
    Any inputs to resolve this will be highly helpful.
    Thank you,
    Younus

    Hi Mohammed,
    Answer is inside this oss [Note 1554387 - Error during export from Integration Directory|https://service.sap.com/sap/support/notes/1554387]. In this oss note, solution is to apply a patch (just a patch, not a SP). as it's a litle sap bug...
    Note: your issue is also explained with picture in this one "1550549 - PI transport: Internal error during pvc call" (sorry for this one I cannot insert a link)
    regards
    Mickael
    Edited by: Mickael Huchet on Jan 26, 2012 2:50 PM

  • Internal Error occurred while calling the ProcessDPCommands API

    We have installed Business Objects XI  with MySQL. We are getting following error when we click on view query on the WEBI Reports
    " Internal Error occurred while calling the ProcessDPCommands API  Error WIS 30270".
    When we change the CMS database to ORACLE everything works fine it looks like some issues when CMS database is MYSQL
    Please hep to fix this problem
    Installation is on Solaris 10
    Edited by: AshishDatar on Nov 6, 2009 3:00 PM
    Installation is on Solaris 10

    did you check whether universe connection is pointing to the correct db?The following url might be helpful:
    [http://www.forumtopics.com/busobj/viewtopic.php?t=52355&view=previous]

  • Acrobat XI Pro doesn't work on iMac Retina 5K, "An Internal error occurred"

    Please help.
    I just received my latest iMac Retina 5K 27inch and tried to install newly purchased Acrobat XI Pro, installation went ok, but it give me error message when I open the program:
    " An internal error occurred."
    I tried to install it into my old iMac 2010 and it works fine. Below are system information of my 2 x iMac, can anyone give me some advises? Thank you.
    iMac Retina 5K 27inch Late 2014
    OSX Yosemite Ver 10.10
    Processor 4 GHz Intel i7
    Memory 32Gb 1600 MHz DDR3
    AMD Radeon R9 M290 x 2048MB
    iMac 21.5inch Mid 2010
    OSX Yosemite Ver 10.10
    Processor 3.06 GHz i3
    Memory 4GB 1333 MHz DDR3
    ATI Radeon HD 4670 256MB

    Hi yang2898,
    If the installation went ok and you are unable to launch Acrobat then this might be due to licensing issue.
    Please check if you have full read/ write permissions to the following folders:
    [Home]/Library/Application Support/Adobe/SLStore
    [Home]/Library/Application Support/Adobe/SLCache
    [Home]/Library/Application Support/Adobe/AdobePCD
    You might also want to check in the root user account of Mac (Enabling and using the "root" user in Mac OS X - Apple Support)
    Regards,
    Rave

  • Receiving "internal error" when trying to burn mp3 disc from playlist

    I'm trying to burn an mp3 disc from a playlist that I've created. Unfortunately, I keep getting an error. I'm currently running iTunes 11.0.2 on my iMac which is currently running 10.8.3.  I've done this many times before, and this is the first that I've had this problem. Here's the error I keep getting:
    The attempt to burn a disc failed. An internal error occured.
    If you want to retry the current failed burn, click on Retry. If you want to go to the next disc burn, click on Next. Otherwise click on Cancel.
    Here's how it goes down:
    I've created a very long playlist which will require the use of multiple discs.
    I right-click on the playlist and select to burn the playlist to disc.
    I then get the usual burn settings pop-up menu where I select the "MP3 CD" format with a preferred speed of "Maximum Possible"
    Note: Since experiencing this error, I have tried varried speeds ranging from 8x to 24x; I still get the error.
    Note Also: I have tried selecting "Audio CD" instead, and the playlist will burn and the error does not appear. This is not an option I want to go with, however, because of the length of the playlist — it would take, like, 25 discs...
    For a moment iTunes will read the disc, then ask permission for the playlist to be split across multiple discs. I say "ok".
    At this point, iTunes will say that it is initiallizing for about a split second then immediately say it's finalizing and spit out the disc. This is when the error pops up.If I select to "Retry", it doesn't retry to burn; it just saves a .txt file to my desktop that is  a copy of the error message. There's no error code/number or anything, though - just the exact same message. "Cancel" and "Next" seem to behave correctly, though.
    I have tried repairing disk permissions and restarting my computer. I've also tried using different brands of CDs: Memorex CD-R and Innovera CD-R. The error persists.
    Any help on this issue would be greatly appreciated. Thanks in advance!

    Some people (for reasons I don't know) have problems with Dynamic Link
    What happens if you export MPEG2-DVD from Premiere Pro... import the 2 files (audio and video) into Encore... and do ALL of your authoring work in Encore?

  • Msg 8631 Internal error: Server stack limit has been reached on SQL Server 2012 from T-SQL script that runs on SQL Server 2008 R2

    I have an Script mostly that is generated by SSMS which works with-out issue on SQL Server 2008, but when I attempt to run it on a new fresh install of SQL Server 2012 I get an Msg 8631. Internal error: Server stack limit has been reached. Please look for
    potentially deep nesting in your query, and try to simplify it.
    The script itself doesn't seem to be all that deep or nested.  The script is large 2600 lines and when I remove the bulk of the 2600 lines, it does run on SQL Server 2012.  I'm just really baffled why something that SQL Server generated with very
    few additions/changes AND that WORKS without issue in SQL Server 2008 R2 would suddenly be invalid in SQL Server 2012
    I need to know why my script which is working great on our current SQL Server 2008 R2 servers suddenly fails and won't run on an new SQL Server 2012 server.  This script is used to create 'bulk' Replications on a large number of DBs saving a tremendous
    amount of our time doing it the manual way.
    Below is an 'condensed' version of the script which fails.  I have removed around 2550 lines of specific sp_addarticle statements which are mostly just copy and pasted from what SQL Management Studio 'scripted' for me went I when through the Replication
    Wizard and told it to save to script.
    declare @dbname varchar(MAX), @SQL nvarchar(MAX)
    declare c_dblist cursor for
    select name from sys.databases WHERE name like 'dbone[_]%' order by name;
    open c_dblist
    fetch next from c_dblist into @dbname
    while @@fetch_status = 0
    begin
    print @dbname
    SET @SQL = 'DECLARE @dbname NVARCHAR(MAX); SET @dbname = ''' + @dbname + ''';
    use ['+@dbname+']
    exec sp_replicationdboption @dbname = N'''+@dbname+''', @optname = N''publish'', @value = N''true''
    use ['+@dbname+']
    exec ['+@dbname+'].sys.sp_addlogreader_agent @job_login = N''DOMAIN\DBServiceAccount'', @job_password = N''secret'', @publisher_security_mode = 1, @job_name = null
    -- Adding the transactional publication
    use ['+@dbname+']
    exec sp_addpublication @publication = N'''+@dbname+' Replication'', @description = N''Transactional publication of database
    '''''+@dbname+''''' from Publisher ''''MSSQLSRV\INSTANCE''''.'', @sync_method = N''concurrent'', @retention = 0, @allow_push = N''true'', @allow_pull = N''true'', @allow_anonymous = N''false'', @enabled_for_internet
    = N''false'', @snapshot_in_defaultfolder = N''true'', @compress_snapshot = N''false'', @ftp_port = 21, @allow_subscription_copy = N''false'', @add_to_active_directory = N''false'', @repl_freq = N''continuous'', @status = N''active'', @independent_agent = N''true'',
    @immediate_sync = N''true'', @allow_sync_tran = N''false'', @allow_queued_tran = N''false'', @allow_dts = N''false'', @replicate_ddl = 1, @allow_initialize_from_backup = N''true'', @enabled_for_p2p = N''false'', @enabled_for_het_sub = N''false''
    exec sp_addpublication_snapshot @publication = N'''+@dbname+' Replication'', @frequency_type = 1, @frequency_interval = 1, @frequency_relative_interval = 1, @frequency_recurrence_factor = 0, @frequency_subday = 8,
    @frequency_subday_interval = 1, @active_start_time_of_day = 0, @active_end_time_of_day = 235959, @active_start_date = 0, @active_end_date = 0, @job_login = N''DOMAIN\DBServiceAccount'', @job_password = N''secret'', @publisher_security_mode = 1
    -- There are around 2400 lines roughly the same as this only difference is the tablename repeated below this one
    use ['+@dbname+']
    exec sp_addarticle @publication = N'''+@dbname+' Replication'', @article = N''TABLE_ONE'', @source_owner = N''dbo'', @source_object = N''TABLE_ONE'', @type = N''logbased'', @description = null, @creation_script =
    null, @pre_creation_cmd = N''drop'', @schema_option = 0x000000000803509F, @identityrangemanagementoption = N''manual'', @destination_table = N''TABLE_ONE'', @destination_owner = N''dbo'', @vertical_partition = N''false'', @ins_cmd = N''CALL sp_MSins_dboTABLE_ONE'',
    @del_cmd = N''CALL sp_MSdel_dboTABLE_ONE'', @upd_cmd = N''SCALL sp_MSupd_dboTABLE_ONE''
    EXEC sp_executesql @SQL
    SET @dbname = REPLACE(@dbname, 'dbone_', 'dbtwo_');
    print @dbname
    SET @SQL = 'DECLARE @dbname NVARCHAR(MAX); SET @dbname = ''' + @dbname + ''';
    use ['+@dbname+']
    exec sp_replicationdboption @dbname = N'''+@dbname+''', @optname = N''publish'', @value = N''true''
    use ['+@dbname+']
    exec ['+@dbname+'].sys.sp_addlogreader_agent @job_login = N''DOMAIN\DBServiceAccount'', @job_password = N''secret'', @publisher_security_mode = 1, @job_name = null
    -- Adding the transactional publication
    use ['+@dbname+']
    exec sp_addpublication @publication = N'''+@dbname+' Replication'', @description = N''Transactional publication of database
    '''''+@dbname+''''' from Publisher ''''MSSQLSRV\INSTANCE''''.'', @sync_method = N''concurrent'', @retention = 0, @allow_push = N''true'', @allow_pull = N''true'', @allow_anonymous = N''false'', @enabled_for_internet
    = N''false'', @snapshot_in_defaultfolder = N''true'', @compress_snapshot = N''false'', @ftp_port = 21, @allow_subscription_copy = N''false'', @add_to_active_directory = N''false'', @repl_freq = N''continuous'', @status = N''active'', @independent_agent = N''true'',
    @immediate_sync = N''true'', @allow_sync_tran = N''false'', @allow_queued_tran = N''false'', @allow_dts = N''false'', @replicate_ddl = 1, @allow_initialize_from_backup = N''true'', @enabled_for_p2p = N''false'', @enabled_for_het_sub = N''false''
    exec sp_addpublication_snapshot @publication = N'''+@dbname+' Replication'', @frequency_type = 1, @frequency_interval = 1, @frequency_relative_interval = 1, @frequency_recurrence_factor = 0, @frequency_subday = 8,
    @frequency_subday_interval = 1, @active_start_time_of_day = 0, @active_end_time_of_day = 235959, @active_start_date = 0, @active_end_date = 0, @job_login = N''DOMAIN\DBServiceAccount'', @job_password = N''secret'', @publisher_security_mode = 1
    -- There are around 140 lines roughly the same as this only difference is the tablename repeated below this one
    use ['+@dbname+']
    exec sp_addarticle @publication = N'''+@dbname+' Replication'', @article = N''DB_TWO_TABLE_ONE'', @source_owner = N''dbo'', @source_object = N''DB_TWO_TABLE_ONE'', @type = N''logbased'', @description = null, @creation_script
    = null, @pre_creation_cmd = N''drop'', @schema_option = 0x000000000803509D, @identityrangemanagementoption = N''manual'', @destination_table = N''DB_TWO_TABLE_ONE'', @destination_owner = N''dbo'', @vertical_partition = N''false''
    EXEC sp_executesql @SQL
    fetch next from c_dblist into @dbname
    end
    close c_dblist
    deallocate c_dblist
    George P Botuwell, Programmer

    Hi George,
    Thank you for your question. 
    I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated. 
    Thank you for your understanding and support.
    If you have any feedback on our support, please click
    here.
    Allen Li
    TechNet Community Support

  • Flash Builder 4.5 Data Services Wizard, setting up REST service call returns Internal Error Occurred

    Dear all -
    I am writing with the confidence that someone will be able to assist me.
    I am using the Flash Builder Data Services Wizard to access a Server that utilizes REST type calls and returns JSON objects. The server is a JETTY server and it apparantly already works and is returning JSON objects (see below for example). It is both HTTP and HTTPS enabled, and right now it has a cross-domain policy file that is wide open (insecure but its not a production server, it's internal).
    The crossdomain file looks like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
       <allow-http-request-headers-from domain="*" headers="*" secure="false"   />
       <allow-access-from domain="*" to-ports="*" secure="false"/>
       <site-control permitted-cross-domain-policies="master-only" />
    </cross-domain-policy>
    The crossdomain file is in the jetty server's root directory and is browseable via HTTP and HTTPS (i.e. browsing to it returns the xml)
    Now before all of you say that using wizards sucks (generally) I thought I would utilize the FB Data Services Wizard as at least it would provide a template for which I could build additional code against, or replace and improve the code it produces.
    With that in mind, I browse to the URL of the Jetty Server with any web browser (for example, Google Chrome, Firefox or IE) with a URL like this (the URL is a little confidential at the moment, but the structure is the same)
    https://localhost:somePort/someKey/someUser/somePassword/someTask
    *somePort is the SSL port like 8443
    *someKey is a key to access the URL's set of services
    returns a JSON object as a string in the web browser and it appears like the following:
    {"result":success,"value":"whatEverTheValueShould"}
    Looks like the JSON string/object is valid.
    I went through the Flash Builder Data Services Wizard to set up HTTP access to this server. The information that I filled in is described below:
    Do you want to use a Base URL as a prefix for all operation URLs?
    YES
    Base URL:
    https://localhost:8443/someKey/
    Name                    : someTask
    Method                    : POST
    Content-Type: application/x-www-form-urlencoded
    URL                              : {someUser}/{somePassword}/someTask
    Service Name: SampleRestapi
    Services Package: services.SampleRestapi
    datatype objects: valueObjects:
    Completing the wizard, I run the Test Operation command. Remember, no authentication is needed to get a JSON string.
    It returns:
    InvocationTargetException: Unable to connect to the URL specified
    I am thinking - okay, but the URL IS browseable (as I originally was able to browse to it, as noted above).
    I continue to test the service by creating a Flex application that accepts a username and password in a form. when the form is submitted, the call to the service is invoked and an event handler returns the result. The code is below (with some minor changes to mask the actual source).
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                                     xmlns:s="library://ns.adobe.com/flex/spark"
                                     xmlns:mx="library://ns.adobe.com/flex/mx"
                                     xmlns:SampleRestapi="services.SampleRestapi.*"
                                     minWidth="955" minHeight="600">
              <fx:Script>
                        <![CDATA[
                                  import mx.controls.Alert;
                                  import mx.rpc.events.ResultEvent;
                                  protected function button_clickHandler(event:MouseEvent):void
                                            isUserValidResult.token = SampleRestAPI.isUserValid(userNameTextInput.text,passwordTextInput.text);
                                  protected function SampleRestAPI_resultHandler(event:ResultEvent):void
                                            // TODO Auto-generated method stub
                                            // print out the results
                                            txtAreaResults.text = event.result.message as String;
                                            // txtAreaResults.appendText( "headers \n" + event.headers.toString() );
                        ]]>
              </fx:Script>
              <fx:Declarations>
                        <SampleRestapi:SampleRestAPI id="SampleRestAPI"
                                                                                                 fault="Alert.show(event.fault.faultString + '\n' + event.fault.faultDetail)"
                                                                                                 result="SampleRestAPI_resultHandler(event)"
                                                                                                 showBusyCursor="true"/>
                        <s:CallResponder id="isUserValidResult"/>
                        <!-- Place non-visual elements (e.g., services, value objects) here -->
              </fx:Declarations>
              <s:Form defaultButton="{button}">
                        <s:FormItem label="UserName">
                                  <s:TextInput id="userNameTextInput" text="q"/>
                        </s:FormItem>
                        <s:FormItem label="Password">
                                  <s:TextInput id="passwordTextInput" text="q"/>
                        </s:FormItem>
                        <s:Button id="button" label="IsUserValid" click="button_clickHandler(event)"/>
                        <s:FormItem  label="results:">
                                  <s:TextArea id="txtAreaResults"/>
                        </s:FormItem>
              </s:Form>
    </s:Application>
    It's a simple application to be sure. When I run it , I get the following returned in the text area field txtAreaResults:
    An Internal Error Occured.
    Which is equivalent to the following JSON string being returned:
    {"success":false,"value":"An Internal Error Occured"}
    It appears that the call is being made, and that a JSON object is being returned... however it does not return the expected results?
    Again the URL constructed is the same:
    https://www.somedomain.com:somePort/someKey/someUser/somePassword/someTask
    So I am wondering what the issue could be:
    1) is it the fact that I am browsing the test application from an insecure (http://) web page containing the Flex application and it is accessing a service through https:// ?
    2) is the JSON string structurally correct? (it appears so).
    3) There is a certificate enabled for HTTPs. it does not match the test site I am using ( the cert is for www.somedomain.com but I am using localhost for testing). Would that be an issue? Google Chrome and IE just asks me to proceed anyway, which I say "yes".
    Any help or assistance on this would be appreciated.
    thanks
    Edward

    Hello everyone -
    Since I last posted an interesting update happened. I tested my  Flex application again, it is calling a Jetty Server that returns a JSON object, in different BROWSERS.  I disabled HTTPS for now, and the crossdomain.xml policy file is wide open for testing (ie. allowing every request to return data). So the app accessing the data using HTTP only. Browsers  -  IE, Opera, Firefox and Chrome. Each browser contained the SAME application, revision of the Flash Player (10.3.183.10 debugger for firefox, chrome, opera, safari PC; 11.0.1.129 consumer version in IE9,) take a look at the screen shot (safari not shown although the result was the same as IE and chrome)
    Note that Opera and Firefox returned successful values (i.e. successful JSON objects) using the same code generated from the Data Services Wizard. Chrome, IE and, Safari failed with an Internal error. So I am left wondering - WHY? Is it something with the Flash Player? the Browsers?  the Flex SDK? Any thoughts are appreciated. Again, the code is found in the original thread above.

Maybe you are looking for