Requesting BASELINE_EXTENDED profile in air 3.9 or 4.0 causes error

This line of code
stage.stage3Ds[0].requestContext3D( Context3DRenderMode.AUTO, Context3DProfile.BASELINE_EXTENDED );
causes error "Error #2008: Parameter profile must be one of the accepted values." if app is compiled for desktop with air sdk 3.9 or air sdk 4.0 beta (didn't tried another sdk's). Compiling for web works fine. So what is this error? Where can I find information?

Just made a quick test on 3.9, Application, set to direct render of course, no issue:
package
          import flash.display.Sprite;
          import flash.display.Stage3D;
          import flash.display.StageAlign;
          import flash.display.StageScaleMode;
          import flash.display3D.Context3D;
          import flash.display3D.Context3DProfile;
          import flash.display3D.Context3DRenderMode;
          import flash.events.ErrorEvent;
          import flash.events.Event;
          public class CX3D extends Sprite
                    private var s3d:Stage3D;
                    private var rc:Context3D;
                    public function CX3D()
                              stage.align = StageAlign.TOP_LEFT;
                              stage.scaleMode = StageScaleMode.NO_BORDER;
                              s3d = this.stage.stage3Ds[0];
                              s3d.addEventListener(Event.CONTEXT3D_CREATE, onContextF);
                              s3d.addEventListener(ErrorEvent.ERROR, contextErrorF );
                              s3d.requestContext3D(Context3DRenderMode.AUTO, Context3DProfile.BASELINE_EXTENDED);
                    private function contextErrorF(e:Event):void
                              trace('Error ' + e);
                    private function onContextF(e:Event):void
                              trace('Created ' + e);
                              rc = Stage3D( e.target ).context3D;
               trace(rc);
Trace:
Created [Event type="context3DCreate" bubbles=false cancelable=false eventPhase=2]
[object Context3D]
(used a TextField for output in my finished .exe)
edit:
Although unlikely, if your desktop GPU is old enough it very well may not support that mode.

