Go Back   Club CDFreaks - Knowledge is Power > International Chat: Software related > Nero SDK Discussion Forum


Commercial message



Nero SDK Discussion Forum Discuss, Unexpected exception while burnng at International Chat: Software related forum; When I try to burn some mp3 files as an Audio CD using my application I get an Unexpected exception if I try a real burn. Making a simulation works fine as well as burning to the Image Recorder. I have downloaded the newest update to Nero . Does anyone know


Reply
 
Thread Tools
Old 28-10-2003   #1 (permalink)
New on Forum
 
Join Date: Oct 2003
Posts: 2
Unexpected exception while burnng

When I try to burn some mp3 files as an Audio CD using my application I get an Unexpected exception if I try a real burn. Making a simulation works fine as well as burning to the Image Recorder. I have downloaded the newest update to Nero.

Does anyone know what I'm doing wrong?

Thanks,
Peter


DWORD dwFlags = NBF_WRITE | NBF_DAO | NBF_DISABLE_ABORT;
int iRes = NeroBurn(ndhDeviceHandle, NERO_ISO_AUDIO_CD, writeCD, dwFlags, 0, &npProgress);

NeroBurn returns the value 3 and the error log says the following:


--------------------------

Windows XP 5.1

IA32

WinAspi: -

ahead WinASPI: File 'C:\Program Files\Ahead\Nero\Wnaspi32.dll': Ver=2.0.1.59, size=160016 bytes, created 2003-06-17 14:25:04

Nero API version: 6.0.0.19

Using interface version: 6.0.0.0

Installed in: C:\Program Files\Ahead\Nero\

Application: ahead\Nero - Burning Rom

Recorder: Version: C12a - HA 2 TA 0 - 6.0.0.19

Adapter driver: HA 2

Drive buffer : 2048kB

Bus Type : default (0) -> ATAPI, detected: ATAPI



=== Scsi-Device-Map ===

CdRomPeripheral : NERO IMAGEDRIVE2 1.0h Imagedrv Port 0 ID 0 DMA: Off

DiskPeripheral : Maxtor 6Y080P0 atapi Port 1 ID 0 DMA: On

DiskPeripheral : IBM-DTLA-307045 atapi Port 1 ID 1 DMA: On

CdRomPeripheral : IDE-CD R/RW 4x4x24 atapi Port 2 ID 0 DMA: On



=== CDRom-Device-Map ===

NERO IMAGEDRIVE2 F: CDRom1

IDE-CD R/RW 4x4x24 E: CDRom0

=======================



AutoRun : 1
Excluded drive IDs:
CmdQueuing : 1
CmdNotification: 2
WriteBufferSize: 74448896 (0) Byte
ShowDrvBufStat : 0
EraseSpeed : 0
BUFE : 0
Physical memory : 511MB (523760kB)
Free physical memory: 242MB (248108kB)
Memory in use : 52 %
Uncached PFiles: 0x0
Use Static Write Speed Table: 0
Use Inquiry : 1
Global Bus Type: default (0)
Check supported media : Disabled (0)

28.10.2003
NeroAPI
15:20:41 #1 Text 0 File Reader.cpp, Line 118
Reader running

15:20:41 #2 Text 0 File Burncd.cpp, Line 3198
Turn on Disc-At-Once, using CD-R/RW media

15:20:41 #3 Text 0 File DlgWaitCD.cpp, Line 230
Last possible write address on media: 359844 (79:59.69)
Last address to be written: 48332 (10:46.32)

15:20:41 #4 Text 0 File DlgWaitCD.cpp, Line 235
Write in overburning mode: FALSE

15:20:41 #5 Text 0 File DlgWaitCD.cpp, Line 1949
Recorder: IDE-CD R/RW 4x4x24;
CDR code: 00 97 15 17; OSJ entry from: Ritek Co.
ATIP Data:
Special Info [hex] 1: C0 00 90, 2: 61 0F 11 (LI 97:15.17), 3: 4F 3B 46 (LO 79:59.70)
Additional Info [hex] 1: 00 00 00 (invalid), 2: 00 00 00 (invalid), 3: 00 00 00 (invalid)

15:20:41 #6 Text 0 File DlgWaitCD.cpp, Line 394
>>> Protocol of DlgWaitCD activities: <<<
=========================================

15:20:41 #7 Text 0 File ThreadedTransferInterface.cpp, Line 769
Setup items (after recorder preparation)
0: TRM_AUDIO_NOPRE (Khaled - Aicha.mp3)
2 indices, index0 (150) not provided
original disc pos #0 + 19762 (19762) = #19762/4:23.37
relocatable, disc pos for caching/writing not required/not required, no patch infos
-> TRM_AUDIO_ULTRARAW_NOPRE, 2368, config 0, wanted index0 0 blocks, length 19762 blocks [IDE-CD R/RW 4x4x24 ]
1: TRM_AUDIO_NOPRE (Reklam (Svenska).mp3)
2 indices, index0 (0) not provided
original disc pos #0 + 12150 (12150) = #12150/2:42.0
relocatable, disc pos for caching/writing not required/not required, no patch infos
-> TRM_AUDIO_ULTRARAW_NOPRE, 2368, config 0, wanted index0 0 blocks, length 12150 blocks [IDE-CD R/RW 4x4x24 ]
2: TRM_AUDIO_NOPRE (Wes - Alane.mp3)
2 indices, index0 (0) not provided
original disc pos #0 + 16421 (16421) = #16421/3:38.71
relocatable, disc pos for caching/writing not required/not required, no patch infos
-> TRM_AUDIO_ULTRARAW_NOPRE, 2368, config 0, wanted index0 0 blocks, length 16421 blocks [IDE-CD R/RW 4x4x24 ]
--------------------------------------------------------------

