Wmiprov.log - WDM call returned error: 4200

I have swtiched to an ASUS motherboard, but I have a feeling that it may be a problem for other nForce motherboards as well and I know that you guys are always on top of things in here...and I was hoping that you could confirm or deny my theory. There was another person in the ASUS Forum that has this same thing happening, so at least I know that it is nForce + 3.13 driver related somehow.
Windows XP Pro - I've noticed that my A7N8X-E is logging WMI errors in the file c:\windows\system32\wbem\logs\wmiprov.log. The error message is logged every ten seconds and states this exactly:
(Thu Feb 19 22:52:00 2004.105546) : WDM call returned error: 4200
(Thu Feb 19 22:52:00 2004.105546) : WDM specific return code: 4200(Thu Feb 19 22:52:00 2004.105546)
To troubleshoot where it may be coming from, I tried a few things:
1). Started in Safe Mode. It was NOT logging the error.
2). Started in regular mode with all startup applications disable, it WAS logging the error.
3). Disabled all extra devices in Device Manager, still logging the error.
4). Uninstalled the 3.13 drivers, the error logging stopped.
5). Reinstalled the 3.13 drivers, the errors started logging again. In fact, I checked the file right at the point in the driver installation where it pauses to tell you about the dangers of the IDE drivers and it was already logging the errors.
Does anyone else have this occuring on their motherboard? I would really appreciate it if you could check. If not, does anyone know what might be causing this error to logged.

