How to solve error when run Depreciation (T-Code:AFAB)

Dear All Experts,
Hi,
I found error when run Depreciation for period 9 FYI. I had run Planed posting period Depreciation (TCode: AFAB).  with fiscal year: 2010, posting period: 9, reason for posting run: Planed posting run. Select on Test Run. Then i found error message as below.
Documents manually posted within dep.doc.number range
     Message no. AA728
Diagnosis
     In the number range interval for the document type for posting
     depreciation, a document  has been posted which was not created within
     the framework of depreciation posting. The last document posted by
     depreciation posting was assigned the number .
Procedure
     Contact your Systems Specialist. When changing the number range interval
     for the document type in depreciation posting, you have to specify a new
     interval in which no documents exist. Using organizational measures, you
     can guarantee that there are no documents apart from those created by
     depreciation posting in this number range.
Would you help me how to solve this error?
Thank you in advance
Best Regards
Utarat.P

Hi Utarat,
first question is: have you really manually posted a Documents within dep.doc.number range 
If you post with RABUCH00, note 193984 could be relevant for you. 
Check if the intervall in Table TABA don't fits with the Intervall in BKPF.
Example:
TABA
MANDT BUKRS  AFBLGJ AFBLPE AFBANZ BLNRF      BLNRT      XBUKZ  
100   XXXX   2010   004    01     4200000013 4200000016 X      
100   XXXX   2010   005    01     4200000017 4200000020 X      
100   XXXX   2010   006    01     4200000021 4200000024        
On the other Hand In Table BKPF (or Tr. FB03) you can see that 4200000037 already   
exits.                                                                               
BUKRS  BELNR      GJAHR BLART BUDAT      CPUDT      CPUTM    TCODE
XXXX   4200000024 2010  YY    30.06.2010 06.07.2010 19:36:30 ABF1 
XXXX   4200000037 2010  YY    30.06.2010 06.07.2010 19:37:47 ABF1 
Regards Bernhard

