Sybase12.5 to Oracle 9i Migration:Error while capturing thru offline

Hi,
While migrating data from Sybase 12.5 to Oracle 9i we are getting the following error.
java.sql.SQLException: ORA-01401: inserted value too large for column
Exception :Sybase12DisconnSourceModelLoad.loadSourceModel(): oracle.mtg.migration.MigrationStopException: java.lang.NumberFormatException: For input string: "« ? » ±"
Log shows that it is failed while loading data from sybase12_syssptvalues.dat file. Please advise what could be causing this error?
Regards,
Prasad Jaldu

Prasad,
The data in the column contains the column separator we
are using, alter the data, load and alter the data back,
or change the delimiter and re run the offline capture
scripts.
see the user guide Omwb/docs/usersguide/trouble.htm#sthref455
or look up delimiters in the index of the user guide
This should solve your NumberFormatException issue.
Regards,
Turloch

Similar Messages

  • MII 14.0 SP4 :Migration error while importing SAP BM Templates

    Hi Experts,
    I am facing some migration errors while importing SAP Batch Manufacturing Templates into MII 14.0 SP4.
    There are almost 23 transactions which are not getting imported and the error message for all of them is-
    "Unable to migrate transaction Unable to import file
    <Name of the Transaction>"
    Any first hand experiences will be really helpful for me to proceed further.
    Regards,
    Muddassar Khan

    Hi All,
    Got the solution. The STARTUP.BAT file is been placed in the installation directory(usr/sap) and then it works fine. Also I have installed the patches and all working fine.
    Any way thanks for the answer christian libich.
    Regards
    G.Partheeban

  • ORA-01034: ORACLE not available error while creating ASM or database

    Hi all,
    I am using oracle database 10gR2 on windows 2000 pro system.
    I have Installed oracle software and there was no issue with that but now I am facing ORA-01034: ORACLE not available error while trying to create asm instance or even while creating database through dbca.
    I have tried creating the asm instance manually and it was succeeded. Also database creation was successful through manual steps.
    Any idea guys?? How to resolve this issue??

    Hi FK,
    On Windows, it can sometimes mean that the services are not running. I have a check here:
    http://www.dba-oracle.com/t_check_verify_windows_services.htm
    Have you tried using oradim?
    http://www.dba-oracle.com/tips_oradim_utility.htm
    The oradim utility provides more than just the ability to start and stop Windows databases. Windows oradim can create and edit databases. It also allows DBAs to configure script-based installation mechanisms.
    The oradim utility is used on the Windows platform to perform these tasks.
    C:\oracle9i\bin\oradim -startup -sid ORCL92 –usrpwd manager
    -starttype SRVC,INST -pfile C:\oracle9i\admin\ORCL92\pfile\init.ora
    • startup – Indicates that the specified instance should be started.
    • sid – The SID of the database to start.
    • usrpwd – The password for the database user.
    • starttype – Specifies whether to start the instance, the service, or both
    Hope this helps. . .
    Don Burleson
    Oracle Press author

  • "error while accessing your offline message"

    I got this same error the first time logging in after installation of either 9.0.4 or 10.1.2 calendar client.
    "error while accessing your offline agenda"
    I tried Fred's earlier suggestion of turning off offline agenda by add the following line:
    "offlineab=false" into the ini file, but didn't help.
    OS is WIndows XP. Norton Anti-Virus is turned off.
    Please advise.
    Thanks,
    Thomas

    In version 9, the offline agenda passwords didn't have to match the server password. So if you were to change the offline password, it didn't necessarily change the server/online password.
    But once you upgraded to 10, the offline password should be the same as the server one. You may be getting this error because there is a mix-match of passwords.
    To reset the password, try deleting the files
    * XTMLOCAL.DAT
    * XTMLOCAL.NDX
    like tchang suggested.
    Then re-create the offline agenda. This should rebuild the calendar data with the new password.

  • Oracle Security Patch Error while applying --The filename, directory name,

    Hello,
    I am running into strange error while applying Oracle Security Patch 68 by using Opatch.
    Supposedly, All the environment variables are set properly.
    ACTIVE_STATE_PERL=true
    DBMS_TYPE=ORA
    dbs_ora_tnsname=YBQ
    JAVA_HOME=C:\jdk1.3.1_10
    OPATCH_DEBUG=TRUE
    ORACLE_HOME=E:\oracle\ora92
    ORACLE_SID=YBQ
    Path=E:\oracle\OPatch;C:\jdk1.3.1_10\bin;E:\oracle\Perl\bin;E:\oracle\ora92\jre\1.4.2\bin\client;E:\oracle\ora92\jre\1.4.2\bin;E:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\Program Files\Common Files\VERITAS Shared;\NetBackup\bin;C:\Program Files\Windows Resource Kits\Tools\;C:\Program Files\Support Tools\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;E:\usr\sap\YBQ\SYS\exe\run
    Installed Active Perl. latest version
    downloaded Opatch 1.0.0.50
    and the patch number 3738339
    I went to that directory and run the command :
    perl opatch.pl apply
    It started of well.
    OPatch version is: 1.0.0.0.50
    Using ORACLE_HOME/oui to look up oui libs...
    Oracle Home = E:\oracle\ora92
    Location of Oracle Inventory = E:\oracle\ora92\inventory
    Oracle Universal Installer shared library = E:\oracle\ora92\oui\lib\win32\oraInstaller.dll
    Path to Java = "E:\oracle\ora92\jre\1.4.2\bin\java.exe"
    Location of Oracle Inventory Pointer = N/A
    Location of Oracle Universal Installer components = E:\oracle\ora92\oui
    Required Jar File under Oracle Universal Installer = jlib\OraInstaller.jar
    find under OH/oui/jlib
    found OraInstaller.jar
    Checking if this is a RAC system...
    Accessing inventory... This may take up to 300 seconds.
    (retry 10 times, delay 30 seconds each time)
    System Command: ""E:\oracle\ora92\jre\1.4.2\bin\java.exe" -Dopatch.retry=10 -Dopatch.delay=30 -DTRACING.ENABLED=TRUE -DTRACING.LEVEL=2 -Dopatch.debug=true -classpath "E:\oracle\ora92\oui\jlib\OraInstaller.jar;E:\oracle\ora92\oui\jlib\srvm.jar;jlib\opatch.jar;E:\oracle\ora92\oui\jlib\xmlparserv2.jar;E:\oracle\ora92\oui\jlib\share.jar;.:E:\oracle\ora92\jlib\srvm.jar" opatch/O2O "e:\oracle\ora92" "E:\oracle\ora92\oui" opatch.pl 1.0.0.0.50"
    Result:
    ----- DEBUG is ON -------
    oracle.installer.startup_location will be set to E:\oracle\ora92\oui
    oracle.installer.oui_loc will be set to E:\oracle\ora92\oui
    oracle.installer.scratchPath will be set to /tmp
    opatch.local_node_only is OFF
    retryOption is ON: 10
    delayOption is ON: 30
    Few more stuff here .. not pasting the entire contents
    System Command: ""E:\oracle\ora92\jre\1.4.2\bin\java.exe" -Dopatch.retry=10 -Dopatch.delay=30 -DTRACING.ENABLED=TRUE -DTRACING.LEVEL=2 -Dopatch.debug=true -classpath "E:\oracle\ora92\oui\jlib\OraInstaller.jar;E:\oracle\ora92\oui\jlib\srvm.jar;jlib\opatch.jar;E:\oracle\ora92\oui\jlib\xmlparserv2.jar;E:\oracle\ora92\oui\jlib\share.jar;." opatch/CheckConflict "E:\oracle\ora92\oui" "e:\oracle\ora92" opatch.pl 1.0.0.0.50 3738339 "3741539 3528282 3516951 3622875 3668572 3371796 3239873 3356103 3543125 3666502 2800494 2824035 2964252 3617042 3320622 3571233 3253770 3492040 3566469 3354470 3625370 3583686 3150750 3617519 3635177 3597640 3749394 3542588 3698501 2954891 2918138 3559212 3518909 3412818 3430832 3172282 3358490 3637624 3458446 3179637 2810394 3668224 3609791 3566813 3475932 2338704 3412136 3388633 3540576 3571226 3575743 2690205 3240280 3509265 3177513 3575747 3811906 3554319 3752406 3323435 " E:\3738339\etc\config\actions"
    Result:
    opatch.pl version: 1.0.0.0.50
    Copyright (c) 2001-2004 Oracle Corporation. All Rights Reserved.
    The filename, directory name, or volume label syntax is incorrect.
    Error in executing Java program to check conflict
    ERROR: OPatch failed during pre-reqs check.
    Now there is no problem with executing the last java program in the same prompt by removing the first and the last double quote "
    Please advise.
    Thanks in advance.

    hi somnath,
    this is the portal content management forum. for your database question please use the database forums:
    http://forums.oracle.com/forums/index.jsp?cat=18
    thanks,
    christian

  • Error while capturing Excise Invoice

    Hi experts
    While capturing the excise invoice I am getting following Error message
    " Maintain number range object for object J_1IRG23C2, year 2008, excise group 06 "
    Though I have maintained the Nummber range for excise group and object.
    please help me out
    Regards,
    jai

    hi
    thanks for the reply.
    I have already maintained Number range for Year 2008 Excise group 06 for object J_1IRG23C2 throgh Tcode -J1I9.
    Still i am getting the message.
    Regards
    Jai

  • Error While creating Domain offline in windows...

    I am trying to create a domain in windows using my scripts which i use in unix. But i am getting the following error. Here i am using Ant /build.xml/ and domain.properties( in this i pass the details) Please help....
    C:\scripts>setenv
    C:\scripts>set WEBLOGIC_HOME=C:\bea\wlserver_10.3
    C:\scripts>set BEA_HOME=C:\bea
    C:\scripts>set WORK_DIR=C:\wldomains
    C:\scripts>set DOMAIN_HOME=C:\wldomains
    C:\scripts>call "C:\bea\wlserver_10.3\server\bin\setWLSEnv.cmd"
    CLASSPATH=C:\bea\patch_wls1030\profiles\default\sys_manifest_classpath\weblogic_
    patch.jar;C:\bea\patch_cie660\profiles\default\sys_manifest_classpath\weblogic_p
    atch.jar;C:\bea\JROCKI~1\lib\tools.jar;C:\bea\WLSERV~1.3\server\lib\weblogic_sp.
    jar;C:\bea\WLSERV~1.3\server\lib\weblogic.jar;C:\bea\modules\features\weblogic.s
    erver.modules_10.3.0.0.jar;C:\bea\WLSERV~1.3\server\lib\webservices.jar;C:\bea\m
    odules\ORGAPA~1.5/lib/ant-all.jar;C:\bea\modules\NETSFA~1.0_1/lib/ant-contrib.ja
    r;.;C:\Program Files\QuickTime\QTSystem\QTJava.zip
    PATH=C:\bea\patch_wls1030\profiles\default\native;C:\bea\patch_cie660\profiles\d
    efault\native;C:\bea\WLSERV~1.3\server\native\win\32;C:\bea\WLSERV~1.3\server\bi
    n;C:\bea\modules\ORGAPA~1.5\bin;C:\bea\JROCKI~1\jre\bin;C:\bea\JROCKI~1\bin;C:\o
    racle\product\10.2.0\client_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\Syst
    em32\Wbem;C:\Program Files\Windows Imaging\;C:\Program Files\Perforce;C:\Program
    Files\QuickTime\QTSystem;c:\ant\bin;C:\bea\WLSERV~1.3\server\native\win\32\oci9
    20_8
    Your environment has been set.
    C:\scripts>ant clean
    Buildfile: build.xml
    identify-os:
    init:
    clean:
    [delete] Deleting directory C:\scripts\build
    BUILD SUCCESSFUL
    Total time: 1 second
    C:\scripts>ant setup-domain
    Buildfile: build.xml
    identify-os:
    init:
    [mkdir] Created dir: C:\scripts\build
    init-domain-env:
    setup-domain:
    identify-os:
    init:
    init-domain-env:
    config-domain:
    identify-os:
    init:
    init-domain-env:
    backup-domain:
    identify-os:
    init:
    init-domain-env:
    delete-domain:
    [echo] Deleting domain 'C:\wldomains\pdc2' ...
    [echo] Configuring WebLogic 10.3 domain (offline mode) ...
    identify-os:
    init:
    run-wlst-script:
    [echo] Running WLST script 'C:\scripts\wlst\offline\config-domain.py' ...
    [java] Initializing WebLogic Scripting Tool (WLST) ...
    [java] Welcome to WebLogic Server Administration Scripting Shell
    [java] Type help() for help on available commands
    [java] Loading configuration properties ...
    [java] [I] Reading the domain template ...
    [java] [I] Configuring the domain ...
    [java] [I] Configuring domain 'pdc2' ...
    [java] [I] Creating log mbean for 'Domain' : 'pdc2' ...
    [java] [I] Configuring the admin user ...
    [java] [I] Configuring admin user 'system' ...
    [java] [I] Configuring the admin server ...
    [java] [I] Configuring admin server 'myserver' ...
    [java] [I] Renaming server 'AdminServer' to 'myserver' ...
    [java] [I] Updating server 'myserver' ...
    [java] [I] Creating log mbean for 'Server' : 'myserver' ...
    [java] [I] Creating SSL for server 'myserver' ...
    [java] [I] Creating WebServer for server 'myserver' ...
    [java] [I] Creating WebServerLog mbean for 'WebServer' : 'myserver' ...
    [java] [I] Configuring machines ...
    [java] [I] Configuring clusters ...
    [java] [I] Configuring servers ...
    [java] [I] Configuring servers 'myserver' ...
    [java] [I] Configuring server 'myserver' ...
    [java] [I] Updating server 'myserver' ...
    [java] [I] Updating log mbean for 'Server' : 'myserver' ...
    [java] [I] Updating SSL for server 'myserver' ...
    [java] Error: setListenPort() failed. Do dumpStack() to see details.
    [java] [I] Updating WebServer for server 'myserver' ...
    [java] [I] Updating WebServerLog mbean for 'WebServer' : 'myserver' ...
    [java] [I] Configuring startup classes ...
    [java] [I] Configuring shutdown classes ...
    [java] [I] Configuring mail sessions ...
    [java] [I] Setting domain options ...
    [java] [I] Setting overwrite domain to 'true'
    [java] [I] Setting create start menu to 'false'
    [java] [I] Setting java home to 'C:/beajdk160_05'
    [java] [I] Setting server start mode to 'dev'
    [java] [I] Saving the domain configuration ...
    [java] Error: writeDomain() failed. Do dumpStack() to see details.
    [java] [I] Closing the domain template ...
    [java] [I] Reading the domain configuration ...
    [java] Error: readDomain() failed. Do dumpStack() to see details.
    [java] [I] Configuring JDBC ...
    [java] [I] Configuring JDBC system resources 'CPoolDS,EPoolDS,poswotDataSou
    rce,MainTxDataSource,AdditionalTxDataSource,PDC1PoolDS,urgentMessageDataStore,Us
    rFriendlyDescPoolDS' ...
    [java] [I] Configuring JDBC system resource 'CPoolDS' ...
    [java] Error: No domain or domain template has been read.
    [java] Problem invoking WLST - Traceback (innermost last):
    [java] File "C:\scripts\wlst\offline\config-domain.py", line 149, in ?
    [java] File "C:\scripts\Lib\script\offline\jdbc.py", line 35, in configJD
    BCSystemResources
    [java] File "C:\scripts\Lib\script\offline\jdbc.py", line 51, in configJD
    BCSystemResource
    [java] File "C:\scripts\Lib\script\offline\jdbc.py", line 97, in hasJDBCS
    ystemResource
    [java] File "C:\scripts\Lib\script\common\wlstutils.py", line 99, in chec
    kPath
    [java] TypeError: string member test needs char left operand
    BUILD FAILED
    C:\scripts\build.xml:20: The following error occurred while executing this line:
    C:\scripts\build.xml:431: The following error occurred while executing this line
    C:\scripts\build.xml:743: Java returned: 1
    Total time: 10 seconds

    Hai,
    After doing snapshot my application was created and even in fdm also i found error while creating application(hint:cache not found) but now everything is fine don't know what exactly the error may be but now i am facing 404 error while doing Assign Access control in shared services console what may be the reason did anyone experienced this error if so please provide me the solution.
    Edited by: 940022 on Jun 15, 2012 3:50 AM
    Edited by: 940022 on Jun 15, 2012 3:51 AM

  • MS Access To Oracle 8 Migration - Error 440

    Hi,
    I am using the migration assistant to migrate an Access DB
    (~500MB) to an Oracle 8 Instance on the same machine(NT). After
    6-7 hours while moving data I get the error: Error 440, serious
    internal error. The version of the software is 8.0.4. Can
    somebody tell me how I can overcome this error.
    Thanks in advance.
    null

    Srinivas,
    The Oracle Migration Workbench will migrate access data and datastructures over to oracle, it can then modify the access database so that link tables are created to access the oracle information from the access forms and views.
    If you are using ODBC to export the data:
    What are the commands you are entering and the output? Note that oracle tables are usually upper cased so if the table name is MY_TABLE, select * from "my_table"; will not work whereas select * from my_table; will. Access export via odbc preserves the case so one may need to select * from "my_table";
    select table_name from user_tables;
    Will show the current users tables, to show what case is expected, upper or lower.
    I hope these small pieces of information are helpful in solving the issue.
    Regards,
    Turloch
    Oracle Migration Workbench Team

  • Hyperion Planning migration error while refreshing/creating Essbase cube

    Hi,
    I'm migrating a Hyperion Planning application (11.1.1.4) to a complete other environment (due to the split of the companies). I have read most post on otn, but unfortunately nothing that helped me to solve the issue, yet... I hope someone can help me. Thanks in advance!
    I have executed the following steps:
    1. Create a new Oracle database
    2. Create a datasource to the Oracle database and to Essbase (both tested succesfully)
    3. Create a fresh planning application (I have used a native Admin account and not the original owner)
    4. Go into the database tables for the planning app and look at table HSP_USERS, store the SID value against user 50001
    5. Go into the database planning system tables and HSPSYS_APPLICATION, clear out the version field for the application you have created - I did not do this since I could not delete this value. null is not accepted.
    6. Stop Planning
    7. Restore the planning application database over the one created in the first step (I had to drop the existing tables first)
    8. Go into the HSP_USERS table and update the SID for user id 50001
    9. Start planning
    10. Log on to planning and I did see the webforms, etc as expected.
    11. Now, when I try to refresh the database, I receive an error:
    Cube refresh/create in progress
    Status failed
    Step 4 Adding dimensions
    java.lang.NoSuchMethodError: getAttributeType
    Does anyone has an idea? Hope someone can help me since the deadline is getting closer and closer.
    Thanks!
    Kind Regards
    Martin

    Hi John,
    Thanks for your reply.
    I have exactly done what you have described. I droped the schema and recreated it with an impdp to import.
    But, in the meantime I have been investigating the dimensions and there's indeed something very wrong. Some dimensions have been mixed up. In the 'old' environment I have 10 stored dimensions and 4 attribute dimensions (as well as in EAS as in Planning, offcourse as you expect). In the 'new' environment, two stored dimensions have been mixed up with two attribute dimensions.... How is that possible?
    I have never seen that. Could this be caused by the reason that we use a different version of Oracle (11G release 2 vs 10G (10.2.0.4))? Or went something wrong with exporting the schema...? Can you tell me what I can do to investigate this?
    Thanks!
    Kind Regards,
    Martin

  • ORA - 01034 : ORACLE NOT AVAILABLE  Error while creating new instance.

    I was trying to create new instance in unix environment. I have configured all my shell scripts to run and install but while performing the install I get the
    following error message and fails.
    ORA-01034: ORACLE not available
    I have previously installed an instance using same scripts but fails this time when I copy the scripts and modify them in new folder. Pointed out the path in the scripts correctly.
    I am a junior DBA and I would appriciate your help.

    Paste here scripts, your .profile (or environment variables according to Oracle) and your init.ora

  • Oracle forms 6i error while compiling on oracle 10g express edition DB

    A forms created on oracle forms 6i having Dual table. But while compiling this form on oracle10g Express edition. Its Giving Error.
    What can be the solution for this. If I remove the Statement using Dual table. it works fine.
    What could be the reason and what could be the possible solutions for this.
    Thanks
    Vipin
    Edited by: user6299750 on Sep 11, 2009 9:26 PM

    Vipin,
    What is the error you are getting and what is the statement you removed? Post the removed statement, or the trigger. then it will be easy for us to understand more clearly.
    And also try to execute the statement in any SQL Editors, to check whether its working or not.
    Regards,
    Manu.
    Edited by: Manu. on Sep 12, 2009 7:34 AM

  • Oracle - Microsoft  Odbc Error while installing UPK on Server 2008 64 bit..

    upk VERSION: 3.5.1
    os: windows 2008 server 64 bit
    oracle: 11g.1 for 64 bit
    i have created a user with sysdba and other privileges and i am able to login into database as well.
    but when i try to run the UPK ( server) installer and select the ORacle database i am getting following error after entering user name and password.
    Error:
    ====
    An error occur while trying to connect to the server"
    MSDAORA: there was an error logging into oracle
    Error: oracle client and networking components were not found.
    {Microsoft ODBC for Oracle} there was an error logging into oracle .
    error: Microsoft ODBC Driver manager Driver SQLALLOCHandle on SQL_Handle_Env_failed(0).
    Any help would be highly appreciate.
    thanks.

    Hi,
    Have you found a solution for this problem yet?
    I am facing the same issue.
    I would be very gratefull for a solution to this problem.
    Edited by: [email protected] on 11.06.2010 03:43

  • General Error While Capturing

    I've been having this problem for a while now. I just reinstalled Final Cut Studio by removing it first and then reinstalling but the problem still persists. Whenever I try to capture something it doesn't save the clip and gives me this error: http://www.mypicx.com/thumb/1681788439053120101.png
    The clip does not get saved in Capture Scratch and I simply can't find a way to import my clips. I've tried deleting the preference files and everything.

    I used FCS Remover and i have Final Cut Pro 7. It's on a 2006 iMac 2Ghz running the latest version of snow leopard. I don't know what you mean by deck but its a 500GB WD hard drive. The camera is connected with firewire and the 1080i60 Sony Setup. I'm simply plugging the camera in, going to "Log & Capture", pressing play, and then pressing "Capture Now." The footage runs on the capture window but when I press esc to stop it, it gives me the error message. This is how I have always imported footage but I have not had this problem until upgrading to Final Cut Pro 7. I also have FCP7 on my macbook running the same OS and it works fine to import. I just need it to work on my imac.

  • Migration Errors while using import wizard

    Hi,
    I am very new to BO.
    Currently we are migrating BO 6.1 b to BO XI R3 version. I am using Import Wizard tool.
    I am logging into SOURCE and DESTINATION in import wizard as ADMIN and trying to import only Universe and Reports.
    All Our Universes are under domain BO_UNV and Reports are under BO_RPT domain.
    After all the steps in import wizard when i look into detail logs i see the following error messages..
    for BO_UNV and BO_RPT domains ==> Reason: Sorry, you do not have the right to 'Add objects to the folder' (ID: 1) for 'Root Folder' (ID: 23). Please contact your administrator if you require this right.
    for Universe and reports ==> Cannot find parent object..
    Please do needful.. i have been struggling with this for few days.. and cant go a head with migration

    Hi kuhn,
    Thanks for reply..
    I have been trying with ADMIN credentials.. but could not find any progress..
    My doubt is when i login into CMC  , i am able to add new subfolders, but could not add folder under root one i.e All Folders in our environment.. what exactly are the rights i required for migration

  • Error while capturing photo by camera

    I am developing an Windows Store App in WP8.1. I need to take photo through camera and save it and use it for showing but it throws exception everytime.
    Link to my project is Link to my project
    My code is--
        async private void capturePhoto_Tapped(object sender, TappedRoutedEventArgs e)
                    try
                        MediaCapture mediaCapture = new MediaCapture();
                        StorageFile sf = await ApplicationData.Current.LocalFolder.CreateFileAsync("My Picture", CreationCollisionOption.GenerateUniqueName);
                        ImageEncodingProperties img = new ImageEncodingProperties();
                        await mediaCapture.CapturePhotoToStorageFileAsync(img, sf);
                    catch
    It throws an exception Object must be initailized and if I use InitalizeAsync it shows System.Exception and message is Text related to the Exception could not be found.If I use this code
        private static async Task<DeviceInformation> GetCameraID(Windows.Devices.Enumeration.Panel desired)
                    DeviceInformation deviceID = (await DeviceInformation.FindAllAsync(DeviceClass.VideoCapture))
                        .FirstOrDefault(x => x.EnclosureLocation != null && x.EnclosureLocation.Panel == desired);
                    if (deviceID != null) return deviceID;
                    else throw new Exception(string.Format("Camera of type {0} doesn't exist.", desired));
                async private void InitCamera_Click(object sender, RoutedEventArgs e)
                    var cameraID = await GetCameraID(Windows.Devices.Enumeration.Panel.Back);
                    var captureManager = new MediaCapture();
                    await captureManager.InitializeAsync(new MediaCaptureInitializationSettings
                        StreamingCaptureMode = StreamingCaptureMode.Video,
                        PhotoCaptureSource = PhotoCaptureSource.Photo,
                        AudioDeviceId = string.Empty,
                        VideoDeviceId = cameraID.Id
                    StorageFile sf = await ApplicationData.Current.LocalFolder.CreateFileAsync("My Picture", CreationCollisionOption.GenerateUniqueName);
                    ImageEncodingProperties img = new ImageEncodingProperties();
                    await captureManager.CapturePhotoToStorageFileAsync(img, sf);
    I found the error ------ The requested attribute was not found. (Exception from HRESULT: 0xC00D36E6)--
     Can anybody help? I just need to capture photo using camera and save it for use
                                                    

    Hello,
    This is a very generic error and the cause depends on the API call that is generating the error. What API is causing the error?
    If I remember correctly photo mode and video streaming mode are mutually exclusive. Try setting the PhotoCaptureSource to VideoPreview.
    I hope this helps,
    James
    Windows SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/

Maybe you are looking for