Error #2123 bitmap.draw à partir d'un flux HDS dans une application Flex

Bonjour à tous,
Je suis en train de développer un player vidéo en Flex qui doit prendre en charge le HDS.
J'essaie en vain depuis hier de créer une une image Bitmap à partir d'un flux HDS que je récupère d'Akamai.
J'ai essayer avec un Flux RTMP, aucun problème, j'arrive bien à créer une image bitmap à partir du flux vidéo. Mais dès  que j'essaie avec un flux HDS, j'ai une erreur # 2123 qui correspond à une violation de sécurité.
le message complet :
Error #2123: Violation de la sécurité Sandbox : BitmapData.draw : http://192.168.0.194/test-hds/testHDS.swf ne peut pas accéder à null. Accès refusé à tous les fichiers de régulation.
J'ai créer un serveur avec Wowza en version trial pour avoir un exemple de flux HDS. Même problème qu'avec le flux d'Akamai
Mon Code :
Fichier testHDS.mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                xmlns:mx="library://ns.adobe.com/flex/mx"
                xmlns:s="library://ns.adobe.com/flex/spark"
                minWidth="955" minHeight="800" creationComplete="init()" layout="absolute">
        <!-- Placer ici les éléments non visuels (services et objets de valeur, par exemple). -->
    <fx:Declarations>
    </fx:Declarations>
    <fx:Script>
        <![CDATA[
            import mx.controls.Alert;
            import mx.core.FlexGlobals;
            import mx.core.UIComponent;
            private var osmfPlayer:OSMFPlayer;
            public function init():void{         
                Security.allowDomain("*")
                Security.loadPolicyFile("http://192.168.0.194/crossdomain.xml");              
                osmfPlayer = new OSMFPlayer();
                this.addChild(osmfPlayer);
            protected function myBtn_clickHandler(event:MouseEvent):void
                try {
                    var dpo:DisplayObject = osmfPlayer.player.displayObject;      
                    var imgBD:BitmapData;
                    var imgBitmap:Bitmap;
                    imgBD = new BitmapData(100,100);
                    imgBD.draw(osmfPlayer.player.displayObject as DisplayObject);
                    imgBitmap=new Bitmap(imgBD);              
                    var comp :UIComponent = new UIComponent();
                    comp.addChild(imgBitmap);
                    comp.x =0  ;
                    comp.y = 720;
                    addChild(comp);
                    Alert.show("ok");              
                catch(e:Error){
                    Alert.show(e.message);
        ]]>
    </fx:Script>
    <s:Button id="myBtn" x="0" y="720" label="MyButton" click="myBtn_clickHandler(event)">      
    </s:Button>
</mx:Application>
Fichier OSMFPlayer.as
package
    import mx.core.UIComponent;
    import org.osmf.containers.MediaContainer;
    import org.osmf.media.DefaultMediaFactory;
    import org.osmf.media.MediaElement;
    import org.osmf.media.MediaPlayer;
    import org.osmf.media.URLResource;
    public class OSMFPlayer extends UIComponent
        //URI of the media
        public static const PROGRESSIVE_PATH:String =
            "http://192.168.0.194:1935/vod/mp4:sample.mp4/manifest.f4m";       
        public var player:MediaPlayer;
        public var container:MediaContainer;
        public var mediaFactory:DefaultMediaFactory;  
        public function OSMFPlayer()
            initPlayer();
        protected function initPlayer():void
            //the pointer to the media
            var resource:URLResource = new URLResource( PROGRESSIVE_PATH );
            // Create a mediafactory instance
            mediaFactory = new DefaultMediaFactory();      
            //creates and sets the MediaElement (generic) with a resource and path
            var element:MediaElement = mediaFactory.createMediaElement( resource );
            //the simplified api controller for media
            player = new MediaPlayer( element );
            //the container (sprite) for managing display and layout
            container = new MediaContainer();
            container.addMediaElement( element );
            //Fit the player size
            container.width =  1280;
            container.height = 720 ;//- FlexGlobals.topLevelApplication.actionBar.height;
            //Adds the container to the stage
            this.addChild( container );
crossdomain.xml
Emplacement :  à la racine du serveur
<?xml version="1.0"?>
<cross-domain-policy>
<site-control permitted-cross-domain-policies="master-only" />
<allow-access-from domain="*" />
<allow-access-from domain="*.adobe.com" />
<allow-access-from domain="*.macromedia.com" />
</cross-domain-policy>
//fin de code
J'ai d'abord pensé que c'était lié au crossdomain.xml, j'en ai testé un certains nombre, ca ne change rien.
Je ne sais plus trop quoi faire
Si quelqu'un avait une idée ou une piste, je suis à cours !
Merci d'avance

Perhaps if you are going to use a foreign language in your post, you should use it in the title, also, so as otherw will know what to expect... you will be more likely to get responses from those who speak the same language also... not a criticism, just a suggestion. and no need to repost again...

Similar Messages

  • !!Still unresolved error #2123: BitmapData.draw(), videosampleaccess, No policy files granted access

    Hello,
    I have looked all over the forums, google etc. and not found any reliable and working solution to be able to retrieve the stream bitmapdata from RTMP  or HTTPDynamicStreaming source. Please find the details below.
    I have tried everything:
    NetStream.checkPolicyFile = true
    Security.loadPolicyFile(...);
    /applications/live/main.asc has the code below:
    application.onConnect = function( client )
        client.videoSampleAccess = "/";
        this.acceptConnection(client) ;
    The Application.xml has the tag:
    <Client>
         <access>
              <VideoSampleAccess enabled="true">/</VideoSampleAccess>
         </access>
    </Client>
    But constantly, I receive this error ( both on FMS3.5 and FMS4.0 RTMP & HttpLiveDynamicStreaming):
    securityerror:Error #2123: Security sandbox violation: BitmapData.draw: http://localhost/xxyy.swf cannot access rtmpt://localhost:1935/live. No policy files granted access.
    The problem persists wherever the player.swf is placed.
    Since I'm using OSMF the video display object had to be retrieved in the way like this:
    var mediaDisplayObjectTrait:DisplayObjectTrait;
    mediaDisplayObjectTrait = media.getTrait(MediaTraitType.DISPLAY_OBJECT) as DisplayObjectTrait;
    v = new Video(mediaDisplayObjectTrait.mediaWidth,mediaDisplayObjectTrait.mediaHeight);
    loadable.netStream.checkPolicyFile = true;
    v.attachNetStream(loadable.netStream);
    The new Video part is a must because when using ( the only working http - vod setup ) the BitmapData of the DisplayObject defaults to 320x240 even though the mediaWidth and mediaHeight properties are set fine and the video itself has much higher resolution. I must note at this point its far weird and worths another post.
    Seems like the player simply doesn't know anything about where and how to obtain any kind of policy information from the stream.
    I think this issue must be resolved once and for all, it's simply not acceptable to have this poor documentation floating around an essential feature without any professional help involved.

    You don't need crossdomain policy files, you need to do the following;
    1)      Edit the Application.xml file in the host folder, within install directory/conf/... , edit the client tag, adding the attribute override=”yes”
    <Client override=”yes”>
    In a default install of Flash Media Server, the Client class is set to prevent overriding values in the application folder. This was why the settings we were trying were not holding.
    We do not need to alter anything else of the conf Application.xml
    2)      Add the client/access nodes to the root Application.xml within the content folder  ( we have already done this as far as I am aware ).
    <Application>
      <Client>
       <Access>
        <VideoSampleAccess enabled="true">/</VideoSampleAccess>
        <AudioSampleAccess enabled="true">/</AudioSampleAccess>
       </Access>
      </Client>
    </Application>
    3)      Restart the Media Server by using the administration console. This will enable the client>access values to be overridden to true.

  • SecurityError: Error #2123: Security sandbox violation: BitmapData.draw: cannot access

    When we try to print the Google Map API for Flash component, it is throwing the Security Sandbox Violation
          SecurityError: Error #2123: Security sandbox violation: BitmapData.draw: http://ps6143:8080/aa/XYZ/Main.swf/[[DYNAMIC]]/1 cannot access  http://mt1.google.com/vt/lyrs=m@171000000&hl=en&src=api&x=1&y=1&z=1&s=Gali&flc=x3t. No policy files granted access.
    at flash.display::BitmapData/draw()
    To avoid this error we tried to use the alternate API provided by library. But that also causing cross domain issue as it loading some 3d library internally which is not able to access our application.
    SecurityError: Error #2121: Security sandbox violation: BitmapData.draw: http://maps.googleapis.com/mapfiles/lib/map_1_20_10_3d.swf cannot access http://ps6143.persistent.co.in:8080/dv/SiteOptimizer/SiteOptimizer.swf/%5b%5bDYNAMIC%5d%5d /1http://ps6143:8080/aa/XYZ/Main.swf/[[DYNAMIC]]/1. This may be worked around by calling Security.allowDomain.
    at flash.display::BitmapData/draw()
    Please help us in resolving this issue.
    Thanks & Regrds,
    Ravi Darji

    There is no redirect... Charles is a web proxy so it will look completely legitimate to the browser.
    According to the help, it's getting the access request from the SWF itself and not the crossdomain.xml file:
    In the case of a source object other than a loaded bitmap, the source object and (in the case of a Sprite or MovieClip object) all of its child objects must come from the same domain as the object calling the draw() method, or they must be in a SWF file that is accessible to the caller by having called the Security.allowDomain()method.
    http://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3/WS5b3ccc516d4fbf351e63e3d118a9 b90204-7d1b.html#WS5b3ccc516d4fbf351e63e3d118a9b90204-7c4a
    So the default state accessing a SWF on a different domain is protected, unless that SWF allows some or all domains to access it via the Security.allowDomain() method.

  • Streaming Video and Bitmap Draw issues.

    Hello all,
    In the current application I'm developing, I have a custom
    video console. While watching a video, certain points in the
    timeline will pop up a dialog box that gives the user the ability
    to switch to a related video. If the user clicks the button to view
    the related video, a 3D effect flips the current "main" console to
    a secondary "branching" console - much like the flip effect the
    iPhone uses. The videos are streaming from FMS 3, the client
    application was developed in Flex, and we are using Alex Uhlmann's
    Distortion Effects to achieve the 3D flip effect.
    When I first started developing the application, I ran in to
    the infamous "Security sandbox violation: BitmapData.draw" error
    whenever I would try the flip. After some investigation on the web,
    I found that I needed to set the Client.videoSampleAccess property
    in my FMS application's main.asc to allow bitmap snapshot access. I
    did so, and that seemed to do the trick. After playing with the
    application a bit more, however, I found that the error would still
    come about if I did the following:
    1. Pause the video (stream)
    2. Perform a seek while paused.
    3. Attempt the flip effect.
    When I did the above, the error came back. If I paused,
    performed a seek, and then unpaused the video, everything worked
    fine. If I pause and then immediately do the flip without a seek,
    everything works fine.
    It seems as though when you pause and then perform a seek,
    the player forgets that it has permission to do a frame grab until
    you restart playback.
    Has anyone else had this issue, or anything similar? If so,
    how did you solve it?
    Thanks,
    --G
    (For reference, here is the actual Error that is getting
    thrown)
    SecurityError: Error #2123: Security sandbox violation:
    BitmapData.draw:
    http://localhost/Bison/trunk/BisonClient/bin/BisonClient-debug.swf
    cannot access rtmp://localhost/digitaltutors. No policy files
    granted access.
    at flash.display::BitmapData/draw()
    at
    sandy.util::DistortImage/renderVector()[C:\workspaces\flex2.0.1\AlexFlexLibrary\sandy\uti l\DistortImage.as:190]
    at
    sandy.util::DistortImage/initialize()[C:\workspaces\flex2.0.1\AlexFlexLibrary\sandy\util\ DistortImage.as:107]
    at
    com.adobe.ac.mxeffects::SimpleDistortion/initDistortImage()[C:\workspaces\flex2.0.1\AlexF lexLibrary\com\adobe\ac\mxeffects\SimpleDistortion.as:501]
    at
    com.adobe.ac.mxeffects::SimpleDistortion/renderSides()[C:\workspaces\flex2.0.1\AlexFlexLi brary\com\adobe\ac\mxeffects\SimpleDistortion.as:357]
    at
    com.adobe.ac.mxeffects::SimpleDistortion/flipFront()[C:\workspaces\flex2.0.1\AlexFlexLibr ary\com\adobe\ac\mxeffects\SimpleDistortion.as:98]
    at
    com.adobe.ac.mxeffects.effectClasses::FlipInstance/updateFront()[C:\workspaces\flex2.0.1\ AlexFlexLibrary\com\adobe\ac\mxeffects\effectClasses\FlipInstance.as:46]
    at mx.effects::Tween/
    http://www.adobe.com/2006/flex/mx/internal::doInterval()[C:\dev\flex_201_gmc\sdk\framework s\mx\effects\Tween.as:567
    at
    mx.effects::Tween$/timerHandler()[C:\dev\flex_201_gmc\sdk\frameworks\mx\effects\Tween.as: 177]
    at flash.utils::Timer/_timerDispatch()
    at flash.utils::Timer/tick()

    Hi,
    I've been searching all over for someone having the same
    problem that I am.
    I'm seeing nearly the same thing that you are. I have
    SWFVerification turned on and the swf copied over to the correct
    directory. If I stream an FLV and attempt to capture grab the
    bitmap data it works fine. Always.
    If I try the same thing with a .mov or .mp4 file it mostly
    works, but sometimes (after doing basically the same thing you've
    described in your message), I get the SecurityError. If I try again
    after a delay of a few seconds, sometimes it works. When that
    doesn't work, if I seek a 1/10th of a second ahead in the video
    then try again, it almost always works. But sometimes that, too,
    fails.
    Have you found a reliable solution to your problem? Has
    anyone else seen this issue? I would file a bug for FMS, but it
    looks like the bug-tracking system for FMS is not public. It would
    be nice for it to be public.
    regards,
    david

  • Sandbox Error 2123

    Hope somebody can help :X
    I've been working on a UI Automation and Testing framework
    for my AIR apps. I have an AIR application (TestRunner) which loads
    up another air application as a child component and manipulates
    properties, fires events at it, etc. and then grabs screenshots
    (actually bitmapdata.draw) and compares to bitmapdata that is
    already stored with the test's source.
    This has all been working great so far until I got to a
    particular area of the child application, which involves video and
    images. These videos and images are loaded from a content folder
    within the test application's directory and referred to as such
    (app:/content/...). At certain points within my test I get the
    exception:
    SecurityError: Error #2123: Security sandbox violation:
    BitmapData.draw: app:/TestRunner.swf cannot access unknown URL. No
    policy files granted access. at flash.display::BitmapData/draw()
    To be sure that it was not a problem between SWFs, I've
    compiled the application-to-be-tested and the tester app into one
    SWF. To clarify, the build looks like this:
    tests/
    TestRunner.swf
    TestRunner-app.xml
    bitmapData/
    content/
    I've googled this to death and tried everything I can think
    of (placing policy files everywhere, compiling the tester and the
    testee into a single SWF, app: vs. nativePath). I'm still
    struggling to understand why an AIR app, that can access the file
    system until the cows come home, can't take a screenprint of a
    video that was loaded from the application's directory.
    It's the "unknown URL" that really gets me. Why can't it
    resolve?
    I should note that I'm running the application using ADL.
    This is sort of a requirement, as I'm going to need these tests to
    be run by cruisecontrol and I can't have the build installing these
    applications on every check-in.
    Anybody seen this (#2123 error when bitmapdata.draw-ing an
    image/video that is loaded locally)? Anyone with access to the
    flash source code that can tell me why I would see "unknown URL"?
    Any help is appreciated. Thanks

    Come on, no takers? :(
    I've been diggin around in the flex source and trying
    anything I can. For instance, I've tried setting my Image control's
    source property to a Bitmap, to a ByteArray, to a local url (c:/
    and app:/). I've tried using my own loader, loadercontext, as well
    as setting every flash.system.Security setting I can find.
    At this point it seems to be a bug. Apparently, when I have a
    File object that I pulled from the app:/ directory, no matter what
    I attempt to do with the file, it's never recognized as trusted
    content (or whatever the checkpolicyfile flag is responsible for).
    I guess I'll create a bug ticket for it, but it'll take some time
    to create a test application that reproduces the problem.
    Anybody have thoughts at all?

  • This bug has been around for over a year: SecurityError: Error #2123: Security sandbox violation

    Hi,
    The bug of 'SecurityError: Error #2123: Security sandbox violation: BitmapData.draw: file:///xxx/xxx.swf cannot access rtmfp://fms4.acrobat.com/cocomo/na2-sdk-xxx/xxx. No policy files granted access.' was first reported in lccs forum over a year ago:
    http://forums.adobe.com/message/2803074
    But the bug is still around. The bug can be generated by calling BitmapData.draw() on a flash.media.Video object which is attached to a p2p stream. It looks like the solution is to have the publisher to call:
    send("|RtmpSampleAccess", true, true)
    on the NetStream object _before_ the subscriber calls NetStream.play(), in order to give the permission to subscribers for audio and video streams.
    In lccs library, the above permission authorisation happens in WebcamPublisher:
    protected function onNetStatus(p_evt:NetStatusEvent):void
    if (p_evt.info.code=="NetStream.Connect.Success") {
    setTimeout(sendSnapShotPermission, 500);
    _stream.send("|RtmpSampleAccess", true, true);
    protected function sendSnapShotPermission():void
    _stream.send("|RtmpSampleAccess", true, true);
    but it doesn't help the problem. In fact, it is not clear to me when this 'snap shot permission' is sent to the subscriber.
    One more note: This is not a critisism for the lccs development quality, but rather a question on how ready lccs is for production use. After encountering this bug, I had to go through the lccs code (the open source parts), and found out that the library is not really written, well, carefully, and it is full of temporary quick-n-dirty fixes.
    For instance in the above example, sendSnapShotPermission() is called after 500 milliseconds, probably to allow something to happen before calling the method, but how can you be sure that it will happen in 500 milliseconds? Probably,an event listener should have been used. Immediately in the next line, we see:
    _stream.send("|RtmpSampleAccess", true, true);
    which is a duplicate of sendSnapShotPermission(). many examples like this can be found throughout the library.
    Aureliano

    Hi Nigel,
    Two questions:
    1. When the publisher sends the access permission to the subcriber by:
    netStream.send("|RtmpSampleAccess", true, true)
    , on the subscriber side, what event or function can handle the guaranteed receipt of the access permission? Currently it is possible to draw the incoming stream video upon receiving NetStream.Play.Star and waiting for 5 seconds or so:
    public class MyWebcamSubscriber extends WebcamSubscriber {
    override protected function layoutCameraStreams():void
    // trying the event listener seems to work here.
    _streamManager.addEventListener(NetStatusEvent.NET_STATUS, onNetStatus);
    override protected function onNetStatus(e:NetStatusEvent):void
    super.onNetStatus(e);
    case "NetStream.Play.Start":
    setTimeout(function():void {
    // draw the video from the incoming stream here.
    }, 5000);
    The questions is, which event can let the subscriber know that it has the access permission to the video stream?
    2. In WebcamPublisher, why is that the access permission is sent 3 times?
    a. Once on receiving NetStream.Connect.Success with 0.5 second delay, as in below.
    b. Once immediately upon receiving NetStream.Connect.Success, as in below.
    protected function onNetStatus(p_evt:NetStatusEvent):void
    if (p_evt.info.code=="NetStream.Connect.Success") {
    setTimeout(sendSnapShotPermission, 500);
    _stream.send("|RtmpSampleAccess", true, true);
    protected function sendSnapShotPermission():void
    _stream.send("|RtmpSampleAccess", true, true);
    c. Once in onConnectionTypeChange() with 2 seconds delay:
    protected function onConnectionTypeChange(p_evt:StreamEvent):void
    if ( _streamManager.isP2P) {
    _stream= new NetStream(_connectSession.sessionInternals.session_internal::connection as NetConnection,NetStream.DIRECT_CONNECTIONS);
    setTimeout(sendSnapShotPermission, 2000);

  • Error while executing web part: System.InvalidProgramException: Common Language Runtime detected an invalid program.

    hello,
    we have 3 server sharepoint 2010 farm as a live system and a 1 server for development and test system. I've got a problem with one of our portals that gives correlation ID (in 2 or 3 times a week) on all my dataview web parts (total 8 Dataview
    WP) until i make IIS reset for that portal. (but same portal works like magic on test system over 3 weeks now). there is no custom code in the page other than the customized masterpage and css. and just reseting the IIS solves the problem for a couple
    of days but i need to fix that permanantly. if anyone can help me about that i will be happy. thank you all in advance.
    here is the log for the correlation ID;
    11/08/2011 09:40:11.72  w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Logging Correlation Data       xmnv Medium   Name=Request (GET:http://www.efesithelpdesk.com:80/defaulttr.aspx) 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:11.79  w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Monitoring                     b4ly High     Leaving Monitored Scope (GetFileAndMetaInfo). Execution Time=63,946744628158 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:11.79  w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Monitoring                     b4ly High     Leaving Monitored Scope (GetWebPartPageContent). Execution Time=64,2515319684485 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:11.79  w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Logging Correlation Data       xmnv Medium   Site=/ 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:11.79  w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Monitoring                     b4ly High     Leaving Monitored Scope (PostResolveRequestCacheHandler). Execution Time=65.3603321092485 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:12.22  w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Monitoring                     b4ly High     Leaving Monitored Scope (EnsureListItemsData). Execution Time=361.680395134018 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:12.25  w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Web Parts                      89a1 High     Error while executing web part: System.InvalidProgramException: Common Language
    Runtime detected an invalid program.     at Execute(XmlQueryRuntime )     at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer, Boolean
    closeWriter)     at System.Xml.Xsl.XmlILCommand.Execute(IXPathNavigable contextDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter results)     at System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable
    input, XsltArgumentList arguments, XmlWriter results)     at Microsoft.SharePoint.WebPartPages.DataFormWebPart.ExecuteTransform(XslCompiledTransform xslCompiledTransform, XsltArgumentList xmlArguments, Boolean bDeferExecuteTransform)    
    at Microsoft.SharePoint.WebPar... 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:12.25* w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Web Parts                      89a1 High     ...tPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform) 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:12.25  w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Monitoring                     b4ly High     Leaving Monitored Scope (DataBinding DataFormWebPart (HelpDesk)). Execution Time=391.723110060077 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:12.25  w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Monitoring                     b4ly High     Leaving Monitored Scope (Activate web part connections). Execution Time=416.389513192319 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:12.28  w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Web Parts                      89a1 High     Error while executing web part: System.InvalidProgramException: Common Language
    Runtime detected an invalid program.     at Execute(XmlQueryRuntime )     at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer, Boolean
    closeWriter)     at System.Xml.Xsl.XmlILCommand.Execute(IXPathNavigable contextDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter results)     at System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable
    input, XsltArgumentList arguments, XmlWriter results)     at Microsoft.SharePoint.WebPartPages.DataFormWebPart.ExecuteTransform(XslCompiledTransform xslCompiledTransform, XsltArgumentList xmlArguments, Boolean bDeferExecuteTransform)    
    at Microsoft.SharePoint.WebPar... 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:12.28* w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Web Parts                      89a1 High     ...tPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform) 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:12.30  w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Monitoring                     b4ly High     Leaving Monitored Scope (EnsureListItemsData). Execution Time=18.8157992147047 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:12.34  w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Web Parts                      89a1 High     Error while executing web part: System.InvalidProgramException: Common Language
    Runtime detected an invalid program.     at Execute(XmlQueryRuntime )     at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer, Boolean
    closeWriter)     at System.Xml.Xsl.XmlILCommand.Execute(IXPathNavigable contextDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter results)     at System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable
    input, XsltArgumentList arguments, XmlWriter results)     at Microsoft.SharePoint.WebPartPages.DataFormWebPart.ExecuteTransform(XslCompiledTransform xslCompiledTransform, XsltArgumentList xmlArguments, Boolean bDeferExecuteTransform)    
    at Microsoft.SharePoint.WebPar... 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:12.34* w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Web Parts                      89a1 High     ...tPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform) 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:12.34  w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Monitoring                     b4ly High     Leaving Monitored Scope (DataBinding DataFormWebPart (Related Items in Approves)).
    Execution Time=56.5768833748423 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:12.36  w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Monitoring                     b4ly High     Leaving Monitored Scope (EnsureListItemsData). Execution Time=16.99475771362 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:12.41  w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Web Parts                      89a1 High     Error while executing web part: System.InvalidProgramException: Common Language
    Runtime detected an invalid program.     at Execute(XmlQueryRuntime )     at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer, Boolean
    closeWriter)     at System.Xml.Xsl.XmlILCommand.Execute(IXPathNavigable contextDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter results)     at System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable
    input, XsltArgumentList arguments, XmlWriter results)     at Microsoft.SharePoint.WebPartPages.DataFormWebPart.ExecuteTransform(XslCompiledTransform xslCompiledTransform, XsltArgumentList xmlArguments, Boolean bDeferExecuteTransform)    
    at Microsoft.SharePoint.WebPar... 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:12.41* w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Web Parts                      89a1 High     ...tPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform) 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:12.41  w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Monitoring                     b4ly High     Leaving Monitored Scope (DataBinding DataFormWebPart (Related Items in Tasks)).
    Execution Time=59.0992011554541 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:12.43  w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Monitoring                     b4ly High     Leaving Monitored Scope (EnsureListItemsData). Execution Time=20.8265994700444 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:12.44  w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Web Parts                      89a1 High     Error while executing web part: System.InvalidProgramException: Common Language
    Runtime detected an invalid program.     at Execute(XmlQueryRuntime )     at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer, Boolean
    closeWriter)     at System.Xml.Xsl.XmlILCommand.Execute(IXPathNavigable contextDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter results)     at System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable
    input, XsltArgumentList arguments, XmlWriter results)     at Microsoft.SharePoint.WebPartPages.DataFormWebPart.ExecuteTransform(XslCompiledTransform xslCompiledTransform, XsltArgumentList xmlArguments, Boolean bDeferExecuteTransform)    
    at Microsoft.SharePoint.WebPar... 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:12.44* w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Web Parts                      89a1 High     ...tPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform) 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:12.46  w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Monitoring                     b4ly High     Leaving Monitored Scope (EnsureListItemsData). Execution Time=18.1539832576487 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:12.47  w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Web Parts                      89a1 High     Error while executing web part: System.InvalidProgramException: Common Language
    Runtime detected an invalid program.     at Execute(XmlQueryRuntime )     at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer, Boolean
    closeWriter)     at System.Xml.Xsl.XmlILCommand.Execute(IXPathNavigable contextDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter results)     at System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable
    input, XsltArgumentList arguments, XmlWriter results)     at Microsoft.SharePoint.WebPartPages.DataFormWebPart.ExecuteTransform(XslCompiledTransform xslCompiledTransform, XsltArgumentList xmlArguments, Boolean bDeferExecuteTransform)    
    at Microsoft.SharePoint.WebPar... 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:12.47* w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Web Parts                      89a1 High     ...tPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform) 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:12.49  w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Monitoring                     b4ly High     Leaving Monitored Scope (EnsureListItemsData). Execution Time=13.4458429772499 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:12.49  w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Web Parts                      89a1 High     Error while executing web part: System.InvalidProgramException: Common Language
    Runtime detected an invalid program.     at Execute(XmlQueryRuntime )     at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer, Boolean
    closeWriter)     at System.Xml.Xsl.XmlILCommand.Execute(IXPathNavigable contextDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter results)     at System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable
    input, XsltArgumentList arguments, XmlWriter results)     at Microsoft.SharePoint.WebPartPages.DataFormWebPart.ExecuteTransform(XslCompiledTransform xslCompiledTransform, XsltArgumentList xmlArguments, Boolean bDeferExecuteTransform)    
    at Microsoft.SharePoint.WebPar... 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:12.49* w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Web Parts                      89a1 High     ...tPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform) 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:12.52  w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Monitoring                     b4ly High     Leaving Monitored Scope (EnsureListItemsData). Execution Time=23.1282886512113 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:12.53  w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Web Parts                      89a1 High     Error while executing web part: System.InvalidProgramException: Common Language
    Runtime detected an invalid program.     at Execute(XmlQueryRuntime )     at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer, Boolean
    closeWriter)     at System.Xml.Xsl.XmlILCommand.Execute(IXPathNavigable contextDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter results)     at System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable
    input, XsltArgumentList arguments, XmlWriter results)     at Microsoft.SharePoint.WebPartPages.DataFormWebPart.ExecuteTransform(XslCompiledTransform xslCompiledTransform, XsltArgumentList xmlArguments, Boolean bDeferExecuteTransform)    
    at Microsoft.SharePoint.WebPar... 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:12.53* w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Web Parts                      89a1 High     ...tPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform) 841eadfa-2a71-4cd3-85a4-7b1e3d75355f
    11/08/2011 09:40:12.57  w3wp.exe (0x1AF4)                        0x0BB4 SharePoint Foundation        
     Monitoring                     b4ly Medium   Leaving Monitored Scope (Request (GET:http://www.efesithelpdesk.com:80/defaulttr.aspx)). Execution
    Time=845.499567682485 841eadfa-2a71-4cd3-85a4-7b1e3d75355f

    Nicholas Mulder's summary is exactly the issue our server is facing. App pool recycle kicks-off at 2:04am and by 2:06am all our data view web parts are displaying "Unable to display web part ..." I get the same error messages in ULS logs every
    time it recycles, however it is able to correct itself some of the time. The other times which is every few days, the web parts never come back up.
    Here are a few lines from the log leading up to the recycle and a few after.
    -The application domain /LM/W3SVC/1304874868/ROOT-1-130058022909222844 is unloading and going to be recycled.
    -Shutdown Reason: HostingEnvironment initiated shutdown  HostingEnvironment caused shutdown
    -AppDomain shutdown initiated
    -Flushing connection pool 'Data Source=SPSQL;Initial Catalog=SharePoint_Config;Integrated Security=True;Enlist=False;Connect Timeout=15'
    -An application domain named /LM/W3SVC/1304874868/ROOT-1-130058174460198926 has just been loaded.
    -Failed to look up string with key "FSAdmin_SiteSettings_UserContextManagement_ToolTip", keyfile Microsoft.Office.Server.Search.
    -Error initializing Safe control - Assembly:Microsoft.Office.SharePoint.ClientExtensions, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c TypeName: Microsoft.Office.SharePoint.ClientExtensions.Publishing.TakeListOfflineRibbonControl Error:
    -No webtemp*.xml files found for language 1033 and product version 3.
    -No webtemp*.xml files found for language 1033 and product version 2.
    -Failed to find generic XML file at "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\Template\SiteTemplates\STS\xml\stdview.xml"
    -Failed to find generic XML file at "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\Template\SiteTemplates\STS\xml\stdview.xml"
    -Error while executing web part: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
    -Error while executing web part: System.ArgumentException: An item with the same key has already been added.   
    -Error while executing web part: System.NullReferenceException: Object reference not set to an instance of an object.  
    -AddWithFile:DfwpXslFilesHashCache=Microsoft.SharePoint.WebPartPages.CloneableHashTable
    -Error while executing web part: System.InvalidProgramException: Common Language Runtime detected an invalid program. 

  • SharePoint 2010 Error while executing web part: System.Xml.Xsl.XslLoadException: XSLT compile error.

    Hello,
    I currently having a series of errors (18 issues) that are occurring under the below Correlation ID ad1a22f5-1ddb-4fa5-8487-143cb6fd0f9d
    I have listed (3) that are in the Web Parts category, this error/issue is causing several timed job to no longer work properly I have been trying to find the root cause for about a week now. If anyone has encountered a issue
    such as this one I'm open for suggestions.     
    (1)
    Error while executing web part: System.Xml.Xsl.XslLoadException: XSLT compile error. An error occurred at (1,475). ---> System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
    ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.     at System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest
    asyncRequest, Exception exception)     at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)     at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer,
    AsyncProtocolRequest asyncRequest)     at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)     at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer,
    AsyncProtocolRequest asyncRequest)     at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)     at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer,
    AsyncProtocolRequest asyncRequest)     at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)     at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult
    lazyResult)     at System.Threading.ExecutionContext.runTryCode(Object userData)     at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)    
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)     at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)     at System.Net.TlsStream.Write(Byte[]
    buffer, Int32 offset, Int32 size)     at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)     at System.Net.ConnectStream.WriteHeaders(Boolean async)     --- End of inner exception
    stack trace ---     at System.Net.HttpWebRequest.GetResponse()     at System.Xml.XmlDownloadManager.GetNonFileStream(Uri uri, ICredentials credentials)     at System.Xml.XmlUrlResolver.GetEntity(Uri
    absoluteUri, String role, Type ofObjectToReturn)     at Microsoft.SharePoint.WebPartPages.WSSXmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)     at System.Xml.Xsl.Xslt.XsltLoader.CreateReader(Uri
    uri, XmlResolver xmlResolver)     at System.Xml.Xsl.Xslt.XsltLoader.LoadStylesheet(Uri uri, Boolean include)     at System.Xml.Xsl.Xslt.XsltLoader.LoadStylesheet(XmlReader reader, Boolean include)    
    --- End of inner exception stack trace ---     at System.Xml.Xsl.Xslt.XsltLoader.LoadStylesheet(XmlReader reader, Boolean include)     at System.Xml.Xsl.Xslt.XsltLoader.Load(Compiler compiler, Object stylesheet, XmlResolver
    xmlResolver)     at System.Xml.Xsl.Xslt.Compiler.Compile(Object stylesheet, XmlResolver xmlResolver, QilExpression& qil)     at System.Xml.Xsl.XslCompiledTransform.CompileXsltToQil(Object stylesheet, XsltSettings
    settings, XmlResolver stylesheetResolver)     at System.Xml.Xsl.XslCompiledTransform.LoadInternal(Object stylesheet, XsltSettings settings, XmlResolver stylesheetResolver)     at System.Xml.Xsl.XslCompiledTransform.Load(XmlReader
    stylesheet, XsltSettings settings, XmlResolver stylesheetResolver)     at Microsoft.SharePoint.WebPartPages.DataFormWebPart.LoadXslCompiledTransform(WSSXmlUrlResolver someXmlResolver)     at Microsoft.SharePoint.WebPartPages.DataFormWebPart.GetXslCompiledTransform()    
    at Microsoft.SharePoint.WebPartPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform)
    (2)
    InnerException 1: System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according
    to the validation procedure.     at System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, Exception exception)     at System.Net.Security.SslState.ProcessReceivedBlob(Byte[]
    buffer, Int32 count, AsyncProtocolRequest asyncRequest)     at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)     at System.Net.Security.SslState.ProcessReceivedBlob(Byte[]
    buffer, Int32 count, AsyncProtocolRequest asyncRequest)     at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)     at System.Net.Security.SslState.ProcessReceivedBlob(Byte[]
    buffer, Int32 count, AsyncProtocolRequest asyncRequest)     at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)     at System.Net.Security.SslState.ForceAuthentication(Boolean
    receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)     at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)     at System.Threading.ExecutionContext.runTryCode(Object userData)    
    at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)     at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback,
    Object state)     at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)     at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)     at System.Net.PooledStream.Write(Byte[]
    buffer, Int32 offset, Int32 size)     at System.Net.ConnectStream.WriteHeaders(Boolean async)     --- End of inner exception stack trace ---     at System.Net.HttpWebRequest.GetResponse()    
    at System.Xml.XmlDownloadManager.GetNonFileStream(Uri uri, ICredentials credentials)     at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)     at Microsoft.SharePoint.WebPartPages.WSSXmlUrlResolver.GetEntity(Uri
    absoluteUri, String role, Type ofObjectToReturn)     at System.Xml.Xsl.Xslt.XsltLoader.CreateReader(Uri uri, XmlResolver xmlResolver)     at System.Xml.Xsl.Xslt.XsltLoader.LoadStylesheet(Uri uri, Boolean include)    
    at System.Xml.Xsl.Xslt.XsltLoader.LoadStylesheet(XmlReader reader, Boolean include)
    (3)
    InnerException 2: System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.     at System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest
    asyncRequest, Exception exception)     at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)     at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer,
    AsyncProtocolRequest asyncRequest)     at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)     at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer,
    AsyncProtocolRequest asyncRequest)     at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)     at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer,
    AsyncProtocolRequest asyncRequest)     at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)     at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult
    lazyResult)     at System.Threading.ExecutionContext.runTryCode(Object userData)     at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)    
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)     at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)     at System.Net.TlsStream.Write(Byte[]
    buffer, Int32 offset, Int32 size)     at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)     at System.Net.ConnectStream.WriteHeaders(Boolean async)

    Hello,
    It seems that issue is related to certificate. Could you please upload certificate to central admin and make it trust.
    Just try this and see the result:
    http://social.technet.microsoft.com/Forums/en-US/cbc58585-1673-4c91-b8c1-1b95c339bbb7/could-not-establish-trust-relationship-for-the-ssltls-secure-channel?forum=fastsharepoint
    http://social.msdn.microsoft.com/Forums/en-US/7a7e56ba-6e95-4a84-9384-791818cce89d/the-underlying-connection-was-closed-could-not-establish-trust-relationship-for-the-ssltls-secure?forum=sharepointdevelopmentprevious
    http://www.infotext.com/help/sharepoint-could-not-estabilish-trust-relationship-for-the-ssltls-secure-channel-when-crawling-ssl-enabled-websites/
    If still face the issue then tell us more about your webparts and also confirm if you are facing same problem to other page and site.
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Error while executing web part: System.StackOverflowException: Operation caused a stack overflow

    Hello All,
    I have a list with about 70 or so columns. When I try to access a NewForm for this list, I get an 'Unable to display this web part' error.
    Looking at the Correlation always says it is a:
    "Error while executing web part: System.StackOverflowException: Operation caused a stack overflow."
    I have read many pages on the internet that it is due to an XsltTransformTimeOut value set to 1. I have applied the Feb 2012 CU and tried changing the value to 5, 10, 150, 250 and each time I reset IIS before I tried loading the form again. Each one has
    failed and the correlation says the same thing (stack overflow).
    I do not know what to do next because every page on the net says it is from that timeout value but I have followed the steps properly to change it but nothing has worked.
    Thank you for your help!

    You may be exceeding the number of columns threshold with 70 or so columns in your list.
    Take a look at the Column limits here:
    http://technet.microsoft.com/en-us/library/cc262787.aspx#Column
    Okay, so please help me to understand this. It says the maximum value for single line of text is 276 and the size per column is 28 bytes. How would I know if I have pushed the limit? I just multiplied 28 x the number of single line of text columns in that
    list and the answer is 840. I do have many other columns, such as multiple lines of text and choice. I do not know if the theory above is correct though, because 28 does not go evenly into 276 (276/28 = 9.857)
    Please help me understand how to calculate my fields to see if I have went beyond the limits.
    Thank you!

  • I can't burn a CD "Error 2123" always comes up!! HELP!!!!

    I try to burn a disc and all it says is "The attempt to burn a disc failed. Error 2123." The website articles didn't help, and the phone lady didn't help (Apparently i'm only allowed 1 phone call.) so please help me!!!!!!!!!!

    If you don't have Nero, check out http://discussions.apple.com/message.jspa?messageID=9229334#9229334. I think some people have found a way to get just the Burn Rights program.
    If that doesn't work, some people seem to have luck with editing the registry or messing with filters or gear drivers. Check out this discussion starting with Tytus (he came up with the Nero fix) on March 22:
    http://discussions.apple.com/thread.jspa?threadID=1939904&tstart=0
    Hope this helps!

  • I am having trouble dating to version 3.6.14. I am running Linux/Ubutu OS and I get this error message:/tmp/p7x3vko2.part could not be saved, because the source file could not be read. Please help. Thank you , Deb

    I am having trouble dating to version 3.6.14 or updating to the Beta testing. I am running Linux/Ubutu OS and I get this error message:/tmp/p7x3vko2.part could not be saved, because the source file could not be read. Please help. Thank you , Deb

    Solved for me.
    I set the owner/permissions of my profile's mozilla folder's (and all the files in it) to read/write access, and the problem disappeared.
    in linux:''
    * cd /home/myusername/.mozilla
    * chown -cR myusername:mygroup ./
    * chmod -cR +rw ./
    '''Never do that with root privs (nor with sudo)'''

  • Getting error in sdp94 " data partly after horizon" any suggetionu2026

    Hi gurus,
    i have changed period in SBP and  in SE38 planning area initialization in variants changed  /SAPAPO/TS_PAREA_INITIALIZ ) , still getting error in sdp94 " data partly after horizon" any suggetionu2026
    babu

    Hi Babu,
    Kindly check till when is the planning area initialized. Goto //msdp_admin, right click on the planning area---> Created time series objects. Check the date till when it is initialized. You can save the data only if it's in this period. In the planning book there may be dates after the planning horizon also in which case you can't save data.
    Thanks and Regards,
    Nithin.

  • ITunes 6.0 burning error 2123

    Has anyone figured out what error 2123 is all about? A few versions ago, I was able to burn some CDs but occasionally got the message "please insert a blank CD" when in fact, there was a blank CD in the drive. Now, with v.6, nothing; except "error 2123." Any revelations yet?

    Adding my voice to the chorus as well.
    I downloaded iTunes 6.0.1 yesterday afternoon and was quite pleased with it... until trying to burn a new playlist to a CD. Once the burn initialization started, error 2123 popped up and resulted in my disc being spat back out at me.
    I've tried everything. I fired off an e-mail to Apple support yesterday afternoon... but judging from the comments of others on here, I really don't expect to receive assistance. Very, very frustrating.
    If all else fails, I suppose it's best to remove iTunes 6.0.1 and reload iTunes 5.0.1 (didn't have any problems with this version).
    Like everyone here, I'd really appreciate some feedback, should someone discover a solution on their own... or succeeds in receiving support from Apple.

  • Wscompile - error: in message "SystemSupportException", part "fault" ...

    Hey,
    did anybody ever face this problem? I am working on it since hours, but cannot find any solution. my wsdl was generated from websphere studio
    application developer 5.1.2. and now I run wscompile and get these error
    messages.
    when I compile my wsdl to get the client side artifacts like stub, etc and I get the following error message:
    error: in message "SystemSupportException", part "fault" must specify a "element" attribute
    the whole stack looks like this:
    in message "SystemSupportException", part "fault" must specify a "element" attri
    bute
    at com.sun.xml.rpc.processor.modeler.wsdl.WSDLModelerBase.handleLiteralS
    OAPFault(WSDLModelerBase.java:1893)
    at com.sun.xml.rpc.processor.modeler.wsdl.WSDLModelerBase.processSOAPOpe
    rationRPCLiteralStyle(WSDLModelerBase.java:1764)
    at com.sun.xml.rpc.processor.modeler.wsdl.WSDLModelerBase.processSOAPOpe
    ration(WSDLModelerBase.java:663)
    at com.sun.xml.rpc.processor.modeler.wsdl.WSDLModelerBase.processPort(WS
    DLModelerBase.java:548)
    at com.sun.xml.rpc.processor.modeler.wsdl.WSDLModelerBase.processService
    (WSDLModelerBase.java:385)
    at com.sun.xml.rpc.processor.modeler.wsdl.WSDLModelerBase.internalBuildM
    odel(WSDLModelerBase.java:238)
    at com.sun.xml.rpc.processor.modeler.wsdl.WSDLModelerBase.buildModel(WSD
    LModelerBase.java:146)
    at com.sun.xml.rpc.processor.config.ModelInfo.buildModel(ModelInfo.java:
    85)
    at com.sun.xml.rpc.processor.Processor.runModeler(Processor.java:61)
    at com.sun.xml.rpc.tools.wscompile.CompileTool.run(CompileTool.java:571)
    at com.sun.xml.rpc.util.ToolBase.run(ToolBase.java:40)
    at com.sun.xml.rpc.tools.wscompile.Main.main(Main.java:22)
    error: in message "SystemSupportException", part "fault" must specify a "element
    " attribute
    my wsdl:
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions targetNamespace="http://core.rbac.csap2" xmlns:impl="http://core.rbac.csap2" xmlns:intf="http://core.rbac.csap2" xmlns:tns2="http://exceptions.csap2" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <wsdl:types>
      <schema targetNamespace="http://core.rbac.csap2" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:impl="http://core.rbac.csap2" xmlns:intf="http://core.rbac.csap2" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
       <element name="sessionId" nillable="true" type="xsd:string"/>
       <element name="name" nillable="true" type="xsd:string"/>
       <element name="password" nillable="true" type="xsd:string"/>
       <element name="loginAndCreateSessionReturn" nillable="true" type="xsd:string"/>
      </schema>
      <schema targetNamespace="http://exceptions.csap2" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:impl="http://core.rbac.csap2" xmlns:intf="http://core.rbac.csap2" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
       <complexType name="SystemSupportException">
        <complexContent>
         <extension base="tns2:CSAP2Exception">
          <sequence/>
         </extension>
        </complexContent>
       </complexType>
       <complexType name="CSAP2Exception">
        <sequence>
         <element name="message" nillable="true" type="xsd:string"/>
        </sequence>
       </complexType>
       <element name="SystemSupportException" nillable="true" type="tns2:SystemSupportException"/>
      </schema>
    </wsdl:types>
       <wsdl:message name="SystemSupportException">
          <wsdl:part name="fault" type="tns2:SystemSupportException"/>
       </wsdl:message>
       <wsdl:message name="logoutResponse">
       </wsdl:message>
       <wsdl:message name="logoutRequest">
          <wsdl:part name="sessionId" type="xsd:string"/>
       </wsdl:message>
       <wsdl:message name="loginAndCreateSessionResponse">
          <wsdl:part name="loginAndCreateSessionReturn" type="xsd:string"/>
       </wsdl:message>
       <wsdl:message name="loginAndCreateSessionRequest">
          <wsdl:part name="name" type="xsd:string"/>
          <wsdl:part name="password" type="xsd:string"/>
       </wsdl:message>
       <wsdl:portType name="SystemSupport">
          <wsdl:operation name="logout" parameterOrder="sessionId">
             <wsdl:input message="intf:logoutRequest" name="logoutRequest"/>
             <wsdl:output message="intf:logoutResponse" name="logoutResponse"/>
             <wsdl:fault message="intf:SystemSupportException" name="SystemSupportException"/>
          </wsdl:operation>
          <wsdl:operation name="loginAndCreateSession" parameterOrder="name password">
             <wsdl:input message="intf:loginAndCreateSessionRequest" name="loginAndCreateSessionRequest"/>
             <wsdl:output message="intf:loginAndCreateSessionResponse" name="loginAndCreateSessionResponse"/>
             <wsdl:fault message="intf:SystemSupportException" name="SystemSupportException"/>
          </wsdl:operation>
       </wsdl:portType>
       <wsdl:binding name="SystemSupportSoapBinding" type="intf:SystemSupport">
          <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
          <wsdl:operation name="logout">
             <wsdlsoap:operation soapAction=""/>
             <wsdl:input name="logoutRequest">
                <wsdlsoap:body namespace="http://core.rbac.csap2" use="literal"/>
             </wsdl:input>
             <wsdl:output name="logoutResponse">
                <wsdlsoap:body namespace="http://core.rbac.csap2" use="literal"/>
             </wsdl:output>
             <wsdl:fault name="SystemSupportException">
                <wsdlsoap:fault name="SystemSupportException" use="literal"/>
             </wsdl:fault>
          </wsdl:operation>
          <wsdl:operation name="loginAndCreateSession">
             <wsdlsoap:operation soapAction=""/>
             <wsdl:input name="loginAndCreateSessionRequest">
                <wsdlsoap:body namespace="http://core.rbac.csap2" use="literal"/>
             </wsdl:input>
             <wsdl:output name="loginAndCreateSessionResponse">
                <wsdlsoap:body namespace="http://core.rbac.csap2" use="literal"/>
             </wsdl:output>
             <wsdl:fault name="SystemSupportException">
                <wsdlsoap:fault name="SystemSupportException" use="literal"/>
             </wsdl:fault>
          </wsdl:operation>
       </wsdl:binding>
       <wsdl:service name="SystemSupportService">
          <wsdl:port binding="intf:SystemSupportSoapBinding" name="SystemSupport">
             <wsdlsoap:address location="http://localhost:9080/CSAP2SysSupRouter/services/SystemSupport"/>
          </wsdl:port>
       </wsdl:service>
    </wsdl:definitions>I would be glad to get a response to this topic. I am really on my personal limits!
    thanks and regards,
    simon

    hi,
    first of all your service user : SID_PIRWBUSR
    has a wrong name it sould be PIRWBUSR
    so check where did you define this SID_PIRWBUSR
    Regards,
    michal

  • States and Bitmap.Draw

    I'm attempting to use states to reformat a canvas for
    printing/exporting.
    The idea is to be able to export an image of the canvas as
    below
    c:Canvas has 2 states - null (base) and "Print".
    c.currentState = "Print";
    save(c);
    c.currentState = "";
    Where saveim is a custom function that takes care of all the
    saving details, but essentially takes a snapshot with Bitmap.draw .
    The problem is that some state change elements don't seem to
    change fast enough.
    Changing the visibility of a child of 'c' in the state
    definition works fine, but changing "includeInLayout" doesn't
    appear to get called at the same time.
    1. I've ensured that the desired state is reached (by not
    restoring the state afterwards).
    2. I've tried moving the save comment into a
    StateChangeEvent.CURRENT_STATE_CHANGE event listener, but that
    still seems to be too early.
    I'm guessing the page actually needs to be rendered before
    the layout is updated. If that's so, how can I ensure this happens
    before save is called? If not, then what triggers the layout update
    and can I listen for it?

    no.
    The idea is to reformat to a print friendly layout, take an
    image, then change the format back with minimal impact on the user
    (Ideally with no visual change, but I could live with a breif
    flicker).

