Compilation Error for userdisp.aspx page

Any ideas what would cause this?
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS1069: The type name 'UserProfileManager' could not be found in the namespace 'Microsoft.Office.Server.UserProfiles'. This type has been forwarded to assembly 'Microsoft.Office.Server.UserProfiles, Version=15.0.0.0,
Culture=neutral, PublicKeyToken=71e9bce111e9429c' Consider adding a reference to that assembly.
Source Error:
Line 18: {
Line 19: Microsoft.Office.Server.ServerContext cntx = Microsoft.Office.Server.ServerContext.GetContext(HttpContext.Current);
Line 20: Microsoft.Office.Server.UserProfiles.UserProfileManager profileManager = new Microsoft.Office.Server.UserProfiles.UserProfileManager(cntx);
Line 21: bool userExists = profileManager.UserExists(this.UserListForm.Item["Account"].ToString());
Line 22:
Paul Riker

Hi Paul,
Glad that you resolved the issue and thanks for sharing, this would be helpful to others who have the similar issue in the future.
Thanks,
Daniel Yang
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Daniel Yang
TechNet Community Support

Similar Messages

  • Error in saving .aspx pages after editing the XSLT

    Hi,
    I am developing a SharePoint 2010 web app and I had to do some modifications for a .aspx page which has a data form web part and I am encountering following issues:
    1. After selecting the web part, when trying to modify the filter criteria of the data source, the "group" and "ungroup" buttons are seen as disabled and the option of editing in the XSLT editor is also not visible.
    2. after editing the XSLT, knowing that there are no issues if I try to save it an is showed saying null value issue and asking whether to allow scripts to run in this page r not. After choosing either yes or no, when I try to preview it in browser I get
    an error in the place where I have the data form web part saying error with web part try to edit it in SharePoint editor such as SharePoint designer.
    3. this is happening only i try to edit the code but no matter how many copies I get from the original page, they are correctly previewed in the browser unless I try to edit it.
    your kind support or suggestions are highly appreciated as I am unable to fix this
    thanks.

    Data you are changing is on the frontend. You need to pass data to backend (server). The static method 'dispatch' of control framework class (CL_GUI_CFW) is used to do this 'manual' synchronization. It is sort of helper method of control framework (which is basis for ALV controls) and is independent of ALV controls (cl_gui_alv_grid etc.) that are used.
    Try putting this code as suggested and check.
    short code would be (without error handling)
    CL_GUI_CFW=>DISPATCH( ).
    null

  • Compilation Error for import classes not found in generated Proxy Class

    Hi,
    We are generating java classes for the COM dll using JCOM com2java compiler.
    We are getting a compilation error for import class not found when compiling the
    generated Proxy java source code. It can't find the com.bea.jcom.Dispatch class that
    the generated Proxy java source code extends. It also can't find com.bea.jcom.Variant
    or com.bea.jcom.Param. These are interfaces or data types or classes used by COM
    library.
    I added weblogic.jar to my class path and the only Dispatch class i found inside
    the weblogic.jar is com.linar.jintegra.Dispatch;
    We have com objects for which we want to develop an EJB client to interface with
    the COM object using JCOM with Native Mode disabled.
    Any help on the compilation error..I tried changing the extends for Dispatch to com.linar.jintegra.Dispatch
    but the other errors are still there.
    To begin with, I think the generated code should not refer to any of the COM data
    types.
    Any help please.
    Thank you in advance,
    Regards,
    Rahul Srivastava
    [email protected]

    Hi,
    I resolved the other errors by changing all references from com.bea.jcom.Variant
    etc to com.linar.jintegra.class name..all were present under the com.linar.jintegra
    package.
    Thank you all anyways,
    Regards,
    rahul
    "Rahul Srivastava" <[email protected]> wrote:
    >
    Hi,
    We are generating java classes for the COM dll using JCOM com2java compiler.
    We are getting a compilation error for import class not found when compiling
    the
    generated Proxy java source code. It can't find the com.bea.jcom.Dispatch
    class that
    the generated Proxy java source code extends. It also can't find com.bea.jcom.Variant
    or com.bea.jcom.Param. These are interfaces or data types or classes used
    by COM
    library.
    I added weblogic.jar to my class path and the only Dispatch class i found
    inside
    the weblogic.jar is com.linar.jintegra.Dispatch;
    We have com objects for which we want to develop an EJB client to interface
    with
    the COM object using JCOM with Native Mode disabled.
    Any help on the compilation error..I tried changing the extends for Dispatch
    to com.linar.jintegra.Dispatch
    but the other errors are still there.
    To begin with, I think the generated code should not refer to any of the
    COM data
    types.
    Any help please.
    Thank you in advance,
    Regards,
    Rahul Srivastava
    [email protected]

  • [svn:fx-trunk] 5353: * Added compiler error for Halo Navigators containing non-Containers

    Revision: 5353
    Author: [email protected]
    Date: 2009-03-17 12:59:06 -0700 (Tue, 17 Mar 2009)
    Log Message:
    * Added compiler error for Halo Navigators containing non-Containers
    as their first level child.
    tests Passed: checkintests
    Needs QA: YES
    Needs DOC: NO
    Bug fixes: SDK-19317
    API Change: NO
    Reviewer: Pete F.
    Code-level description of changes:
    compiler/mxml/lang/StandardDefs.java
    Added getContainerPackage(), isHaloNavigator(), CLASS_VIEWSTACK,
    CLASS_ACCORDION, and PACKAGE_MX_CONTAINERS.
    compiler/mxml/builder/ComponentBuilder.java
    Modified
    ComponentBuilder.ComponentAttributeHandler.nestedDeclaration() to
    report an error if a non-container is declared as a child of a
    Halo navigator.
    compiler_en.properties
    Added HaloNavigatorsRequireHaloContainerChildren message.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-19317
    Modified Paths:
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/ComponentBuilder.jav a
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/StandardDefs.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler_en.properties

  • Java compile error for removed API

    Hi,
    What are the Java compile errors for API that has been removed?
    As I understand it, API elements are deprecated and not removed from the API immediately, but will be removed in future releases or after so many years.
    When Java code is compliled in a higher Java version, and the API has finally been removed - what are the errors that will be ouput in the log?
    Thank you for your time.

    WalterLaan wrote:
    And if you recompile one with a method removed that the other use and then run the other you would get a NoSuchMethodError (or more generally just an error sub class of LinkageError).
    Not that you should be catching those unless you accept classes from the user (as plugins).Presumably you mean he should not be catching them?
    @OP: In general, you should not catch unchecked exceptions. These are RuntimeException, Error, and their descendants. There are exceptions, such as at "layer boundaries," or when you don't want errors in one module/application/plugin/etc. to affect or prevent processing in others.

  • [svn:fx-trunk] 10766: Re-commit compiler errors for other theme' s styles feature.

    Revision: 10766
    Author:   [email protected]
    Date:     2009-09-30 15:55:55 -0700 (Wed, 30 Sep 2009)
    Log Message:
    Re-commit compiler errors for other theme's styles feature. If Style metadata has a "themes" attribute, the style is only valid if that theme is applied.
    The Spark theme is applied by default. The halo theme can be specified as a compiler argument or by selecting the "MX Only" component set in Builder.
    All other themes need to be applied using theme+= instead of theme=. If you use theme= you will get warnings about styles used in CSS selectors, and errors if you use any theme-specific style as an attribute on an MXML tag.
    By default, styles that aren't valid for the current theme are errors. These can be changed to warnings with the report-invalid-styles-as-warnings compiler option.
    QE notes: Expect test breakage
    Doc notes: The new policy for themes needs to be documented.
    Bugs: none yet, but I'm sure there will be some...
    Reviewer: Ryan
    Tests run: checkintests, cyclone
    Is noteworthy for integration: Yes
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/framework/defaults.css
        flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ApplicationControlBar.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ControlBar.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Button.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ButtonBar.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/CalendarLayout.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBase.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateChooser.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/RadioButton.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextArea.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ToolTip.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Tree.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/VideoDisplay.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/colorPickerClasses/SwatchPan el.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ScrollControlBase.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/CursorManager.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ToolTipBorder.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/SkinStyles.as
        flex/sdk/trunk/frameworks/projects/halo/defaults.css
        flex/sdk/trunk/frameworks/projects/spark/defaults.css
        flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/SkinnableDataContainerSkin .mxml
        flex/sdk/trunk/frameworks/projects/sparkskins/src/SparkSkinsClasses.as
        flex/sdk/trunk/frameworks/tests/basicTests/BasicTests.css
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/CompilerConfiguration.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/DefaultsConfigurator.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/MxmlConfiguration.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StylesContainer.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/fxg/FXGCompiler.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/ImplementationCompiler.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/InterfaceCompiler.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/MxmlConfiguration.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/ComponentBuilder.jav a
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/AttributeHandler.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/DeclarationHandler.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/Type.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/TypeTable.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/MxmlDocument.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler_en.properties
        flex/sdk/trunk/modules/compiler/src/java/flex2/tools/PreLink.java
    Added Paths:
        flex/sdk/trunk/frameworks/themes/Spark/spark.css
    Removed Paths:
        flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ApplicationBackground.as

    Revision: 10766
    Author:   [email protected]
    Date:     2009-09-30 15:55:55 -0700 (Wed, 30 Sep 2009)
    Log Message:
    Re-commit compiler errors for other theme's styles feature. If Style metadata has a "themes" attribute, the style is only valid if that theme is applied.
    The Spark theme is applied by default. The halo theme can be specified as a compiler argument or by selecting the "MX Only" component set in Builder.
    All other themes need to be applied using theme+= instead of theme=. If you use theme= you will get warnings about styles used in CSS selectors, and errors if you use any theme-specific style as an attribute on an MXML tag.
    By default, styles that aren't valid for the current theme are errors. These can be changed to warnings with the report-invalid-styles-as-warnings compiler option.
    QE notes: Expect test breakage
    Doc notes: The new policy for themes needs to be documented.
    Bugs: none yet, but I'm sure there will be some...
    Reviewer: Ryan
    Tests run: checkintests, cyclone
    Is noteworthy for integration: Yes
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/framework/defaults.css
        flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ApplicationControlBar.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ControlBar.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Button.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ButtonBar.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/CalendarLayout.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBase.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateChooser.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/RadioButton.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextArea.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ToolTip.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Tree.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/VideoDisplay.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/colorPickerClasses/SwatchPan el.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ScrollControlBase.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/CursorManager.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ToolTipBorder.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/SkinStyles.as
        flex/sdk/trunk/frameworks/projects/halo/defaults.css
        flex/sdk/trunk/frameworks/projects/spark/defaults.css
        flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/SkinnableDataContainerSkin .mxml
        flex/sdk/trunk/frameworks/projects/sparkskins/src/SparkSkinsClasses.as
        flex/sdk/trunk/frameworks/tests/basicTests/BasicTests.css
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/CompilerConfiguration.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/DefaultsConfigurator.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/MxmlConfiguration.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StylesContainer.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/fxg/FXGCompiler.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/ImplementationCompiler.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/InterfaceCompiler.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/MxmlConfiguration.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/ComponentBuilder.jav a
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/AttributeHandler.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/DeclarationHandler.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/Type.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/TypeTable.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/MxmlDocument.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler_en.properties
        flex/sdk/trunk/modules/compiler/src/java/flex2/tools/PreLink.java
    Added Paths:
        flex/sdk/trunk/frameworks/themes/Spark/spark.css
    Removed Paths:
        flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ApplicationBackground.as

  • Compilation Error on Launch.aspx after Update from SP2 to SP4

    Hi experts,
    I have installed BPC 5.1 SP 2, SP 3 and also SP 4 on a Testmachine and
    do not have problems with it. On the productive machine at the customer
    HTTPS was not working with SP3 after upgrading, with SP2 HF1 it worked
    fine. (We reinstalled the software until SP2 HF1)
    Now we needed SP4 for a serious Reporting problem and I installed SP4 on
    the system. Now an compilation Error displays after launching the start-page.
    Server Error in /OSoft Application
    Compiler Error Message: BC30456 CodePage is not a member of ASP.launch_aspx
    Source File D:\BPC\WebSrvr\Web\launch.aspx
    Thanks for any help.
    Regards,
    Ralf Issmer

    Hello,
    Unfortunately we had no changes on the web at all. Only one change was neccessary in the Web.config, we need to add culture="en-US" so that the admin components could work correctly. There are also no other applications on this server. I also had a look at the log-File  OSoftSP1Install.log. SP1 in the file name was confusing me actually, but the date and time within the file was from monday afternoon, when I installed the SP4.
    Thank you,
    Ralf Issmer

  • Why does plsql give compilation error for select statement?

    When I run following plsql program, it gives compilation error. Could somebody please point me out what could be wrong here? I am running it from system user.
    create or replace procedure drop_user_proc (iname in varchar2) is
    uname varchar2(100);
    begin
    select username into uname from dba_users where username = upper(iname);
    end drop_user_proc;
    select username from dba_users where username = upper('newuser');
    When I run it, I get following error. dba_users is there that is the reason it works outside plsql block, but it doesn't from inside block.
    SQL> @t4
    Warning: Procedure created with compilation errors.
    USERNAME
    NEWUSER
    SQL> show err
    Errors for PROCEDURE DROP_USER_PROC:
    LINE/COL ERROR
    4/3 PL/SQL: SQL Statement ignored
    4/35 PL/SQL: ORA-00942: table or view does not exist

    Role based grants are not available within the stored procedures.
    Only explicit grants are recognized when compiling stored code.
    You need to grant select on that table to the user where you are creating this procedure.

  • Compile error for 2.6.16.9

    I"m trying to compile my custom kernel 2.6.16.9 and I'm getting the following comile error:
    CC kernel/sched.o
    kernel/sched.c: In function 'sched_init':
    kernel/sched.c:6034: error: 'array' undeclared (first use in this function)
    kernel/sched.c:6034: error: (Each undeclared identifier is reported only once
    kernel/sched.c:6034: error: for each function it appears in.)
    kernel/sched.c:6034: error: 'struct runqueue' has no member named 'arrays'
    kernel/sched.c:6035: error: 'k' undeclared (first use in this function)
    make[1]: *** [kernel/sched.o] Error 1
    make: *** [kernel] Error 2
    I'm using the latest con kolivas patch with the kernel.  Any suggestions as to how to fix this?

    bostoniman wrote:Ok, I sort of feel like an idiot, but I cant seem to find 2.6.16 base on kernel.org.  It's been a while since I made my custom kernel, so am I ooking in the wrong place?  It  should just be on kernel.org, right?
    You were so close, it was just a few clicks away 
    It's in here: http://www.kernel.org/pub/linux/kernel/v2.6/

  • Compilation error for First Servlet program

    Hi,
    I have go the following program from a book bu is giving me a long list of errors maybe I have no imported the proper package.
    import java.servlet.*;
    import java.io.*;
    public class Brat extends GenericServlet
    public void init (ServletConfig sc)
    throws ServletException
    System.out.println("I don wana wake up");
    public void service (ServletRequest req, ServletResponse res)
    throws ServletException
    try{
    ServletOutputStream sos=res.getOutputStream();
    sos.println("I dont wanna do anyhing");
    sos.close();
    catch(IOException ioe) {ioe.printStackTrace();}
    public void destroy()
    System.out.println("I dont wana go to bed");
    Its giving me symbol not resolve errors for the
    following symbols
    ServletException, ServletConfig, ServletResponse etc.
    How can I get around with these errors?
    Zulfi.

    Sorry, but i handled with Servlets some time ago.
    Servlets are not contained in the standard SDK.
    There has been a servlet development kit, but it seems not to exist any more. (I cant't find it)
    But servlet technology is included in java server pages and other web applications, so you have to download i.g. J2EE SDK and to install it, to find the classes you need.
    (It's included in other packages too, i think.)
    http://java.sun.com/products/jsp/download.html
    If you've installed the used packages, then include only the packages you need. (Doc's should help)
    Make shure that the packages are included in your classpath.
    (Have been the files server.jar and servlet.jar in "former" times.)
    Sorry, but i can't give more advice, 'cause im not up to date with this subject.
    Maybe someone else can help?
    Good luck again.

  • Compilation Error for prvtbkrs.plb execution

    I tried to solve the issue for RMAN connection and i run this script
    prvtbkrs.plb
    Warning: Package Body created with compilation errors.
    SQL> show err
    Errors for PACKAGE BODY DBMS_BACKUP_RESTORE:
    LINE/COL ERROR
    3975/7 PL/SQL: SQL Statement ignored
    3976/31 PL/SQL: ORA-00942: table or view does not exist
    4054/6 PL/SQL: SQL Statement ignored
    4054/35 PL/SQL: ORA-00942: table or view does not exist
    4072/6 PL/SQL: Statement ignored
    4072/6 PLS-00201: identifier 'SYS.DBMS_SYS_ERROR' must be declared
    5457/11 PL/SQL: SQL Statement ignored
    5459/18 PL/SQL: ORA-00942: table or view does not exist
    I cant connect using RMAN...Please help me with this issue.
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    ORA-04063: package body "SPS.DBMS_BACKUP_RESTORE" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "SPS.DBMS_BACKUP_RESTORE"
    RMAN-04015: error setting target database character set to WE8MSWIN1252

    I run the script and
    SQL> @C:\app\Administrator\product\11.1.0\SPS\RDBMS\ADMIN\utlrp.sql
    SELECT dbms_registry_sys.time_stamp('utlrp_bgn') as timestamp from dual
    ERROR at line 1:
    ORA-00904: "DBMS_REGISTRY_SYS"."TIME_STAMP": invalid identifier
    DOC> The following PL/SQL block invokes UTL_RECOMP to recompile invalid
    DOC> objects in the database. Recompilation time is proportional to the
    DOC> number of invalid objects in the database, so this command may take
    DOC> a long time to execute on a database with a large number of invalid
    DOC> objects.
    DOC>
    DOC> Use the following queries to track recompilation progress:
    DOC>
    DOC> 1. Query returning the number of invalid objects remaining. This
    DOC> number should decrease with time.
    DOC> SELECT COUNT(*) FROM obj$ WHERE status IN (4, 5, 6);
    DOC>
    DOC> 2. Query returning the number of objects compiled so far. This number
    DOC> should increase with time.
    DOC> SELECT COUNT(*) FROM UTL_RECOMP_COMPILED;
    DOC>
    DOC> This script automatically chooses serial or parallel recompilation
    DOC> based on the number of CPUs available (parameter cpu_count) multiplied
    DOC> by the number of threads per CPU (parameter parallel_threads_per_cpu).
    DOC> On RAC, this number is added across all RAC nodes.
    DOC>
    DOC> UTL_RECOMP uses DBMS_SCHEDULER to create jobs for parallel
    DOC> recompilation. Jobs are created without instance affinity so that they
    DOC> can migrate across RAC nodes. Use the following queries to verify
    DOC> whether UTL_RECOMP jobs are being created and run correctly:
    DOC>
    DOC> 1. Query showing jobs created by UTL_RECOMP
    DOC> SELECT job_name FROM dba_scheduler_jobs
    DOC> WHERE job_name like 'UTL_RECOMP_SLAVE_%';
    DOC>
    DOC> 2. Query showing UTL_RECOMP jobs that are running
    DOC> SELECT job_name FROM dba_scheduler_running_jobs
    DOC> WHERE job_name like 'UTL_RECOMP_SLAVE_%';
    DOC>#
    utl_recomp.recomp_parallel(threads);
    ERROR at line 4:
    ORA-06550: line 4, column 4:
    PLS-00201: identifier 'UTL_RECOMP.RECOMP_PARALLEL' must be declared
    ORA-06550: line 4, column 4:
    PL/SQL: Statement ignored
    SELECT dbms_registry_sys.time_stamp('utlrp_end') as timestamp from dual
    ERROR at line 1:
    ORA-00904: "DBMS_REGISTRY_SYS"."TIME_STAMP": invalid identifier
    PL/SQL procedure successfully completed.
    DOC> The following query reports the number of objects that have compiled
    DOC> with errors (objects that compile with errors have status set to 3 in
    DOC> obj$). If the number is higher than expected, please examine the error
    DOC> messages reported with each object (using SHOW ERRORS) to see if they
    DOC> point to system misconfiguration or resource constraints that must be
    DOC> fixed before attempting to recompile these objects.
    DOC>#
    select COUNT(*) "OBJECTS WITH ERRORS" from obj$ where status = 3
    ERROR at line 1:
    ORA-00942: table or view does not exist
    DOC> The following query reports the number of errors caught during
    DOC> recompilation. If this number is non-zero, please query the error
    DOC> messages in the table UTL_RECOMP_ERRORS to see if any of these errors
    DOC> are due to misconfiguration or resource constraints that must be
    DOC> fixed before objects can compile successfully.
    DOC>#
    select COUNT(*) "ERRORS DURING RECOMPILATION" from utl_recomp_errors
    ERROR at line 1:
    ORA-00942: table or view does not exist
    PL/SQL procedure successfully completed.
    ERROR:
    ORA-04067: not executed, package body "SPS.DBMS_OUTPUT" does not exist
    ORA-06508: PL/SQL: could not find program unit being called: "SPS.DBMS_OUTPUT"
    ORA-06512: at line 1
    BEGIN dbms_registry_sys.validate_components; END;
    ERROR at line 1:
    ORA-06550: line 1, column 7:
    PLS-00201: identifier 'DBMS_REGISTRY_SYS.VALIDATE_COMPONENTS' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    ERROR:
    ORA-04067: not executed, package body "SPS.DBMS_OUTPUT" does not exist
    ORA-06508: PL/SQL: could not find program unit being called: "SPS.DBMS_OUTPUT"
    ORA-06512: at line 1
    SQL>

  • Pls906 compiler error for on_logon trigger

    Hello,
    I wrote a PL/SQL program for on_logon trigger. But it has compiler error(no message file, ora-06540 error and pls906 error). The program is as follow:
    DECLARE un VARCHAR2(80);
    pw VARCHAR2(80);
    cn VARCHAR2(80);
    BEGIN
    /* ** Bring up the logon screen */
    Logon_Screen;
    /*** Get the username, password and connect string. */
    un=Get_application_property(username);
    pw=Get_application_property(password);
    cn=get_application_property(connect_string);
    /*** Log the user onto the database */
    IF cn IS NOT NULL THEN
    LOGON(un,pw&#0124; &#0124;'@'&#0124; &#0124;cn);
    ELSE
    LOGON(un,pw);
    END IF;
    END;
    Any help is appreciated
    null

    I tried following
    ================================================================
    SQL> create or replace trigger after_logon_audit
    2 AFTER LOGON ON DATABASE
    3 WHEN (USER not in ('SYS','SYSTEM')
    4 BEGIN
    5 INSERT INTO LOGON_AUDIT
    6 (log_time,log_user,LOG_IPADDR,LOG_TERMINAL,LOG_MACHINE,LOG_SESSIONID,LOG_OSUSER)
    7 ( select SYSDATE, USER, SYS_CONTEXT('USERENV','IP_ADDRESS'), SYS_CONTEXT('USERENV','TERMINAL'),
    8 a.machine, SYS_CONTEXT('USERENV','SESSIONID'), a.OSUSER
    9 from V$SESSION a, dual
    10 where
    11 SYS_CONTEXT('USERENV','SESSIONID') = a.AUDSID
    12 and SYS_CONTEXT('USERENV','SESSION_USERID') = USER#);
    13 COMMIT;
    14 RAISE_APPLICATION_ERROR(-20002,'The DB is unavailable');
    15 END;
    16
    17 /
    ===============================================================
    but got the following error message.
    ========================
    AFTER LOGON ON DATABASE
    ERROR at line 2:
    ORA-04072: invalid trigger type
    ========================
    Problem still persists. :(

  • Compilation error for code in Solaris 8 which was compiled in SUNOS 4.1.3

    Hi,
    I compiled the C source files in Solaris 8 which was earlier compiled in SUNOS 4.1.3(Solaris 1.1).
    On compiling I get following discrepencies: 1. Executable size are considerably different.
    2. I am using some X windoes system library, it gives compilation error like "prototype mismatch 2 arguments passed when 3 required". "improper member use: fd " fd is the member od display structure.
    3. "identifier redeclared: shmat current : function() returning pointer to char
    previous: function(int, pointer to const void, int) returning pointer to void : "/usr/include/sys/shm.h""
    4. Also I am getting "cg error :..: Disk quota exceeded " while compiling one of the modules.
    Please let me know solution of all/any of these.
    Thanks in advance!!
    Edited by: SmithaIVR on Dec 3, 2008 2:20 AM

    Sounds like ancient code that no longer matches current API's.
    Theres not much option except to rewrite those bits.

  • Compile error for DragManager.acceptDragDrop(event.target)

    This line
    DragManager.acceptDragDrop(event.target);
    seems to be giving me the following compile error:
    Implicit coercion of a value with static type Object to a
    possibly unrelated type mx.core:IUIComponent.
    (There is an arrow pointing to "target", I guess indicating
    that that is the Object causing the problem.)
    I'm not sure why this is giving me an error since the
    official Adobe document describing how to migrate applications from
    Flex 1.5 to Flex 2 says that
    DragManager.acceptDragDrop(event.target) is what's supposed to
    replace event.handled=true.

    Hi.
    The problem is that DragManager.acceptDragDrop expects a
    UIComponent but Event.target is typed as Object. You need to cast
    the target as a UIComponent. Try this:
    DragManager.acceptDragDrop(UIComponent(event.target));

  • Why dont we get a compilation error for converting a collection into array?

    Why don't we get a compilation error but get a runtime error while explicit casting of Object[] into a String[]?
    import java.util.Collection;
    import java.util.HashMap;
    import java.util.Map;
    public class SampleMap {
      public static void main(String[] args) {
        Map<Integer, String> temp = new HashMap<Integer, String>();
        temp.put(new Integer(1), "cat");
        temp.put(new Integer(2), "rat");
        Collection coll = temp.values();
        String[] arr = (String[]) coll.toArray();
        System.out.println(arr.length);
    } Thanks,
    Harish Srinivasan

    Infiniti wrote:
    Why don't we get a compilation error but get a runtime error while explicit casting of Object[] into a String[]?
    import java.util.Collection;
    import java.util.HashMap;
    import java.util.Map;
    public class SampleMap {
    public static void main(String[] args) {
    Map<Integer, String> temp = new HashMap<Integer, String>();
    temp.put(new Integer(1), "cat");
    temp.put(new Integer(2), "rat");
    Collection coll = temp.values();
    String[] arr = (String[]) coll.toArray();
    System.out.println(arr.length);
    } Thanks,
    Harish SrinivasanAn explicit cast's job is to tell the compiler that even though it cannot guarantee that the conversion will work, allow the code anyway and let the runtime handle an error if it occurs.

Maybe you are looking for

  • Help with JScrollPane

    I have a JScrollPane that I need to add multiple components to. That includes 5 JButtons, and 5 Jtree's. I need to add all of the components at once, making the JTree's visible and invisible by clicking the JButton's. My first problem is when I try t

  • Spy not working correctly?

       I recently had to reinstall CS3 onto my computer. I installed all the updates available. I have had my site up for over a year with no problems at all. Now that I reinstalled all hell has broke loose. For example when I upload a web page, the cont

  • Unix script and sqlplus statements

    I have a unix file which contains sql statements. Included is the sqlplus statement to log on to the database with the username and password: xxxxx/xxxxxx@sid<<EOF When I run the unix file from my command line outside of sql, it runs successfully. Wh

  • Resize my InDesign document?

    My document size is 8.50 x 11 inches but I need it in 2 different sized. I also need it in 8.25 x 10.75. My document has a background image and a few other small snippets of images along with text so when I resize it everything within the document ne

  • Facetime Icon is not available

    Hi I have bought Ipad retina from UAE (Dubai). I could not find Facetime Icon. can you please help me. How I will get this function on my Ipad Retina. I am using OS 7.0.3