Similar Messages

  • How to set flex builder profiler for AIR apps ?

    Hi everybody !
    I am trying to profile my AIR app but I can't run the profiler....
    For flex app (in web browser) profiler works fine, for my AIR app, debug works but profiler just display 'socket timeout'.
    I also try to profile my air app as an external application profiler start but crash saying NativeWindow not found (like AIR sdk was not found...)
    SO How I can't set my AIR player or my profiler to work ???
    Thx all and happy christmas !

    Hello,
    I would be glad if someone show me how to accomplish those. I am new to Java so I am not sure how to do those.
    Best Regards.
    1. create a batch file to launch your 'desktop' app - the batch file should set the proper environment (JAVA_HOME,, path, etc)
    2. create a small wrapper application that is launched by Java web start.
    3. the wrapper app will do nothing more use ProcessBuilder to execute the batch file you created which will then launch the app
    That way Java web start can use 1.7 to launch the wrapper app but the batch file will set the environment to 1.5 for the other app.

  • I had to install a new hard drive on my macbook air and now I am getting unkown error whenever I try to login to itunes

    I had to install a new hard drive on my macbook air and now I am getting unkown error whenever I try to login to itunes. Apple support suggested I reset my password so I did that and still the problem is occuring. Itunes and the app store are working normally on my ipad and iphone. Does anyone know what the problem is. The new disk was installed in France coz I am on holiday there. could there be something I need to change in my settings? I need help urgently as I am trying to finish an assignment and need to be able to access and download from icloud.

    Hi Stacey,
    Thanks for visiting Apple Support Communities.
    You may find the tips in this article helpful with resolving the error you're seeing:
    iTunes Store: "An unknown error occurred (-9808)"
    http://support.apple.com/kb/TS2753
    Best,
    Jeremy

  • When I receive an email request for a meeting, when I open it I get an error message asking if I want to revert to server, try again or ignore. If I choice revert to server it delete the event, if I choice ignore it accepts but won't sync with my other de

    When I receive an email request for a meeting, when I open it I get an error message asking if I want to revert to server, try again or ignore. If I choice revert to server it deletes the event, if I choice ignore it accepts it but won't sync with my other devices.

    Interesting suggestion, but it's not clear to me how I would do that if I'm not using an "(at) icloud.com" email address/account. I am having the same problem with changed invitations that come from an organizer who is using Google Apps. My email account is hosted at my ISP - it's not obvious to me how I can use iCloud to access that email account (and therefore the changed invitation). Suggestions?

  • Could not complete your request because it is not a valid photoshop document why this error coming p

    could not complete your request because it is not a valid photoshop document why this error coming photoshop cs5

    Thanks for clarifying. 
    My bad. I thought you had an even older Mac Pro1,1 like mine, which will not run Mountain Lion.  I should have payed closer attention to your RAM specs.

  • Why can't we upload photo to profile page it is only 6.8 mb and error says it is too big

    why can't we upload photo to profile page it is only 6.8 mb and error says it is too big

    Yeah, about that... Apple stopped signing iOS 5.1.1.  Because Apple is no longer issuing it. Apple only issues the most current software for a given device.  See http://images.apple.com/legal/sla/docs/iOS6.pdf  It states:
    "Subject to the terms and conditions of this License, you are granted a limited non-exclusive
    license to download iOS Software Updates that may be made available by Apple for your model
    of the iOS Device to update or restore the software on any such iOS Device that you own or
    control."
    So per the Software License Agreement you HAD TO ACKNOWLEDGE to upgrade to iOS 6 you agreed to use iOS 6 in accordance with that agreement and it doesn't give you permission to downgrade your version of iOS.

  • I have nothing on this macbook air just iPhoto and iTunes and the error startup dic full message keeps coming up and the storage is full of other i don't know what to do.

    i have nothing on this macbook air just iPhoto and iTunes and the error startup dic full message keeps coming up and the storage is full of other i don't know what to do.how do i delete all of this?

    First, empty the Trash if you haven't already done so. Then reboot. That will temporarily free up some space.
    According to Apple documentation, you need at least 9 GB of available space on the startup volume (as shown in the Finder Info window) for normal operation. You also need enough space left over to allow for growth of your data. There is little or no performance advantage to having more available space than the minimum Apple recommends. Available storage space that you'll never use is wasted space.
    To locate large files, you can use Spotlight as described here. That method may not find large folders that contain a lot of small files.
    You can also use a tool such as OmniDiskSweeper (ODS) to explore your volume and find out what's taking up the space. You can delete files with it, but don't do that unless you're sure that you know what you're deleting and that all data is safely backed up. That means you have multiple backups, not just one.
    Proceed further only if the problem hasn't been solved.
    ODS can't see the whole filesystem when you run it just by double-clicking; it only sees files that you have permission to read. To see everything, you have to run it as root.
    Back up all data now.
    Install ODS in the Applications folder as usual.
    Triple-click the line of text below to select it, then copy the selected text to the Clipboard (command-C):sudo /Applications/OmniDiskSweeper.app/Contents/MacOS/OmniDiskSweeper
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V). You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    I don't recommend that you make a habit of doing this. Don't delete anything while running ODS as root. If something needs to be deleted, make sure you know what it is and how it got there, and then delete it by other, safer, means.
    When you're done with ODS, quit it and also quit Terminal.

  • After uninstalling adobe air on my Maveriks machine, how do I make adobe air stop trying to install itself generating error messages?

    After uninstalling adobe air on my Maveriks machine, how do I make adobe air stop trying to install itself generating error messages?  Sadly, support isn't happy to help and insists on posting here.  Can anyone help?

    Link for Download & Install & Setup & Activation problems may help
    -Chat http://www.adobe.com/support/download-install/supportinfo/

  • How to request bRAS profile reset - persistently s...

    Hi,
    After four months of messing about, I am approaching desparation. I have been a BT ADSL customer at my current address for over 10 years, throughout that period, I have consistently had around 3.5 - 4 Mbps download speed, occasionally slightly faster. Around January, my speed dropped considerably to around 1. 
    I initially linked this to some engineering works at the end of my road, where Openreach have installed (but not activated) a fibre cabinet. However, my speed has never returned to normal. Following several bewildering and frustrating conversations with the call centre, I have essentially replaced all my internal telecoms wiring and have installed an ADSL splitter faceplate on the master socket - which my modem is plugged into.
    I would post line stats, but I can't get them. I don't have a BT HomeHub (I still have my Voyager modem in a cupboard somewhere) but rather use a TPLink Modem in bridge mode to a WD Router. This kit doesn't give information re: SNR etc. The best I can do is use the BTW Performance Test at  http://speedtest.btwholesale.com/ which shows:
    Download Speed 2.41
    Upload 0.37
    Ping Latency 50.75
    I have tried the "Further Diagnostics" option hundreds of times, and it never works. "An error occurred while trying to retrieve additional details..."
    I have managed to establish from a Freola line quality test that I don't suffer from lost packets, and Jitter is low, (1-2) 
    I have left all my equipment switched on without reset for weeks, in the hope that the line would auto-adjust back up, but it doesn't.
    Is there any way to request a  bRAS profile reset without more agonsing conversations in broken english telling me to unscrew my faceplate, plug into the test socket etc? I appreciate that it might make no difference, but I have exhausted all other options.
    My exchange was due for a FTTC upgrade by the end of 2014, then it was the end of April 2015, now it's apparently by the end of the 2015 calender year. I'm not holding my breath, but if it's engineering works at the exchange that have caused the problem - it would have been nice to have been informed... 
    Exchange: Kirkbride LCKKB
    Cabinet: 3
    Thanks
    Solved!
    Go to Solution.

    Hi davetc,
    Welcome and thanks for posting. I’ll be happy to lend a hand with this. I’ll need to run a few checks so can you please drop me an email with your details? You’ll get the ‘contact us’ link in my profile.
    Cheers
    David
    BTCare Community Mod
    If we have asked you to email us with your details, please make sure you are logged in to the forum, otherwise you will not be able to see our ‘Contact Us’ link within our profiles.
    We are sorry but we are unable to deal with service/account queries via the private message(PM) function so please don't PM your account info, we need to deal with this via our email account :-)

  • Request - ICC profile for the combination - w520 and Dell u2711

    Greetings,
    Due to the lack of a colorimeter, I come to you with a humble request for few calibrated ICC profiles for the DELL u2711 and the quadro 2000m w520. Probably tftcentral's review might be a well guidance for setting up a ICC profile http://www.tftcentral.co.uk/reviews/dell_u2711.htm
    Thanks in advance,

    hey utzutz,
    could you explain on why you would like to get this ICC profiles ?
    WW Social Media
    Important Note: If you need help, post your question in the forum, and include your system type, model number and OS. Do not post your serial number.
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"!
    Follow @LenovoForums on Twitter!
    Have you checked out the Community Knowledgebase yet?!
    How to send a private message? --> Check out this article.

  • Request for proposal (for AIR developer/freelancer)

    UK web development agency needs to outsource (find a
    company/freelancer) to build an Adobe Air application based on an
    online web application we have already developed.
    We have developed an online application for a client that
    allows them to select a range of products from their own range and
    those of their competitors. Once a selection of upto 5 products
    have been selected a list of criteria can be used (upto 5) in order
    to provide a comparison.
    The client would like a desktop application for their mobile
    workforce that can sync (look for updates and download an xml file)
    with any updates.
    The AIR application might want to work a little like iTUNES
    with a cover-flow feel and method to select manufacturers >
    products > and a simple (cool) way to compare products.
    We use Mysql and Jboss as the core tools for the online
    application, with the cover flow delivered via Flash. The output
    can be delivered in XML format.
    We are already sold on AIR being the answer and can provide
    access to the online website and a detailed spec. so at this stage
    we are looking to make contact with people who have already
    completed an AIR project (or two).
    Best regards
    Myles Davidson (i-kos.com)

    Request for Proposal is a presales activity. In Request for proposal, the customer mentions ablout his business operation in detail & based on what can be mapped in SAP or not it is answered at a gross level. Based on the requirement the estimate of required man months module wise is prepared & an estimation charges / cost to customer is worked out.
    This is in breif Request for proposal.
    Regards,
    Rajesh Banka

  • Downloading the Lens Profile Downloader (AIR, 1.0 MB)

    I have made 4 attempts to download this program for Windows 7 and CS5 (64 bit). I have successfully downloaded Adobe Air as required. However, when I try to open LensProfielDowloader.swf I get an error message. It won't let me copy and past the message so here it is in my own words.  "Adobe Reader cannot open LensProfileDownloader.swf because the file has been damaged."
    Is there aproblem at Adobe's end with this program? Anyone have any ideas? WIthout this program I have no access to lens profiles created by individuals and shared with Adobe.
    Thanks Paul

    What browser are you using?
    So you downloaded the Lens Profile downloader from here:
    http://labs.adobe.com/downloads/lensprofile_creator.html
    Double clicked on the installer and the installer completed?
    You probably have a shortcut on the desktop or under All Programs from the start menu.
    What happens when you double click on that shortcut?

  • AIR won't install after Yosemite with Error "Installer Damaged"

    Error message ""Adobe AIR Application Installer" is damaged and can't be opened"
    I've uninstalled previous versions,using uninstaller, removed all incidents of AIR files, and my computer is not connected to another Hard Drive or Time Machine. Does anyone know an answer to this?  Thanks.
    here's the log file
    Oct 29 07:57:05 Jeremys-Airmac-2 kernel[0]: hfs: mounted Adobe AIR on device disk2s1
    Oct 29 07:57:05 Jeremys-Airmac-2.local mds[32]: (Volume.Normal:2464) volume:0x7faf54078800 ********** Bootstrapped Creating a default store:1 SpotLoc:(null) SpotVerLoc:(null) occlude:0 /Volumes/Adobe AIR
    Oct 29 07:57:16 Jeremys-Airmac-2.local Adobe AIR Installer[583]: Runtime Installer begin with version 15.0.0.293 on Mac OS 10.10.0 x86
    Oct 29 07:57:16 Jeremys-Airmac-2.local Adobe AIR Installer[583]: Commandline is: -psn_0_344148
    Oct 29 07:57:16 Jeremys-Airmac-2.local Adobe AIR Installer[583]: No installed runtime detected
    Oct 29 07:57:17 Jeremys-Airmac-2.local Adobe AIR Installer[583]: The function ‘CGFontSetShouldUseMulticache’ is obsolete and will be removed in an upcoming update. Unfortunately, this application, or a library it uses, is using this obsolete function, and is thereby contributing to an overall degradation of system performance.
    Oct 29 07:57:20 Jeremys-Airmac-2.local Adobe AIR Installer[583]: Relaunching with elevation
    Oct 29 07:57:20 Jeremys-Airmac-2.local Adobe AIR Installer[583]: Launching subprocess with commandline /Volumes/Adobe AIR/Adobe AIR Installer.app -ei
    Oct 29 07:57:25 Jeremys-Airmac-2.local authexec[588]: executing /Volumes/Adobe AIR/Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer
    Oct 29 07:57:25 Jeremys-Airmac-2.local Adobe AIR Installer[588]: Runtime Installer begin with version 15.0.0.293 on Mac OS 10.10.0 x86
    Oct 29 07:57:25 Jeremys-Airmac-2.local Adobe AIR Installer[588]: Commandline is: -ei
    Oct 29 07:57:25 Jeremys-Airmac-2.local Adobe AIR Installer[588]: No installed runtime detected
    Oct 29 07:57:25 Jeremys-Airmac-2.local Adobe AIR Installer[588]: Launching subprocess with commandline /bin/chmod -fRP +rw "/Library/Application Support/Adobe"
    Oct 29 07:57:25 Jeremys-Airmac-2.local Adobe AIR Installer[588]: Launching subprocess with commandline /usr/sbin/chown -hfRP jeremy "/Users/jeremy/Library/Application Support/Adobe"
    Oct 29 07:57:25 Jeremys-Airmac-2.local Adobe AIR Installer[588]: Launching subprocess with commandline /bin/chmod -fRP +rw "/Users/jeremy/Library/Application Support/Adobe"
    Oct 29 07:57:25 Jeremys-Airmac-2.local Adobe AIR Installer[588]: Launching subprocess with commandline /usr/sbin/chown -hfRP jeremy "/Users/jeremy/Library/Preferences/Macromedia/Flash Player/www.macromedia.com/bin"
    Oct 29 07:57:25 Jeremys-Airmac-2.local Adobe AIR Installer[588]: Starting silent runtime install. Installing runtime version 15.0.0.293
    Oct 29 07:57:28 Jeremys-Airmac-2.local Adobe AIR Installer[588]: Registering /Applications/Utilities/Adobe AIR Application Installer.app/Contents/Info.plist
    Oct 29 07:57:28 Jeremys-Airmac-2.local Adobe AIR Installer[588]: Launching subprocess with commandline /usr/sbin/chown -hfRP root:wheel "/Library/Frameworks/Adobe AIR.framework"
    Oct 29 07:57:28 Jeremys-Airmac-2.local Adobe AIR Installer[588]: Subprocess chown succeeded
    Oct 29 07:57:28 Jeremys-Airmac-2.local Adobe AIR Installer[588]: Launching subprocess with commandline /usr/sbin/chown -hfRP root:wheel "/Applications/Utilities/Adobe AIR Application Installer.app"
    Oct 29 07:57:28 Jeremys-Airmac-2.local Adobe AIR Installer[588]: Subprocess chown succeeded
    Oct 29 07:57:28 Jeremys-Airmac-2.local Adobe AIR Installer[588]: Launching subprocess with commandline /usr/sbin/chown -hfRP root:wheel "/Applications/Utilities/Adobe AIR Uninstaller.app"
    Oct 29 07:57:28 Jeremys-Airmac-2.local Adobe AIR Installer[588]: Subprocess chown succeeded
    Oct 29 07:57:28 Jeremys-Airmac-2.local Adobe AIR Installer[588]: Runtime Installer end with exit code 0
    Oct 29 07:57:28 Jeremys-Airmac-2.local Adobe AIR Installer[583]: Elevated install completed
    Oct 29 07:57:33 Jeremys-Airmac-2.local Adobe AIR Installer[583]: Launching subprocess with commandline /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/Adobe AIR Updater -installupdatecheck
    Oct 29 07:57:33 Jeremys-Airmac-2.local Adobe AIR Installer[583]: Runtime Installer end with exit code 0
    Oct 29 07:57:34 Jeremys-Airmac-2.local Adobe AIR Installer[600]: Runtime Installer begin with version 15.0.0.293 on Mac OS 10.10.0 x86
    Oct 29 07:57:34 Jeremys-Airmac-2.local Adobe AIR Installer[600]: Commandline is: -installupdatecheck
    Oct 29 07:57:34 Jeremys-Airmac-2.local Adobe AIR Installer[600]: Installed runtime (15.0.0.293) located at /Library/Frameworks/Adobe AIR.framework
    Oct 29 07:57:35 Jeremys-Airmac-2.local Adobe AIR Installer[600]: Performing pingback request
    Oct 29 07:57:35 Jeremys-Airmac-2.local Adobe AIR Installer[600]: Pingback request completed with HTTP status 200
    Oct 29 07:57:35 Jeremys-Airmac-2.local Adobe AIR Installer[600]: Starting runtime background update check
    Oct 29 07:57:35 Jeremys-Airmac-2.local Adobe AIR Installer[600]: Begin Background update download from http://airdownload.adobe.com/air/3/background/macos/x86/patch/15.0.0.293/update
    Oct 29 07:57:35 Jeremys-Airmac-2.local Adobe AIR Installer[600]: Unpackaging http://airdownload.adobe.com/air/3/background/macos/x86/patch/15.0.0.293/update to /Users/jeremy/Library/Application Support/Adobe/AIR/Updater/Background
    Oct 29 07:57:35 Jeremys-Airmac-2.local Adobe AIR Installer[600]: Runtime update not available
    Oct 29 07:57:35 Jeremys-Airmac-2.local Adobe AIR Installer[600]: Unpackaging cancelled
    Oct 29 07:57:35 Jeremys-Airmac-2.local Adobe AIR Installer[600]: Runtime Installer end with exit code 0
    Oct 29 07:58:36 Jeremys-Airmac-2 kernel[0]: proc 617: load code signature error 4 for file "Adobe AIR Application Installer"
    Oct 29 07:58:36 Jeremys-Airmac-2.local amfid[254]: /Applications/Utilities/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer signature not valid: 0xfffefa2a
    Oct 29 07:58:49 Jeremys-Airmac-2 com.apple.xpc.launchd[1] (com.apple.xpc.launchd.oneshot.0x1000000f.Adobe AIR Application Installer[617]): Service exited due to signal: Killed: 9

    Alright y'all (jklawmd, Supritha Papannajklawmd, and anyone else having this issue),
         I was having this same exact issue, and I actually referred to your post hoping for a fix (that I obviously did not find), however, I did discover a work around!!! I use "Adobe AIR" for my "Pandora One Desktop Application", but every time I opened the installer for "Pandora One" it gave me the same exact error. Here is what I did to fix it (Hoping it helps y'all too):
    BEFORE starting ensure that the "AIR Program" that you want to install is downloaded and located in your "Downloads" folder
    Uninstall "Adobe AIR" using the included uninstaller (Navigate to your "Utilities" folder in a "New Finder Window" in order to find this, once you're there you can't miss it)
    Delete all previous "Adobe AIR" downloads
    Download a new "Adobe AIR" Installer from "Adobe" (Sounds redundant I know, but bear with me)
    Install "Adobe AIR" using the most recent download
    VERY IMPORTANT: DO NOT ATTEMPT TO INSTALL THE "AIR PROGRAM" YET
    Once the "Adobe AIR" Installation is complete navigate to "File" and select "New Finder Window"
    Once there select the "Applications" folder from the menu bar on the left of the window (Should be under "Favorites")
    Navigate to your "Utilities" Folder (Again)
    Locate the icon for "Adobe AIR Application Installer" and open it; This will open a new window
    Once the new window is open, navigate to your "Downloads" folder and locate the "AIR Program" that you want to install select the "AIR Program" and click "Open" (Bottom right hand corner)
    TaDa!!!
    Following those steps should culminate in the initialization of the install process for the program that you weren't able to install before, and from there it is business as usual (selecting and answering to the necessary install prompts for the "AIR Program"). It seems like there is a glitch somewhere between "Yosemite" and "Adobe AIR" that prevents the "Adobe AIR Application Installer" from auto-running properly when you try to open the sub-program. However, initializing the "Adobe AIR Application Installer" FIRST allows it to get up and running before the sub-program communicates with it. This fixed it for me right away, please let me know whether it works for your specific "Adobe AIR"/"AIR Program" set, if not I will download your "AIR Program" and see if I can't find another way. Also, has anyone contacted either Adobe Support or Apple Support directly with this yet??
    I hope this helps, personally, I don't know where I would be without my "Pandora One Desktop Application"!!!

  • AIR Badge Install fails on Macromedia Certificate Error

    I noticed my AIR Badge installer stopped working with the message “A download error occurred, would you like to try again” when the person did not have Adobe AIR installed previously.  The badge installer is supposed to download AIR seamlessly as part of the process.
    I snooped with Charles and found that the loaded air.swf file was attempting to access https://www.macromedia.com and this request is returning a certificate error.  Attempting to access the url on my home machine directly using gives me the message that the cert is not from a trusted authority.  Attempting to access that url from my work machine results in a re-direct to Adobe.com.
    Anyone got a clue as to what the heck is going on? Am I dealing with an outdated version of the badge?  I got this from the Flex SDK 3.4 samples directory.
    Thanks,
    Jeff

    Rob,
    Thanks very much for getting back but the issue is resolved - I discovered
    that I was passing 1.52 instead of 1.5.2 for the required air version
    parameter.  D'oh.  Once that was set correctly the badge works fine.
    Jeff

  • SSRS Designer - XML Datasource - Parameter passing XML gets encoded, causes error on WS Request

    Hello,
    I am attempting to query a List from SharePoint using the XML Datasource. I am forced to use this datasource as our infrastructure team will not be upgrading our SSRS 2008 farm to SSRS 2008 R2 anytime soon. 2008 R2 has Native SharePoint
    List Datasources ( which works great FYI ). I already completed the report using the Native SP List DS, only to find out that my timing was not so great as 2008 R2 was not in production yet... /sigh, communication... anyways...
    I have successfully queried the List using the XML Datasource. It is only when I try to use the CAML query in the query parameter that it fails. So, here is my Query:
    <Query>
    <SoapAction>http://schemas.microsoft.com/sharepoint/soap/GetListItems</SoapAction>
    <Method Namespace="http://schemas.microsoft.com/sharepoint/soap/" Name="GetListItems">
    <Parameters>
    <Parameter Name="listName">
    <DefaultValue>{DD3DE881-1F9D-4016-AD73-F7E1D9340880}</DefaultValue>
    </Parameter>
    <Parameter Name="query">
    <DefaultValue>
    <Query>
    <Where>
    <Gt>
    <FieldRef Name="Modified" />
    <Value Type="DateTime">2011-03-01</Value>
    </Gt>
    </Where>
    </Query>
    </DefaultValue>
    </Parameter>
    </Parameters>
    </Method>
    <ElementPath IgnoreNamespaces="True">*</ElementPath>
    </Query>
    I will be replacing that hard date with something like =DateAdd("d",-7,Now()) later, but focusing on the task at hand...
    Here is the error ( trimmed so you don't need to read the whole stack ):
    <soap:Body>
    <soap:Fault>
    <faultcode>soap:Server</faultcode>
    <faultstring>Exception of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was thrown.</faultstring>
    <detail>
    <errorstring xmlns="http://schemas.microsoft.com/sharepoint/soap/">Element &lt;Query&gt; of parameter query is missing or invalid.</errorstring>
    <errorcode xmlns="http://schemas.microsoft.com/sharepoint/soap/">0x82000000</errorcode>
    </detail>
    </soap:Fault>
    </soap:Body>
    The key to that error is:  Element &lt;Query&gt; of parameter query is missing or invalid.
    So I see that it is being encoded, so I decided to capture the actual Webservice request with Fiddler:
    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
    <GetListItems xmlns="http://schemas.microsoft.com/sharepoint/soap/">
    <query>
    &lt;Query&gt;
    &lt;Where&gt;
    &lt;Gt&gt;
    &lt;FieldRef Name="Modified" /&gt;
    &lt;Value Type="DateTime"&gt;2011-03-01&lt;/Value&gt;
    &lt;/Gt&gt;
    &lt;/Where&gt;
    &lt;/Query&gt;
    </query>
    <listName>{DD3DE881-1F9D-4016-AD73-F7E1D9340880}</listName>
    </GetListItems>
    </soap:Body>
    </soap:Envelope>
    So now that we know that somehow the XML parameter of "query" is being encoded. How do I tell the SSRS designer that for this XML datasource's dataset query, I do not wish to encode that parameter?  I have searched all day today and came up with
    very little. I found a few posts with a simliar question, but no solution was ever mentioned.
    The closest to a likely solution was this Post :
    http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/thread/8a9ba2fc-26cd-423e-bbbf-a16b5c9722f5/
    in particular this phrase interested me:
    "Query parameters of type Msxml2.DOMDocument30 are passed as XML. Parameters of type String which happen to contain XML are passed as strings and are XML encoded in the SOAP message. The function CXml(String) converts a string
    into an Msxml2.DOMDocument30 and can be used in query parameter expressions."
    Similar to the poster of that question, I also cannot find a way to define the parameter as an XML type or the use of this mysterious CXML() function in the expression builder...
    I'm looking for a Microsoft resource to tell me whats going on here, but if anyone else has a workaround or an idea, I would be happy to try it out.
    Regards,
    -Ryan, Solution Architect

    Hi Ryan,
    Thanks for your question, from your statement, it seems that you want to give a default value for the parameter named query, right? If so I would recommend you achieve this requirement in report level, please follow these:
    1. Create a parameter named Date, select Date/Time as data type.
    2. Move to Default values tab, then click Add button ->type in  =DateAdd("d",-7,Now())  as defult value's expression.
    3. Right-cilck the dataset, and then select DataSet properties.
    4. Move to Filters tab, click add button to add a filter.
    5. In the drop-down list of Expression, select Modified datefield with Date/Time datatype.
    6. Type in =Parameters!Date.Value in value's textbox.
    Similar thread, please get a reference from this
    http://social.technet.microsoft.com/Forums/en-US/sqlreportingservices/thread/24d30b00-139e-4487-9fb1-02f460b432f9
    If you have any question, please feel free to ask.
    Thanks,
    Challen Fu 
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

Maybe you are looking for

  • I can't figure out how to remove a credit card from itunes, any help?

    I neeeeed help fast

  • My google doesn't work on firefox or any program else, can you help?

    For a long time now Google hasn't been working on my computer (this was when I still used Explorer) but it worked on my sister's, so when I asked her she said 'Just download Firefox and it will work' so I did, but unfortunately it didn't work and now

  • Obtaining a OS X 10.7 Lion license now, how?

    Anyone know of a way to purchase a license of OS X 10.7 Lion now? Are any type of licenses transferable, except with hardware with preinstalls? What about volume licensing? What have you done hiding the apples some of us still need, Apple? <Edited By

  • Update after Yosemite

    After updating to Yosemite iphoto dose not work but when I try to update it I get this "This update is not available for this Apple ID either because it was bought by a different user or the item was refunded or cancelled." iPhoto came with my comput

  • How to relocate keywords file in CS3 ?

    I want to put this XML file with my other data files. Can it be relocated from Documents and Settings....Bridge CS3 to elsewhere ? How do I tell Bridge where the new location is ? Thanks.