Maybe you are looking for

  • Call/video not working between Cisco jabber for Windows and VCS control C40s

    Hello, I've been struggling with no luck how to make a call using Cisco Jabber for Windows 9.6.0 registered to CM 8.6.2 with intercluster ICT to another CM 8.6.2 where we have a VCS Control 7.0.2 via GK H225, and all C40s are registered as H.323. The

  • How do I cancel an update do OSX 10.9.5?

    Dear list members, I had serious trouble (crash, freezing) after updating my old iMac 27" (Late 2009) to OSX 10.9.5. Now I formatted my hard drive and fresh installed OSX 10.9.2. However, without me asking for it (I didn't turn on auto-update), the A

  • How to include Aperture web gallery in dreamweaver site

    With the demise of mobile me I need to find a way to keep my personal website photo albums (web galleries) that I currently publish via Aperture web gallery and then use a hyperlink from my Dreamweaver web site. This means visitors can view the photo

  • Callout webservices - Urgent!

    Hi, I am trying to test callout to an external web service from Oracle Express Edition 10g, ver. 10.1.2. I have also installed JDeveloper 10.1.3.2.0. I have tested web service call in and it works perfectly fine. But I have a few very basic questions

  • Printing from Galley and Story view in InCopy CS2

    Is it possible to print a range of pages when printing from the Galley and story view in InCopy CS2. I'm not able to. I am however able to limit the page range when printing from layout view. Thank you for your help. Mike