15:20:41 #8 Text 0 File ThreadedTransferInterface.cpp, Line 938
Prepare recorder [IDE-CD R/RW 4x4x24 ] for write in raw writing
DAO infos:
==========
MCN: ""
TOCType: 0x00; Session Closed, disc fixated
Tracks 1 to 3:

1: TRM_AUDIO_ULTRARAW_NOPRE, 2368/0x00, FilePos 0 355200 47151616, ISRC ""

2: TRM_AUDIO_ULTRARAW_NOPRE, 2368/0x00, FilePos 47151616 47151616 75922816, ISRC ""

3: TRM_AUDIO_ULTRARAW_NOPRE, 2368/0x00, FilePos 75922816 75922816 114807744, ISRC ""

DAO layout:
===========

__Start_|____Track_|_Idx_|_RecDep_|_CtrlAdr_
-150 | lead-in | 0 | 0x00 | 0x01
-150 | 1 | 0 | 0x00 | 0x21
0 | 1 | 1 | 0x00 | 0x21
19762 | 2 | 0 | 0x00 | 0x21
19762 | 2 | 1 | 0x00 | 0x21
31912 | 3 | 0 | 0x00 | 0x21
31912 | 3 | 1 | 0x00 | 0x21
48333 | lead-out | 1 | 0x00 | 0x01

15:20:42 #9 Phase 24 File APIProgress.cpp, Line 238
Caching of files started

15:20:42 #10 Phase 25 File APIProgress.cpp, Line 238
Caching of files completed

15:20:42 #11 Phase 36 File APIProgress.cpp, Line 238
Burn process started at 2x (300 KB/s)

15:20:42 #12 Text 0 File Burncd.cpp, Line 5561
Unexpected exception

Existing drivers:

File 'Drivers\CDRALW2K.SYS': Ver=6.0.0.171 , size=24839 bytes, created 2003-01-13 10:19:26

Registry Keys:

HKLM\Software\Microsoft\Windows NT\CurrentVersion\WinLogon\AllocateCDROMs : 0 (Security Option)
logge is offline   Reply With Quote
Old 29-10-2003   #2 (permalink)
New on Forum
 
Join Date: Oct 2003
Posts: 2
I found out that If I change the burn options to:

DWORD dwFlags = NBF_WRITE | NBF_DAO;

burning an Audio CD finally works. But I have no idea why it fails when I have the option NBF_DISABLE_ABORT included.
logge is offline   Reply With Quote
Old 12-01-2004   #3 (permalink)
New on Forum
 
Join Date: Jan 2004
Posts: 5
..........

you got a pm
micl is offline   Reply With Quote
Old 15-01-2004   #4 (permalink)
New on Forum
 
Join Date: Jan 2004
Posts: 5
Unexpected exception while burning

everyone searching for a solution for the bug nero 6 shows after installation ("Unexpected exception while burning") when trying to start burning, just reinstall the aspi drivers like described here:
http://www.newsup2date.de/aspi-treiber.html

EDIT: Document is deleted so use the description below:

1. Install Aspi Driver 4.60-1019(http://www.brennmeister.com/files/as...i-460-1019.zip)
2. now you can install version 4.60-1021(http://www.brennmeister.com/files/as...i-460-1021.zip)
(note: if you got any adaptec soft/hardware on your computer you might start with point 3)
3. now you can download the newest driver (4.7 atm, http://sub2000.com/modules.php?name=...p=getit&lid=21)
4. Check with the programm aspich.exe (ftp://ftp.adaptec.com/software_pc/aspi/aspichk.exe) if the drivers are installed correctly
5.Download wnaspi32.dll (ftp://ftp6.nero.com/wnaspi32.dll) and copy this into your nero installation folder (mostly C:\Programs\ahead\Nero)

Edit 2:
So this worked fine for me. I dont know if its a Nero6 or XP problem. I had Nero5 installed and installed 6 without uninstalling 5. XP is installed without Aspi drivers, so the problem might also appear without installing Nero6 over an older Nero Version.
With the little program (point 4) you can check before trying this if its a problem with the aspi drivers and if the solution does work for you.
If after one or more parts in the overview (after starting the program) stands N/A and the size of the file(s) is shown as zero, its a problem with Aspi drivers.

Last edited by micl; 16-01-2004 at 12:04.
micl is offline   Reply With Quote
 
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unexpected exception error on Backitup 2 (Nero 7) arakeen Nero & InCD 1 02-08-2006 14:08
Unexpected exception error please help . Char7722 Newbie Forum 1 31-07-2005 11:34
Pioneer 104: "Unexpected Exception" error? Dr.Sebastian CD and DVD Burners 2 24-02-2003 16:50
Unexpected Exception Nero 5.5.8.2 anish Burning Software 2 03-06-2002 22:22
unexpected exception error dtevol Burning Software 8 15-03-2002 09:06


All times are GMT +2. The time now is 09:15.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0