ORA-02315: incorrect number of arguments for default constructor

I was able to register the XML schema successfully by letting Oracle creating the XML Types. Then when I try to execute the create view command the ORA-02315: incorrect number of arguments for default constructor is always raised.
I tried using the XMLTYPE.createXML but it gives me the same error.
Command:
CREATE OR REPLACE VIEW samples_xml OF XMLTYPE
XMLSCHEMA "http://localhost/samplepeak4.xsd" ELEMENT "SAMPLE"
WITH OBJECT ID (ExtractValue(sys_nc_rowinfo$, '/SAMPLES/SAMPLE/SAMPLE_ID')) AS
SELECT sample_t(s.sample_id, s.patient_info, s.process_info, s.lims_sample_id,
cast (multiset(
SELECT peak_t(p.peak_id, p.mass_charge, p.intensity, p.retention_time,
p.cleavage_type, p.search_id, p.match_id, p.mass_observed,
p.mass_expected, p.delta, p.miss, p.rank, p.mass_calculated,
p.fraction)
FROM peak p
WHERE s.sample_id = p.sample_id) AS PEAK107_COLL))
FROM sample s;
Can someone help me.
Thanks
Carl

This example runs without any problems on 9.2.0.4.0. Which version are you running? And which statement causes the error message?

Similar Messages

  • UserManager's Create, CreateAsync and FindAsync methods giving "Incorrect number of arguments for call to method Boolean Equals(...)"

    I've made custom User and UserStore classes.
    Now I'm trying to register or login with a user, but I get the error
    'Incorrect number of arguments supplied for call to method Boolean Equals(System.String, System.String, System.StringComparison)'
    The error is on line 411:
    Line 409: }
    Line 410: var user = new User() { UserName = model.Email, Email = model.Email };
    --> Line 411: IdentityResult result = await UserManager.CreateAsync(user);
    Line 412: if (result.Succeeded)
    Line 413: {
    The problem is that I can't really debug UserManager's methods, because it is in a closed DLL.
    I get this same error on
    UserManager.FindAsync(user), UserManager.CreateAsync(user,password), UserManager.Create(User user)
    Now the error doesn't occur when I log in with an External Login, like Google, which also uses methods from UserManager. Entering the email works
    as well, but when the user has to be created from an External Login with the inserted email, it gives the CreateAsync error
    too.
    How can I fix this? Do I need to create my own UserManager? Or do I need another solution entirely?
    Packages (relevant):
    package id="Microsoft.AspNet.Mvc" version="5.1.2"
    id="Microsoft.Owin" version="2.1.0"
    id="Microsoft.AspNet.Identity.Core" version="2.0.1"
    UserStore.cs
    public class UserStore :
    IUserStore<User, int>,
    IUserPasswordStore<User, int>,
    IUserSecurityStampStore<User, int>,
    IUserEmailStore<User, int>,
    IUserLoginStore<User, int>
    private readonly NFCMSDbContext _db;
    public UserStore(NFCMSDbContext db)
    _db = db;
    public UserStore()
    _db = new NFCMSDbContext();
    #region IUserStore
    public Task CreateAsync(User user)
    if (user == null)
    throw new ArgumentNullException("user");
    _db.Users.Add(user);
    _db.Configuration.ValidateOnSaveEnabled = false;
    return _db.SaveChangesAsync();
    public Task DeleteAsync(User user)
    if (user == null)
    throw new ArgumentNullException("user");
    _db.Users.Remove(user);
    _db.Configuration.ValidateOnSaveEnabled = false;
    return _db.SaveChangesAsync();
    public Task<User> FindByIdAsync(int userId = 0)
    int userid;
    if (userId == 0)
    throw new ArgumentNullException("userId");
    return _db.Users.Where(u => u.UserId == userId).FirstOrDefaultAsync();
    User.cs
    public class User : IUser<int>
    public User()
    UserLogins = new List<UserLogin>();
    public int UserId { get; set; }
    public string UserName { get; set; }
    public string PasswordHash { get; set; }
    public string SecurityStamp { get; set; }
    public string Email {get; set; }
    public bool IsEmailConfirmed { get; set; }
    int IUser<int>.Id
    get { return UserId; }
    public ICollection<UserLogin> UserLogins { get; private set; }
    public async Task<ClaimsIdentity> GenerateUserIdentityAsync(UserManager<User, int> manager)
    // Note the authenticationType must match the one defined in CookieAuthenticationOptions.AuthenticationType
    var userIdentity = await manager.CreateIdentityAsync(this, DefaultAuthenticationTypes.ApplicationCookie);
    // Add custom user claims here
    return userIdentity;
    Startup.Auth.cs
    public partial class Startup
    // For more information on configuring authentication, please visit http://go.microsoft.com/fwlink/?LinkId=301864
    public void ConfigureAuth(IAppBuilder app)
    // Configure the db context and user manager to use a single instance per request
    app.CreatePerOwinContext(NFCMSDbContext.Create);
    app.CreatePerOwinContext<ApplicationUserManager>(ApplicationUserManager.Create);
    // Enable the application to use a cookie to store information for the signed in user
    // and to use a cookie to temporarily store information about a user logging in with a third party login provider
    // Configure the sign in cookie
    app.UseCookieAuthentication(new CookieAuthenticationOptions
    AuthenticationType = DefaultAuthenticationTypes.ApplicationCookie,
    LoginPath = new PathString("/Account/Login"),
    Provider = new CookieAuthenticationProvider
    OnValidateIdentity = SecurityStampValidator.OnValidateIdentity<ApplicationUserManager, User, int>(
    validateInterval: TimeSpan.FromMinutes(20),
    regenerateIdentityCallback: (manager, user) => user.GenerateUserIdentityAsync(manager),
    getUserIdCallback: (id) => (Int32.Parse(id.GetUserId())))
    // Use a cookie to temporarily store information about a user logging in with a third party login provider
    app.UseExternalSignInCookie(DefaultAuthenticationTypes.ExternalCookie); (...)
    Any help or ideas are greatly appreciated!
    Kind regards,
    Nils

    Hi,
    According to your description, I am afraid your problem is out of support in C# forum. For ASP.NET question, please go to
    ASP.NET Forum to post your thread.
    Best Wishes!
    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. Thanks<br/> MSDN Community Support<br/> <br/> Please remember to &quot;Mark as Answer&quot; the responses that resolved your issue. It is a common way to recognize those who have helped you, and
    makes it easier for other visitors to find the resolution later.

  • Incorrect number of arguments expected 1

    Hi,
    I'm new to this flex. Actually i want to set busycursor in loadValue Function. But i'm getting error as Here i'm getting an error as incorrect number of arguments expected 1.
    the error that i'm getting in 3rd line. and i have not pasted full code here. But i pasted only where i'm getting error when i tried to inser busyCursor.
    So please help me what i hv to change. waiting for your replay.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"
              creationComplete="loadValues()" horizontalAlign="center"      --------------->  Here i'm getting an error as incorrect number of arguments expected 1.
              verticalAlign="middle"  color="#080808" borderColor="#FFF8E0" backgroundColor="#FFF8E0"
              xmlns:local="*"
              xmlns:tInput="assets.actionScript.*"
              xmlns:controls="com.iwobanas.controls.*"
              initialize="initTimer()"
              xmlns:dataGridClasses="com.iwobanas.controls.dataGridClasses.*"
              applicationComplete="init(event)" height="100%" width="100%">
    <mx:Style source="defaults.css" />
    <mx:Script>  
              <![CDATA[
                        import assets.actionScript.Trim;
                        import com.scottlogic.charts.DataGridExporter;
                        import mx.controls.ComboBase;
                        import assets.script.pods.view.Data;
                        import org.alivepdf.layout.Unit;
                        import mx.collections.ICollectionView;
                        import assets.actionScript.EscalationDTO;
                        import alarmSlide.TowerSelection;
                        import flash.net.navigateToURL;
                        import mx.binding.utils.BindingUtils;
                        import mx.controls.dataGridClasses.DataGridItemRenderer;
                        import mx.events.ListEvent;
                        import mx.charts.chartClasses.DualStyleObject;
                        import assets.actionScript.TowerInchargeRoleMappingDTO;
                        import flash.utils.clearInterval;
                        import flash.utils.setInterval;
                        import alarmSlide.SendMessageForEscalation;
                        import mx.skins.halo.BusyCursor;
                        import alarmSlide.REForAlarmReport;
                        import mx.managers.ToolTipManager;
                        import mx.controls.ToolTip;
                        import mx.collections.SortField;
                        import mx.collections.Sort;
                        import mx.messaging.messages.RemotingMessage;
                        import mx.events.AdvancedDataGridEvent;
                        import assets.actionScript.TowerStatus; 
                        import mx.rpc.events.FaultEvent;
                        import mx.rpc.events.ResultEvent;
                        import assets.actionScript.ValueObject;
                        import mx.messaging.channels.AMFChannel;
                        import alarmSlide.LEDChar;
                        import mx.utils.URLUtil;
                        import com.adobe.serialization.json.JSON;
                        import com.adobe.serialization.json.JSONDecoder; 
                        import mx.collections.ArrayCollection;
                        import mx.collections.IViewCursor;
                        import mx.collections.IHierarchicalCollectionView;
                        import mx.controls.Alert;
                        import mx.managers.PopUpManager; 
            import flash.net.FileReference;
                   import mx.messaging.messages.IMessage;
                  import mx.messaging.Channel;
                  import mx.messaging.ChannelSet;
                  import mx.messaging.channels.StreamingAMFChannel;
                        import flash.display.StageDisplayState;      
                        import mx.collections.ArrayCollection;
                        import mx.managers.CursorManager;
                        private var sendMessageScreen:SendMessageForEscalation;
                        private var escalationAlarmHistoryPopup:EscalationAlarmHistoryPopup;
                        public var manualOrScheduleTicketing:ManualOrScheduleTicketing;
                        public var editEscalationLevelPopup:EditEscalationLevelPopup;
                        private var escalationLevelPopup:EscalationLevelPopup;
                        private var escalationSiteDetailsPopup:EscalationSiteDetailsPopup;
                        [Bindable] private var towerName:String = "NoData";  
                        [Bindable] private var contactNumber:String = "NoData";
                        // Data Storgae variables
                        [Bindable] private var energyConsumption:ArrayCollection = new ArrayCollection();
                        [Bindable] public var dataColl:ArrayCollection = new ArrayCollection();
                        [Bindable] public var closedTicketArrayColl:ArrayCollection = new ArrayCollection();
                        [Bindable] private var towerDetails:ArrayCollection = new ArrayCollection();
                        [Bindable] private var escalationData:ArrayCollection = new ArrayCollection();
                        [Bindable] public var escalationLevelDetails:ArrayCollection = new ArrayCollection();
                        [Bindable] public var towerEscalationLevelDetails:ArrayCollection = new ArrayCollection();
                        [Bindable] private var escalationMasterList:ArrayCollection = new ArrayCollection();
                        [Bindable] public var alarmDetailsList:ArrayCollection = new ArrayCollection();
                        [Bindable] public var siteInformationList:ArrayCollection;
                        [Bindable] public var communicationInfoList:ArrayCollection;
                        [Bindable] public var operatorDetailsList:ArrayCollection;
                        [Bindable] public var siteLiveDataList:ArrayCollection;
                        [Bindable] public var siteLiveAlarmDetailsList:ArrayCollection;
                        [Bindable] public var ticketEscalationStateList:ArrayCollection = new ArrayCollection();
                        [Bindable]
                        public var siteAndDistrictDisplayName:String="";
                        public var categoriesArrColl:ArrayCollection = null;
                        public var tempArrColl:ArrayCollection = null;
                        public var userID:int = 0;
                        public var customertId:int = 3;
                        private var popupWin:PopupForTicketing;
                        // to store tower configuration
                        public static var data:ArrayCollection = new ArrayCollection();
                        private var intervalUnit:uint;
                        [Bindable]  
                        public var folderList:XMLList;
                        // BlazeDS variables
                 [Bindable] public var channelUrl:String;  
                  [Bindable] public var liveId:int=0;
                           [Bindable]
                           public var emailOrSmsMessageFormat:String = "";
                        [Bindable]
                        private var escalationEditOption:Boolean = false;
                        [Bindable]
                        private var swapCount:int = 0;
    //  ---------------------------- To Control Session ------------------------- //
            public var myTimer:Timer;
                        private function initTimer():void
                                   myTimer = new Timer(1800000);
                             myTimer.addEventListener("timer",logout);
                             this.addEventListener(MouseEvent.MOUSE_MOVE, resetTimer);
                             myTimer.start();
                        private function logout(event:Event):void
                                  this.addEventListener(MouseEvent.CLICK,forward);
                        private function forward(event:Event):void
                                  navigateToURL( new URLRequest("jsp/checkin/index.jsp"),"_self");
                        private function resetTimer(event:Event):void
                                  myTimer.reset();
                            initTimer();
    //  ---------------------------- To Control Session ------------------------- //
                            * This method will be called as soon as SWF loads in the browser , creating a AMF channel which communicates to Java
                            private function loadValues(mouse:MouseEvent):void{   ----------------------------------------------------------------->> When i enter Event to the loadvalues function i'm getting that error
                                            ticketViewStack.selectedChild = liveTicketVBox;
                                      userID = Application.application.parameters.userId;
                                      customertId = Application.application.parameters.customerId;
                                             if("true" == Application.application.parameters.escalationEditOption.toString()){
                                                escalationEditOption = true;
                                            channelUrl = "./messagebroker/amf";
                                             userID = 92;
                                      customertId = 3;
                                               escalationEditOption = true;
                                              channelUrl = "http://172.16.1.144:5009/messagebroker/amf";
                                var cs:ChannelSet = new ChannelSet();
                                            var customChannel:AMFChannel = new AMFChannel("my-amf",channelUrl);
                                            cs.addChannel(customChannel);
                                            remoteObject.channelSet = cs;
                                            remoteObject.getEscalationMaster();
                                            cursorManager.setBusyCursor();
                                            remoteObject.getAllLiveEscalationDetails(userID,customertId,displayTo wer.selectedItem.data,ticketType.selectedItem.data);
                                            cursorManager.removeBusyCursor();
                                            displayTower.selectedIndex = 0;
                                            refereshTime.selectedIndex = 0;

    Hi, Actually i did changes like show below.
    i made creationComplete="loadValues()"
    And i made
    private function loadValues():void
    I want to  set a busy cursor, But its not working.
    Actaully the loadValues() function will load the data when we open that perticular page.but it;ll take some time to load so that i want to put busy cursor. In above Code i used busy cursor but its not working.

  • ui:ContextMenuItem in MXML causes Error 1136: Incorrect number of arguments

    Hello,
    I'm trying to define a context menu declaratively like so:
    quote:
    <ui:ContextMenu id="editChartDataContextMenu">
    <ui:customItems>
    <mx:Array>
    <ui:ContextMenuItem caption="Clear"/>
    </mx:Array>
    </ui:customItems>
    </ui:ContextMenu>
    However, the Flex compiler gives an error for the line that
    reads "<ui:ContextMenuItem ....". (the line in boldface).
    The error is: 1136: Incorrect number of arguments. Expected
    1.
    Needless to say, I have experimented with varying number of
    attributes, but no luck.
    I have googled in vain to find examples where context menus
    are built up using markup; all examples seem to be imperative
    (ActionScript) code, instead of declarative.
    Any ideas?
    Joubert

    I know context menus can be used in limited situations with
    limited functionality in Flex. Don't know if your usage is within
    the ways context menus are used in Flex.

  • Incorrect number of arguments error

    Seems like a simple task, and i've used the same method for other files but for some reason it doesn't recognize the arguments. Here's just the code relating to my error. I made bold the line with the error.
    var loader:Loader;
    var i:Number = 1;
    var container:Sprite;
    function imgLoad(e:MouseEvent):void {
         i++;
         if (i == 3) {
              i = 0;
         loader = new Loader();
         loader.load(new URLRequest("resized Images/Bracelet" + String(i) + ".jpg"));
         preload_mc.visible = true;
         loader.contentLoaderInfo.addEventListener(Event.INIT,imgComplete,false,0,true);
         loader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS,imgProgress,false,0,true );
    function imgProgress(e:ProgressEvent):void {
         var loaded:Number = e.bytesLoaded;
         var total:Number = e.bytesTotal;
         var pct:Number = loaded/total;
         preload_mc.loader_mc.scaleX = pct;
    function imgComplete(e:Event):void {
         container = new Sprite();
         addChild(container);
         var myLoader:Loader = new Loader(e.target.loader);
         container.addChild(myLoader);
         smallImg_mc.visible = false;
         fullMode_txt.visible = false;

    Loader constructor doesn't accept any arguments:
    http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/Loader.html#Loader

  • 1136: Incorrect number of arguments.  Expected 1

    i got the error in the following code please help me how this happens
    package zoo{
        import flash.utils.setInterval;
        import flash.utils.clearInterval;
        internal class VirtualPet{
            internal var PetName;
            private static var maxNameLength = 20;
            private static var maxCalories = 2000;
            private static var caloriesPerSecond = 100;
            private var digestIntercalID;
            private var CurrentCalories=VirtualPet.maxCalories/2;
            public function VirtualPet(name){
                //object.variableName = "some value";
                this.PetName = name;
                digestIntercalID= setInterval(digest,1000);
            public function eat(foodItems){
                if(CurrentCalories==0){
                    trace (getName() + "is dead you cannot feed it");
                    return;                   
                if (foodItems is Apple){
                    if(foodItems.hasWorm()){
                        trace ("the" + foodItems.getName()+ "had a worm"+ getName() + "cannot eat it");
                        return;
                //object.variableName = value;
                //this.CurrentCalories +=numberOfCalories;
                //setCalories(CurrentCalories + numberOfCalories);
                trace (getName() +"ate " + foodItems.getName());
            setCalories(CurrentCalories + foodItems.getCalories());
            private function digest(){
                trace (getName()+"digested some food");
                setCalories(getCalories() - VirtualPet.caloriesPerSecond);
            public function setCalories(newCurrentCalories){
                if(newCurrentCalories >VirtualPet.maxCalories){
                    CurrentCalories = VirtualPet.maxCalories;       
                }else if (newCurrentCalories <0){
                    CurrentCalories = 0;
            }else {
                CurrentCalories = newCurrentCalories;
            //calculate the amount of calories left   
            var caloriePercentage = Math.floor(getHunger()*100);
            trace (getName()+ "has "+ CurrentCalories + "Calories"+ caloriePercentage +"% of food remeaning" );
            if (caloriePercentage == 0){
                clearInterval(digestIntercalID);
                trace (getName()+"has died you can't feed it");
                return;
            public function getCalories(currentCalories){
                return CurrentCalories;
            public function getHunger(){
                return CurrentCalories / VirtualPet.maxCalories;
            public function setName (newName){
                if(newName.length>VirtualPet.maxNameLength){
                    newName = newName.substr(0,VirtualPet.maxNameLength);
                }else if (newName.length==" "){
                    return;
                PetName = newName;           
            public function getName(){
                return  PetName;

    What Murphy is trying to say is that you're supposed to use an argument within the getCalories function.
    Like this:
    setCalories(getCalories(theMissingArgumentHere) - VirtualPet.caloriesPerSecond);
    This is because when you created your getCalories function you "asked" for an argument:
    public function getCalories() //function expecting 0 arguments
    public function getCalories(currentCalories) //function expecting 1 argument (currentCalories)
    public function anyOtherFunction (num1:int, num2:int, num3:int) //function expecting 3 arguments...and so on.

  • ORA-00909: invalid number of arguments

    The statement works when after THEN I put "SGA-" but as soon as I put concat function I get ORA-00909>
    Thanks for your HELP!
    SELECT
    gl_ent,
    gl_sa,
    gl_acc,
    gl_cc,
    GL_AMT,
    CASE
    WHEN (gl_acc BETWEEN 8000 AND 8499) OR
    (gl_acc BETWEEN 8000 AND 8999) OR
    (gl_acc BETWEEN 8000 AND 8981) AND
    ((gl_cc BETWEEN 600 AND 647) OR
    (gl_cc BETWEEN 649 AND 650) OR
    (gl_cc BETWEEN 651 AND 660)OR
    (gl_cc BETWEEN 700 AND 755)OR
    (gl_cc BETWEEN 801 AND 802)OR
    (gl_cc BETWEEN 861 AND 882)OR
    (gl_cc = '648')OR
    (gl_cc = '800'))
    THEN (concat(' " SGA-',GL_ACC,' " '))
    END AS measure
    FROM F_ACCT_TRX_HIST

    SQL> insert into F_ACCT_TRX_HIST values (8123,713);
    1 row created.
    SQL> commit;
    Commit complete.
    SQL> SELECT CASE
      2            WHEN
      3                  (gl_acc BETWEEN 8000 AND 8999)
      4              AND (   (gl_cc BETWEEN 600 AND 660)
      5                   OR (gl_cc BETWEEN 700 AND 755)
      6                   OR (gl_cc BETWEEN 800 AND 802)
      7                   OR (gl_cc BETWEEN 861 AND 882)
      8                  )
      9            THEN ' " SGA-' || GL_ACC || ' " '
    10         END AS measure
    11  FROM   F_ACCT_TRX_HIST
    12  ;
    MEASURE
    " SGA-8123 "

  • Error 1137: Incorrection number of arguments. Expected no more than 1

    Hello from a beginner!
    I want my navigation bar to open other pages in the same window.  Currently, it's opening as if it's _blank (must be the defaut when nothing is coded).
    I thought I was coding correctly, but the error above popped up - so now I don't know what to do next.  Any help would be appreciated.  Thanks in advance.
    The code as it is with the error is as follows - the line with the error is highlighted in italics.
    function goHome(event:MouseEvent):void {
    var targetURL:URLRequest = new
    URLRequest("http://www.fairwoodcommunitynews.com/Alphatest/Home.html", "_parent");
    navigateToURL (targetURL);
    homeBtn.addEventListener(MouseEvent.CLICK, goHome);

    Thanks - I have been googling and playing with the code and inserted "_self" (below) and it worked.  What is the difference between "_parent" and "_self" ?
    Thanks for taking the time to help!
    function goHome(event:MouseEvent):void {
    var targetURL:URLRequest = new
    URLRequest("http://www.fairwoodcommunitynews.com/Alphatest/Home.html");
    navigateToURL (targetURL, "_self");
    homeBtn.addEventListener(MouseEvent.CLICK, goHome);

  • 1136 incorrect number of arguments. expected 0

    package  {
              import flash.display.MovieClip;
              import flash.utils.Timer;
              import flash.events.Event;
              import flash.net.URLLoader;
              import flash.net.URLRequest;
              import flash.events.*;
              import flash.events.TimerEvent;
              public class JuteBox extends MovieClip {
                        private var tracks:Array;
                        private var i:int=0;          //points to current track
                        private var pollTimer:Timer = new Timer(100);          //updates UI periodically
                        public function JuteBox(url:String="content/playList.xml") {
                                  trace( "JuteBox" );
                                  //load the playList
                                  var loader = new URLLoader();
                                  loader.load( new URLRequest(url));
                                  loader.addEventListener( Event.COMPLETE, onListLoaded );
                                  //set up the timer
                                  pollTimer.addEventListener(TimerEvent.TIMER, updateUI );
                                  pollTimer.start();
                                  //initizlize the interface
                                  //buttons
                                  play_btn.addEventListener( MouseEvent.CLICK,
                                            function (e) { tracks[i].play() }
                                  //sliders
                                  //text box
                                  // constructor code
                        }//con
                        private function onListLoaded(e:Event):void {
                                  trace( "onListLoaded");
                                  var loader = e.target;
                                  //populate the array tracks
                                  var playList = new XML( loader.data );
                                  trace( playList.Song );
                                  tracks = [];
                                  for each (var song in playList.Song) {
                                            tracks.push( new Track ( song.@src ));
                        }//onbListLoaded
                        //updates the interface perdically
                        private function updateUI(e:Event=null):void {
                        }//updateui
                        //advances to next track
                        private function next(e:Event=null):void {
                        }//next
                        //goes to previous track
                        private function prev(e:Event=null):void {
                        }//prev
              }//class
    }//pack
    I'm sure it is something obvious but I can't find it. 

    For the line you highlighted in red you appear to be creating a new Track object... 
                        tracks.push( new Track ( song.@src ));
    which means you should have imported that class if it being used.
    Why did you highlight that line?.

  • Wrong number of arguments for a setcolor operator

    Does anyone know what the above message means? I saved a pages document as a .pdf file and when the person I emailed it to tried to open it he got the above message.
    He has been able to open previous files I have sent.

    OK, I have made some progress on this. Try opening the file you created in Pages '08 in Preview and saving under a new name. This is what my friend did and it worked. Here is what he said in his email to me:
    +"I opened your file on my MacBook Pro with Preview and then saved again under new name. I could open the file I saved in widows fine but the original file you sent would not open. "+
    Unfortunately, it did not work when I retraced his steps on my Mac. However, it is worth a try, and if it doesn't work on your own Mac, try another one you own or see if it will work on a friend's Mac.

  • In ME21N,User Exit/BADI for  Defaulting  Vendor number at item level.

    Hi Experts.
    In ME21N, for every purchase order, we have condtion tab for each line item.
    Many condition typesot taxes  are listed based on the config for the materials.
    My requirements is, When we go inside by selecting a condition type we find vendor number displayed.
    I need a user exit/BADI for defaulting the Vendor number.
    Regards
    Balaji R

    Hi,
    check with below link,
    fo this one you will find both user exit and badis
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/find%252bapplication%252bclass%252bwith%252bexits%252band%252bbadis%252bfor%252ba%252btransaction
    Regards,
    Madhu

  • ORA-01722: invalid number for getting PR information

    This is a query ran on Oracle Purchasing database, I want to select all those purchase requisitions which have accounting segment3 value between 100000 and 199999. The query errors out.
    As in the below query, even though I said "to_number(ccds.segment3) account_seg" in the inner select query but when I give a where condition "account_seg between 150000 and 160000" in the outer query, the sql errors out with "ORA-01722: invalid number" error.
    By commenting out statement "where account_seg between 150000 and 160000", I checked the values returned for segment 3 are all digits and no alphabets.
    Whats can be the issue ?
    ERROR at line 16:
    ORA-01722: invalid number
    select requisition_header_id from
    select
    prls.requisition_header_id requisition_header_id
    ,to_number(ccds.segment3) account_seg
    from
    PO_REQUISITION_headers_all prhs
    ,PO_REQUISITION_LINES_all prls
    ,PO_REQ_DISTRIBUTIONS_ALL prds
    ,gl_code_combinations_kfv ccds
    where
    prhs.requisition_header_id=prls.requisition_header_id
    and prls.requisition_line_id=prds.requisition_line_id
    and prds.code_combination_id=ccds.code_combination_id
    where account_seg between 150000 and 160000

    Hi this error comes because of data problem.
    Some value in segment3 is having alphanumeric data. Check it i am sure about this, i verified!
    Adding more info:
    Some of the alphanumeric data that i found in my database are:
    X00050
    F5000
    Let us replicate your error:
    1. This will run fine:
    SELECT segment3
    FROM gl_code_combinations_kfv
    WHERE segment3 = 'F5000';
    SEGMENT3
    F5000
    But when we say TO_NUMBER of this value, see what happens:
    SELECT TO_NUMBER(segment3)
    FROM gl_code_combinations_kfv
    WHERE segment3 = 'F5000';
    SELECT TO_NUMBER(segment3) FROM gl_code_combinations_kfv WHERE segment3 = 'F5000'
    ERROR at line 1:
    ORA-01722: invalid number
    Error proved!
    Thanks,
    Jithendra
    Error Proof added
    Jithendra

  • Reason for ORA-00600: internal error code, arguments: [kkslpco-peek], [], ?

    In my Production DataBase , I am getting ORA-600 error in Alert log file.
    Already , i have applied the patch 10.2.0.4.0.
    Still, the database is throwing that error.
    What is the reason for this error and how to resolvw this error?
    Following is the alert log file error?
    Wed Jul 16 10:33:30 2008
    Errors in file e:\oracle\admin\udump\rbidev_ora_640.trc:
    ORA-00600: internal error code, arguments: [kkslpco-peek], [], [], [], [], [], [], []
    Wed Jul 16 10:33:37 2008
    Errors in file e:\oracle\admin\udump\rbidev_ora_640.trc:
    ORA-00600: internal error code, arguments: [kkslpco-peek], [], [], [], [], [], [], []
    Wed Jul 16 14:12:45 2008
    Errors in file e:\oracle\admin\udump\rbidev_ora_7960.trc:
    ORA-00600: internal error code, arguments: [kkslpco-peek], [], [], [], [], [], [], []

    hi
    this is a generic error
    search in metalink...
    and if not Raise a SR suggested to you ........
    CHeers

  • Error: An insufficient number of arguments were supplied for function

    Hi ,
    I changed the data source for a data set on my report . The data source  is still pointing to same server and database but I am getting this error 
    "An error occurred during local report processing
    Query execution failed for data set 'Data Set Name'
    An insufficient number of arguments were supplied for function "
    I checked the function number of arguments again and it was correct and even executed the function in the dataset query designer and it works fine.
    any ideas for the reason for this error ?

    Without seeing the query you use or function its hard to suggest.
    See if parameter passed from SSRS has expected values. Is there some multivalued parameters involved?
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • ORA-15063: ASM discovered an insufficient number of disks for diskgroup

    Hello DBAs,
    I have encountered this problem. I am using storage vendor snapshot capability. On my first node, I have 2 disks for ASM diskgroups. ORCL:DATA belongs to DATA diskgroup and ORCL:FLASH belongs to FLASH diskgroup. After making the snapshots of these two disks, I mapped them to my second host which already has ASM instance. I ran /etc/init.d/oracleasm scandisk and listdisks I see two disks. But when I start up ASM instance I get this error:
    SQL> startup
    ASM instance started
    Total System Global Area 130023424 bytes
    Fixed Size 2019032 bytes
    Variable Size 102838568 bytes
    ASM Cache 25165824 bytes
    ORA-15032: not all alterations performed
    ORA-15063: ASM discovered an insufficient number of disks for diskgroup "FLASH"
    ORA-15063: ASM discovered an insufficient number of disks for diskgroup "DATA"
    Of course, I have the asm_diskstring and asm_diskgroups parameter set in my init+ASM.ora file. The ASM version is identical across both hosts. I guess my question would be, is it possible to do this? Do I need to re-create the ASM disks using /etc/init.d/oracleasm? Any help is much appreciated.
    Thanks,
    TD

    What is your configuration?
    If you have AIX and EMC san, then refer to this metalink note: 467702.1
    In my case, it was HP-UX and HP san EVA8200. But our problem was two different disks were presented to the two nodes, with same names by the unix admin/san admin guys.
    Before they could figure out the problem, I had done a lot of research for few days to figure this out. Another problem I noticed in some cases was improper permissions. Either the db software owner didn't have permissions to the asm disks, or if the owner of both software was same, then the actual permissions/ownership of the shared raw devices was different on the two nodes.
    Hope this helps. And I will appreciate once you fix the problem if you can also update this forum with your solution. That will help the community in future.
    Thanks

Maybe you are looking for

  • Duplicates in iphoto

    What is the best wat to get rid of duplicates in iphoto. They pictures were imported over as an untitled event and I already had the pictures in my library.

  • Using RAND() in php

    Hello, I need some assistence using this rand() function in php. I have one mysql database and I want to get 4 items randomly, but sometimes I get duplicated items. how can I avoid this? also, shouldn't I count the total items in database and then us

  • How to add a new instance to a 2 node SQL 2008 R2 Cluster under the same networkname

    Hello All, I'm fairly new to sql and have just deployed a new 2 node SQL 2008 R2 cluster. During installation, I created a networkname SQLCLU and a named instance I01. I now would like to add another Instance (I02) under the same networkname. What is

  • Mail audio quit working

    Audio related to my mail alerts stopped working. What to do?

  • Can I change or create a site icon for a pinned tab?

    I want to change the site icon to one on my pinned tabs. Like a cross for my church's website.