Similar Messages

  • Error when run Depreciation Posting Run AFAB

    Hi,
    I found error when run Depreciation Posting Run for period 7 2007.
    FYI. I had run Unplanned Depreciation (TCode: ABAA) with document date 31.10.2007 and posting date 31.10.2007, trans. type 640. After that, i want to run Depreciation Posting Run (TCode: AFAB) with fiscal year: 2008, posting period: 7, reason for posting run: repeat. Select on Test Run. Then i found error message as below. 
    Error Message:
    Documents manually posted within dep.doc.number range
    Message no. AA728
    Diagnosis
    In the number range interval for the document type for posting depreciation, a document  has been posted which was not created within the framework of depreciation posting. The last document posted by depreciation posting was assigned the number .
    Procedure
    Contact your Systems Specialist. When changing the number range interval for the document type in depreciation posting, you have to specify a new interval in which no documents exist. Using organizational measures, you can guarantee that there are no documents apart from those created by depreciation posting in this number range.
    Can any one help how to solve this issue?

    Hi Paul,
    Now I go to TCode: FBN1 - Accounting Document Number Ranges, then i want to change the range for year 2008.
    No Year  From No          To No           Current No          Ext
    03  2001   0300000000   0399999999   -                          /
    03  2002   0300000000   0399999999   -                          /
    03  2003   0300000000   0399999999   -                          /
    03  2004   0300000000   0399999999   -                          /
    03  2005   0300000000   0399999999   -                          /
    03  2006   0300000000   0399999999   -                          /
    03  2007   0300000000   0399999999   -                          /
    03  2008   0300000000   0399999999   -                          /
    03  2009   0300000000   0399999999   -                          /
    Referring back to Asset Accounting, the Reference Document: 19.
    Do it mean that my FI doc. no is 0300000019 ? I bit confuse on this..
    Can you guide me more details on it?
    Thanks in advance.
    Edited by: Nur Aman Abdul Manap on Apr 15, 2009 2:09 AM

  • Error when running XJC-generated code

    The following part of an XML schema
         <element name="Parameter">
              <annotation>
                   <documentation xml:lang="de">generische Schl��ssel-Wert-Parameter.</documentation>
              </annotation>
              <complexType>
                   <sequence>
                        <element name="Name" type="token">
                             <annotation>
                                  <documentation xml:lang="de">Name des Parameters.</documentation>
                             </annotation>
                        </element>
                        <element name="Value">
                             <annotation>
                                  <documentation xml:lang="de">Wert des Parameters.</documentation>
                             </annotation>
                             <complexType>
                                  <simpleContent>
                                       <extension base="anySimpleType">
                                            <attribute name="Type" type="NCName" use="optional" default="string">
                                                 <annotation>
                                                      <documentation xml:lang="de">XML-Typ des Parameterwerts (Default=string).</documentation>
                                                 </annotation>
                                            </attribute>
                                       </extension>
                                  </simpleContent>
                             </complexType>
                        </element>
                   </sequence>
              </complexType>
         </element>
    is converted by XJC (javadocs removed) into the following Java code:
    @XmlAccessorType(AccessType.FIELD)
    @XmlType(name = "", propOrder = {
    "name",
    "value"
    @XmlRootElement(name = "Parameter")
    public class Parameter {
    @XmlElement(name = "Name", namespace = "http://www.ebics.org/H001")
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
    protected String name;
    @XmlElement(name = "Value", namespace = "http://www.ebics.org/H001")
    protected Value value;
    public String getName() {
    return name;
    public void setName(String value) {
    this.name = value;
    public Value getValue() {
    return value;
    public void setValue(Value value) {
    this.value = value;
    @XmlAccessorType(AccessType.FIELD)
    @XmlType(name = "", propOrder = {
    "value"
    public static class Value {
    @XmlValue
    protected Object value;
    @XmlAttribute(name = "Type")
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
    protected String type;
    public Object getValue() {
    return value;
    public void setValue(String value) {
    this.value = value;
    public String getType() {
    if (type == null) {
    return "string";
    } else {
    return type;
    public void setType(String value) {
    this.type = value;
    This source compiles ok, but when running, it throws an IllegalAnnotationException "@XmlAttribute/@XmlValue need to reference a Java type that maps to text in XML." Changing the type of field "value" in class Value from Object to String solves the problem.
    Is this a mistake of XJC or is something wrong with the schema?
    Thanks for your support!
    Marcus

    Hi
    Pleaes apply the ABAP related patch or refer to SAP notes where you will find Notes Correction to apply on your system.
    Regards
    Anwer

  • Error when run the compiled code

    I have code below,
    import java.sql.*;
    public class testmysql{
         public static void main(String args[]){
              Connection conn = null;
    try{
    String userName = "root";
    String password = "password";
    String url = "jdbc:mysql://localhost:3307/ectol_db";
    Class.forName ("com.mysql.jdbc.Driver").newInstance ();
    conn = DriverManager.getConnection (url, userName, password);
    System.out.println ("Database connection established");
    }catch (Exception e) {
              e.printStackTrace();
    System.err.println ("Cannot connect to database server");
    }finally{
    if (conn != null){
    try{
    conn.close ();
    System.out.println ("Database connection terminated");
    }catch (Exception e) {
         e.printStackTrace();
         /* ignore close errors */
    and i have the mysql-connector-5.0.6.jar
    I able to compile code with javac testmysql.java command
    However, when i try to run the code with java testmysql command, it prompt me error below
    java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:164)
    at testmysql.main(testmysql.java:11)
    Cannot connect to database server
    Anyone can help?

    ccwoon80 wrote:
    Actually, the jar and class file was in the same path...
    Thus, what the correct command i need to run the my code?Then your classpath would be .;mysql.jar (or whatever the heck the name of the connector was).
    So java -cp .;mysql.jar foo.bar.MyClass

  • Error when run sqlj demo CODE.

    I am using JDeveloper 3.0 to run some SQLJ demo codes. The code come with Oracle 8i for NT.
    When running these code at first, I did not have any problem. I got all the result correctly.
    But after I reboot my computer in the night, and restarted it this moring, I got the error message:
    Error running the example: java.sql.SQLException: profile ExprDemo_SJProfile0 not found: java.io.InvalidClassException: [Ljava.lang.Object;; Serialization incompatible with Externalization
    I did see the created *.java file and *.ser files in the directory which I set as the source directory and ot path in the Project.
    So I am sure tha the translator works, but why Java cannnot find the profil?
    I am learn SQLJ. I appreciate any one can help me figure this out.
    Pam
    null                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    When you go to the download section to download a SQLJ translator, you will be sent to the JDBC/SQLJ download page.
    There you can get the SQLJ 8.1.6 SDK patch which you can use to update JDeveloper 3.0 (essentially, you replace the SQLJ translator.zip file with a new version). This permits SQLJ to function under JDK 1.2.
    Additionally, you need to ensure that the environment under which you compile (1.1 vs. 1.2) and under which you run correspond. - Specifically, ensure that you start JDev under 1.2 and that your project also is a 1.2 project. Otherwise all sorts of strange things appear to happen (even with the patch).
    -- Ekkehard

  • Error when running a report in BPC NW

    I am getting the following error when running a report for my application in BPC NW.
    EVDRE encountered an error retrieving data from the Web Server (retrying in (X) seconds).
    This error comes with this dialog option box to either continue or cancel retrying retrieving data. Retrying doesn't help either.
    Any report I run (on any of my appsets), I get this error. I used the EVDRE function and also tried running a report using the template as the basis. But I get the error either way.
    Does anyone know why this error is occurs or how to debug this issue. I saw some information about this in earlier threads but could  not make much out of it.
    Appreciate any assistance.

    Sanjay,
      This  is a   very  generic  error...Couple  of  places  to  look  for....
    1)Reprocess the application (Modify application + Reassign SQL Index + Process Application)
    2)optimizing the application sometimes helps (Full Optimize + Compress Database + Index defragmentation).
    3)Create a "evdataserver_debug.txt" in user's private publication folder on  server side to populate very detail level logging  and  check  the  log on client side EVDRE_LOG.txt for  further  peek  into  where  things  are getting  messed up.
    if  evdataserver_debug.txt does not  get  populated on BPC 5.x...it  is  an  issue  with  IIS authetication on Application server.
    4)You have to check the event viewer into .NET server and also the BPC logs which can be found into
    BPC\Logging  for  further  details  ..
    Hope  this  helps..
    Edited by: Vishal Mahawadhi on Jun 24, 2009 9:50 AM

  • ORA-06502 - Error when running "Ask The Expert 0.9"

    Hi ,
    I successfully installed "Ask the Expert" package with Apex 3.0 on Oracle 10g Database 10.2.0.1.0. No error ocurred during the import in my Apex environment.
    Besides that, i'm having problems when i tried to run the "Aks the Expert". It always shows the following message errors:
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    Error Unable to write activity log.
    I think it was a problem with APEX instalation, but i could run the Sample Application of Apex without any problem.
    I opened an SR in Metalink, but to my surprise, the analist of support don't know what's wrong with the demo "Ask de Expert".
    The debug function of the application show the following commands before the error ocurrs:
    0.01:
    0.01: S H O W: application="103" page="1" workspace="" request="" session="6648566035252817"
    0.01: Language derived from: FLOW_PRIMARY_LANGUAGE, current browser language: en-us
    0.01: alter session set nls_language="AMERICAN"
    0.01: alter session set nls_territory="AMERICA"
    0.01: NLS: CSV charset=WE8MSWIN1252
    0.01: ...NLS: Set Decimal separator="."
    0.01: ...NLS: Set NLS Group separator=","
    0.02: ...NLS: Set date format="DD-MON-RR"
    0.02: ...Setting session time_zone to -03:00
    0.02: NLS: Language=en-us
    0.02: Application 103, Authentication: CUSTOM2, Page Template: 667896385843019243
    0.02: ...Determine if user "N3COUTINHO" workspace "951808960237899" can develop application "103" in workspace "951808960237899"
    0.02: ...ok to reuse builder session for user:nobody
    0.03: ...Application session: 6648566035252817, user=nobody
    0.03: ...Determine if user "N3COUTINHO" workspace "951808960237899" can develop application "103" in workspace "951808960237899"
    0.03: Session: Fetch session header information
    0.03: ...Metadata: Fetch page attributes for application 103, page 1
    0.03: Fetch session state from database
    0.03: Branch point: BEFORE_HEADER
    0.03: Fetch application meta data
    0.04: Computation point: BEFORE_HEADER
    0.04: ...Perform computation of item: P1_CLEAN_CRITERIA, type=FUNCTION_BODY
    0.04: ...Performing function body computation
    0.06: ...Session State: Save "P1_CLEAN_CRITERIA" - saving same value: ""
    0.06: Processing point: BEFORE_HEADER
    0.06: ...Process "Read and Write Activity Cookie": PLSQL (BEFORE_HEADER) declare l_cookie_id number; begin owa_util.mime_header('text/html', FALSE); -- ate_api.read_activity_cookie; l_cookie_id := ate_api.fetch_activity_cookie_val( 'COOKIE_ID' ); -- if l_cookie_id is null then l_cookie_id :=
    Content-type: text/html; charset=ISO-8859-1 Set-Cookie: activity_ask_expert=1|2400346189796; expires=Wed, 01-Jan-2020 08:00:00 GMT; path=/;
    0.06: Encountered unhandled exception in process type PLSQL
    0.06: Show ERROR page...
    0.06: Performing rollback...
    Please, could any one help me to solve this problem ? Metalink couldn't help me diagnosing what's wrong.
    Thanks,
    Sergio Coutinho

    Hi,
    I don´t know if it help the analisis, but i collect some informations about my environment:
    1) HTML DB version
    3.0.1
    2) Database version
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    3) Database server operating system (as well, if 32-bit or 64-bit)
    Solaris 5.9 - 64 bits
    4) Database Parameters:
    PARAMETER VALUE
    NLS_CALENDAR GREGORIAN
    NLS_CHARACTERSET WE8ISO8859P1
    NLS_COMP BINARY
    NLS_CURRENCY $
    NLS_DATE_FORMAT DD-MON-RR
    NLS_DATE_LANGUAGE AMERICAN
    NLS_DUAL_CURRENCY $
    NLS_ISO_CURRENCY AMERICA
    NLS_LANGUAGE AMERICAN
    NLS_LENGTH_SEMANTICS BYTE
    NLS_NCHAR_CHARACTERSET AL16UTF16
    NLS_NCHAR_CONV_EXCP FALSE
    NLS_NUMERIC_CHARACTERS .,
    NLS_RDBMS_VERSION 10.2.0.1.0
    NLS_SORT BINARY
    NLS_TERRITORY AMERICA
    NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
    NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
    NLS_TIME_FORMAT HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
    Could it explain why ASK THE EXPERT is running on hosted apex site and it´s
    generating error when running in my environment?
    Thanks for the help !
    Sergio

  • ORA-04062 error when running forms with different users

    ORA-04062 error when running forms with different users
    I have a form that has a block that should display some data from another users tables. (The other user's name is dynamic, it's selected from a list box)
    I wrote a stored procedure to get the data from other user's tables.
    When I compile the form and run it with the same user I compiled, it works without any error. But when I run the compiled form with another user I get the ORA-04062 (signature of procedure has been changed) error.
    I tried setting REMOTE_DEPENDENCIES_MODE to SIGNATURE in init.ora but it didn't help.
    My Forms version is 6i with Patch 15.
    Database version is 9.
    Here is my stored procedure:
    TYPE Scenario_Tab IS TABLE OF NUMBER(34) INDEX BY BINARY INTEGER;
    TYPE Open_Curs IS REF CURSOR;
    PROCEDURE Get_Scenarios(User_Name IN VARCHAR2, Scen_Table OUT Scenario_Tab) IS
    Curs Open_Curs;
    i NUMBER;
    BEGIN
    OPEN Curs FOR
    'SELECT Seq_No FROM '|| User_Name ||'.scenario';
    i := 1;
    LOOP
    FETCH Curs INTO Scen_Table(i);
    EXIT WHEN Curs%NOTFOUND;
    i := i + 1;
    END LOOP;
    END Get_Senarios;
    I would be happy to solve this problem. It's really important.
    Maybe somebody can tell me another way to do what I want to do. (getting a list of values from another users tables)

    I think it should be a better solution to create a package,
    and put your own TYPES and procedure into it.
    CREATE OR REPLACE PACKAGE PKG_XXX IS
    TYPE TYP_TAB_CHAR IS TABLE OF .... ;
    PROCEDURE P_XX ( Var1 IN VARCHAR2, var2 IN OUT TYP_TAB_CHAR );
    END ;
    Then in your Form :
    Declare
    var PKG_XXX.TYP_TAB_CHAR ;
    Begin
    PKG_XXX.P_XX( 'user_name', var ) ;
    End ;

  • Getting error when running process flows in oem

    Hi all,
    I'm trying to run a process flow in oem (using oem_exec_template.sql script), but it keeps failing with error "nms-1013: sqlplus does not exist". I tried running a map too and it failed with same message.
    Any idea anyone?
    Thanks!
    Yanet

    Hi,
     Looks like you have an obvious code error, invalid cast operation in your code. Do you get this error when running in local emulator.
     You can try the following article on how to debug published cloud service, assuming you have VS ultimate.
     https://msdn.microsoft.com/en-us/library/azure/ff683671.aspx
    Regards,
    Nithin Rathnakar

  • ADT packaging with native extensions : permission denied error when running remote build.

    Hi Team,
    We are facing the following error when running the nightly ant build script on Mac machine for our air mobile application. We are using iOS native extensions and package with ADT. This works fine when we run the build as local user in the Mac machine. Earlier we faced some issues due to headless build and we have added the <headless-server>true</headless-server> in corresponding config files (flex-config.xml, airmobile-config.xml). After that we are facing the following error, even when we run the ant build in headless mode using the following command.
    ant -Djava.awt.headless=true -f build.xml buildPackage
    When running this build as local user in the Mac build machine, we see a window opening with com.adobe.air.ADT while packaging. This is the issue when running nightly build as there is no graphics window.
    Can anybody please help how to get rid of this issue for nightly build using adt,jar?
    Here is the error from build log:
    buildiOSPackageWithNativeExtensionMac:
         [echo] Export the iOS package with Native extension for ApprovalsMobile in Mac
         [java] Exception in thread "main" java.lang.InternalError: Can't connect to window server - not enough permissions.
         [java]  at java.lang.ClassLoader$NativeLibrary.load(Native Method)
         [java]  at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1827)
         [java]  at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1724)
         [java]  at java.lang.Runtime.loadLibrary0(Runtime.java:823)
         [java]  at java.lang.System.loadLibrary(System.java:1045)
         [java]  at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
         [java]  at java.security.AccessController.doPrivileged(Native Method)
         [java]  at java.awt.Toolkit.loadLibraries(Toolkit.java:1605)
         [java]  at java.awt.Toolkit.<clinit>(Toolkit.java:1627)
         [java]  at java.awt.Dimension.<clinit>(Dimension.java:70)
         [java]  at com.adobe.air.validator.ApplicationDescriptorValidator.validateImageUri(ApplicationDescri ptorValidator.java:183)
         [java]  at com.adobe.air.validator.ApplicationDescriptorValidator20.validateElement(ApplicationDescr iptorValidator20.java:121)
         [java]  at com.adobe.air.validator.ApplicationDescriptorValidator25.validateElement(ApplicationDescr iptorValidator25.java:65)
         [java]  at com.adobe.air.validator.ApplicationDescriptorValidator26.validateElement(ApplicationDescr iptorValidator26.java:62)
         [java]  at com.adobe.air.validator.ApplicationDescriptorValidator30.validateElement(ApplicationDescr iptorValidator30.java:52)
         [java]  at com.adobe.air.validator.ApplicationDescriptorValidator31.validateElement(ApplicationDescr iptorValidator31.java:46)
         [java]  at com.adobe.air.validator.DescriptorValidator.endElement(DescriptorValidator.java:239)
         [java]  at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser .java:601)
         [java]  at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XML DocumentFragmentScannerImpl.java:1782)
         [java]  at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDri ver.next(XMLDocumentFragmentScannerImpl.java:2939)
         [java]  at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImp l.java:648)
         [java]  at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScanne rImpl.java:140)
         [java]  at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDo cumentFragmentScannerImpl.java:511)
         [java]  at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.ja va:808)
         [java]  at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.ja va:737)
         [java]  at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
         [java]  at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java :1205)
         [java]  at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.j ava:522)
         [java]  at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
         [java]  at javax.xml.parsers.SAXParser.parse(SAXParser.java:198)
         [java]  at com.adobe.air.Descriptor.validateXML(Descriptor.java:182)
         [java]  at com.adobe.air.Descriptor.<init>(Descriptor.java:56)
         [java]  at com.adobe.air.ApplicationDescriptor.<init>(ApplicationDescriptor.java:84)
         [java]  at com.adobe.air.ApplicationPackager.validateApplicationDescriptor(ApplicationPackager.java: 101)
         [java]  at com.adobe.air.ApplicationPackager.createPackage(ApplicationPackager.java:64)
         [java]  at com.adobe.air.ipa.IPAPackager.createPackage(IPAPackager.java:217)
         [java]  at com.adobe.air.ADT.parseArgsAndGo(ADT.java:557)
         [java]  at com.adobe.air.ADT.run(ADT.java:414)
         [java]  at com.adobe.air.ADT.main(ADT.java:464)
    Thanks,
    Swathi.

    Note: Before the above error that were two other errors .
    1) The build complained that the adt-bundle-linux toolchain could not be found and required that it be added to .mozconfig. This was done.
    2) The build complained that dx could not be found.
    The configure file was edited and the values $DX, $AAPT and $AIDL were all set to the adt-bundle-linux/sdk/build-tools/android-4.4 path.
    The instructions given on the Mozilla Wiki did not work right for Android and several modifications were made to move it along. But this permission error is tough to figure out.

  • Error when running the Web Services java client file

    Hi,
    I am working on web services with 9iAS.
    I am using the StatelessExample file included during installation.
    The ear file was created and the application was deployed using OEM Web.
    But when I try to execute the client java file StatelessClient. I get an error. The error is something about content type.
    The error message is pasted below.
    And also how do I run the web service on the browser.
    Please help.
    regards
    Kamlesh
    D:\ora9ias_portal\j2ee\home\demo\web_services\java_services\client>java -classpa
    th .;StatelessExample_proxy.jar;%CLASSPATH%; StatelessClient
    Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsu
    pported response content type &quot;text/html&quot;, must be: &quot;text/xml&quo
    t;. Response was:
    &lt;HTML&gt;&lt;HEAD&gt;&lt;TITLE&gt;500 Internal Server Error&lt;/TITLE&gt;&lt;
    /HEAD&gt;&lt;BODY&gt;&lt;H1&gt;500 Internal Server Error&lt;/H1&gt;&lt;PRE&gt;or
    acle.j2ee.xanadu.JasperGenerationError: no source generated during code generati
    on!: 1 in getFile name: oracle\j2ee\ws_example\StatelessExample.class
    &lt;br&gt;1 in getFile name: oracle\j2ee\ws_example\StatelessExample.java
    &lt;br&gt;error: error message &apos;class.format&apos; not found&lt;br&gt;binar
    y class definition not found: oracle.j2ee.ws_example.StatelessExample
    &lt;br&gt;
    &lt;br&gt;      at oracle.j2ee.ws.JavaWrapperGenerator.generate(JavaWrapperGener
    ator.java:267)
    &lt;br&gt;      at oracle.j2ee.ws.RpcWebService.generateWrapperClass(RpcWebServi
    ce.java:662)
    &lt;br&gt;      at oracle.j2ee.ws.RpcWebService.generate(RpcWebService.java:436)
    &lt;br&gt;      at oracle.j2ee.ws.RpcWebService.getWrapper(RpcWebService.java:76
    7)
    &lt;br&gt;      at oracle.j2ee.ws.RpcWebService.doPost(RpcWebService.java:309)
    &lt;br&gt;      at javax.servlet.http.HttpServlet.service(HttpServlet.java:283)
    &lt;br&gt;      at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
    &lt;br&gt;      at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].serv
    er.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:59)
    &lt;br&gt; at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java
    :283)
    &lt;br&gt; at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].serv
    er.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:523)
    &lt;br&gt; at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].serv
    er.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:2
    69)
    &lt;br&gt; at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].serv
    er.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
    &lt;br&gt; at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].serv
    er.http.AJPRequestHandler.run(AJPRequestHandler.java:151)
    &lt;br&gt; at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].util
    .ThreadPoolThread.run(ThreadPoolThread.java:64)
    &lt;br&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;
    at org.apache.soap.rpc.Call.getEnvelopeString(Call.java:201)
    at org.apache.soap.rpc.Call.invoke(Call.java:260)
    at oracle.j2ee.ws_example.proxy.StatelessExampleProxy.makeSOAPCallRPC(St
    atelessExampleProxy.java:51)
    at oracle.j2ee.ws_example.proxy.StatelessExampleProxy.helloWorld(Statele
    ssExampleProxy.java:35)
    at StatelessClient.main(StatelessClient.java:8)

    If you are getting this error, then you are most likely compiling your code with a different JVM than what is shipped with the application server. Oracle9iAS Release 2 (9.0.2) uses the JDK1.3.1. I got this error when I compiled the code with JDK1.4.0_01.

  • Intermitten Errors when running reports in Crystal Report Viewer

    Hi All,
    We get intermittent errors when running the same crystal report over and over again.  Most of the time, it would run perfectly fine.  Once in a while we would see the error message below displayed...
    Failed to open the connection. Failed to open the connection. C:\DOCUME1\USBOAD1\LOCALS~1\Temp\{432E6564-2811-4364-84FB-5E315F8DCBCA}.rpt
    CrystalReportViewer - CrystalReportViewer1
    Error: Object reference not set to an instance of an object.
    We don't know how to reproduce this error.  We tried looking into the BusinessObjects log files and the error is trapped inside C:\Program Files\Business Objects\BusinessObjects Enterprise 11.5\Logging\crystalras_2009420_3626_2716_ras.log with the message below:
    ErrorLog 2009  4 21 11:28:28.598 2716 10272 (\servers\ras\dtsagent\reporthandler.cpp:11592): CReportHandler::buildReportViewerError: CSResultException thrown.   ErrorSrc:"CRPE" FileName:"\servers\ras\dtsagent\reporthandler.cpp" LineNum:11588 ErrorCode:756 ErrorMsg:"Failed to open the connection.
    Failed to open the connection.
    C:\DOCUME1\USBOAD1.000\LOCALS~1\Temp\{432E6564-2811-4364-84FB-5E315F8DCBCA}.rpt" DetailedErrorMsg:"
    Question:
    Does anyone know why this is happening?  Any help will be much appreciated.  It happens maybe 1 out of 10 times the report runs.
    Versions:
    CR XI R2 SP1
    .Net Framework 2.0
    Windows 2000 SP4

    Hi,
    Give it a try by using the close and dispose method for report object and also use the GC.collect.
    Hope it helps!!
    Amit

  • TS3694 How to solve error 3194 ?

    How to solve error 3194 in iTunes, when trying to upgrade iPod touch to ios 5 ? Thank you.

    The common errors and their resolution are contained here:
    iTunes: Specific update-and-restore error messages and advanced troubleshooting

  • Getting the MDX query select error when running a webi report on BI query

    Getting the following error when running a webi report on BI query :
    A database error occured. The database error text is: The MDX query SELECT  { [Measures].[D8JBFK099LLUVNLO7JY49FJKU] }  ON COLUMNS , NON EMPTY [ZCOMPCODE].[LEVEL01].MEMBERS ON ROWS FROM [ZTEST_CUB/REP_20100723200521]  failed to execute with the error Unknown error. (WIS 10901).
    I have gone through many threads related to this error. But not able find the steps to follow for resoultion.
    Please help in this regard.
    Thanks,
    Jeethender

    The Fix Pack is also for Client Tools--it is a separate download.  Please see the text below for ADAPT01255422
    ADAPT01255422
    Description:
    Web Intelligence generates an incorrect MDX statement when a characteristic and a prompt are used.
    The following database error happens: "The MDX query ... failed to execute with the error
    Unknown error (WIS 10901)."
    New Behavior:
    This problem is resolved.
    This information is also available in the Fixed Issues document for any Fix Pack greater than 2.2.

  • Getting an Error When Running Server 2012 R2 adprep /forest prep on a 2012 DC

    I am getting an error when running adprep /forest prep on a Server 2012 domain controller. The main parts of my domain are as follows:
    2 - Domain Controllers running Server 2012
    1 - Exchange Server 2013 running on Server 2012
    I am trying to either do an in-place upgrade to my domain controllers to Server 2012 R2 or even introduce a Server 2012 R2 domain controller into the domain. The error I am getting is as follows:
    [Status/Consequence]
    The operation GUID already exists so Adprep did not attempt to rerun this operation but is continuing.
    [2014/04/05:09:12:38.873]
    Adprep was about to call the following LDAP API. ldap_search_s(). The base entry to start the search is cn=38618886-98ee-4e42-8cf1-d9a2cd9edf8b,cn=Operations,cn=ForestUpdates,CN=Configuration,DC=DOMAIN,DC=local.
    [2014/04/05:09:12:38.873]
    LDAP API ldap_search_s() finished, return code is 0x20
    [2014/04/05:09:12:38.873]
    Adprep verified the state of operation cn=38618886-98ee-4e42-8cf1-d9a2cd9edf8b,cn=Operations,cn=ForestUpdates,CN=Configuration,DC=DOMAIN,DC=local.
    [Status/Consequence]
    The operation has not run or is not currently running. It will be run next.
    [2014/04/05:09:12:38.873]
    Adprep was about to call the following LDAP API. ldap_modify_s(). The entry to modify is CN=ad://ext/AuthenticationSilo,CN=Claim Types,CN=Claims Configuration,CN=Services,CN=Configuration,DC=DOMAIN,DC=local.
    [2014/04/05:09:12:38.873]
    LDAP API ldap_modify_s() finished, return code is 0x13
    [2014/04/05:09:12:38.905]
    Adprep was unable to modify some attributes on object CN=ad://ext/AuthenticationSilo,CN=Claim Types,CN=Claims Configuration,CN=Services,CN=Configuration,DC=DOMAIN,DC=local.
    [User Action]
    Check the log file ADPrep.log in the C:\Windows\debug\adprep\logs\20140405091235 directory for more information.
    [2014/04/05:09:12:38.936]
    Adprep encountered an LDAP error.
    Error code: 0x13. Server extended error code: 0x20b1, Server error message: 000020B1: AtrErr: DSID-030F112A, #1:
     0: 000020B1: DSID-030F112A, problem 1005 (CONSTRAINT_ATT_TYPE), data 0, Att 9086f (msDS-ClaimIsValueSpaceRestricted)
    DSID Info:
    DSID: 0x181112dd
    ldap error = 0x13
    NT BUILD: 9600
    NT BUILD: 16384
    [2014/04/05:09:12:38.967]
    Adprep was unable to update forest information.
    [Status/Consequence]
    Adprep requires access to existing forest-wide information from the schema master in order to complete this operation.
    [User Action]
    Check the log file, ADPrep.log, in the C:\Windows\debug\adprep\logs\20140405091235 directory for more information.
    Any Help would be appreciated. Thanks!

    Hi,
    did you check which servers has FSMO roles?
    You can do that via command prompt: netdom query fsmo
    For forestprep you must do that on DC which have Schema Operations marter role.
    Command
    Domain controller
    Number of times to run the command
    adprep /forestprep
    Must be run on the schema operations master for the forest.
    Once for the entire forest
    adprep /domainprep
    Must be run on the infrastructure operations master for the domain.
    Once in each domain where you plan to install an additional domain controller that runs a later version of Windows Server than the latest version that is running in the domain.
    Note
    Domains where you will not add a new domain controller will be affected by adprep /forestprep, but they do not require you to run adprep /domainprep.
    http://technet.microsoft.com/en-us/library/dd464018(v=ws.10).aspx

Maybe you are looking for