PLS-00923: native compilation failed: Visual Studio not

hi,
I'm using oracle 10g version 10.2.0.1 running on windows xp pro service pack 3. I'm trying to switch from interpreted to native compilation, and here are the parameters I've set:
plsql_native_library_dir = D:\oracle\product\10.2.0\db_1\plsql
plsql_code_type = NATIVE
plsql_native_library_subdir_count = 0
plsql_compiler_flags = NATIVE, NON_DEBUG
Now I'm trying to run the following statements:
ALTER SESSION SET plsql_code_type = 'NATIVE';
CREATE OR REPLACE PROCEDURE test_speed AS
v_number NUMBER;
BEGIN
FOR i IN 1 .. 1000000 LOOP
v_number := i / 1000;
END LOOP;
END;
SET TIMING ON
SQL> EXEC test_speed;
BEGIN test_speed; END;
ERROR at line 1:
ORA-06550: line 1, column 7:
PLS-00905: object SYS.TEST_SPEED is invalid
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
Elapsed: 00:00:00.03
SQL> show err
Errors for PROCEDURE TEST_SPEED:
LINE/COL ERROR
0/0 PLS-00923: native compilation failed: Visual Studio not
found::Could not open registry key
HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\VISUALSTUDIO\7.1\SETUP:No
error
I have search for the error in google but I can't find anything useful. What do I need to set-up/change to achieve my goals.
Thanks and God bless,
Chris

hi,
I'm using oracle 10g version 10.2.0.1 running on windows xp pro service pack 3. I'm trying to switch from interpreted to native compilation, and here are the parameters I've set:
plsql_native_library_dir = D:\oracle\product\10.2.0\db_1\plsql
plsql_code_type = NATIVE
plsql_native_library_subdir_count = 0
plsql_compiler_flags = NATIVE, NON_DEBUG
Now I'm trying to run the following statements:
ALTER SESSION SET plsql_code_type = 'NATIVE';
CREATE OR REPLACE PROCEDURE test_speed AS
v_number NUMBER;
BEGIN
FOR i IN 1 .. 1000000 LOOP
v_number := i / 1000;
END LOOP;
END;
SET TIMING ON
SQL> EXEC test_speed;
BEGIN test_speed; END;
ERROR at line 1:
ORA-06550: line 1, column 7:
PLS-00905: object SYS.TEST_SPEED is invalid
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
Elapsed: 00:00:00.03
SQL> show err
Errors for PROCEDURE TEST_SPEED:
LINE/COL ERROR
0/0 PLS-00923: native compilation failed: Visual Studio not
found::Could not open registry key
HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\VISUALSTUDIO\7.1\SETUP:No
error
I have search for the error in google but I can't find anything useful. What do I need to set-up/change to achieve my goals.
Thanks and God bless,
Chris

