License Key When Using Executable Windows Installer

Post Author: Robert Flaherty
CA Forum: Deployment
When using the executable Windows Installer for installing the Crystal 2008 runtime files on client PC, do you need to enter your license key?  If you leave the field blank, what happens?

It sounds like the key you are trying to use is for setting up a KMS, not for activating a windows server station.
If you want to use a KMS, use the following key:
http://technet.microsoft.com/en-us/library/jj612867.aspx
Also be sure to create the service record for the KMS in DNS:
http://technet.microsoft.com/en-us/library/ff793405.aspx

Similar Messages

  • Does DPM 2012 R2 still needs DataSourceGroups.xml and MaxAllowedParallelBackups key when using Hyper-V VSS Software Writer to backup Server 2012 R2 Cluster

    Hi,
    Does DPM 2012 R2 still needs DataSourceGroups.xml and MaxAllowedParallelBackups key when using Hyper-V VSS Software Writer to backup Server 2012 R2 Hyper-V Cluster with CSV's? Can't find a clear answer somewhere.
    Thanx for helping me out.
    DJITS.

    Configure CSV backups
    If you are running Hyper-V on Windows Server 2008 R2 and you’re backing up multiple clusters with DPM, you need to ensure that only one backup uses the same CSV at any one time. To do this, follow the instructions in
    Serialize virtual machine backups.
    If you’re using software VSS with Hyper-V on Windows Server 2008 R2, do the following
    Serialize virtual machine backups per node            
    Serialize virtual machine backups per CSV LUN            
    Have a nice day !!!

  • How can I force mount a dvd that isn't even seen by Disk Utility? I can see it on the Mac when using my Windows 7 partition via Boot Camp, but not in Lion, which is how I would rather be running.

    How can I force mount a dvd that isn't even seen by Disk Utility? I can see it on the Mac when using my Windows 7 partition via Boot Camp, but not in Lion, which is how I would rather be running.

    Well if there is a EFI block, then running a program in OS X isn't going to do a lick of good.
    After all EFI was designed for Trusted Computing and Digital Rights Management, to act between the OS and hardware, can read drives, contact the Internet and everything.
    Windows doesn't use EFI, will have UEFI in Windows 8 though.

  • SQL serever 2012 Setup has encountered an error when running a windows installer file

    I am trying to install SQL server 2012 Express on a windows 7 PC for 2 days now. I feel like banging my head against the wall.
    I keep getting the following errors here's the full log
    The following error has occurred:
    SQL Server Setup has encountered an error when running a Windows Installer file.
    Windows Installer error message: An error occurred during the installation of assembly 'Microsoft.VC80.ATL,version="8.0.50727.6229",publicKeyToken="1fc8b3b9a1e18e3b",processorArchitecture="x86",type="win32"'. Please refer
    to Help and Support for more information. HRESULT: 0x8007054F. Windows Installer file: C:\Users\Receno\AppData\Local\Temp\SQL Server 2012\Setup\1033_ENU_LP\x64\setup\sqlsupport_msi\SqlSupport.msi Windows Installer log file: C:\Program Files\Microsoft SQL Server\110\Setup
    Bootstrap\Log\20150109_213740\SqlSupport_Cpu64_1_ComponentUpdate_1.log
    Click 'Retry' to retry the failed action, or click 'Cancel' to cancel this action and continue setup.
    For help, click: http://go.microsoft.com/fwlink?LinkID=20476&ProdName=Microsoft%20SQL%20Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.2100.60&EvtType=0xDC80C325

    hmmm..so which hotfix do I apply ?
    SQL Server 2012
    All (Global) x64
    2012_RTM_DAC_CU11_2908007_11_0_2424_x64
    SQL Server 2012
    All (Global) x64
    2012_RTM_SapBI_CU11_2908007_11_0_2424_x64
    SQL Server 2012
    All (Global) x64
    SQLServer2012_RTM_CU11_2908007_11_0_2424_x64
    SQL Server 2012
    All (Global) x64
    2012_RTM_PPExcel_CU11_2908007_11_0_2424_x64
    SQL Server 2012
    All (Global) x64
    2012_RTM_RSShrPnt_CU11_2908007_11_0_2424_x64
    SQL Server 2012
    All (Global) x86
    2012_RTM_DAC_CU11_2908007_11_0_2424_x86
    SQL Server 2012
    All (Global) x86
    2012_RTM_SapBI_CU11_2908007_11_0_2424_x86
    SQL Server 2012
    All (Global) x86
    2012_RTM_PPExcel_CU11_2908007_11_0_2424_x86
    SQL Server 2012
    All (Global) x86
    SQLServer2012_RTM_CU11_2908007_11_0_2424_x86
    SQL Server 2012
    All (Global)
    x64
    2012_RTM_DAC_CU11_2908007_11_0_2424_x64
    <input id="chk471373" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x64
    2012_RTM_SapBI_CU11_2908007_11_0_2424_x64
    <input id="chk471368" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x64
    SQLServer2012_RTM_CU11_2908007_11_0_2424_x64
    <input id="chk471370" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x64
    2012_RTM_PPExcel_CU11_2908007_11_0_2424_x64
    <input id="chk471371" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x64
    2012_RTM_RSShrPnt_CU11_2908007_11_0_2424_x64
    <input id="chk471374" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x86
    2012_RTM_DAC_CU11_2908007_11_0_2424_x86
    <input id="chk471372" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x86
    2012_RTM_SapBI_CU11_2908007_11_0_2424_x86
    <input id="chk471369" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x86
    2012_RTM_PPExcel_CU11_2908007_11_0_2424_x86
    <input id="chk471367" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x86
    SQLServer2012_RTM_CU11_2908007_11_0_2424_x86
    SQL Server 2012
    All (Global)
    x64
    2012_RTM_DAC_CU11_2908007_11_0_2424_x64
    <input id="chk471373" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x64
    2012_RTM_SapBI_CU11_2908007_11_0_2424_x64
    <input id="chk471368" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x64
    SQLServer2012_RTM_CU11_2908007_11_0_2424_x64
    <input id="chk471370" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x64
    2012_RTM_PPExcel_CU11_2908007_11_0_2424_x64
    <input id="chk471371" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x64
    2012_RTM_RSShrPnt_CU11_2908007_11_0_2424_x64
    <input id="chk471374" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x86
    2012_RTM_DAC_CU11_2908007_11_0_2424_x86
    <input id="chk471372" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x86
    2012_RTM_SapBI_CU11_2908007_11_0_2424_x86
    <input id="chk471369" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x86
    2012_RTM_PPExcel_CU11_2908007_11_0_2424_x86
    <input id="chk471367" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x86
    SQLServer2012_RTM_CU11_2908007_11_0_2424_x86
    SQL Server 2012
    All (Global)
    x64
    2012_RTM_DAC_CU11_2908007_11_0_2424_x64
    <input id="chk471373" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x64
    2012_RTM_SapBI_CU11_2908007_11_0_2424_x64
    <input id="chk471368" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x64
    SQLServer2012_RTM_CU11_2908007_11_0_2424_x64
    <input id="chk471370" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x64
    2012_RTM_PPExcel_CU11_2908007_11_0_2424_x64
    <input id="chk471371" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x64
    2012_RTM_RSShrPnt_CU11_2908007_11_0_2424_x64
    <input id="chk471374" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x86
    2012_RTM_DAC_CU11_2908007_11_0_2424_x86
    <input id="chk471372" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x86
    2012_RTM_SapBI_CU11_2908007_11_0_2424_x86
    <input id="chk471369" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x86
    2012_RTM_PPExcel_CU11_2908007_11_0_2424_x86
    <input id="chk471367" style="margin:0px;padding:0px;" type="checkbox" />
    SQL Server 2012
    All (Global)
    x86
    SQLServer2012_RTM_CU11_2908007_11_0_2424_x86

  • Disable the need of the function key when using the control key

    I'm often using the F1-12 keys when using an IDE for developing. Those IDE's use the CTR+F1-12 shortcuts quite a bit and it's always needed to use FN+CTR+F1-12 which is ridiculous and redundant. Is there a way to keep using the functions assigned to F1-12 (Adjust volume, brightness...) without pressing the function key and be able of using CTR or ALT +F1-12 without the need of pressing the function key?

    According to the system help text it is possible. And for me it works as described in the help text on my MacBook Pro.
    But on my  Mac Pro (late 2013) the relevant control (“Use all F1, F2, etc. keys as standard function keys”) is missing form System Preferences >> Keyboard >> Keyboard.
    From the help text for the topic "Use keyboard function keys:"
    If you frequently use the alternate function of a function key, you can switch the keyboard so that the function keys perform the alternate function without your pressing Fn. You then hold down Fn to use a function key’s original hardware control function. If your keyboard doesn’t have an Fn key, try holding down the Control key.
    Choose Apple menu > System Preferences, then click Keyboard.
    Open Keyboard preferences
    Select the “Use all F1, F2, etc. keys as standard function keys” checkbox.

  • Change the license key for BOXI3.1 after installation

    Are there problems if i change the license key for BOXI3.1 after installation?
    (Not performing a upgrade from trial version)
    Or do i have to do a re-installation instead?

    Hi,
    Sure you can change the license key, without re-doing a complete install of BO XI. Just go to CMC->Lisence Keys, and add your new product key.
    Then you 'll see bellow, the new information about u key (CPU/Date limitation).
    Regards
    Olivier

  • How to get the displayID when using X-window to access solaris server?

    I want to get the displayID in my programme when use X-window to access solaris on the server,but i don't know which the API in java?Somebody can tell me?
    Thanks.

    Try deleting the Server.app and download it again from the App Store, restart.
    My Server is also using self signed certificates and is working with iOS device (Trust Profile needed first).

  • Error when using the template installer MI post installation process

    Hi all,
    I am busy to configure the Netweaver Administrator in order to create setup packages for mobile devices. This is a WAS 6.40 ABAP JAVA instance with mobile infrastructure.
    I have installed the netweaver SR1 and upgraded abap and java to SPS18 afterwards.
    Afterwards I used the template installer, I executed:  MI post installation process.
    But when I did this an error message occured on the following node:
    step ID 8 registering RFC connection.
    Error message:
    Element
    'SAPConfigLib.<SID>.Unclassified.set_Server_Service':!BrokerImport.import_of_element_failed!!BrokerImport.Fehler!com.sap.tc.lm.ctc.cul.cpi.exceptions.CPIBaseException:
    <--Localization failed:
    ResourceBundle='com.sap.tc.lm.ctc.cul.cpi.CPIResourceBundle',
    ID='com.sap.tc.lm.ctc.cul.cpi.BaseException_BASE_EXCEPTION', Arguments:
    []--> : Can't find resource for bundle java.util.PropertyResourceBundle, key
    com.sap.tc.lm.ctc.cul.cpi.BaseException_BASE_EXCEPTION:com.sap.tc.lm.ctc.provider.javaServiceProvider.JavaServiceWriter.writeElement!BrokerImport.LINE!179-:com.sap.tc.lm.ctc.cul.broker.BrokerImport.importElement.86
    -:com.sap.tc.lm.ctc.cul.broker.BrokerImport.importElement.128
    -:com.sap.tc.lm.ctc.cul.broker.BrokerImport.importElement.128
    -:com.sap.tc.lm.ctc.cul.serviceimpl.importservice.CULConfigurationImport.importConfiguration.89
    -:com.sap.tc.lm.ctc.ccl.templateinstaller.StepExecuter.run.41 Element 'SAPConfigLib.<SID>.Unclassified.set_Server_Service':Error during executing Java Reflection:JCO.Client not connected in repository call
    Here after I followed manual: MI25 SPS18 inst newtech.pdf for configuring the NWA.
    I checked the complete manual, but still the error message occurs, when I am using the template installer.
    There is one more thing.
    When I go to the NWA, to the Mobile Infrastructure node, allmost all subnodes give me the following error:
    (For instance on hierarchy grouping:)
    Failed to get hierarchy group elements from middleware. Reason: Could not connect to middleware.
    Does this error message relate to the other error message?
    Please give me advise/hints/directions to solve this problem....
    Your help will be appreciated!
    Best regards,
    Jacco Raymakers

    I got error during use of template installer in NWA. It is MI post installation in N/w2004s SP09
    Error message:
    Element
    'SAPConfigLib.<SID>.Unclassified.set_Server_Service':!BrokerImport.import_of_element_failed!!BrokerImport.Fehler!com.sap.tc.lm.ctc.cul.cpi.exceptions.CPIBaseException:
    <--Localization failed:
    ResourceBundle='com.sap.tc.lm.ctc.cul.cpi.CPIResourceBundle',
    ID='com.sap.tc.lm.ctc.cul.cpi.BaseException_BASE_EXCEPTION', Arguments:
    []--> : Can't find resource for bundle java.util.PropertyResourceBundle, key
    com.sap.tc.lm.ctc.cul.cpi.BaseException_BASE_EXCEPTION:com.sap.tc.lm.ctc.provider.javaServiceProvider.JavaServiceWriter.writeElement!BrokerImport.LINE!179-:com.sap.tc.lm.ctc.cul.broker.BrokerImport.importElement.86
    -:com.sap.tc.lm.ctc.cul.broker.BrokerImport.importElement.128
    -:com.sap.tc.lm.ctc.cul.broker.BrokerImport.importElement.128
    -:com.sap.tc.lm.ctc.cul.serviceimpl.importservice.CULConfigurationImport.importConfiguration.89
    -:com.sap.tc.lm.ctc.ccl.templateinstaller.StepExecuter.run.41 Element 'SAPConfigLib.<SID>.Unclassified.set_Server_Service':Error during executing Java Reflection:JCO.Client not connected in repository call
    Please help me the resolve this.

  • How do I enter CS6 license key when Adobe Application Manager immediately tries to authenticate against my expired Creative Cloud membership?

    I have CS6 Master Suite installed along side my now-expired Creative Cloud apps (I am evaluating whether to renew my subscription at this time). Both CS6 and Creative Cloud are currently unlicensed due to a snafu with my educational license, but I have a new CS6 license that I am trying to register CS6 with. However, upon launching any CS6 program, Adobe Application Manager then launches and tells me that my Creative Cloud membership is now expired. How/where to I enter my CS6 license key? I have already tried entering my new license on my Adobe account profile > “My products and services”, and reinstalled CS6 applications from my original disk image (MasterCollection_CS6_LS16.dmg).
    Thanks in advance,
    Liz

    Figured this one out from another thread, after which I was able to sign in again with my Adobe ID and my software was ready to use:
    Windows:
    Delete these folders
    SLStore from C:\ProgramData\Adobe
    SLCache from C:\Program Files (x86)\Common Files\Adobe
    OOBE from C:\Users\(Your Username)\AppData\Local\Adobe
    Mac:
    Delete SLStore and SLCache from /Library/Application Support/Adobe
    Delete OOBE from ~/Library/Application Support/Adobe

  • Overriding function keys when using MS Remote Desktop Connection

    Is there a way when connected to a RDP client using MS Remote Desktop Connection to prevent the function keys from being intercepted and handled by OSX. For example on my iMac keyboard, function keys 7 to 12 are used to control itunes and alter the system sound volumes. Is there a way to have these keys processed by the RDP client instead, so that the remote Windows OS can handle them?
    While this question currently relates to an iMac, I'll soon be using a Macbook Pro in the same scenario, and will be requiring a similar solution for that machine.

    Thanks for your suggestion. Setting that option only toggles what the function keys are interpreted as in OSX, but the key presses are still not processed by the OS in the RDP session. For example, pressing F9 when the RDP window is active shows all open OSX windows in Expose, rather than having the keypress processed by the active software in the RDP session
    I did try posting to the forum you mentioned yesterday, but due to server issues my post failed. I'll try again today.

  • For someone who can't use the windows installer cleanup utility.

    I have been an iTunes user for years and have usually updated to the newest version whenever prompted and have had very little trouble with the program despite always using PCs. However, I recently purchased an iPhone which is fun, but requires the newest iTunes.
    I tried to install the new version and received a message which many people have, which said "The feature you are trying to use is on a network resource that is unavailable."
    I searched online and found the solution that said to use the Windows Cleanup Utility or whatever, however, my computer barred me from doing this for some reason. Even when I manually attempted to register with the Command Prompt window, I was unable to get the program to work. I tried to fix THIS part, but received another error message which directed me to format my computer, which I am unwilling to do at this time. I don't even want to lose my library but I'm kind of resigned to that at this time.
    So what I'm asking is, is there any other way to get this sorted out without the utility package? Any way to direct my computer to where itunes.msi would be on my computer? Is there anyway to fix this, seeing as it seems to be a recurring problem in the installation of this version? Thank you.

    +it's essentially telling me I'm not the administrator when not only am I, but I'm the ONLY user on this computer+
    Your sig says XPS. I assume that means XP. Your permissions must be corrupt in the registry, even though you are on an admin account. I got this same error when I upgraded my laptop to XP SP3. I had to run a tool from microsoft to fix it.
    Scroll down to the advanced troubleshooting section on this page and run the subinacl stuff. I went and watched a movie while it ran - just be patient.
    http://support.microsoft.com/kb/949377
    *Method 1: Reset the registry and the file permissions*

  • Windows 7 Open and Save As dialog box gives an "Access Denied" when using common Windows Explorer features.

    On many computers in our environment we have issues in Windows 7 when using the Common Dialog Box.  Within the dialog box we get the error Access Denied whenever we try to create a folder.  If we try to rename a file it doesn't give an error but
    it doesn't work either.  We cannot delete a file, still no error, but we can create shortcut.
    Within Windows Explorer of the same user it has no issues.
    Even if we run an application as administrator it has the same results.
    Example: Open Paint (right click "Run As Administrator"); then File, "Save As", right-click in empty space; then New, Folder.  This caused the error to popup "Unable to create the folder 'New folder'  Access is denied."
    Thanks for your help,
    Daniel

    Hi Daniel,
    How are things going? As the article provided above said, for such kind of issues generally it is caused by permission settings.
    The article provided several possible solution and please let us know if there is anything unclear about the steps. 
    If you have any feedback on our support, please send to [email protected]

  • Getting Server Error Code: -2147024891 when using Biztalk Windows SharePoint Services Adapter to upload a document

    We are currently running
    1. BizTalk Server 2013 R2
    2. SharePoint 2013
    both in a Windows 2012 Server environment, in Azure.   The BizTalk and SharePoint are running on separate machines.
    I am using the Windows SharePoint Adapter to upload a Tif file to a SharePoint document library.  However, when the host instance is running under my team member's userid, I get the following error in the eventlog:
    The adapter failed to transmit message going to send port "SendOwnershipToSharePoint" with URL "wss://bp1amsapt218:34392/sites/BiztalkSc/Lists/Ownership". It will be retransmitted after the retry interval specified for this Send Port.
    Details:"[Microsoft.SharePoint.Client.ServerUnauthorizedAccessException] Access denied. You do not have permission to perform this action or access this resource. Server Error Code: -2147024891Trace:    at Microsoft.SharePoint.Client.ClientRequest.ProcessResponseStream(Stream
    responseStream)
       at Microsoft.SharePoint.Client.ClientRequest.ProcessResponse()
       at Microsoft.SharePoint.Client.ClientRequest.ExecuteQueryToServer(ChunkStringBuilder sb)
       at Microsoft.SharePoint.Client.ClientRequest.ExecuteQuery()
       at Microsoft.SharePoint.Client.ClientRuntimeContext.ExecuteQuery()
       at Microsoft.SharePoint.Client.ClientContext.ExecuteQuery()
       at Microsoft.SharePoint.Client.Web.WebUrlFromPageUrlDirect(ClientContext context, Uri pageFullUrl)
       at Microsoft.BizTalk.KwTpm.WssAdapter.ClientOmAccessor.RequestInfo..ctor(String siteUrl, String sharePointOnlineUsername, String sharePointOnlinePassword)
       at Microsoft.BizTalk.KwTpm.WssAdapter.ClientOmAccessor.ListsAccessor..ctor(String siteUrl, String sharePointOnlineUsername, String sharePointOnlinePassword)
       at Microsoft.BizTalk.KwTpm.WssAdapter.ClientOmAccessor.ListsAccessor.TryOpenWebSite(String siteUrl, String sharePointOnlineUsername, String sharePointOnlinePassword, Exception& lastError)
    This error was triggered by the Windows SharePoint Services receive location or send port with URI wss://bp1amsapt218:34392/sites/BiztalkSc/Lists/Ownership.
    Windows SharePoint Services adapter event ID: 12310".
    This userid has already been added to the following groups on the BizTalk Server:
    Local Administrators Group
    BizTalk Server Administrators
    SSO Administrators
    BizTalk Isolated Host Users
    BizTalk Application Users
    I have also made sure the userid has full control access to the SharePoint site and the document library within the site.   I have confirmed that the user with this userid is able to access the SharePoint site and can upload documents to the
    document library, manually.   However,  when the host instance is running under this userid, I am not able to upload documents to the SharePoint document library.
    The Windows SharePoint Services Adapter is configured with the following values:
    Adapter Web Service Port:   34392
    Timeout:   100000
    Use Client OM: Yes
    Destination Folder URL:  Lists/Ownership
    FileName:  test.tif
    Overwrite:  Yes
    SharePoint Site URL: 
    http://bp1amsapt218:34392/sites/BiztalkSc/
    Microsoft Office Integration:  No
    Do you know what the cause for this error is?   We urgently need a resolution for this?

    If you create an XML document and upload it to the Windows SharePoint Services Web site. The Windows SharePoint Services adapter will take that message, archive it in the Archive document library, and then send it to the Destination document library. This
    procedure demonstrates how a document flows from a Sharepoint web site, through BizTalk Server, and to a Sharepoint Services Web site using the Windows Sharepoint Services adapter.
    This MSDN library article shows the procedure, please check whether it will be helpful to troubleshoot.
    Create a working directory
    Create an XML file
    Upload the XML file
    See: https://msdn.microsoft.com/en-us/library/aa560513.aspx

  • Have problem when using EXECUTE IMMEDIATE.

    Hi, i'm new here... i having problem when trying to use execute immediate statement... :(
    procedure code as below:
    create procedure copy_row(
    p_table varchar2,
    p_key varchar2,
    p_keyval varchar2,
    p_user varchar2,
    p_frmto varchar2 default 'FROM')
    IS
    V_SQL VARCHAR2(500);
    BEGIN
    if upper(p_frmto)='FROM' then
    V_SQL:='INSERT INTO '||P_TABLE||
    ' SELECT * FROM '||P_USER||'.'||P_TABLE||' WHERE '||P_KEY||' = '''||P_KEYVAL||'''';
    elsif upper(p_frmto)='TO' then
    V_SQL:='INSERT INTO '||P_USER||'.'||P_TABLE||
    ' SELECT * FROM '||P_TABLE||' WHERE '||P_KEY||' = '''||P_KEYVAL||'''';
    end if;
    EXECUTE IMMEDIATE V_SQL;
    exception
    when others then
    raise_application_error(-20000,'PROCEDURE: COPY_ROW - UNABLE TO COPY ROWS! SQL='||V_SQL,TRUE);
    end;
    is there any limitation on using EXECUTE IMMEDIATE command? i need to use procedure because i'm using old form builder.... but the database server was 9i which able to use this command, so... i decide to use procedure....
    i've done some testing on this.... assume the structure of schema1.table1 and schema2.table1 are same....
    SQL> CREATE PROCEDURE TESTING IS
    2 BEGIN
    3 exeCute IMMEDIATE 'INSERT INTO schema1.table1 SELECT * FROM schema2.table1 WHERE column1 = ''abc''';
    4 END;
    5 /
    Procedure created.
    SQL> BEGIN
    2 TESTING;
    3 END;
    4 /
    BEGIN
    ERROR at line 1:
    ORA-00942: table or view does not exist
    ORA-06512: at "SCHEMA1.TESTING", line 3
    ORA-06512: at line 2
    any idea?? or have better solution other than this?
    database server:9i
    sqlplus:SQL*Plus: Release 8.0.6.0.0

    Do you have an access to tables you are going to insert into / select from ?
    Dynamic SQL checks the access permissions at runtime, not at the compilation stage:
    SQL> create user master identified by master default tablespace users temporary
      2  tablespace temp;
    User created.
    SQL> alter user master quota unlimited on users;
    User altered.
    SQL> grant create session to master;
    Grant succeeded.
    SQL> grant create table to master;
    Grant succeeded.
    SQL> grant create procedure to master;
    Grant succeeded.
    SQL> conn master/master
    Connected.
    SQL> create procedure wrong_prc
      2  is
      3  begin
      4   execute immediate 'insert into master.t select * from scott.t';
      5  end;
      6  /
    Procedure created.
    SQL> create table t (id number);
    Table created.
    SQL> exec wrong_prc;
    BEGIN wrong_prc; END;
    ERROR at line 1:
    ORA-00942: table or view does not exist
    ORA-06512: at "MASTER.WRONG_PRC", line 4
    ORA-06512: at line 1
    SQL> conn scott/tiger
    Connected.
    SQL> grant select on t to master;
    Grant succeeded.
    SQL> conn master/master
    Connected.
    SQL> exec wrong_prc;
    PL/SQL procedure successfully completed.
    SQL> select * from t;
            ID
             1And don't use literals in dynamic SQL - you should use binding variables instead.
    Rgds.

  • Invalid SQL Statement when using execute for running Procedures

    Hi ,
    I create a simple stored procedure , it was created successfully , when i tried to run the StoredProcedure , it is giving me
    exec myStoredProcedure() ;
    please tell me why this is coming .

    hi
    i am using oracle 10g with asp.net
    i have created a procedure and it executed successfully, when i executed with exce <storedproc>
    but when i call up this procedure with .net it is giving an error like this..
    ERROR [42000] [Oracle][ODBC][Ora]ORA-00900: invalid SQL statement
    any one pls suggest me how to resolve this issue
    here is my stored procedure
    create or replace
    procedure sp_AddTrial (parStudyName VARCHAR2,     parContactName VARCHAR2,     parContactNumber varchar2,     parDescription varchar2,     parFactorName in varchar2, parTreatmentName in varchar2) is
    Pos int;
    Pos1 int;
    parName varchar2(50);
    parTName varchar(30);
    parFactorNames varchar2(500);
    parTreatments varchar2(500);
    parWeight int;
    parValue varchar2(20);
    parValue1 varchar2(20);
    parValue2 varchar2(20);
    parValue3 varchar2(20);
    begin
    parFactorNames :=parFactorName;
    parTreatments :=partreatmentname;
         insert into mivrs_studyinfo(
    study_id,
    study_name,
    contact_name,
         phone_number,
    description,
    created_date,
    modified_date
    values
    mivrs_studyinfo_seq.NEXTVAL,
    parStudyName,
    parContactName,
    parContactNumber,
    parDescription,
    sysdate,
    sysdate
    if parTreatments is not null then
    parTreatments := Concat(TRIM(parTreatments),',');
    Pos1 := INSTR(parTreatments,',');
    insert into temp values(1,'test');
    IF length(parTreatments)!= 0 then
              WHILE Pos1 > 0
    loop
    insert into temp values(2,Pos1);
                   parTName := TRIM(SUBSTR(parTreatments,0, Pos1 - 1));
    parTreatments := SUBSTR(parTreatments,Pos1 + 1);
                   Pos1 := INSTR(parTreatments,',', 1);
    parWeight := TRIM(SUBSTR(parTreatments,0, Pos1 - 1));
    IF length(parTName) != 0 then
    insert into mivrs_treatments (treatment_id, treatment_name, weight, study_id, created_date, modified_date) values (mivrs_treatments_seq.NEXTVAL, parTName, parWeight, mivrs_studyinfo_seq.CURRVAL,sysdate, sysdate);
    end if;
                   parTreatments := SUBSTR(parTreatments, Pos1+1);
                   Pos1 := INSTR(parTreatments,',');
              END loop;
         END IF;
    end if;
    if parFactorNames is not null then
    parFactorNames := Concat(TRIM(parFactorNames),',');
    Pos := INSTR(parFactorNames,',');
    IF length(parFactorNames)!= 0 then
              WHILE Pos > 0
    loop
                   parName := TRIM(SUBSTR(parFactorNames,0, Pos - 1));
    parFactorNames := SUBSTR(parFactorNames,Pos + 1);
                   Pos := INSTR(parFactorNames,',', 1);
    parValue := TRIM(SUBSTR(parFactorNames,0, Pos - 1));
    parFactorNames := SUBSTR(parFactorNames,Pos + 1);
                   Pos := INSTR(parFactorNames,',', 1);
    parValue1 := TRIM(SUBSTR(parFactorNames,0, Pos - 1));
    parFactorNames := SUBSTR(parFactorNames,Pos + 1);
                   Pos := INSTR(parFactorNames,',', 1);
    parValue2 := TRIM(SUBSTR(parFactorNames,0, Pos - 1));
    parFactorNames := SUBSTR(parFactorNames,Pos + 1);
                   Pos := INSTR(parFactorNames,',', 1);
    parValue3 := TRIM(SUBSTR(parFactorNames,0, Pos - 1));
    IF length(parName) != 0 then
    insert into mivrs_stratificationfactors (factor_id, factor_name, study_id, value1,value2,value3,value4) values (mivrs_stratfactors_seq.NEXTVAL, parName, mivrs_studyinfo_seq.CURRVAL,parValue,parValue1,parValue2,parValue3);
    end if;
                   parFactorNames := SUBSTR(parFactorNames, Pos+1);
                   Pos := INSTR(parFactorNames,',');
              END loop;
         END IF;
    end if;
    end;
    thank u
    Sowjanya

Maybe you are looking for