Hi Axel,
In my case I can completely stop the "WDM call returned error: 4200" by disabling my network interface card.  To try this, right-click on Network Neighborhood and choose 'Properties'.  Then right click on your Local Area Network and choose "Disable".   Then check the log file again in a few minutes to see if it quit loggin errors.  In my case it did stop logging errors.  To test further I uninstalled the nForce onboard LAN and installed a 3Com network card instead.  It also creates the WDM call returned errors as soon as you enable the TCP/IP protocol for the device.
Microsoft says that error #4200 means "ERROR_WMI_GUID_NOT_FOUND, "The GUID passed was not recognized as valid by a WMI data provider".  
I don't think this is a serious error and I doubt it causes any problems, but over at nforcershq.com...I have heard from other people that receive the error too.   All of my Intel based machines NEVER receive this error.  There is very little information on the internet regarding WMI errors, but they are designed for driver programmers to debug problems with their drivers...they really aren't meant to be useful for the end user.  I only came across the error because I was running a hard drive activity monitoring program to diagnose a different problem and I kept seeing that I was writing to the log file every ten seconds...so I decided to open the log file to check it out.
In the mean time I have turned off error logging because it will save on hard drive activity.  My system was logging the error every 10 seconds.  You can turn off the logging by running this from the 'Start -> Run' button "wmimgmt.msc"  Once the window opens, right-click on 'WMI-Control Panel' and choose 'Properties'.  Click on the 'Logging' tab and choose disabe.
One easy way to check which version of nVidia drivers you downloaded is to go to C:\nvidia\nForceWin2KXP and look at the next folder name to see if it says 3.13.
Quote
Originally posted by axeluktoo
(Mon Feb 09 23:51:26 2004.293593) : WDM call returned error: 4200
(Mon Feb 09 23:51:26 2004.293593) : ***************
(Mon Feb 09 23:51:26 2004.293593) : BinaryMofsHaveChanged returned FALSE:
I haven't got a clue what they mean though - anyone else know?
This may sound like a stupid question but how do I find out which set of nForce drivers I have installed (I just download them and install them and I can't remember which ones I have on this partition - I rewrite "Drive Image(s)" quiet a lot also so it's not easy to keep track.
In the "nForce Control Panel" I have the Audio Driver version 6.14.0366.0 (3.66)
and Control panel version 1.00.00.036 (3.66). Am I right in assuming the drivers I have are 3.66?
Axel  

Similar Messages

  • Bug Report - DB toolkit returns error when calling the DefaultDatabase property with SQLite

    There's an old bug in the DB toolkit where calling the DefaultDatabase property returns error -2147217887 if you're using certain DBs (such as SQLite or PostgreSQL and I believe MySQL as well).
    The problem is that this property is called by a VI which is used in some of the commonly used VIs (such as the insert VI),
    causing them to fail. Whoever wrote the code was aware of this issue,
    since they added a comment about it, as you can see below.
    The immediate fix for this is pretty easy -  add code to ignore the error or don't call the property at all. It's not used anywhere in the toolkit and unless you're using the VI yourself to get the property, this won't break any code. The problem with this is that you need to do this in every PC.
    NI already has a CAR for this (CAR 232063) and should hopefully fix it, so there's no need to take further action at the moment. This post is for people searching for this in the future.
    Try to take over the world!

    Interesting. I have seen this before but it returned a different error code. (Error -2147352567)
    =====================
    LabVIEW 2012

  • OfficeJet Pro 8600 plus will not install , msg Call to DriverPackageInstall returns error 5

    I get message "Call to Driver Package Install returned error 5 for package -c\Program Files\HP\HP OfficeJet Pro 8600\Drivers Store\Pipeline\hpup\03.inf-Call to Driver Package Install must be a member of th eadministrator group to install a driver package. Laptop is HP, Core 5, running Win 8.1
    No security messages arose during very slow install.
    Tried several times, tried to download installation package as suggested btroubleshooter but aborted 4 times (4 hours), other downloads had no problem. Tried changing startup as indicated also, did not correct the problem.

    Hi Liam,
    The installation CD that came with your 8600 will definitely not work with Windows 8.1 and is not same as the latest online download which you will need to install on Win8.1.
    Are you running Win8.1 Pro 32 or 64 bit?
    Also make sure you select the right model of your Officejet. There are 3 different models.
    HP Officejet Pro 8600 Plus e-All-in-One Printer series - N911
     HP Officejet Pro 8600 Plus e-All-in-One Printer - N911g
    HP Officejet Pro 8600 e-All-in-One Printer series - N911
     HP Officejet Pro 8600 e-All-in-One Printer - N911a
    HP Officejet Pro 8600 Premium e-All-in-One Printer series - N911
     HP Officejet Pro 8600 Premium e-All-in-One - N911n
    Try uninstalling printer from the control panel and reinstall using the Win8.1 download from the link above.
    Thanks

  • UDPWrite in a loop. "A Windows Sockets function call returned an unexpected error."

    Hello together,
    i use UDP Support Library in NI CVI 9.0. When i wait for receiving a packet at the pc to send then a packet from the pc, the functions UDPRead and UDPWrite work fine. If i want to test the maximum throughput, i put the UDPWrite in a loop, but then an error occurs. It is "kUDP_UnexpectedWinsockError"
    Error Popup:
    "NON-FATAL RUN-TIME ERROR:   "main.c", line 53, col 22, thread id
    0x00000C18:   Library function error (return value == -6822
    [0xffffe55a]). A Windows Sockets function call returned an unexpected
    error."
    Line 53:
    status = UDPWrite (channel, 60100, "192.168.1.10", pOutputBuffer, 1458);
    the whole loop:
    while(1)
    status = UDPWrite (channel, 60100, "192.168.1.10", pOutputBuffer, 1458);
    counter++;
    if(counter>50)
    break;
    else{;}
    The error occurs after 3-16 packets have been sent. If i step through the programm, no error occurs. So i guess its because the UDPWrite command is invoked too fast. pOutputBuffer has static data. I could use a delay in the loop, but then i dont know how to configure for maximal throughput.
    Any ideas how to avoid this error?
    Regards Florian

    Hello and thank you for your answer. Sorry that i reply a month later.
    I dont know what you mean by "let 'er rip approach". Do you mean something like:
    status = UDPWrite (channel, 60100, "192.168.1.10", pOutputBuffer, 1458);
    if(status==0)
     counter++;
    else
      Delay(0.00005);
    I did not yet try to put the packet number in the payload, but there is just a 30 cm crossover cable between the two devices, no switch, no router. So the sequence should not be interruptet. And even if they arrive in chaos, i dont mind.
    I have contacted the NI support 2 weeks ago, but no response yet.
    I did some tests with a delay between the execution of UDPWrite(). The code:
    float time = 0.0;
     for(i = 1; i < 1000; i++)
      status = UDPWrite (channel, 60100, "192.168.1.10", pOutputBuffer, 1458);
      time = 1.0 / i;
      Delay(time);
    The results:
    For i between 1 and 1000: no error, the speed of the last ten packets was about 6.5 MBit/s
    For i between 1000 and 2000: error occured at i = 1585 (variable time in Delay was 0.0006313), the speed of the last ten packets was about 8 MBit/s
    Then i put some constant values in Delay and ran 100 UDPWrite iterations:
    Delay(0.0006): 7.48 MBit/s
    Delay(0.0001): 10.7 MBit/s
    Delay(0.00001): error occured at i=31, speed of 31 packets was 12.0 MBit/s
    Delay(0.00008): 100 of 100 packets, speed 10.9 MBit/s
    Delay(0.00005): error at i=41, speed of 41 packets 11.1 MBit/s

  • ITunes Burning Error 4200 - Windows XP

    I recently purchased an HPa1130n running iTunes 4.9. It was working fine up until a week ago when I started getting errors that say "cancelling burn... unknown error 4200". I have read a few posts in this forum and would like for someone to help me get my system back up and burning. I've done the obvious (slowing the speed, trying different disks, etc). I've also checked my DMA settings to ensure that they are correct. From what I have read so far, I think iTunes is having trouble communicating with my CD Burner.
    Help me obi-wan-kenobi.. you're my only hope...
    Here is some of my info:
    Hardware Information
    CPU : AMD Athlon 64 Processor 3500+ 2190 MHz
    Bus Speed : 199 MHz
    Motherboard : MSI ALBACORE
    System : HP a1130n
    BIOS : Phoenix 3.12
    Memory : 1024 MB (129ns)
    Sound : Realtek AC97 Audio
    Video : ATI RADEON Xpress 200 Series
    Drive Information
    Drive : HL-DT-ST DVDRRW GWA-4166B
    Type : DVD±R/RW DL Recorder
    Firmware Version : 1823
    Buffer Size : 2 MB
    Lower Filters
    Driver : PxHelp20
    Description : Px Engine Device Driver for Windows 2000/XP
    Version : 2.03.27a
    Company : Sonic Solutions
    Upper Filters
    Driver : GEARAspiWDM
    Description : CDRom Class Filter Driver
    Version : 2.0.4.0
    Company : GEAR Software Inc.

    Thanks for the prompt response b.
    Here are some of the things you asked about:
    (1) - The diagnostic log:
    Microsoft Windows XP Professional Service Pack 2 (Build 2600)
    iTunes 4.9.0.17
    CD Driver 2.0.4.3
    CD Driver DLL 2.0.3.1
    LowerFilters: PxHelp20 (2.0.0.0),
    UpperFilters: GEARAspiWDM (2.0.4.3),
    Video Driver: VisionTek XTASY X300 SE Hypermemory
    IDE\DiskST3250823AS____________________________3.03___, Bus Type ATA, Bus Address [0,0]
    USBSTOR\DiskGenericUSB_CF_Reader__1.01, Bus Type USB
    USBSTOR\DiskGenericUSB_MS_Reader__1.03, Bus Type USB
    USBSTOR\DiskGenericUSB_SD_Reader__1.00, Bus Type USB
    USBSTOR\DiskGenericUSB_SM_Reader__1.02, Bus Type USB
    IDE\CdRomHL-DT-STDVDRRW_GWA-4166B_______________1823___, Bus Type ATA, Bus Address [0,0]
    IDE\CdRomIDE-DVDDROM6216________________________HD07___, Bus Type ATA, Bus Address [1,0]
    If you have multiple drives on the same IDE or SCSI bus, these drives may interfere with each other.
    Some Dell computers need an update to the ATA bus driver before iTunes recognizes CDs. If you have a Dell computer, check the Dell support website for details.
    E: HL-DT-ST DVDRRW GWA-4166B, Rev 1823
    Drive is empty.
    F: IDE-DVD DROM6216, Rev HD07
    Drive is empty.
    (2) New software added
    I recently installed NERO then updated to 6.6 trial. I suspect that this has something to do with it as the last time i burned a CD sucessfully was a day before I installed/updated NERO.
    (3) I tried to alternatively burn in windows media player and was also unsucessful.
    (4) I see a ton of 7 or 8 events ranging from 100, 101, 102, 103 that are related to database engines but nothing related to iTunes. I see two ACEEventLogs from today:
    0000000001: 2005-09-03 12:40:07:203 Systemtray cannot start - ACE Runtime not detected
    Error Called by: ATI.ACE.CLI.EXE.CLI::Main processID:00348 threadID:(CLISystemtray ) domainName:(CLI.exe ) assemblyName:(CLI, Version=1.2.2006.283, Culture=neutral, PublicKeyToken=90ba9c70f846762e)
    (5) It just got worse. I attempted to burn another disk and now I don't even get the error. When prompted to insert a blank disk and after clicking the burn icon, the top grey screen just blinks "checking media" a bunch of times then it times out. I don't even get to the "preparing to write" stage.
    Thanks again!
    RR

  • [SOLVED]"The requested URL returned error: 407" while using pacman

    pacman worked fine until now. When I try to upgrade with
    pacman -Syu
    it returns what is written below even though internet works fine without problems(I'm posting from the same system using firefox)
    How can I get pacman working again?
    :: Synchronizing package databases...
    error: failed retrieving file 'core.db' from mirror.cse.iitk.ac.in : The requested URL returned error: 403
    error: failed retrieving file 'core.db' from mirror.cse.iitk.ac.in : The requested URL returned error: 403
    error: failed retrieving file 'core.db' from [url=ftp://ftp.jaist.ac.jp]ftp.jaist.ac.jp[/url] : The requested URL returned error: 407
    error: failed retrieving file 'core.db' from [url=ftp://ftp.jaist.ac.jp]ftp.jaist.ac.jp[/url] : The requested URL returned error: 407
    error: failed retrieving file 'core.db' from mirror.yongbok.net : The requested URL returned error: 407
    error: failed retrieving file 'core.db' from mirror.yongbok.net : The requested URL returned error: 407
    error: failed to update core (download library error)
    error: failed retrieving file 'extra.db' from mirror.cse.iitk.ac.in : The requested URL returned error: 403
    error: failed retrieving file 'extra.db' from mirror.cse.iitk.ac.in : The requested URL returned error: 403
    error: failed retrieving file 'extra.db' from [url=ftp://ftp.jaist.ac.jp]ftp.jaist.ac.jp[/url] : The requested URL returned error: 407
    error: failed retrieving file 'extra.db' from [url=ftp://ftp.jaist.ac.jp]ftp.jaist.ac.jp[/url] : The requested URL returned error: 407
    error: failed retrieving file 'extra.db' from mirror.yongbok.net : The requested URL returned error: 407
    error: failed retrieving file 'extra.db' from mirror.yongbok.net : The requested URL returned error: 407
    error: failed to update extra (download library error)
    error: failed retrieving file 'community.db' from mirror.cse.iitk.ac.in : The requested URL returned error: 403
    error: failed retrieving file 'community.db' from mirror.cse.iitk.ac.in : The requested URL returned error: 403
    error: failed retrieving file 'community.db' from [url=ftp://ftp.jaist.ac.jp]ftp.jaist.ac.jp[/url] : The requested URL returned error: 407
    error: failed retrieving file 'community.db' from [url=ftp://ftp.jaist.ac.jp]ftp.jaist.ac.jp[/url] : The requested URL returned error: 407
    error: failed retrieving file 'community.db' from mirror.yongbok.net : The requested URL returned error: 407
    error: failed retrieving file 'community.db' from mirror.yongbok.net : The requested URL returned error: 407
    error: failed to update community (download library error)
    error: failed retrieving file 'archlinuxfr.db' from repo.archlinux.fr : The requested URL returned error: 407
    error: failed to update archlinuxfr (download library error)
    error: failed to synchronize any databases
    error: failed to init transaction (download library error)
    Last edited by ebshankar (2012-02-19 08:08:59)

    hokasch wrote:
    What did you update? Are you using a proxy?
    You can try pacman -Syy --debug which will show the actual url it tries to access. When posting console output, please use the code tags.
    I tried to upgrade the system.
    I don't use a proxy. My isp uses authentication from the browser, when the browser is authenticated with the username and password, the whole system will be connected to the internet as long as the authentication page is open.
    Here is the output of "pacman -Syy --debug":
    debug: parseconfig: options pass
    debug: config: attempting to read file /etc/pacman.conf
    debug: config: finish section '(null)'
    debug: config: new section 'options'
    debug: config: HoldPkg: pacman
    debug: config: HoldPkg: glibc
    debug: config: SyncFirst: pacman
    debug: config: arch: x86_64
    debug: config: SigLevel: Never
    debug: config: finish section 'options'
    debug: config: new section 'core'
    debug: config file /etc/pacman.conf, line 81: including /etc/pacman.d/mirrorlist
    debug: config: attempting to read file /etc/pacman.d/mirrorlist
    debug: config: finished parsing /etc/pacman.d/mirrorlist
    debug: config: finish section 'core'
    debug: config: new section 'extra'
    debug: config file /etc/pacman.conf, line 85: including /etc/pacman.d/mirrorlist
    debug: config: attempting to read file /etc/pacman.d/mirrorlist
    debug: config: finished parsing /etc/pacman.d/mirrorlist
    debug: config: finish section 'extra'
    debug: config: new section 'community'
    debug: config file /etc/pacman.conf, line 93: including /etc/pacman.d/mirrorlist
    debug: config: attempting to read file /etc/pacman.d/mirrorlist
    debug: config: finished parsing /etc/pacman.d/mirrorlist
    debug: config: finish section 'community'
    debug: config: new section 'archlinuxfr'
    debug: config: finish section 'archlinuxfr'
    debug: config: finished parsing /etc/pacman.conf
    debug: setup_libalpm called
    debug: option 'logfile' = /var/log/pacman.log
    debug: option 'gpgdir' = /etc/pacman.d/gnupg/
    debug: option 'cachedir' = /var/cache/pacman/pkg/
    debug: parseconfig: repo pass
    debug: config: attempting to read file /etc/pacman.conf
    debug: config: finish section '(null)'
    debug: config: new section 'options'
    debug: config: finish section 'options'
    debug: config: new section 'core'
    debug: config file /etc/pacman.conf, line 81: including /etc/pacman.d/mirrorlist
    debug: config: attempting to read file /etc/pacman.d/mirrorlist
    debug: config: finished parsing /etc/pacman.d/mirrorlist
    debug: config: finish section 'core'
    debug: registering sync database 'core'
    debug: database path for tree core set to /var/lib/pacman/sync/core.db
    debug: adding new server URL to database 'core': ftp://mirror.cse.iitk.ac.in/archlinux/core/os/x86_64
    debug: adding new server URL to database 'core': http://mirror.cse.iitk.ac.in/archlinux/core/os/x86_64
    debug: adding new server URL to database 'core': ftp://ftp.jaist.ac.jp/pub/Linux/ArchLinux/core/os/x86_64
    debug: adding new server URL to database 'core': http://ftp.jaist.ac.jp/pub/Linux/ArchLinux/core/os/x86_64
    debug: adding new server URL to database 'core': ftp://mirror.yongbok.net/archlinux/core/os/x86_64
    debug: adding new server URL to database 'core': http://mirror.yongbok.net/archlinux/core/os/x86_64
    debug: config: new section 'extra'
    debug: config file /etc/pacman.conf, line 85: including /etc/pacman.d/mirrorlist
    debug: config: attempting to read file /etc/pacman.d/mirrorlist
    debug: config: finished parsing /etc/pacman.d/mirrorlist
    debug: config: finish section 'extra'
    debug: registering sync database 'extra'
    debug: database path for tree extra set to /var/lib/pacman/sync/extra.db
    debug: adding new server URL to database 'extra': ftp://mirror.cse.iitk.ac.in/archlinux/extra/os/x86_64
    debug: adding new server URL to database 'extra': http://mirror.cse.iitk.ac.in/archlinux/extra/os/x86_64
    debug: adding new server URL to database 'extra': ftp://ftp.jaist.ac.jp/pub/Linux/ArchLinux/extra/os/x86_64
    debug: adding new server URL to database 'extra': http://ftp.jaist.ac.jp/pub/Linux/ArchLinux/extra/os/x86_64
    debug: adding new server URL to database 'extra': ftp://mirror.yongbok.net/archlinux/extra/os/x86_64
    debug: adding new server URL to database 'extra': http://mirror.yongbok.net/archlinux/extra/os/x86_64
    debug: config: new section 'community'
    debug: config file /etc/pacman.conf, line 93: including /etc/pacman.d/mirrorlist
    debug: config: attempting to read file /etc/pacman.d/mirrorlist
    debug: config: finished parsing /etc/pacman.d/mirrorlist
    debug: config: finish section 'community'
    debug: registering sync database 'community'
    debug: database path for tree community set to /var/lib/pacman/sync/community.db
    debug: adding new server URL to database 'community': ftp://mirror.cse.iitk.ac.in/archlinux/community/os/x86_64
    debug: adding new server URL to database 'community': http://mirror.cse.iitk.ac.in/archlinux/community/os/x86_64
    debug: adding new server URL to database 'community': ftp://ftp.jaist.ac.jp/pub/Linux/ArchLinux/community/os/x86_64
    debug: adding new server URL to database 'community': http://ftp.jaist.ac.jp/pub/Linux/ArchLinux/community/os/x86_64
    debug: adding new server URL to database 'community': ftp://mirror.yongbok.net/archlinux/community/os/x86_64
    debug: adding new server URL to database 'community': http://mirror.yongbok.net/archlinux/community/os/x86_64
    debug: config: new section 'archlinuxfr'
    debug: config: finish section 'archlinuxfr'
    debug: registering sync database 'archlinuxfr'
    debug: database path for tree archlinuxfr set to /var/lib/pacman/sync/archlinuxfr.db
    debug: adding new server URL to database 'archlinuxfr': http://repo.archlinux.fr/x86_64
    debug: config: finished parsing /etc/pacman.conf
    :: Synchronizing package databases...
    debug: url: ftp://mirror.cse.iitk.ac.in/archlinux/core/os/x86_64/core.db
    debug: maxsize: 26214400
    debug: opened tempfile for download: /var/lib/pacman/sync/core.db.part (wb)
    debug: curl returned error 22 from transfer
    error: failed retrieving file 'core.db' from mirror.cse.iitk.ac.in : The requested URL returned error: 403
    debug: url: http://mirror.cse.iitk.ac.in/archlinux/core/os/x86_64/core.db
    debug: maxsize: 26214400
    debug: opened tempfile for download: /var/lib/pacman/sync/core.db.part (wb)
    debug: curl returned error 22 from transfer
    error: failed retrieving file 'core.db' from mirror.cse.iitk.ac.in : The requested URL returned error: 403
    debug: url: ftp://ftp.jaist.ac.jp/pub/Linux/ArchLinux/core/os/x86_64/core.db
    debug: maxsize: 26214400
    debug: opened tempfile for download: /var/lib/pacman/sync/core.db.part (wb)
    debug: curl returned error 22 from transfer
    error: failed retrieving file 'core.db' from ftp.jaist.ac.jp : The requested URL returned error: 407
    debug: url: http://ftp.jaist.ac.jp/pub/Linux/ArchLinux/core/os/x86_64/core.db
    debug: maxsize: 26214400
    debug: opened tempfile for download: /var/lib/pacman/sync/core.db.part (wb)
    debug: curl returned error 22 from transfer
    error: failed retrieving file 'core.db' from ftp.jaist.ac.jp : The requested URL returned error: 407
    debug: url: ftp://mirror.yongbok.net/archlinux/core/os/x86_64/core.db
    debug: maxsize: 26214400
    debug: opened tempfile for download: /var/lib/pacman/sync/core.db.part (wb)
    debug: curl returned error 22 from transfer
    error: failed retrieving file 'core.db' from mirror.yongbok.net : The requested URL returned error: 407
    debug: url: http://mirror.yongbok.net/archlinux/core/os/x86_64/core.db
    debug: maxsize: 26214400
    debug: opened tempfile for download: /var/lib/pacman/sync/core.db.part (wb)
    debug: curl returned error 22 from transfer
    error: failed retrieving file 'core.db' from mirror.yongbok.net : The requested URL returned error: 407
    debug: failed to sync db: download library error
    error: failed to update core (download library error)
    debug: url: ftp://mirror.cse.iitk.ac.in/archlinux/extra/os/x86_64/extra.db
    debug: maxsize: 26214400
    debug: opened tempfile for download: /var/lib/pacman/sync/extra.db.part (wb)
    debug: curl returned error 22 from transfer
    error: failed retrieving file 'extra.db' from mirror.cse.iitk.ac.in : The requested URL returned error: 403
    debug: url: http://mirror.cse.iitk.ac.in/archlinux/extra/os/x86_64/extra.db
    debug: maxsize: 26214400
    debug: opened tempfile for download: /var/lib/pacman/sync/extra.db.part (wb)
    debug: curl returned error 22 from transfer
    error: failed retrieving file 'extra.db' from mirror.cse.iitk.ac.in : The requested URL returned error: 403
    debug: url: ftp://ftp.jaist.ac.jp/pub/Linux/ArchLinux/extra/os/x86_64/extra.db
    debug: maxsize: 26214400
    debug: opened tempfile for download: /var/lib/pacman/sync/extra.db.part (wb)
    debug: curl returned error 22 from transfer
    error: failed retrieving file 'extra.db' from ftp.jaist.ac.jp : The requested URL returned error: 407
    debug: url: http://ftp.jaist.ac.jp/pub/Linux/ArchLinux/extra/os/x86_64/extra.db
    debug: maxsize: 26214400
    debug: opened tempfile for download: /var/lib/pacman/sync/extra.db.part (wb)
    debug: curl returned error 22 from transfer
    error: failed retrieving file 'extra.db' from ftp.jaist.ac.jp : The requested URL returned error: 407
    debug: url: ftp://mirror.yongbok.net/archlinux/extra/os/x86_64/extra.db
    debug: maxsize: 26214400
    debug: opened tempfile for download: /var/lib/pacman/sync/extra.db.part (wb)
    debug: curl returned error 22 from transfer
    error: failed retrieving file 'extra.db' from mirror.yongbok.net : The requested URL returned error: 407
    debug: url: http://mirror.yongbok.net/archlinux/extra/os/x86_64/extra.db
    debug: maxsize: 26214400
    debug: opened tempfile for download: /var/lib/pacman/sync/extra.db.part (wb)
    debug: curl returned error 22 from transfer
    error: failed retrieving file 'extra.db' from mirror.yongbok.net : The requested URL returned error: 407
    debug: failed to sync db: download library error
    error: failed to update extra (download library error)
    debug: url: ftp://mirror.cse.iitk.ac.in/archlinux/community/os/x86_64/community.db
    debug: maxsize: 26214400
    debug: opened tempfile for download: /var/lib/pacman/sync/community.db.part (wb)
    debug: curl returned error 22 from transfer
    error: failed retrieving file 'community.db' from mirror.cse.iitk.ac.in : The requested URL returned error: 403
    debug: url: http://mirror.cse.iitk.ac.in/archlinux/community/os/x86_64/community.db
    debug: maxsize: 26214400
    debug: opened tempfile for download: /var/lib/pacman/sync/community.db.part (wb)
    debug: curl returned error 22 from transfer
    error: failed retrieving file 'community.db' from mirror.cse.iitk.ac.in : The requested URL returned error: 403
    debug: url: ftp://ftp.jaist.ac.jp/pub/Linux/ArchLinux/community/os/x86_64/community.db
    debug: maxsize: 26214400
    debug: opened tempfile for download: /var/lib/pacman/sync/community.db.part (wb)
    debug: curl returned error 22 from transfer
    error: failed retrieving file 'community.db' from ftp.jaist.ac.jp : The requested URL returned error: 407
    debug: url: http://ftp.jaist.ac.jp/pub/Linux/ArchLinux/community/os/x86_64/community.db
    debug: maxsize: 26214400
    debug: opened tempfile for download: /var/lib/pacman/sync/community.db.part (wb)
    debug: curl returned error 22 from transfer
    error: failed retrieving file 'community.db' from ftp.jaist.ac.jp : The requested URL returned error: 407
    debug: url: ftp://mirror.yongbok.net/archlinux/community/os/x86_64/community.db
    debug: maxsize: 26214400
    debug: opened tempfile for download: /var/lib/pacman/sync/community.db.part (wb)
    debug: curl returned error 22 from transfer
    error: failed retrieving file 'community.db' from mirror.yongbok.net : The requested URL returned error: 407
    debug: url: http://mirror.yongbok.net/archlinux/community/os/x86_64/community.db
    debug: maxsize: 26214400
    debug: opened tempfile for download: /var/lib/pacman/sync/community.db.part (wb)
    debug: curl returned error 22 from transfer
    error: failed retrieving file 'community.db' from mirror.yongbok.net : The requested URL returned error: 407
    debug: failed to sync db: download library error
    error: failed to update community (download library error)
    debug: url: http://repo.archlinux.fr/x86_64/archlinuxfr.db
    debug: maxsize: 26214400
    debug: opened tempfile for download: /var/lib/pacman/sync/archlinuxfr.db.part (wb)
    debug: curl returned error 22 from transfer
    error: failed retrieving file 'archlinuxfr.db' from repo.archlinux.fr : The requested URL returned error: 407
    debug: failed to sync db: download library error
    error: failed to update archlinuxfr (download library error)
    error: failed to synchronize any databases
    error: failed to init transaction (download library error)
    debug: unregistering database 'local'
    debug: unregistering database 'core'
    debug: unregistering database 'extra'
    debug: unregistering database 'community'
    debug: unregistering database 'archlinuxfr'
    Last edited by ebshankar (2012-02-18 14:18:30)

  • ODBC functions SQLExecDirectW and SQLExecute functions return error:"DIAG [22001] [Microsoft][SQL Server Native Client 10.0]String data, right truncation (0) "

    Problem Description:
    ODBC functions SQLExecDirectW and SQLExecute functions return error:”DIAG [22001] [Microsoft][SQL Server Native Client 10.0]String data, right
    truncation (0) “. When we enable tracing in the ODBC administrator, in the SQL.log we see that values for the arguments: ColumnSize, BufferLength, and StrLen_or_IndPtr of ODBC function SQLBindParameter are not being displayed.
    Environment Used:
    OS: Microsoft Windows Server 2003 R2 Standard x64 Edition.
    Complier: Microsoft Visual Studio 2008 SP1 for x64.
    Database: Microsoft SQL Server 2008
    MDAC: Microsoft Data Access Components SDK 2.8
    Note: This problem is seen only in our 64bit application. However, in 32bit
    SQLExecDirectW and SQLExecute functions return successfully.
    As we could not find the values of 6<sup>th</sup>, 9<sup>th</sup> and 10<sup>th</sup> arguments(ColumnSize,
    BufferLength, and StrLen_or_IndPtr) passed to
    SQLBindParameter in the ODBC traces for 64bit, we are not sure whether the values for the above mentioned arguments are received correctly by SQLBindParameter or not. This information would help us to debug further. So, could you please let us know why
    these values are not displayed.
    1)Here is the extract of the SQL.log file for 32bit where the values for SQLULEN , SQLLEN and SQLLEN* are displayed properly:
    PR0CNFG 1028-15f0 ENTER SQLBindParameter
    HSTMT 0x006FBDD8
    UWORD 1
    SWORD 1 <SQL_PARAM_INPUT>
    SWORD -8 <SQL_C_WCHAR>
    SWORD -9 <SQL_WVARCHAR>
    SQLULEN 23
    SWORD 0
    PTR 0x0595EBBA
    SQLLEN 46
    SQLLEN * 0x05A5FB00
    2)Here is the extract of the SQL.log file for 64bit where the values for SQLULEN , SQLLEN are not displayed properly and
    SQLExecDirectW function return error:”DIAG
    [22001] [Microsoft][SQL Server Native Client 10.0]String data, right truncation (0) “. :
    PR0CNFG a78-fe4 ENTER SQLBindParameter
    HSTMT 000000000431D2F0
    UWORD 1
    SWORD 1 <SQL_PARAM_INPUT>
    SWORD -8 <SQL_C_WCHAR>
    SWORD -9 <SQL_WVARCHAR>
    SQLULEN SQLULEN SWORD 0
    PTR 0x0000000005364EFA
    SQLLEN SQLLEN
    SQLLEN * SQLLEN *
    PR0CNFG a78-fe4 EXIT SQLBindParameter with return code 0 (SQL_SUCCESS)
    HSTMT 000000000431D2F0
    UWORD 1
    SWORD 1 <SQL_PARAM_INPUT>
    SWORD -8 <SQL_C_WCHAR>
    SWORD -9 <SQL_WVARCHAR>
    SQLULEN SQLULEN SWORD 0
    PTR 0x0000000005364EFA
    SQLLEN SQLLEN SQLLEN *

    Hi Nalsr,
    From my research, I found:
    "[Microsoft][ODBC SQL Server Driver]String
    data right truncation" error may be returned from a call to
    SQLBindParameter if the size of the string parameter being used is greater than the size of the column being compared to. In other words if the
    string size of the <expression> to the left of the <comparison_operator> is less than the
    string size of the <expression> to the
    right, ODBC may return this error.
    The resolution is to make the string size of the <expression> to the
    right of the <comparison_operator> less than or equal to the
    string size of the <expression> on the left.
    It is difficult to track down this type of problem when third party development applications are being used. ODBC Trace can be used to help determine if this problem is occuring.
    Here is an example where the customer has submitted a query "select count(*) from type1 where type1 = ?", type1 is varchar(5) and the
    data type being passed by the application is char[9].
    Here is the relevant portion of the trace. The following information from the "exit" of SQLDescribeParam
    SWORD * 0x0095e898 (12)
    UDWORD * 0x0095e880 (5)
    Maps to the following with the actual value in parenthesis - SQL_VARCHAR Size 5:
    SQLSMALLINT *DataTypePtr
    SQLUINTEGER *ParameterSizePtr
    The "exit" value from SQLBindParameter provides the following
    information:
    SWORD 1 <SQL_PARAM_INPUT>
    SWORD 1 <SQL_C_CHAR>
    SQL Data Type SWORD 12 <SQL_VARCHAR>
    Parameter Size UDWORD 5
    SWORD 0
    Value PTR 0x0181c188
    Value Buffer Size SDWORD 5
    String Length SDWORD * 0x0181c103 (9)
    The string length parameter is the length of the
    string being bound to the parameter, in this instance there is a size mismatch which results in the SQLError and the SQLErrorW with the message "[Microsoft][ODBC SQL Server
    Driver]String data
    right truncation" .
    Hope this could be helpful.
    Best regards,
    Halin Huang

  • NI-SCOPE return Error -1074130432

    Hello
    I use NI-Scope 5102,
    the VI "niScope initialize.vi" return Error
    see attachment file
    thank you
    eran
    Attachments:
    error.jpg ‏47 KB

    Hello Eran,
    This error could be caused by having insufficient privileges to the IVI directory on your system and can be resolved by logging in as the administrator or having access to of all National Instruments files.
    If this is your case, the following KnowledgeBase 3JL6JQSF explains how to solve your problem. If that doesn't work, this Discussion Forum post describes the same error and has some suggestions on how to fix the problem.
    If this doesn’t help, here are some questions/suggestions:
    1) Are you running an example program?, If so, which one?
    2) The necessary drivers for your board are: NI-DAQ, NI-VISA, IVI-Engine, and NI-SCOPE. What version of those drivers do you have? If you are missing any of them, you can download the latest versions under NI Drivers and Updates.
    3) Are you log onto your computer as the administrator?
    4) Try running a simple example called "niScope EX Getting Started.vi" located in LabVIEW under Help>>Find Examples and then browsing to Hardware Input and Output>>Modular Instruments>>NI-SCOPE>>General. Does the same error occur at niScope Initialize?
    Let me know how it goes. Good luck,
    Tica T
    Applications Engineer
    National Instruments

  • Help with updates - The software change returned error code 0x87D00215(-2016411115).

    I have rolled out bunch of updates across few hundred workstation systems.
    Few of the desktops have failed to install SOME of the updates and just can't get my head around as to why?
    Looking at one of the workstations, I can see 5 updates are pending download at 0%.
    Some of these fail after a while and with in Software Centre, I can see 'Help with updates - The software change returned error code 0x87D00215(-2016411115).'. Not exactly sure what this means, but I have tried clearing the cache and
    rebooting the workstations few times.
    (I have also tried to use Windows Update and install one of these manually, which worked.)

    Investigating this further, I have found the following in CAS.log:
    ICcmContentTransferManager::ModifyJobPriority failed with error 0x87d00215 ContentAccess 01/06/2013 17:19:24 3316 (0x0CF4)
    No need to change timeout settings ContentAccess 01/06/2013 17:19:24 3316 (0x0CF4)
    Successfully created download request {ED6E9E5C-E806-43CA-9F93-49AC72D1DEAD} for content 53bf87a2-bedf-4def-b0ec-9637613c3429.1 ContentAccess 01/06/2013 17:19:24 3316 (0x0CF4)
    Requesting locations synchronously for content 99ddb078-b780-4605-8fac-9607fe56450d.1 with priority Foreground ContentAccess 01/06/2013 17:19:24 3316 (0x0CF4)
    The number of discovered DPs(including Branch DP and Multicast) is 1 ContentAccess 01/06/2013 17:19:24 3316 (0x0CF4)
    Calling back with the following distribution points ContentAccess 01/06/2013 17:19:24 3316 (0x0CF4)
    Distribution Point='http://DPSERVER.com/SMS_DP_SMSPKG$/99ddb078-b780-4605-8fac-9607fe56450d', Locality='LOCAL' ContentAccess 01/06/2013 17:19:24 3316 (0x0CF4)
    Requesting content 99ddb078-b780-4605-8fac-9607fe56450d.1, size(KB) 0, under context System with priority Foreground ContentAccess 01/06/2013 17:19:24 3316 (0x0CF4)
    ICcmContentTransferManager::ModifyJobPriority failed with error 0x87d00215 ContentAccess 01/06/2013 17:19:24 3316 (0x0CF4)
    No need to change timeout settings ContentAccess 01/06/2013 17:19:24 3316 (0x0CF4)
    Successfully created download request {67B7E59B-A386-4EA8-BF39-2EB64B108A6C} for content 99ddb078-b780-4605-8fac-9607fe56450d.1 ContentAccess 01/06/2013 17:19:24 3316 (0x0CF4)
    Requesting locations synchronously for content 61d33de7-9582-41e3-82fc-3e0f970b60f3.1 with priority Foreground ContentAccess 01/06/2013 17:19:24 3316 (0x0CF4)
    The number of discovered DPs(including Branch DP and Multicast) is 1 ContentAccess 01/06/2013 17:19:24 3316 (0x0CF4)
    Calling back with the following distribution points ContentAccess 01/06/2013 17:19:24 3316 (0x0CF4)
    Distribution Point='http://DPSERVER.com/SMS_DP_SMSPKG$/61d33de7-9582-41e3-82fc-3e0f970b60f3', Locality='LOCAL' ContentAccess 01/06/2013 17:19:24 3316 (0x0CF4)
    Requesting content 61d33de7-9582-41e3-82fc-3e0f970b60f3.1, size(KB) 0, under context System with priority Foreground ContentAccess 01/06/2013 17:19:24 3316 (0x0CF4)
    ICcmContentTransferManager::ModifyJobPriority failed with error 0x87d00215 ContentAccess 01/06/2013 17:19:24 3316 (0x0CF4)
    No need to change timeout settings ContentAccess 01/06/2013 17:19:24 3316 (0x0CF4)
    Successfully created download request {12E48136-B545-4C42-9745-9FF97CE38D52} for content 61d33de7-9582-41e3-82fc-3e0f970b60f3.1 ContentAccess 01/06/2013 17:19:24 3316 (0x0CF4)

  • Installation issue: Authentication: AWS for Windows NTLM returns error

    We are rebuilding our STG with Plumtree 5.0.4. After I installed Optional Enterprise Web Components, the Authentication: AWS for Windows NTLM returns error. I am wondering if anyone has the similar experience and could help to fix the issue. I have located error with the virtual directory but unable to fix it.
    <b>Symptons</b>
    When try to access
    http://servername/ntaws/RemoteSynchService.asp, got 404 page/folder not found error.
    <b>Log Error:</b>
    The message returned from the IIS creation of virtual directory ntaws on the Default Web Site
    web site for D:\Program Files\plumtree\ptntaws\5.0\webapp\ntaws\www is:
    <message>
    Error
    Error
    </message>
    <b>Solution Tried:</b>
    1. Manually Create the virtual directory - didn't work
    2. Reinstalled the Optionsal web service AWS portal, and re-migrate the ntaws.pte - didn't work.
    I appreciate your help.
    Hao Pan
    [email protected]

    from bi_server.out:
    default etypes for default_tkt_enctypes: 17 23 3 1 23.
    Pre-Authenticaton: find key for etype = 3
    AS-REQ: Add PA_ENC_TIMESTAMP now
    >>> EType: sun.security.krb5.internal.crypto.DesCbcMd5EType
    >>> KrbAsReq calling createMessage
    >>> KrbAsReq in createMessage
    >>> KrbKdcReq send: xxxx  timeout=30000, number of retries =3, #bytes=270
    >>> KDCCommunication: kdc=xxxx #bytes=270
    >>>DEBUG: TCPClient reading 106 bytes
    >>> KrbKdcReq send: #bytes read=106
    >>> KrbKdcReq send: #bytes read=106
    >>> KdcAccessibility: remove xxxxx
    >>> KDCRep: init() encoding tag is 126 req type is 11
    >>>KRBError:
             sTime is Wed Apr 15 13:32:41 EDT 2015 1429119161000
             suSec is 553936
             error code is 14
             error Message is KDC has no support for encryption type
             realm is xxxx
             sname is krbtgt/xxxxx
             msgType is 30
                    [Krb5LoginModule] authentication failed
    KDC has no support for encryption type (14)
    Any insight???

  • MBP freezes:  kernel[0]: AppleUSBMultitouchDriver::handleSuspend - SuspendPort returned error 0xe00002e2

    I only use the touchpad, no remote mouse.  Is that the problem?  Thank you!

    WENT BACK NEARLY 20 MINUTES AND THIS WAS THE EXTENT OF THE LOGGED ACTIVITY:
    7/18/13 11:29:59.000 AM kernel: CODE SIGNING: cs_invalid_page(0x1000): p=448[GoogleSoftwareUp] clearing CS_VALID
    7/18/13 11:36:34.628 AM [0x0-0x3c03c].org.mozilla.firefox: NOTE: child process received `Goodbye', closing down
    7/18/13 11:50:32.000 AM kernel: AppleUSBMultitouchDriver::handleSuspend - SuspendPort returned error 0xe00002e2.
    7/18/13 11:51:06.000 AM kernel: AppleUSBMultitouchDriver::handleSuspend - SuspendPort returned error 0xe00002e2.
    7/18/13 11:53:03.000 AM bootlog: BOOT_TIME 1374173583 0
    AND HERE IS THE SYSTEM DIAG REPORT CRASH LOG
    Process:    
    crsud [47]
    Path:       
    /usr/libexec/crsud
    Identifier: 
    crsud
    Version:    
    Code Type:  
    X86-64 (Native)
    Parent Process:  launchd [1]
    Date/Time:  
    2013-07-18 11:53:37.493 -0700
    OS Version: 
    Mac OS X 10.7.5 (11G63)
    Report Version:  9
    Crashed Thread:  0  Dispatch queue: com.apple.main-thread
    Exception Type:  EXC_BAD_ACCESS (SIGBUS)
    Exception Codes: 0x000000000000000a, 0x000000010078a000
    VM Regions Near 0x10078a000:
    Stack             
    0000000100708000-000000010078a000 [  520K] rw-/rwx SM=COW  thread 4
    --> mapped file       
    000000010078a000-0000000100792000 [   32K] r--/r-x SM=PRV  /private/var/db/*
    shared memory     
    0000000100792000-0000000100793000 [
    4K] rw-/rw- SM=SHM 
    Application Specific Information:
    objc[47]: garbage collection is OFF
    Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
    0   com.apple.security       
    0x00007fff8f834278 Security::SharedMemoryClient::SharedMemoryClient(char const*, unsigned int) + 288
    1   com.apple.security       
    0x00007fff8f83495c Security::ModuleNexus<Security::SecurityServer::SharedMemoryClientMaker>::make( ) + 59
    2   com.apple.security       
    0x00007fff8f6d3eb4 Security::ModuleNexusCommon::create(void* (*)()) + 166
    3   com.apple.security       
    0x00007fff8f83486d Security::ModuleNexus<Security::SecurityServer::SharedMemoryClientMaker>::opera tor()() + 71
    4   com.apple.security       
    0x00007fff8f83472e Security::SecurityServer::NotificationPort::NotificationPort(unsigned int) + 40
    5   com.apple.security       
    0x00007fff8f83479f Security::SecurityServer::ThreadNotifier::ThreadNotifier() + 79
    6   com.apple.security       
    0x00007fff8f70391c Security::ThreadNexus<Security::SecurityServer::ThreadNotifier>::operator()() + 48
    7   com.apple.security       
    0x00007fff8f772a3e Security::KeychainCore::CCallbackMgr::CCallbackMgr() + 32
    8   com.apple.security       
    0x00007fff8f772ac2 CallbackMaker::CallbackMaker() + 44
    9   com.apple.security       
    0x00007fff8f772b87 Security::ModuleNexus<CallbackMaker>::make() + 28
    10  com.apple.security       
    0x00007fff8f6d3eb4 Security::ModuleNexusCommon::create(void* (*)()) + 166
    11  com.apple.security       
    0x00007fff8f738cf5 Security::ModuleNexus<CallbackMaker>::operator()() + 71
    12  com.apple.security       
    0x00007fff8f7728fc Security::KeychainCore::CCallbackMgr::AddCallback(int (*)(unsigned int, SecKeychainCallbackInfo*, void*), unsigned int, void*) + 42
    13  com.apple.security       
    0x00007fff8f79acfd SecKeychainAddCallback + 29
    14  com.apple.CFNetwork      
    0x00007fff8f4e9d8d _CFURLProtocolInitHTTPProtocol + 17
    15  com.apple.CFNetwork      
    0x00007fff8f4e9d5e URLProtocolRegistry::URLProtocolRegistry() + 78
    16  com.apple.CFNetwork      
    0x00007fff8f4e9cf7 URLProtocol::InitClass() + 65
    17  libsystem_c.dylib        
    0x00007fff8f441e06 pthread_once + 86
    18  com.apple.CFNetwork      
    0x00007fff8f4e9cad URLProtocol::Class() + 23
    19  com.apple.CFNetwork      
    0x00007fff8f4e9c7d _CFURLProtocolRegisterFoundationBridge + 30
    20  com.apple.Foundation     
    0x00007fff8ff2c1b8 +[_NSCFURLProtocolBridge registerWithCFURLProtocol] + 118
    21  libsystem_c.dylib        
    0x00007fff8f441e06 pthread_once + 86
    22  com.apple.Foundation     
    0x00007fff8ff2c033 +[NSURLProtocol(NSURLProtocolPrivate) _registeredClasses] + 23
    23  com.apple.Foundation     
    0x00007fff8ff2be83 NSURLConnectionInit + 184
    24  libsystem_c.dylib        
    0x00007fff8f441e06 pthread_once + 86
    25  com.apple.Foundation     
    0x00007fff90035044 -[NSURLConnection(NSURLConnectionPrivate) _initWithRequest:delegate:usesCache:maxContentLength:startImmediately:connectio nProperties:] + 62
    26  com.apple.Foundation     
    0x00007fff8ff2bdc5 -[NSURLConnection initWithRequest:delegate:] + 47
    27  com.apple.Foundation     
    0x00007fff90033487 +[NSURLConnection connectionWithRequest:delegate:] + 56
    28  crsud                    
    0x00000001000022d7 0x100000000 + 8919
    29  crsud                    
    0x0000000100002e00 0x100000000 + 11776
    30  crsud                    
    0x0000000100001ec2 0x100000000 + 7874
    31  crsud                    
    0x0000000100001aaf 0x100000000 + 6831
    32  crsud                    
    0x0000000100001951 0x100000000 + 6481
    33  crsud                    
    0x0000000100001870 0x100000000 + 6256
    Thread 1:: Dispatch queue: com.apple.libdispatch-manager
    0   libsystem_kernel.dylib   
    0x00007fff878177e6 kevent + 10
    1   libdispatch.dylib        
    0x00007fff8a434786 _dispatch_mgr_invoke + 923
    2   libdispatch.dylib        
    0x00007fff8a433316 _dispatch_mgr_thread + 54
    Thread 2:
    0   libsystem_kernel.dylib   
    0x00007fff87817192 __workq_kernreturn + 10
    1   libsystem_c.dylib        
    0x00007fff8f444594 _pthread_wqthread + 758
    2   libsystem_c.dylib        
    0x00007fff8f445b85 start_wqthread + 13
    Thread 3:
    0   libsystem_kernel.dylib   
    0x00007fff87817192 __workq_kernreturn + 10
    1   libsystem_c.dylib        
    0x00007fff8f444594 _pthread_wqthread + 758
    2   libsystem_c.dylib        
    0x00007fff8f445b85 start_wqthread + 13
    Thread 4:: com.apple.NSURLConnectionLoader
    0   libsystem_kernel.dylib   
    0x00007fff8781567a mach_msg_trap + 10
    1   libsystem_kernel.dylib   
    0x00007fff87814d71 mach_msg + 73
    2   com.apple.CoreFoundation 
    0x00007fff87a1050c __CFRunLoopServiceMachPort + 188
    3   com.apple.CoreFoundation 
    0x00007fff87a18c74 __CFRunLoopRun + 1204
    4   com.apple.CoreFoundation 
    0x00007fff87a18486 CFRunLoopRunSpecific + 230
    5   com.apple.Foundation     
    0x00007fff8ff2bfd7 +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:] + 335
    6   com.apple.Foundation     
    0x00007fff8ff2072a -[NSThread main] + 68
    7   com.apple.Foundation     
    0x00007fff8ff206a2 __NSThread__main__ + 1575
    8   libsystem_c.dylib        
    0x00007fff8f4428bf _pthread_start + 335
    9   libsystem_c.dylib        
    0x00007fff8f445b75 thread_start + 13
    Thread 0 crashed with X86 Thread State (64-bit):
      rax: 0x000000010078a000  rbx: 0x0000000100792000  rcx: 0x0000000100789fff  rdx: 0x0000000000000000
      rdi: 0x0000000000000004  rsi: 0x0000000000008000  rbp: 0x00007fff5fbff020  rsp: 0x00007fff5fbfefe0
       r8: 0x0000000000000004   r9: 0x0000000000000000  r10: 0x00007fff87816a1e  r11: 0x0000000000000206
      r12: 0x0000000102100fe8  r13: 0x00007fff5fbfeff0  r14: 0x0000000000000004  r15: 0x0000000102100fd0
      rip: 0x00007fff8f834278  rfl: 0x0000000000010203  cr2: 0x000000010078a000
    Logical CPU: 1
    Binary Images:
    0x100000000 -   
    0x10000afff  crsud (??? - ???) <ABD7454B-0BB3-3A4E-9F74-98CF8975706D> /usr/libexec/crsud
    0x7fff663af000 -
    0x7fff663e3baf  dyld (195.6 - ???) <0CD1B35B-A28F-32DA-B72E-452EAD609613> /usr/lib/dyld
    0x7fff87722000 -
    0x7fff8772afff  libsystem_dnssd.dylib (??? - ???) <584B321E-5159-37CD-B2E7-82E069C70AFB> /usr/lib/system/libsystem_dnssd.dylib
    0x7fff8772b000 -
    0x7fff8772bfff  com.apple.CoreServices (53 - 53) <043C8026-8EDD-3241-B090-F589E24062EF> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
    0x7fff877e3000 -
    0x7fff877f1fff  com.apple.NetAuth (3.1 - 3.1) <FE7EC4D7-5632-3B8D-9094-A0AC8D60EDEE> /System/Library/PrivateFrameworks/NetAuth.framework/Versions/A/NetAuth
    0x7fff877f2000 -
    0x7fff877fbff7  libsystem_notify.dylib (80.1.0 - compatibility 1.0.0) <A4D651E3-D1C6-3934-AD49-7A104FD14596> /usr/lib/system/libsystem_notify.dylib
    0x7fff87800000 -
    0x7fff87820fff  libsystem_kernel.dylib (1699.32.7 - compatibility 1.0.0) <66C9F9BD-C7B3-30D4-B1A0-03C8A6392351> /usr/lib/system/libsystem_kernel.dylib
    0x7fff8789f000 -
    0x7fff878bcfff  libxpc.dylib (77.19.0 - compatibility 1.0.0) <9F57891B-D7EF-3050-BEDD-21E7C6668248> /usr/lib/system/libxpc.dylib
    0x7fff879e0000 -
    0x7fff87bb4ff7  com.apple.CoreFoundation (6.7.2 - 635.21) <62A3402E-A4E7-391F-AD20-1EF20236CE1B> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x7fff87bb5000 -
    0x7fff87bb6fff  libdnsinfo.dylib (395.11.0 - compatibility 1.0.0) <853BAAA5-270F-3FDC-B025-D448DB72E1C3> /usr/lib/system/libdnsinfo.dylib
    0x7fff87bb7000 -
    0x7fff87c59fff  com.apple.securityfoundation (5.0 - 55116) <A9311EF6-B7F7-3DA5-84E8-21BC9B2C3C69> /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoun dation
    0x7fff87ced000 -
    0x7fff87ceeff7  libremovefile.dylib (21.1.0 - compatibility 1.0.0) <739E6C83-AA52-3C6C-A680-B37FE2888A04> /usr/lib/system/libremovefile.dylib
    0x7fff88027000 -
    0x7fff88097fff  com.apple.datadetectorscore (3.0 - 179.4) <9C01D16F-75A9-3BDD-B91A-F0F32261A2E7> /System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDe tectorsCore
    0x7fff88988000 -
    0x7fff88992ff7  liblaunch.dylib (392.39.0 - compatibility 1.0.0) <8C235D13-2928-30E5-9E12-2CC3D6324AE2> /usr/lib/system/liblaunch.dylib
    0x7fff88e39000 -
    0x7fff88ebcfef  com.apple.Metadata (10.7.0 - 627.37) <B9BEB598-B6F2-3BFF-A8F3-C3C87CD076AB> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadat a.framework/Versions/A/Metadata
    0x7fff88f76000 -
    0x7fff88f7bfff  libcache.dylib (47.0.0 - compatibility 1.0.0) <1571C3AB-BCB2-38CD-B3B2-C5FC3F927C6A> /usr/lib/system/libcache.dylib
    0x7fff89407000 -
    0x7fff89412ff7  com.apple.bsd.ServiceManagement (2.0 - 2.0) <D836A22C-BBDC-3C9F-83D3-F8CC0EE75885> /System/Library/Frameworks/ServiceManagement.framework/Versions/A/ServiceManage ment
    0x7fff89413000 -
    0x7fff89421ff7  libkxld.dylib (??? - ???) <01161870-E3B3-3F87-BA4A-0AA7A081F409> /usr/lib/system/libkxld.dylib
    0x7fff89525000 -
    0x7fff8953cfff  com.apple.CFOpenDirectory (10.7 - 146) <E71AE4A2-F72B-35F2-9043-9F45CF75F11A> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpen Directory.framework/Versions/A/CFOpenDirectory
    0x7fff8953d000 -
    0x7fff89578fff  libsystem_info.dylib (??? - ???) <35F90252-2AE1-32C5-8D34-782C614D9639> /usr/lib/system/libsystem_info.dylib
    0x7fff89590000 -
    0x7fff8959bff7  libc++abi.dylib (14.0.0 - compatibility 1.0.0) <8FF3D766-D678-36F6-84AC-423C878E6D14> /usr/lib/libc++abi.dylib
    0x7fff898f1000 -
    0x7fff8992ffff  com.apple.bom (11.0 - 183) <F300B9EC-995E-33A7-9175-9F07D4B68F16> /System/Library/PrivateFrameworks/Bom.framework/Versions/A/Bom
    0x7fff8a0d9000 -
    0x7fff8a14fff7  libc++.1.dylib (28.4.0 - compatibility 1.0.0) <A24FC3DA-4FFA-3DD2-9DCC-2B8D1B3BF97C> /usr/lib/libc++.1.dylib
    0x7fff8a1ab000 -
    0x7fff8a1adfff  libquarantine.dylib (36.7.0 - compatibility 1.0.0) <8D9832F9-E4A9-38C3-B880-E5210B2353C7> /usr/lib/system/libquarantine.dylib
    0x7fff8a431000 -
    0x7fff8a43ffff  libdispatch.dylib (187.10.0 - compatibility 1.0.0) <8E03C652-922A-3399-93DE-9EA0CBFA0039> /usr/lib/system/libdispatch.dylib
    0x7fff8ae43000 -
    0x7fff8ae45fff  com.apple.TrustEvaluationAgent (2.0 - 1) <1F31CAFF-C1C6-33D3-94E9-11B721761DDF> /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/Tru stEvaluationAgent
    0x7fff8ae92000 -
    0x7fff8ae93fff  libunc.dylib (24.0.0 - compatibility 1.0.0) <337960EE-0A85-3DD0-A760-7134CF4C0AFF> /usr/lib/system/libunc.dylib
    0x7fff8b37e000 -
    0x7fff8b37efff  libkeymgr.dylib (23.0.0 - compatibility 1.0.0) <61EFED6A-A407-301E-B454-CD18314F0075> /usr/lib/system/libkeymgr.dylib
    0x7fff8b3fd000 -
    0x7fff8b402ff7  libsystem_network.dylib (??? - ???) <5DE7024E-1D2D-34A2-80F4-08326331A75B> /usr/lib/system/libsystem_network.dylib
    0x7fff8b407000 -
    0x7fff8b4a1ff7  com.apple.SearchKit (1.4.0 - 1.4.0) <4E70C394-773E-3A4B-A93C-59A88ABA9509> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchK it.framework/Versions/A/SearchKit
    0x7fff8b579000 -
    0x7fff8b57afff  liblangid.dylib (??? - ???) <CACBE3C3-2F7B-3EED-B50E-EDB73F473B77> /usr/lib/liblangid.dylib
    0x7fff8b57b000 -
    0x7fff8b580fff  libcompiler_rt.dylib (6.0.0 - compatibility 1.0.0) <98ECD5F6-E85C-32A5-98CD-8911230CB66A> /usr/lib/system/libcompiler_rt.dylib
    0x7fff8b581000 -
    0x7fff8b594ff7  libCRFSuite.dylib (??? - ???) <0B76941F-218E-30C8-B6DE-E15919F8DBEB> /usr/lib/libCRFSuite.dylib
    0x7fff8b595000 -
    0x7fff8b595fff  libOpenScriptingUtil.dylib (??? - ???) <A7847713-F410-39C0-884F-A7188A18E742> /usr/lib/libOpenScriptingUtil.dylib
    0x7fff8b5d2000 -
    0x7fff8b5d3fff  libDiagnosticMessagesClient.dylib (??? - ???) <3DCF577B-F126-302B-BCE2-4DB9A95B8598> /usr/lib/libDiagnosticMessagesClient.dylib
    0x7fff8b643000 -
    0x7fff8b745fff  libxml2.2.dylib (10.3.0 - compatibility 10.0.0) <AFBB22B7-07AE-3F2E-B88C-70BEEBFB8A86> /usr/lib/libxml2.2.dylib
    0x7fff8bbd0000 -
    0x7fff8bbd1ff7  libsystem_sandbox.dylib (??? - ???) <5459F293-E1F2-33B3-B9B2-2ABB7B915B62> /usr/lib/system/libsystem_sandbox.dylib
    0x7fff8be5e000 -
    0x7fff8bf6afef  libcrypto.0.9.8.dylib (49.0.0 - compatibility 0.9.8) <96BA2B42-4E11-33A9-84A5-31757F131A83> /usr/lib/libcrypto.0.9.8.dylib
    0x7fff8c237000 -
    0x7fff8c249ff7  libz.1.dylib (1.2.5 - compatibility 1.0.0) <30CBEF15-4978-3DED-8629-7109880A19D4> /usr/lib/libz.1.dylib
    0x7fff8c269000 -
    0x7fff8c277ff7  com.apple.AppleFSCompression (37 - 1.0) <B6B7A560-DD9E-3601-8ACE-42C1FA738843> /System/Library/PrivateFrameworks/AppleFSCompression.framework/Versions/A/Apple FSCompression
    0x7fff8c5cd000 -
    0x7fff8c61bfff  libauto.dylib (??? - ???) <D8AC8458-DDD0-3939-8B96-B6CED81613EF> /usr/lib/libauto.dylib
    0x7fff8c61c000 -
    0x7fff8c61dff7  libsystem_blocks.dylib (53.0.0 - compatibility 1.0.0) <8BCA214A-8992-34B2-A8B9-B74DEACA1869> /usr/lib/system/libsystem_blocks.dylib
    0x7fff8c77c000 -
    0x7fff8c883fe7  libsqlite3.dylib (9.6.0 - compatibility 9.0.0) <EE02BB01-64C9-304D-9719-A35F5CD6D04C> /usr/lib/libsqlite3.dylib
    0x7fff8c8f5000 -
    0x7fff8c8f9fff  libdyld.dylib (195.5.0 - compatibility 1.0.0) <380C3F44-0CA7-3514-8080-46D1C9DF4FCD> /usr/lib/system/libdyld.dylib
    0x7fff8c8fa000 -
    0x7fff8c909ff7  libxar-nossl.dylib (??? - ???) <A6ABBFB9-E4ED-38AD-BBBB-F9958B9CEFB5> /usr/lib/libxar-nossl.dylib
    0x7fff8c90a000 -
    0x7fff8c9abfff  com.apple.LaunchServices (480.40 - 480.40) <C936A07F-0CF8-3F8E-BDB3-76AA7611B4CA> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchS ervices.framework/Versions/A/LaunchServices
    0x7fff8cb81000 -
    0x7fff8cbc3ff7  libcommonCrypto.dylib (55010.0.0 - compatibility 1.0.0) <BB770C22-8C57-365A-8716-4A3C36AE7BFB> /usr/lib/system/libcommonCrypto.dylib
    0x7fff8cd50000 -
    0x7fff8cd56fff  libmacho.dylib (800.0.0 - compatibility 1.0.0) <165514D7-1BFA-38EF-A151-676DCD21FB64> /usr/lib/system/libmacho.dylib
    0x7fff8d4e1000 -
    0x7fff8d4eeff7  libbz2.1.0.dylib (1.0.5 - compatibility 1.0.0) <3373D310-3B10-3DD1-B754-B7B138CD448D> /usr/lib/libbz2.1.0.dylib
    0x7fff8d626000 -
    0x7fff8d62cfff  com.apple.DiskArbitration (2.4.1 - 2.4.1) <CEA34337-63DE-302E-81AA-10D717E1F699> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
    0x7fff8e35c000 -
    0x7fff8e3f7fff  com.apple.PackageKit (2.0.3 - 172) <16F5285D-1E49-3373-A8B8-8565F9AA5775> /System/Library/PrivateFrameworks/PackageKit.framework/Versions/A/PackageKit
    0x7fff8e3f8000 -
    0x7fff8e5fafff  libicucore.A.dylib (46.1.0 - compatibility 1.0.0) <0176782F-9526-3905-813A-7A5676EC2C86> /usr/lib/libicucore.A.dylib
    0x7fff8e603000 -
    0x7fff8e630fe7  libSystem.B.dylib (159.1.0 - compatibility 1.0.0) <7BEBB139-50BB-3112-947A-F4AA168F991C> /usr/lib/libSystem.B.dylib
    0x7fff8e70f000 -
    0x7fff8e782fff  libstdc++.6.dylib (52.0.0 - compatibility 7.0.0) <6BDD43E4-A4B1-379E-9ED5-8C713653DFF2> /usr/lib/libstdc++.6.dylib
    0x7fff8e783000 -
    0x7fff8e78afff  com.apple.NetFS (4.0 - 4.0) <433EEE54-E383-3505-9154-45B909FD3AF0> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
    0x7fff8f156000 -
    0x7fff8f23aff7  com.apple.CoreServices.OSServices (478.50 - 478.50) <3D6AA4EF-C601-36C7-8F3A-A00964F01759> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServi ces.framework/Versions/A/OSServices
    0x7fff8f3f4000 -
    0x7fff8f4d1fef  libsystem_c.dylib (763.13.0 - compatibility 1.0.0) <41B43515-2806-3FBC-ACF1-A16F35B7E290> /usr/lib/system/libsystem_c.dylib
    0x7fff8f4e4000 -
    0x7fff8f64bfff  com.apple.CFNetwork (520.5.1 - 520.5.1) <08F70E26-5456-3BFB-8192-00D3CE40D3C9> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwo rk.framework/Versions/A/CFNetwork
    0x7fff8f692000 -
    0x7fff8f696fff  libmathCommon.A.dylib (2026.0.0 - compatibility 1.0.0) <FF83AFF7-42B2-306E-90AF-D539C51A4542> /usr/lib/system/libmathCommon.A.dylib
    0x7fff8f6d2000 -
    0x7fff8f9c7ff7  com.apple.security (7.0 - 55148.6) <4535E500-973A-3BA7-AF65-DF5CF0658F02> /System/Library/Frameworks/Security.framework/Versions/A/Security
    0x7fff8f9e5000 -
    0x7fff8fa50ff7  com.apple.framework.IOKit (2.0 - ???) <FE838BB6-D42E-3291-A1A0-6F53FC970261> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
    0x7fff8fa51000 -
    0x7fff8fa58fff  libcopyfile.dylib (85.1.0 - compatibility 1.0.0) <0AB51EE2-E914-358C-AC19-47BC024BDAE7> /usr/lib/system/libcopyfile.dylib
    0x7fff8fec6000 -
    0x7fff901dffff  com.apple.Foundation (6.7.2 - 833.25) <22AAC369-B63C-3C55-8AC6-C3ECBA44DA7B> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
    0x7fff901e0000 -
    0x7fff90210ff7  com.apple.DictionaryServices (1.2.1 - 158.3) <5E2EBBFD-D520-3379-A431-11DAA844B8D6> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Diction aryServices.framework/Versions/A/DictionaryServices
    0x7fff90229000 -
    0x7fff9030de5f  libobjc.A.dylib (228.0.0 - compatibility 1.0.0) <871E688B-CF57-3BC7-80D6-F6476DFF109B> /usr/lib/libobjc.A.dylib
    0x7fff9030e000 -
    0x7fff90320ff7  libbsm.0.dylib (??? - ???) <349BB16F-75FA-363F-8D98-7A9C3FA90A0D> /usr/lib/libbsm.0.dylib
    0x7fff90329000 -
    0x7fff90338fff  libxar.1.dylib (??? - ???) <9E05C939-6CBF-38E7-8915-86278F7DB6C7> /usr/lib/libxar.1.dylib
    0x7fff903a3000 -
    0x7fff903bfff7  com.apple.GenerationalStorage (1.0 - 126.1) <509F52ED-E54B-3FEF-B3C2-759387B826E6> /System/Library/PrivateFrameworks/GenerationalStorage.framework/Versions/A/Gene rationalStorage
    0x7fff909a9000 -
    0x7fff909e8fff  com.apple.AE (527.7 - 527.7) <B82F7ABC-AC8B-3507-B029-969DD5CA813D> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.fram ework/Versions/A/AE
    0x7fff90b7b000 -
    0x7fff90b81ff7  libunwind.dylib (30.0.0 - compatibility 1.0.0) <1E9C6C8C-CBE8-3F4B-A5B5-E03E3AB53231> /usr/lib/system/libunwind.dylib
    0x7fff9289f000 -
    0x7fff92bbbfff  com.apple.CoreServices.CarbonCore (960.25 - 960.25) <4FC1AB30-022C-3C67-AC46-FDCBFCB7EEDE> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonC ore.framework/Versions/A/CarbonCore
    0x7fff92ecb000 -
    0x7fff92f17ff7  com.apple.SystemConfiguration (1.11.3 - 1.11) <0A7F1982-B4EA-3424-A0C7-FE46C6224F03> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfi guration
    0x7fff92f18000 -
    0x7fff92f25fff  com.apple.CrashReporterSupport (10.7.4 - 353) <6044CFB6-939E-3C73-BFBB-A8BBC096F135> /System/Library/PrivateFrameworks/CrashReporterSupport.framework/Versions/A/Cra shReporterSupport
    0x7fff93831000 -
    0x7fff9385cff7  libxslt.1.dylib (3.24.0 - compatibility 3.0.0) <E71220D3-8015-38EC-B97D-7FDB383C2BDC> /usr/lib/libxslt.1.dylib
    0x7fff9395b000 -
    0x7fff93960fff  libpam.2.dylib (3.0.0 - compatibility 3.0.0) <D952F17B-200A-3A23-B9B2-7C1F7AC19189> /usr/lib/libpam.2.dylib
    External Modification Summary:
      Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
      Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
      Calls made by all processes on this machine:
    task_for_pid: 12
    thread_create: 0
    thread_set_state: 0
    VM Region Summary:
    ReadOnly portion of Libraries: Total=78.1M resident=44.7M(57%) swapped_out_or_unallocated=33.4M(43%)
    Writable regions: Total=43.7M written=620K(1%) resident=912K(2%) swapped_out=0K(0%) unallocated=42.8M(98%)
    REGION TYPE                 
    VIRTUAL
    ===========                 
    =======
    MALLOC                        
    33.3M
    MALLOC guard page               
    32K
    STACK GUARD                   
    56.0M
    Stack                         
    10.0M
    VM_ALLOCATE                     
    36K
    __DATA                        
    3268K
    __LINKEDIT                    
    49.0M
    __TEXT                        
    29.1M
    __UNICODE                      
    544K
    mapped file                   
    15.7M
    shared memory                   
    16K
    ===========                 
    =======
    TOTAL                        
    197.0M

  • Package Returning Error ORA-06502: PL/SQL: numeric or value error

    Hi,
    I create a package to export to spread sheet .xls, The package work for simple query if i pass the query to package.
    There is no error in package please create the package and do the following as mentioned below
    create or replace
    PACKAGE export_pkg_spread_sheet
    AS
    procedure download_excel(vsql in clob );
    PROCEDURE excel_header(p_header in out nocopy clob);
    procedure excel_content(p_content in out nocopy clob,
    vsql in clob );
    procedure excel_footer(p_footer in out nocopy clob);
    procedure get_usable_sql (p_sql_in IN clob,
    p_sql_out OUT clob);
    END export_pkg_spread_sheet;
    create or replace
    PACKAGE body export_pkg_spread_sheet
    AS
    PROCEDURE excel_header (p_header IN OUT nocopy CLOB)
    AS
    BEGIN
    p_header := '<html><body>';
    END;
    procedure download_excel( vsql in clob )
    as
    p_header clob;
    p_footer clob;
    p_content clob;
    begin
    owa_util.mime_header( 'application/octet', FALSE );
    htp.p('Content-Disposition: attachment; filename="report.xls"');
    owa_util.http_header_close;
    excel_header( p_header);
    excel_content(p_content,vsql);
    excel_footer(p_footer);
    dbms_output.put_line(p_header ||p_content|| p_footer);
    HTP.PRN( p_header ||p_content|| p_footer);
    htmldb_application.g_unrecoverable_error := true;
    end;
    procedure excel_content(p_content in out nocopy clob,
    vsql in clob)
    as
    p_sql_stmt clob;
    cur PLS_INTEGER := DBMS_SQL.OPEN_CURSOR;
    cols DBMS_SQL.DESC_TAB;
    ncols PLS_INTEGER;
    TYPE varColumn     IS TABLE OF varchar2(32000);
    vtab varColumn;
    v_column_count     NUMBER     DEFAULT 0;
    v_status      INTEGER;
    BEGIN
    htp.prn('am here');
    /* SELECT region_source into p_sql_stmt
    FROM apex_application_page_regions
    WHERE region_id = p_region_id AND
    page_id = p_page_id AND
    application_id = p_app_id; */
    get_usable_sql (vsql,p_sql_stmt);
    p_content := p_sql_stmt;
    -- Parse the query.
    DBMS_SQL.PARSE(cur, p_sql_stmt , DBMS_SQL.NATIVE);
    -- Retrieve column information
    DBMS_SQL.DESCRIBE_COLUMNS (cur, ncols, cols);
    -- Display each of the column names
    p_content := '<table> <tr>';
    FOR colind IN 1 .. ncols
    LOOP
    p_content := p_content || '<td>' || cols(colind).col_name || '</td>';
    END LOOP;
    p_content := p_content || '</tr>';
    vtab := varColumn(null);
    for i in 1..ncols
    loop
    vtab.extend;
    DBMS_SQL.DEFINE_COLUMN (cur, i, vtab(i), 2000);
    --dbms_output.put_line(vtab(i));
    end loop;
    v_status := DBMS_SQL.EXECUTE (cur);
    LOOP
    p_content := p_content || '<tr>';
    EXIT WHEN (DBMS_SQL.FETCH_ROWS (cur) <= 0);
    FOR i IN 1 ..ncols
    loop
    DBMS_SQL.COLUMN_VALUE (cur, i, vtab(i));
    -- p_content := p_content || '<td>' || 'xyz' || '</td>';
    p_content := p_content || '<td>' || vtab(i) || '</td>';
    END LOOP;
    p_content := p_content || '</tr>' ;
    END LOOP;
    p_content := p_content || '<table>' ;
    DBMS_SQL.CLOSE_CURSOR (cur);
    exception
    when others then
         p_content := '<td>Exception Error in printing data</td><table>' ;
    DBMS_SQL.CLOSE_CURSOR (cur);
    end;
    procedure excel_footer( p_footer in out nocopy clob)
    as
    begin
    p_footer := '</body></html>';
    end;
    PROCEDURE get_usable_sql (p_sql_in IN clob, p_sql_out OUT clob)
    IS
    v_sql clob;
    v_names DBMS_SQL.varchar2_table;
    v_pos NUMBER;
    v_length NUMBER;
    v_exit NUMBER;
    BEGIN
    v_sql := p_sql_in;
    v_names := wwv_flow_utilities.get_binds (v_sql);
    FOR i IN 1 .. v_names.COUNT
    LOOP
    <<do_it_again>>
    v_pos := INSTR (LOWER (v_sql), LOWER (v_names (i)));
    v_length := LENGTH (LOWER (v_names (i)));
    v_sql :=
    SUBSTR (v_sql, 1, v_pos - 1)
    || v_names (i)
    || SUBSTR (v_sql, v_pos + v_length);
    v_sql :=
    REPLACE (v_sql,
    UPPER (v_names (i)),
    '(SELECT v('''
    || LTRIM (v_names (i), ':')
    || ''') FROM DUAL)'
    IF INSTR (LOWER (v_sql), LOWER (v_names (i))) > 0
    THEN
    GOTO do_it_again;
    END IF;
    END LOOP;
    p_sql_out := v_sql;
    END;
    END export_pkg_spread_sheet;
    After creating the package pass the parameter to package like this
    begin
    export_pkg_spread_sheet.download_excel('select * from emp');
    end;
    Package will allow to download the spread shreet. If i try to pass the a complex query to package it is returning error as mentioned below
    ORA-06502: PL/SQL: numeric or value error
    In the above package there is a procedure called procedure excel_content which actuall prints the data in the spread sheet this is where the error is coming from there is a variable called vsql have declared it as clob to hold large string but still i am getting the same error when trying to pass a big string.
    Please check the error and let me know.
    Thanks
    Sudhir

    Hi Praveen,
    This is the query i am using to pass
    Declare
    qry clob;
    Begin
    qry := ' 'SELECT
    AR.REGION_CODE,
    AR.DISTRICT_CODE,
    AR.TERRITORY_CODE,
    CASE
    WHEN AR.REGION_NAME IS NOT NULL AND AR.DISTRICT_NAME IS NULL AND AR.TERRITORY_NAME IS NULL THEN
    AR.REGION_NAME
    WHEN AR.REGION_NAME IS NOT NULL AND AR.DISTRICT_NAME IS NOT NULL AND AR.TERRITORY_NAME IS NULL THEN
    AR.DISTRICT_NAME
    WHEN AR.REGION_NAME IS NOT NULL AND AR.DISTRICT_NAME IS NOT NULL AND AR.TERRITORY_NAME IS NOT NULL THEN
    AR.TERRITORY_NAME
    END TERR_NAME,
    AR.EMPLOYEE_ID,
    AR.LAST_NAME,
    AR.FIRST_NAME,
    AR.GENDER,
    AR.DATE_OF_HIRE,
    AR.PROJECT_EMPLOYEE_TITLE_ID,
    AR.COMPANY_ID,
    AR.CUSTOMER_EMAIL,
    AR.BUSINESS_EMAIL,
    AR.CUSTOMER_VOICEMAIL,
    AR.CUSTOMER_VOICEMAIL_EXT,
    AR.QUINTILES_VOICEMAIL,
    AR.QUINTILES_VOICEMAIL_EXT , complete_roster_pkg_report.AR_F_ADDRESS_GET_LINE_1(AR.PROJECT_ID,AR.EMPLOYEE_ID,1 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Shipping_ADDRESS_TYPE_1" , complete_roster_pkg_report.AR_F_ADDRESS_GET_LINE_2(AR.PROJECT_ID,AR.EMPLOYEE_ID,1 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Shipping_ADDRESS_TYPE_2" , complete_roster_pkg_report.AR_F_ADDRESS_GET_PHONE(AR.PROJECT_ID,AR.EMPLOYEE_ID,1 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Shipping_Phone" , complete_roster_pkg_report.AR_F_ADDRESS_GET_CITY_TOWN(AR.PROJECT_ID,AR.EMPLOYEE_ID,1 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Shipping_City_Town" , complete_roster_pkg_report.AR_F_ADDRESS_GET_COUNTRY_NAME(AR.PROJECT_ID,AR.EMPLOYEE_ID,1 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Shipping_Country_Name" , complete_roster_pkg_report.AR_F_ADDRESS_GET_STATE_NAME(AR.PROJECT_ID,AR.EMPLOYEE_ID,1 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Shipping_State_Name" , complete_roster_pkg_report.AR_F_ADDRESS_GET_ZIP_POSTAL(AR.PROJECT_ID,AR.EMPLOYEE_ID,1 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Shipping_ZipCode" , complete_roster_pkg_report.AR_F_ADDRESS_GET_LINE_1(AR.PROJECT_ID,AR.EMPLOYEE_ID,3 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Storage_ADDRESS_TYPE_1" , complete_roster_pkg_report.AR_F_ADDRESS_GET_LINE_2(AR.PROJECT_ID,AR.EMPLOYEE_ID,3 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Storage_ADDRESS_TYPE_2" , complete_roster_pkg_report.AR_F_ADDRESS_GET_PHONE(AR.PROJECT_ID,AR.EMPLOYEE_ID,3 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Storage_Phone" , complete_roster_pkg_report.AR_F_ADDRESS_GET_CITY_TOWN(AR.PROJECT_ID,AR.EMPLOYEE_ID,3 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Storage_City_Town" , complete_roster_pkg_report.AR_F_ADDRESS_GET_COUNTRY_NAME(AR.PROJECT_ID,AR.EMPLOYEE_ID,3 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Storage_Country_Name" , complete_roster_pkg_report.AR_F_ADDRESS_GET_STATE_NAME(AR.PROJECT_ID,AR.EMPLOYEE_ID,3 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Storage_State_Name" , complete_roster_pkg_report.AR_F_ADDRESS_GET_ZIP_POSTAL(AR.PROJECT_ID,AR.EMPLOYEE_ID,3 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Storage_ZipCode" , complete_roster_pkg_report.AR_F_ADDRESS_GET_LINE_1(AR.PROJECT_ID,AR.EMPLOYEE_ID,4 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Home_ADDRESS_TYPE_1" , complete_roster_pkg_report.AR_F_ADDRESS_GET_LINE_2(AR.PROJECT_ID,AR.EMPLOYEE_ID,4 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Home_ADDRESS_TYPE_2" , complete_roster_pkg_report.AR_F_ADDRESS_GET_PHONE(AR.PROJECT_ID,AR.EMPLOYEE_ID,4 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Home_Phone" , complete_roster_pkg_report.AR_F_ADDRESS_GET_CITY_TOWN(AR.PROJECT_ID,AR.EMPLOYEE_ID,4 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Home_City_Town" , complete_roster_pkg_report.AR_F_ADDRESS_GET_COUNTRY_NAME(AR.PROJECT_ID,AR.EMPLOYEE_ID,4 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Home_Country_Name" , complete_roster_pkg_report.AR_F_ADDRESS_GET_STATE_NAME(AR.PROJECT_ID,AR.EMPLOYEE_ID,4 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Home_State_Name" , complete_roster_pkg_report.AR_F_ADDRESS_GET_ZIP_POSTAL(AR.PROJECT_ID,AR.EMPLOYEE_ID,4 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Home_ZipCode" FROM AR_V_ROSTER AR
    LEFT JOIN AR_V_ADDRESS_HISTORY AAH
    ON
    (AR.PROJECT_ID = AAH.PROJECT_ID AND
    AR.EMPLOYEE_ID = AAH.EMPLOYEE_ID)
    WHERE
    UPPER(AR.USER_EMPLOYEE_ID) = ''Q766730'' AND
    AR.PROJECT_ID = 81 ';
    export_pkg_spread_sheet.download_excel(qry);
    End;
    Praveen you can pass your DB table query to check the error. I am trying to pass as mentioned above.
    Please let me know if my question is not clear.
    Thanks
    Sudhir

  • Returning Error Status back from Form to external program

    Question,
    I am trying to run a form essentially from the command line. I need to programatically catch any error codes that might have occured in the form by an external program. I can find nothing about returning errors back from the form or how to display it.
    Any assistance is appreciated.
    Andy Hendrickson
    null

    Hello Andreas,
    Ah, sorry, there was so much talk about user decisions that I assumed you were using a standard decision task.
    Still, I would be extra careful of changing the way workflow usually works because you have an unknown target audience that are based on the standard.
    The standard SAP philosophy is quite simple: cancel/F3 or do nothing and it stays reserved. If you do not want it reserved, you need to perform an action. This is based on a majority of processes: in most cases when you execute a work item you will also be the one who is going to completed it. Replacing it is the lesser used of the two alternatives, therefore it is the only one that requires an action on the part of the user.
    Again, this is intended as constructive input. Strange quirks and unusual behaviour tend to add a black mark to software if they do not make things easier to use. In many environments users are not even aware of the reserve/replace business, so there you would be adding an additional layer of complexity.
    Personally I would find an exit popup annoying as a regular workflow user - regular decisions can be approved with one click, or I can back out with a single click if I need to make a phone call or look up some info before approving - but with this new-fangled thing I've got an extra button to click and an extra thing to think about. This is especially the case in a payment approval scenario where you may have users in some departments who may approve hundreds of payments each week.
    My suggestion would be to leave it like that. By all means put an option into the user decision to put it back or to 'un-reserve' it (and loop round if the user chooses it). That way you are adding value and not clicks.
    Cheers,
    Mike

  • "returning error page for JRun too busy or out of memory"

    Hello,
    I've got some trouble to update a ColdFusion linux based.
    We have already tried to update from ASPB11-04 and ASPB11-14 but we always have the folloing erreor message :
    "returning error page for JRun too busy or out of memory"
    We really need a solution ASAP. Thanks!
    Jeff

    Can you share the exception and application logs having the error entries.
    Regards,
    Anit Kumar

  • Need help in returning error condition from web service

    Hi,
    I need one help regarding webservice. Currently my web service is returning "true" value when it works fine without any issues but it returns "false" when any any error is encountered. So my question is, can we return error instead of string "false". I dont know how to return exact error from webservice. If you any idea then please mail me.
    Below is a small code snippet:
    System.out.println("User "+ userFullName + usrKey + " end date has been updated to "+usrEndDate +" in IDM DB");
    result = true;
    catch (tcAPIException e) {
    log.error("Error in finding the user" + e.getMessage());
    result = false;
    } catch (tcUserNotFoundException e) {
    log.error("Error in getting user status" + e.getMessage());
    result = false;
    } catch (tcStaleDataUpdateException e) {
    log.error("Error in updating end date of user" + e.getMessage());
    result = false;
    }catch (Exception e1) {
    e1.printStackTrace();
    result =false;
    return result;
    Here i want to return error instead of false. Can we do that?
    Thanks,
    Kalpana.

    instead of storing false store below
    use result=e1.getMessage();
    Edited by: Nishith Nayan on Feb 23, 2012 8:07 PM

Maybe you are looking for

  • Numbering pages in acrobat 5.0.5

    Can I number the document pages in acrobat 5.0.5? I see where the thumbnails can be numbered, but what I want to do is, for example, automatically insert page numbers in the printed document that is 100 pages long. It appears that in version 8 this i

  • Not able to delete app icons that are in loading stage and more than 20mb, so cant be loaded completely.

    I am not able to delete the app icon (loading) of more than 20MB file app. I have downloaded them to my itunes but they just dont go away even after syncronising. just to mention i have 3G network but no wifi at present.

  • Wrong apple ID comes up

    Just installed itunes 11 and tried to sync my ipad.  Now is I try and double click on any of the apps it asked me to log in with a apple ID of [email protected] THis is not mine ID and the list of apps in Itunes does not even correspond to what is on

  • RTMT ALARM CallProcessingNodeCpuPegging

    We are receiving an RTMT alert for one of the node in the cluster. Error is [RTMT-ALERT] CallProcessingNodeCpuPegging. Processor load over 90 Percent. hostagt (45 percent) uses most of the CPU lease suggest what to do for the resolution of this and a

  • Fetch all vars in a package

    Hi, SSIS 2012 Script Task c#  Is there a way to reference ALL variables in the Dts.Variables collection without the need to lock and explicitly provide the var's scope::name. Thanks, Shaul