Similar Messages

  • PLS-00923: native compilation failed: make:spdtexmk:

    Hello,
    I am using Oracle 92 on Windows Platform.
    I am trying to change Interpreter to NATIVE mode.
    I changed parameters as needed. Below are the parameters I have after change.
    SQL> show parameter plsql_compiler_flags
    NAME TYPE VALUE
    plsql_compiler_flags string NATIVE
    SQL> show parameter native
    NAME TYPE VALUE
    plsql_native_c_compiler string D:\Borland\BCC55\Bin\BCC32.EXE
    plsql_native_library_dir string D:\oracle\ora92\plsql\Lib
    plsql_native_library_subdir_count integer 500
    plsql_native_linker string D:\Borland\BCC55\Bin\ilink32.exe
    plsql_native_make_file_name string D:\oracle\ora92\plsql\spnc_makefile.mk
    plsql_native_make_utility string make
    I am using Borland C.
    I changed a bit in mk file. But when I compile a simpe SP, I am getting PLS-00923: native compilation failed: make:spdtexmk: error.
    I guess it could be compile error, So is there any one has a sample make file for borland C on windows platform!! That might helps me!!!

    Hi,
    i tried everythind to get to runs this under windows 2000
    but nothing worked,
    the question is, if it's supported
    doese anybody knoe here?
    With linux it worked in 5 minutes of configuration;
    The advantage is that always a c compiler is on board
    Carl

  • MySQL 5.5, Crystal Report for Visual Studio not working when hosted IIS

    Software and Component detail
    Microsoft visual studio 2010
    MS .NET Framework
    Version 4.0.30319 RTMRel
    MYSQL SERVER Database
    Version 5.5
    MySQL Connector 6.6.4 64 Bit
    MySQL ODBC Driver Version 5.2.a
    Crystal Report for Visusl Studio 64 Bit 13.0.5
    (CRforVS_redist_install_64bit_13_0_5)
    Current Setup
    1. I have WebSite in ASP.NET Visual Basic which works fine and is connected to MySQL Database, using MySQl Connector 6.6.4 64 bit
    and is using a connection string,defined in web.confg.
    2. I am using a Crystal report( It is very complex report, so cannot dare to redo it). Data Source for the report is set using a connection string
    DRIVER={MySQL ODBC 5.2a Driver};SERVER=Licensedb;DATABASE=License;pwd=root;PORT=3306;OPTION=3 and this report is called from website using the below code
    Dim crystalReport As ReportDocument = New ReportDocument()
    Dim repPath As String = Server.MapPath("~/Reports/") + "LicenseReport.rpt"
    crystalReport.Load(repPath)
    CrystalReportViewer1.ReportSource = crystalReport
    crystalReport.SetParameterValue("InstanceID", CInt(Session("sessionInstanceID")))
    crystalReport.Refresh()
    crystalReport.SetParameterValue("InstanceID", CInt(Session("sessionInstanceID")))
    CrystalReportViewer1.Visible = True
    3. The above setup works fine, when I run the website from Visual studio 2010. But when i use IIS 7, the aspx page having crystal report viewer control load and its blank.
    However it work very well from studio it self.
    4. So I changed the setup in point 2, by having a ODBC Data source defined. And changed the report accordingly. It work fine in Visual studio , but from IIS
    it gives error "Failed to Open Connection, Failed to Open Connection <Crystal Report File name.rpt>"
    5. I tried creating a System DSN and same connection string in IIS Application Connection string. But nothing changed.
    Please can anyone point in correct direction. I must admit this is my first website development work, so I might have overlooked some minor details.
    Any help would be much appreciated.
    Thanks
    Dilpreet ([email protected])

    hello again. I fear that what is said in that article does not apply to my particular case.
    First of all i am using the Crystal Report Basic 2008, which I think is not the same product as Crystal Reports 2008.
    In addition, printing fails always, on my PC and on the web server.
    On the other hand I can not find anywhere printcontrol.cab file or printcontrol.dll, just do not exist either in my PC or on the web server.
    The folder where the report viewer is located is not CrystalReportViewers12, is CrystalReportWebFormViewer4, and is located at wwwroot\aspnet_client\system_web\2_0_50727\
    Investigating I found something, but has not helped me:
    [http://social.msdn.microsoft.com/forums/en-US/vscrystalreports/thread/0af08d25-dd71-41ce-92fa-ca374f933eaa/]
    This problem is what always happens to me when on my local PC I access my web server by its public IP.
    I think I must resign myself to use only the PDF print
    thanks anyway

  • Visual Studio not working with OneDrive

    I'm having a problem with Visual Studio 2013. I am working entirely out of my 'OneDrive for Business' directory on my computer. When I work with a project that is located in that directory, I constantly receive the error: "This project has been modified
    outside of Visual Studio and needs to be reloaded."
    I will be typing away in the code editor, or doing other things inside Visual Studio and that error message pops up. Sometimes every few seconds and there is nothing I can do to stop it from appearing. I am unable to accomplish anything because I constantly
    have to stop and click the button to reload the project.
    I am the only person using my OneDrive as this is a personal business. No one is accessing my files from another computer. I've also changed my password for OneDrive to ensure I was the only person accessing the files.
    I'm trying to figure out why I keep receiving this error message from Visual Studio and how I can get it to stop, so I can get back to working on my projects.
    I have all of the Microsoft Office programs, and work with Word 2013, Excel 2013, PowerPoint 2013, and Access 2013 on a daily basis. All of which are located in my 'OneDrive for Business' directory. None of these applications give me an error. It only happens
    with Visual Studio 2013.

    Hi Kensino,
    It seems that I said  too early. Currently I got the same issue with you at random times even though I just clicked on Visual Studio Code Editor. This is an issue which needs to be researched. I did not find any ways to resolve this issue,
    would you please create a connect report for it to get the issue confirmed and diagnose by Microsoft product team?http://connect.microsoft.com/VisualStudio/feedback/CreateFeedback.aspx.
    If you submit it, you will get email notification for update. After submitting it, you could share us the link here, so we could know the latest information from the Product team expert.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Display of Visual Studio not refreshing?

    I just downloaded and installed Visual Studio 2013 Professional (for free as a student from dreamspark.com). I tried starting it through the first time through Unity, and the first login window did not refresh properly after I logged in. I was able
    to navigate pact it, by dragging the window back and forth across my two monitors to force the contents to refresh.
    When I open VS2013 from Unity or on its own, it doesn't show all of the window's contents. It is as if it is not refreshing the view. I can force it to refresh parts of the window by resizing it, etc, but with this behavior, it is unusable. Has anyone encountered
    a problem like this, or have an idea for a fix?
    Thank you!

    Visual Studio 2013 Tools for Unity
    Also may want to read below link first.
    Working with Unity3D and Visual Studio 2013
    La vida loca

  • How to Merge C/C++ Compile in Visual Studio 2008?

    in the name of allah
    hi everyone
    i work on a project that contains the C and C++ Codes together.
    the project source is in visual sutdio2008 and when i add the C++ files and codes side of C Files, the projects errors like below.
    i need the both , please help me.
    i don't <b>#include <windows.h></b>
    i even use
    <pre lang="c++">
    #ifdef _windows_
    #undef _windows_
    #endif</pre>
    <b>C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\atlmfc\include\afxv_w32.h(20) : fatal error C1189: #error :  WINDOWS.H already included.  MFC apps must not #include <windows.h></b>
    is it cause of #include <afxwin.h>?
    i use the some codes and functions that need the afxwin.h.
    the properties of project is : /MD use standard library
    and i tried the /MT and shared dll library.
    whats the problem?
    thank you

    You can add the
    /showincludes option to see who is including what and figure out who is already including it.

  • Manual Kernel Compilation fails with "Error: not a valid kernel..."

    I wanted to try out the Zen kernel to compile my own custom kernel. The basic steps that I did were:
    1. $ make localmodconfig
    2. $ make -j3
    3. # make modules_install
    4. # cp -v ~/<build directory>/arch/x86_64/boot/bzImage /boot/vmlinuz-linux-zen-3.1.4.img
    5. # mkinitcpio -k vmlinuz-linux-zen-3.1.4 -g /boot/initramfs-linux-zen-3.1.4
    and I get the error:
    ==> ERROR: '/lib/modules/vmlinuz-linux-zen-3.1.4' is not a valid kernel module directory
    Inside of /lib/modules I have a new files called "3.1.4-zen-ARCH-g30db333 (and the original files that were there from the stock kernel).
    Inside of /boot/ I have the stock image and the stock initram as well as "vmlinuz-linux-zen-3.1.4.img"
    Which step am I missing? Also, I was thinking it was possible to NOT use an initram if I just compiled the ext2 and ext4 (root is ext4) into the kernel instead of building them as modules. Is my thinking correct? Also, if anyone needs a reason why I'm using the zen sources instead of the nice Liquorix binary, the answer is simply that I wanted to mess around with it to satisfy my curiosity. Thanks.

    As per the man page:
    -k kernelversion
    Use kernelversion, instead of the current running kernel. This may be a path to a kernel image or a
    specific kernel version. If specified as a path to an image, this will always be prefixed by the basedir.
    You've picked... neither? I guess you want "/boot/vmlinuz-linux-zen-3.1.4.img" or "3.1.4-zen-ARCH-g30db333".
    Compiling the filesystem module into the kernel alone is not sufficient to avoid using an initramfs. You also need, at a minimum, drivers for the disk controller and a block device driver.
    Last edited by falconindy (2011-12-08 04:43:21)

  • Compiling with Visual Studio ( connection to Database )

    what is the simplest way to create a new project that I can compile one of Sample source code for connection to database
    (i.e. either Proc or OCI)
    Appriciated your help

    Hello,
    Please provide details such as how are you connecting/working with data, what database is being used and any other details that can provide insight into the issue at hand.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my webpage under my profile but do not reply to forum questions.

  • Table created in visual studio not shown in portal

    i created a table in vs2013 for my azure sql database.
    the update completed successfully so the new table must be up there somewhere, 
    but when i go to the portal, it is not shown.
    why?

    Hi,
    Based on your description, you have seen the database update has been completed successfully from data tool operations, as far as I know, it means that your azure sql database has been updated, and the table you created must exist in azure portal,
    I tried on my side, everything worked as except, please check your azure sql connection, and clean cookies and sessions, then open azure sql management portal again.
    Best Regards,
    Jambor
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Native Compiling error

    We are getting the following error when trying to compile a procedure as NATIVE:
    PLS-00923: native compilation failed: make:spdtexmk:?
    We set the following parameters:
    plsql_native_make_utility     /usr/bin/make
    plsql_native_make_file_name /local/bin/oracle/9.2/plsql/spnc_makefile.mk
    plsql_native_library_dir /local/bin/oracle/9.2/plsql/lib/
    and plsql_compiler_flags=native
    The make utility can be envoked and all utilities used in spnc_makefile.mk (ld, nm, cc) can be envoked as well.
    All directories exist.
    We are running 9.2.0.5 64bit on AIX5.2
    Anyone?

    The basic problem is that Borland C and VC++ define some things differently, and the header files are geared to VC++.
    The way I got around this is to make some adjustments to my C code to impose the Borland definitions in place of the VC++ definitions. I do this creating a .h file that
    o Includes my definitions.
    o Includes jni.h
    I then #include my .h file instead of directly including jni.h. That way, I don't need to change jni.h or jni.md.h
    Here is roughly what it looks like. (Can't give you the exact code - the files are proprietary and include a lot not-relevant stuff.)
    If you run into troubles with some files compiling, and some not, then I suggest you move some of the macro redefinitions to a .cpp file, and just # include that into your own .cpp file.
    (file shell.h)
    #ifndef ShellH
    #define ShellH
    // This file is used to make Borland-specific settings.
    // Normal kinds of stuff.
    #define WIN32
    #define HAS_BOOL
    // Suppress dll code.
    #ifdef jdecl
    #undef jdecl
    #endif
    #define jdecl
    // Borland has seen fit to specially-define toString();
    #ifdef toString
    #undef toString
    #endif
    #define toString jToString
    // Define functions and constants per Borland (vs Microsoft).
    #define _chdir chdir
    #define _cwd cwd
    //#define _getcwd getcwd
    #define _getpid getpid
    //#define _stat stat
    #define SHDENYWR SH_DENYWR
    #include "jni.h"
    #endif

  • Version of jvm.dll compatible with 64-bit development on Visual Studio 2013?

    Hi.  I am building a 64-bit C++ application under Visual Studio 2013. I am using jvm.dll to call Java methods from within the application.  The issue is that the version of jvm.dll that is distributed with Java 7 and Java 8 are compiled with Visual Studio 2010 (and thus rely on the msvcr100.dll runtime library).  This makes it very dangerous to use with a Visual Studio 2013 application which uses msvcr120.dll (mixing runtime libraries is a very big no-no).  I am seeing random memory errors as a result, at the JNI interface level.
    Is there any way to get a version of jvm.dll that is compiled with Visual Studio 2013 and is thus dependent on msvcr120.dll?
    Thanks,
    Dan

    Hello,
    As per your description, remote deployment is not possible for server side code in sharepoint so if you are using server object model then you won't be able to debug or deploy your solution from visual studio.
    VS is not required to installed on UAT/prod server but you need sharepoint along with visual studio in same development machine to develop any custom webpart.
    Once you deploy your custom webpart on site then you will be able to see that webpart in webpart gallery and that gallery is also available in designer so it means you can also add your custom webpart from designer to any page.
    Correct me if i misunderstood you
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • OCI 9.2 libraries with Visual studio 2005

    I have a project which uses OCI version 9.2 to connect to the database. We are planning on upgrading the compiler from Visual Studio 2003 to Visual Studio 2005. Can we still use the same libraries or do we need new library versions compatible with the new compiler. If yes, where can I access the new libraries.
    TIA
    Bharat

    I've gotten OCI programs written in C using vs.net 2005 to work with Oracle 9i.
    However, a library written in C using vs.net 2005 fails to work from a C# 2005 program. It causes a C runtime failure. I have no idea why.
    But the same C library and C# program using vs.net 2003 works (ie. can successuflly connect to Oracle).

  • Training in Visual Studio 2013

    Hi. I like Visual Studio 2013. It has quick user input and provides for quick debugging cues. I would like to know if the VB project application/s can be set up to maintain the Old VB 2010 properties or coding environment? I am taking an introduction to
    programming course and it relies heavily on VB 2010.

    Hello,
    If you are implying using two different versions of Visual Studio 2010 and 2013 you will find small things that may prove to be frustrating and most likely be a bad idea with you being new to Visual Studio.
    The SUO file is different for one which is generated by Visual Studio not to be manipulated by users. Take a 2010 project to 2013 Visual Studio will prompt you to upgrade, there is no downgrade.
    Best to use the same version on both computers for the time being
    Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem.

  • Native Compiled PL/SQL on WindowsXP (Visual Studio)

    Has anyone tried to native compile PL/SQL packages on Windows XP using Visual Studio?
    Please give me your values for PLSQL* initialization parameters and a makefile that works.
    /Hakan

    Hi,
    Sorry to bump this thread, but I would like to validate something.
    Is it possible, or does it make sens, to have a database that has both native and interpreted?
    Our PLSQL_CODE_TYPE is set to interpreted but everthing else is configured for native.
    When i do the bellow query:
    select type, plsql_code_type, count(*)
    from dba_plsql_object_settings
    where plsql_code_type is not null
    group by type, plsql_code_type
    order by type, plsql_code_type
    We have bunch of functions in native/interpreted, same thing for package, package body, procedure, trigger, type, type body.
    Thank you,
    Felix

  • Publish cloud service fails from Visual Studio 2013 Update 4: Published Asset Entry for Image Microsoft.Azure.Diagnostics_PaaSDiagnostics_europeall_manifest.xml not found.

    I have a cloud service project with two roles (service and worker). In Visual Studio 2013 Update 4 when I choose "Publish..." from the "Solution Explorer",  it opens "Microsoft Azure Activity Log" and quickly terminates.
    Here the log:
    9:43:47 AM - Applying Diagnostics extension.
    9:44:09 AM - Published Asset Entry for Image Microsoft.Azure.Diagnostics_PaaSDiagnostics_europeall_manifest.xml not found.
    All works fine when uploading the package and updating from https://manage.windowsazure.com/. It only fails from within Visual Studio.
    What can I do to get it working?

    I have the same problem with our Azure project. Two web roles (service and worker). Just updated from SDK2.2 to SDK2.5 and Visual Studio 2013 Update 2 to Update 4. The main reason behind this was to move from log4net to WAD and in doing so, of course directly
    move to the new diagnostics version.
    Now, I get the same error message in Visual Studio:
    11:45:24 - Checking for Remote Desktop certificate...
    11:45:25 - Applying Diagnostics extension.
    11:45:45 - Published Asset Entry for Image Microsoft.Azure.Diagnostics_PaaSDiagnostics_europeall_manifest.xml not found.
    With my small testing project - also two roles (service and worker) - everything is fine. However, I'm looking for a solution to make by existing production service working.
    Also the test project shows no Microsoft.Azure.Diagnostics_PaaSDiagnostics_europeall_manifest.xml,
    but this is no problem - so what's the meaning of or solution to this error messages?
    What I found so far:
    I deployed the Azure project from the same development environment to another Azure test service: Deployment
    showed no errors and the service is running fine! So the problem is not with the source, the development environment, library dependencies etc.
    Trying Azure cmdlets for PowerShell also work fine for the new service and fails for the production service with almost the same error message:
    Following http://blogs.msdn.com/b/kwill/archive/2014/12/02/windows-azure-diagnostics-upgrading-from-azure-sdk-2-4-to-azure-sdk-2-5.aspx
    I tried:
    PS C:\> Set-AzureServiceDiagnosticsExtension -StorageContext $storageContext -DiagnosticsConfigurationPath $public_config -ServiceName $service_name -Slot 'Staging' -Role $role_name
    VERBOSE: Setting PaaSDiagnostics configuration for MyWebRole.
    Set-AzureServiceDiagnosticsExtension : BadRequest : Published Asset Entry for Image
    Microsoft.Azure.Diagnostics_PaaSDiagnostics_europeall_manifest.xml not found.
    At line:1 char:1
    + Set-AzureServiceDiagnosticsExtension -StorageContext $storageContext -Diagnostic ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [Set-AzureServiceDiagnosticsExtension], CloudException
        + FullyQualifiedErrorId : Microsoft.WindowsAzure.CloudException,Microsoft.WindowsAzure.Commands.ServiceManagement.
       Extensions.SetAzureServiceDiagnosticsExtensionCommand
    The problem seems to be related to those service configuration parts in the cloud which are not replaced
    by a new deployment... So what are possible reasons or fixes for this behaviour?
    Best regards,
     Andreas

Maybe you are looking for

  • Connecting with mysql database

    in order to place the component in the JFrame. we need to take the location (cooridinates values) of the component from the available mysql database. how to connect the database field values with our java program??? give me some suggestion pls.....

  • Unstable Intel(R) HD Graphics driver file

    Blue screen crashes caused by unstable driver file. (igdpmd64.sys) in Screen Display drivers. Caused multible crashes, until I disabled Intel(R) HD Graphics Family. Now Windows wants to keep shutting down the other graphics driver (which is a low res

  • Junk letters in foldernames

    Hi I use the default apache in OSX server 10.4.9. I have a ImageFolio4 installation that uses nothing but CGI-Perl, everything works fine except one thing, ImageFolio creates folders that are named by the user from within the webapp, but does not let

  • Filming with iPhone4, Filming with iPhone4

    Hello, Is it possible to film a video with iphone 4 and make it look like an 8 mm low resolution film? As in grainy and with colour washed out?? Thankyou, Peter

  • Trouble with 30gb

    When I plug my unit into my computer via the usb all I get is the spinning wheel and the please wait battery very low message. However, when it is plugged into the wall it shows the charging icon and becomes operational (meaning I can use it as norma