Sandbox

I want to configure Sandbox for Facelets like how to configure web.xml etc. Can somebody plz help me out? It's urgent...

No, and I haven't. I have 3.1.3. One of my other friends with the newest iPod touch has problems with it too. This was happening I think before the iPhone 4 was released, but I didn't see much of a big deal since I didn't make any in-app purchases at that time.

Similar Messages

  • "Save As" dialog of excel for a sandbox solution library of sharepoint gives "Web page no longer exist. Error 410"

    Hi
    I created 2 libraries via a sandbox solution for sharepoint 2010. 
    I uploaded an excel file into the library.
    Now on opening via excel that file and clicking "Save as " dialog - it tries to open that sharepoint library where the file resides.
    But i am getting an error of "Webpage no longer exists".

    No, this approach doesn't solve the problem
    I have the same problem. Created a new SharePoint 2010 List Definition project, Sandbox deployment option. List Definition type: Documents Library.
    When attempting to save into the document library from Microsoft Word 2010 I get "The webpage no longer exists" error in the File Save dialog
    If I change the type of the solution to Farm solution it works as expected.
    IISLOGS:
    2013-12-19 10:12:01 127.0.0.1 PROPFIND / - 80 0#.w|domain\username 127.0.0.1 Microsoft-WebDAV-MiniRedir/6.1.7601 207 0 0 35
    2013-12-19 10:12:01 127.0.0.1 PROPFIND /sites - 80 0#.w|domain\username 127.0.0.1 Microsoft-WebDAV-MiniRedir/6.1.7601 207 0 0 26
    2013-12-19 10:12:01 127.0.0.1 PROPFIND /sites/team1 - 80 0#.w|domain\username 127.0.0.1 Microsoft-WebDAV-MiniRedir/6.1.7601 207 0 0 30
    2013-12-19 10:12:01 127.0.0.1 PROPFIND /sites/team1/Lists - 80 0#.w|domain\username 127.0.0.1 Microsoft-WebDAV-MiniRedir/6.1.7601 207 0 0 32
    2013-12-19 10:12:01 127.0.0.1 POST /_vti_bin/shtml.dll/_vti_rpc - 80 0#.w|domain\username 127.0.0.1 Microsoft-WebDAV-MiniRedir/6.1.7601 200 0 0 10
    2013-12-19 10:12:01 127.0.0.1 HEAD /sites/team1/_vti_bin/owssvr.dll dialogview=FileSave&FileDialogFilterValue=*.*&location=Lists/ListDefinitionProject1-ListInstance1 80 - 127.0.0.1 non-browser;+(Windows+NT+6.1.7601) 401 0 0 6
    2013-12-19 10:12:01 127.0.0.1 HEAD /sites/team1/_vti_bin/owssvr.dll dialogview=FileSave&FileDialogFilterValue=*.*&location=Lists/ListDefinitionProject1-ListInstance1 80 - 127.0.0.1 non-browser;+(Windows+NT+6.1.7601) 401 1 2148074254 2
    2013-12-19 10:12:01 127.0.0.1 HEAD /_vti_bin/owssvr.dll dialogview=FileSave&FileDialogFilterValue=*.*&location=Lists/ListDefinitionProject1-ListInstance1 80 0#.w|domain\username 127.0.0.1 non-browser;+(Windows+NT+6.1.7601) 200 0 0 23
    2013-12-19 10:12:01 127.0.0.1 GET /sites/team1/_vti_bin/owssvr.dll dialogview=FileSave&FileDialogFilterValue=*.docx&location=Lists%2FListDefinitionProject1-ListInstance1 80 - 127.0.0.1 non-browser;+(Windows+NT+6.1.7601) 401 0 0 10
    2013-12-19 10:12:01 127.0.0.1 GET /sites/team1/_vti_bin/owssvr.dll dialogview=FileSave&FileDialogFilterValue=*.docx&location=Lists%2FListDefinitionProject1-ListInstance1 80 - 127.0.0.1 non-browser;+(Windows+NT+6.1.7601) 401 1 2148074254
    2
    2013-12-19 10:12:01 127.0.0.1 GET /_vti_bin/owssvr.dll dialogview=FileSave&FileDialogFilterValue=*.docx&location=Lists%2FListDefinitionProject1-ListInstance1 80 0#.w|domain\username 127.0.0.1 non-browser;+(Windows+NT+6.1.7601) 410 0 0 34
    2013-12-19 10:12:01 127.0.0.1 PROPFIND /sites/team1/Lists/ListDefinitionProject1-ListInstance1 - 80 0#.w|domain\username 127.0.0.1 Microsoft-WebDAV-MiniRedir/6.1.7601 207 0 0 36

  • Help needed, M getting this message sandbox environment error no test user account, when downloading any application from iTunes, friend told me to sign out and sign in iTunes it might solve the problem but instead I cannot login I to my itune account.

    Help needed,
    I am getting this message sandbox environment error no test user account, when downloading any application from iTunes, friend told me to sign out and sign in iTunes it might solve the problem , and i triyed it but still  I cannot login I to my itune account. Same message keeping. Popping up,  this problem started supricly today.

    Take a look at the instructions here.
    http://www.technogal.net/2012/03/this-is-not-test-user-account-please.html

  • How to update a People and group field using a sandbox solution

    Hi,
    I am creating a sandbox solution for office 365 and creating a custom form using visual web part, which will allow users to enter data in a custom list.
    And that list also have a user field. I am able to get SharePoint user field on the form (using javascript) which is searching for the user and get a value (working fine).
    Issue: But I am not able to save the user value. Because to save user value I require web, UserID and login name, to construct SPFieldUserValue object or string in "111;#TestUser" format. Moreover that user should be present in
    SiteUserInfoList. 
    I tried web.EnsureUser() but did not work under sanbox solution.
    Can you please provide any pointer or workaround to the problem? I may be missing something here.
    Thanks,
    Himanshu

    Hi,
    According to your description, my understanding is that you want to update the people and group field in Sandbox solution.
    In the sandbox solution, you can still use the web.EnsureUser() function to get the user information, see the thread below:
    EnsureUser in sandboxed solution
    In additional, there is a demo with your similiar requirement for your reference:
    Using the People Picker Control in Sandbox Solutions / Office 365
    Thanks
    Best Regards,
    Jerry Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • SharePoint Foundation Sandboxed Code Service - Unable to activate worker process proxy object within the worker process

    Issue:
    On a vanilla installation, the sandboxed code service (e.g. SPUCHostService.exe) is started; however, SPUCWorkerProcessProxy.exe and subsequently SPUCWorkerProcess.exe fails to start.
    Resolution/Workarounds attempted:
    Attempted 2 different Load balancing settings – local and remote (i.e. affinity)
    Ensured local computer policy on server for ‘RPC Endpoint Mapper Client Authentication’ and ‘Restrictions for Unauthenticated RPC clients’ is disabled.
    Ensured following key in registry is set properly - HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\RPC
    Attempted to bypass SharePoint’s check for certificate revocations at crl.microsoft.com
    Ensured the service account is added to the respective groups (e.g. Performance Log Users, Performance Monitor Users, IIS_IUSRS, WSS_ADMIN_WPG, WSS_WPG)
    Increased limit of ‘AbnormalProcessTerminationCount’ of SPUserCodeService via Powershell
    We have tried all possible workarounds from the following MSDN reference:
    http://blogs.msdn.com/b/sharepointdev/archive/2011/02/08/error-the-sandboxed-code-execution-request-was-refused-because-the-sandboxed-code-host-service-was-too-busy-to-handle-the-request.aspx
    ULS:
    02/21/2014 05:24:50.64  SPUCHostService.exe (0x0230)  0x0F74  SharePoint Foundation Sandboxed Code Service              fe8a               
    Medium               -  - Unable to activate worker process proxy object within the worker process: ipc://38432b45-2f32-4926-ade2-ef53ae1cd501:7000  
    02/21/2014 05:24:50.64  SPUCHostService.exe (0x0230)  0x0F74  SharePoint Foundation Sandboxed Code Service              fe8c               
    Medium               -  - Error activating the worker process manager instance within the worker process. - Inner Exception: System.InvalidOperationException: Unable to activate worker
    process proxy object within the worker process: ipc://38432b45-2f32-4926-ade2-ef53ae1cd501:7000     at Microsoft.SharePoint.UserCode.SPUserCodeWorkerProcess.CreateWorkerProcessProxies()    
    02/21/2014 05:24:50.64  SPUCHostService.exe (0x0230)  0x0F74  SharePoint Foundation Sandboxed Code Service              ei0t               
    Medium               - Process creation/initialization threw an exception. Stopping this process. "ipc://38432b45-2f32-4926-ade2-ef53ae1cd501:7000"
    02/21/2014 05:24:50.65  SPUCHostService.exe (0x0230)  0x0F74  SharePoint Foundation Sandboxed Code Service             
    fe87                Medium               -  - Error activating the worker process manager instance within
    the worker process. - Starting worker process threw - Inner Exception: System.InvalidOperationException: Unable to activate worker process proxy object within the worker process: ipc://38432b45-2f32-4926-ade2-ef53ae1cd501:7000     at Microsoft.SharePoint.UserCode.SPUserCodeWorkerProcess.CreateWorkerProcessProxies()   
    Any other insights on how I can troubleshoot the issue described?
    Thanks in advance!

    Hi ,
    For resolving your issue , you can do as the followings:
    1. Logged into the Web Server with the Timer Service Account.
    2. Ran the powershell command to check the SID of the account running the spucworkerprocessproxy.exe:  
    $(Get-SPManagedAccount -Identity "THE SERVICE ACCOUNT").Sid.Value
    3. Checked the registry :
    HKEY_USERS\[SID OF THE SERVICE ACCOUNT]\Software\Microsoft\Windows\CurrentVersion\WinTrust\Trust Providers\Software Publishing\State
    4. Changed the value 0x00023c00 to 0x00023e00
    In addition, here are some similar posts for you to take a look at:
    http://social.technet.microsoft.com/Forums/en-US/aae497df-5f0d-4f86-a724-c7b805ccd07f/sharepoint-sandboxed-code-service-troubles?forum=sharepointgeneralprevious
    http://blogs.technet.com/b/operationsguy/archive/2011/01/17/sharepoint-2010-sandboxed-code-solutions-and-web-proxy.aspx
    http://social.msdn.microsoft.com/Forums/en-US/c21e2c3a-a259-4d5f-8071-eff52b7bddc3/issue-sandbox-solution-too-busy-to-handle-the-request?forum=sharepointgeneralprevious
    I hope this helps.
    Thanks,
    Wendy
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Wendy Li
    TechNet Community Support

  • Sharepoint 2013 - Which Server Should Run Microsoft SharePoint Foundation Sandboxed Code Service

    We have just deployed Sharepoint 2013 and also CRM 2011..
    Our Sharepoint 2013 Environment has a WFE and an APP server and we have a CRM 2011 box.
    We have been getting the following error in IE when Users in CRM are clicking on the Document Link under accounts which links to Sharepoint 2013
    "This Content cannot be displayed in a frame
    To help protect the security of information you enter into this website, the publisher of this content does not allow it to be displayed in a frame."
    It seems like it is a IE Security Issue, but I am suspecting it could be the Microsoft SharePoint Foundation Sandboxed Code Service.
    Which server should be running the Microsoft SharePoint Foundation Sandboxed Code Service| WFE or APP.
    Also which server should run the Windows Service: SharePoint User Code Host
    Thank you in advance.

    Hi,
    Please have a look at the following post:
    http://technet.microsoft.com/en-us/library/jj219591.aspx
    As it describes, the recommendation is for both services to start it on the Web Front End servers.
    Cheers,
    Vincent

  • Doubts regarding db connection with encrypted password usage in sandbox

    Hi All,
    We have setup the db connection using configuration file. The configuration file contains db connection information including the encrypted password.
    Below are my doubts:
    1. If we are going to import the ETL project in zip file directly into the sandbox can we run the graphs directly or we need to check how the password which is encrypted in configuration file will be decoded.
    2. Can we directly modify the configuration file for db connection like db connection,user name and password. Suppose I want the graphs to run in some other database which is not specified in configuartion fiel .Can I directly update that?
    3.Is it possible to change the encrypted password in the configuration file in the sandbox. Is it that we need to create the project in Integrator Designer, change the password using the Integrator Designer, and then copy the encrypted password into the configuration file in sandbox, or the Endeca provides a functionality to allow user to directly change the password in the sandbox on the Integrator server.
    Can someone please let me know their comments on above.
    Thanks in Advance.
    Regards,
    Amrit

    can someone please help me on this issue

  • Why am I getting ErrorCode: OperationNotSupported _Code: 204 When I am trying to get campaigns from sandbox account

    Hi All,
          Seasonal Greetings. 
          I am new one to bing ads . I am trying to get Campaigns from my sandbox account. The following is my code.                    
     <?php
    // To ensure that a cached WSDL is not being used,
    // disable WSDL caching.
    ini_set("soap.wsdl_cache_enabled", "0");
    try
        //$accountId = <youraccountid>; // Application-specific value.
         $accountId = "8951263";
        // Use either the sandbox or the production URI.
        // This example is for the sandbox URI.
        $URI =
            "https://api.sandbox.bingads.microsoft.com/Api/Advertiser/v8/";
        // The following commented-out line contains the production URI.
        //$URI = "https://adcenterapi.microsoft.com/api/advertiser/v8/";
        // The API namespace.
        $xmlns = "https://adcenter.microsoft.com/v8";
        // The proxy for the Campaign Management Web service.
        $campaignProxy = 
            $URI . "CampaignManagement/CampaignManagementService.svc?wsdl";
        // The name of the service operation that will be called.
        $action = "GetCampaignsByAccountId";
        // The user name, password, and developer token are
        // expected to be passed in as command-line
        // arguments.
        // $argv[0] is the PHP file name.
        // $argv[1] is the user name.
        // $argv[2] is the password.
        // $argv[3] is the developer token.
        if ($argc !=4)
            printf("Usage:\n");
            printf(
              "php file.php username password devtoken\n");
            exit(0);
        $username = $argv[1];
        $password = $argv[2];
        $developerToken = $argv[3];
        $applicationToken = "";
        // Create the SOAP headers.
        $headerApplicationToken = 
            new SoapHeader
                $xmlns,
                'ApplicationToken',
                $applicationToken,
                false
        $headerDeveloperToken = 
            new SoapHeader
                $xmlns,
                'DeveloperToken',
                $developerToken,
                false
        $headerUserName = 
            new SoapHeader
                $xmlns,
                'UserName',
                $username,
                false
        $headerPassword = 
            new SoapHeader
                $xmlns,
                'Password',
                $password,
                false
        $headerCustomerAccountId = 
            new SoapHeader
                $xmlns,
                'CustomerAccountId',
                $accountId,
                false
        // Create the SOAP input header array.
        $inputHeaders = array
            $headerApplicationToken,
            $headerDeveloperToken,
            $headerUserName,
            $headerPassword,
            $headerCustomerAccountId
        // Create the SOAP client.
        $opts = array('trace' => true);
        $client = new SOAPClient($campaignProxy, $opts); 
        // Specify the parameters for the SOAP call.
        $params = array
            'AccountId' => $accountId,
        // Execute the SOAP call.
        $result = $client->__soapCall
            $action,
            array( $action.'Request' => $params ),
            null,
            $inputHeaders,
            $outputHeaders
         print "Successful $action call.\n";
         print "TrackingId output from response header: "
              . $outputHeaders['TrackingId']
              . ".\n";
         // Insert a blank line to separate the text that follows.
         print "\n";
        // Retrieve the campaigns.
        if (isset(
            $result->Campaigns
            if (is_array($result->Campaigns->Campaign))
                // An array of campaigns has been returned.
                $obj = $result->Campaigns->Campaign;
            else
                // A single campaign has been returned.
                $obj = $result->Campaigns;
            // Display the campaigns.
            foreach ($obj as $campaign)
                print "Name          : " . $campaign->Name . "\n";
                print "Description   : " . $campaign->Description . "\n";
                print "MonthlyBudget : " . $campaign->MonthlyBudget . "\n";
                print "BudgetType    : " . $campaign->BudgetType . "\n";
                print "\n";
    catch (Exception $e)
        print "$action failed.\n";
        if (isset($e->detail->ApiFaultDetail))
          print "ApiFaultDetail exception encountered\n";
          print "Tracking ID: " . 
              $e->detail->ApiFaultDetail->TrackingId . "\n";
          // Process any operation errors.
          if (isset(
              $e->detail->ApiFaultDetail->OperationErrors->OperationError
              if (is_array(
                  $e->detail->ApiFaultDetail->OperationErrors->OperationError
                  // An array of operation errors has been returned.
                  $obj = $e->detail->ApiFaultDetail->OperationErrors->OperationError;
              else
                  // A single operation error has been returned.
                  $obj = $e->detail->ApiFaultDetail->OperationErrors;
              foreach ($obj as $operationError)
                  print "Operation error encountered:\n";
                  print "\tMessage: ". $operationError->Message . "\n"; 
                  print "\tDetails: ". $operationError->Details . "\n"; 
                  print "\tErrorCode: ". $operationError->ErrorCode . "\n"; 
                  print "\tCode: ". $operationError->Code . "\n"; 
          // Process any batch errors.
          if (isset(
              $e->detail->ApiFaultDetail->BatchErrors->BatchError
              if (is_array(
                  $e->detail->ApiFaultDetail->BatchErrors->BatchError
                  // An array of batch errors has been returned.
                  $obj = $e->detail->ApiFaultDetail->BatchErrors->BatchError;
              else
                  // A single batch error has been returned.
                  $obj = $e->detail->ApiFaultDetail->BatchErrors;
              foreach ($obj as $batchError)
                  print "Batch error encountered for array index " . $batchError->Index . ".\n";
                  print "\tMessage: ". $batchError->Message . "\n"; 
                  print "\tDetails: ". $batchError->Details . "\n"; 
                  print "\tErrorCode: ". $batchError->ErrorCode . "\n"; 
                  print "\tCode: ". $batchError->Code . "\n"; 
        if (isset($e->detail->AdApiFaultDetail))
          print "AdApiFaultDetail exception encountered\n";
          print "Tracking ID: " . 
              $e->detail->AdApiFaultDetail->TrackingId . "\n";
          // Process any operation errors.
          if (isset(
              $e->detail->AdApiFaultDetail->Errors
              if (is_array(
                  $e->detail->AdApiFaultDetail->Errors
                  // An array of errors has been returned.
                  $obj = $e->detail->AdApiFaultDetail->Errors;
              else
                  // A single error has been returned.
                  $obj = $e->detail->AdApiFaultDetail->Errors;
              foreach ($obj as $Error)
                  print "Error encountered:\n";
                  print "\tMessage: ". $Error->Message . "\n"; 
                  print "\tDetail: ". $Error->Detail . "\n"; 
                  print "\tErrorCode: ". $Error->ErrorCode . "\n"; 
                  print "\tCode: ". $Error->Code . "\n"; 
        // Display the fault code and the fault string.
        print $e->faultcode . " " . $e->faultstring . ".\n";
        // Output the last request.
        print "Last SOAP request:\n";
        print $client->__getLastRequest() . "\n";
    ?>
    http://msdn.microsoft.com/en-us/library/bing-ads-campaign-management-php-samples-get-campaigns(v=msads.80).aspx
    But I am getting responce 
    GetCampaignsByAccountId failed.
    ApiFaultDetail exception encountered
    Tracking ID: efa654c5-b112-4e96-8c3d-79bac7e70112
    Operation error encountered:
    Message: This operation is not supported.
    Details: 
    ErrorCode: OperationNotSupported
    Code: 204
    s:Server Invalid client data. Check the SOAP fault details for more information.
    Last SOAP request:
    <?xml version="1.0" encoding="UTF-8"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="https://adcenter.microsoft.com/v8"><SOAP-ENV:Header><ns1:ApplicationToken></ns1:ApplicationToken><ns1:DeveloperToken>BBD37VB98</ns1:DeveloperToken><ns1:UserName>-XXXXXX-</ns1:UserName><ns1:Password>-XXXXX-</ns1:Password><ns1:CustomerAccountId>8951263</ns1:CustomerAccountId></SOAP-ENV:Header><SOAP-ENV:Body><ns1:GetCampaignsByAccountIdRequest><ns1:AccountId>8951263</ns1:AccountId></ns1:GetCampaignsByAccountIdRequest></SOAP-ENV:Body></SOAP-ENV:Envelope>
    Please Help me to get out of this .  
    Thank you in advance.
    Deepa Varma 

    Hello Nalin,
              Thank you for the reply . Now I am using
    $campaignProxy ="https://api.sandbox.bingads.microsoft.com/Api/Advertiser/CampaignManagement/v9/CampaignManagementService.svc?wsdl" ;
    // The API namespace.
        $xmlns = "https://adcenter.microsoft.com/v9";
        $xmlns = "https://bingads.microsoft.com/AdIntelligence/v9";
    But I am getting 
    GetCampaignsByAccountId failed.
    AdApiFaultDetail exception encountered
    Tracking ID: ca31d743-7b7b-4479-8082-44997d60d549
    Error encountered:
    Message: Authentication failed. Either supplied credentials are invalid or the account is inactive
    Detail: 
    ErrorCode: InvalidCredentials
    Code: 105
    s:Server Invalid client data. Check the SOAP fault details for more information.
    Last SOAP request:
    <?xml version="1.0" encoding="UTF-8"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="https://bingads.microsoft.com/CampaignManagement/v9" xmlns:ns2="https://adcenter.microsoft.com/v8"><SOAP-ENV:Header><ns2:ApplicationToken></ns2:ApplicationToken><ns2:DeveloperToken>BBD37VB98</ns2:DeveloperToken><ns2:UserName>vbridgellp</ns2:UserName><ns2:Password>XXXX</ns2:Password><ns2:CustomerAccountId>8951263</ns2:CustomerAccountId></SOAP-ENV:Header><SOAP-ENV:Body><ns1:GetCampaignsByAccountIdRequest><ns1:AccountId>8951263</ns1:AccountId></ns1:GetCampaignsByAccountIdRequest></SOAP-ENV:Body></SOAP-ENV:Envelope>
    I am able to login to sand box UI and see my campaigns. What may be reason for the error ? 
    Thank you in Advance. 
    Deepa Varma

  • In app purchase is not working in testing environment in sandbox for the past 5 days. Please anyone know about this issue.

    in app purchase is not working in testing environment in sandbox for the past 5 days. Please anyone know about this issue.
    What i did
      1 . Added three products more to the existing in-app
      2 . Tested with sanbox
    i am getting the error "cannot connect to itunes store" with error code "0" when trying to purchase product in sandbox.
    Is sandbox is down?Please help guys..

    Apple's sandbox has been down practically all month. You can check the status here:
    http://sandbox.itunes.apple.com

  • Sandbox WebPart Postback too Large?

    Hi guys, I've done some research and it looks like the error I'm running into (when saving the web part properties) is that my post back is too large. 
    This is a simple sandbox web part I'm building, which works great until I added the last configuration option which put me over the limit.
    Web Part Code (.cs)
    using System;
    using System.ComponentModel;
    using System.Web;
    using System.Web.UI;
    using System.Web.UI.WebControls;
    using System.Web.UI.WebControls.WebParts;
    using Microsoft.SharePoint;
    using Microsoft.SharePoint.WebControls;
    namespace P.SPS.UI.Web_Parts.jQuery_UI_Accordion_Zone
    [ToolboxItemAttribute(false)]
    public class jQuery_UI_Accordion_Zone : WebPart
    #region custom web part properties
    [WebBrowsable(true),
    Category("JQuery Options"),
    Personalizable(PersonalizationScope.Shared),
    WebDisplayName("Include jQuery"),
    WebDescription("Check to include reference to jQuery. * Google CDN")]
    public bool includejQuery { get; set; }
    [WebBrowsable(true),
    Category("JQuery Options"),
    Personalizable(PersonalizationScope.Shared),
    WebDisplayName("Include jQuery UI"),
    WebDescription("Check to include reference to jQuery UI. * Google CDN")]
    public bool includejQueryUI { get; set; }
    [WebBrowsable(true),
    Category("JQuery Options"),
    Personalizable(PersonalizationScope.Shared),
    WebDisplayName("Include jQuery UI CSS"),
    WebDescription("Check to include reference to jQuery UI CSS. * Google CDN")]
    public bool includejQueryUICSS { get; set; }
    [WebBrowsable(true),
    Category("JQuery Options"),
    Personalizable(PersonalizationScope.Shared),
    WebDisplayName("Include SPAccordions Script"),
    WebDescription("Check to include the custom spaccordions() jQuery function.")]
    public bool includeSPAccordionsScript { get; set; }
    [WebBrowsable(true),
    Category("JQuery Accordion() Properties"),
    Personalizable(PersonalizationScope.Shared),
    WebDisplayName("Width (px)"),
    WebDescription("If set a min and max width will be applied to the tab container. (integer)"),
    DefaultValue(0)]
    public int dataWidth { get; set; }
    [WebBrowsable(true),
    Category("JQuery Accordion() Properties"),
    Personalizable(PersonalizationScope.Shared),
    WebDisplayName("Active"),
    WebDescription("Which panel should be open? (integer)"),
    DefaultValue(0)]
    public int dataActive { get; set; }
    [WebBrowsable(true),
    Category("JQuery Accordion() Properties"),
    Personalizable(PersonalizationScope.Shared),
    WebDisplayName("Scroll to Top on Activate"),
    WebDescription("When set to true, the accordion will stay in view while switching headers.")]
    public bool dataScrollToTop { get; set; }
    [WebBrowsable(true),
    Category("JQuery Accordion() Properties"),
    Personalizable(PersonalizationScope.Shared),
    WebDisplayName("Collapsible"),
    WebDescription("When set to true, the active panel can be closed.")]
    public bool dataCollapsible { get; set; }
    [WebBrowsable(true),
    Category("JQuery Accordion() Properties"),
    Personalizable(PersonalizationScope.Shared),
    WebDisplayName("Disabled"),
    WebDescription("If set the accordion will be disabled.")]
    public bool dataDisabled { get; set; }
    [WebBrowsable(true),
    Category("JQuery Accordion() Properties"),
    Personalizable(PersonalizationScope.Shared),
    WebDisplayName("Event"),
    WebDescription("The type of event that the headers should react to activate the panel. (event in quotations and comma seperated)")]
    public string dataEvent { get; set; }
    public enum dataHeightStyleOptions { auto, fill, content }
    [WebBrowsable(true),
    Category("JQuery Accordion() Properties"),
    Personalizable(PersonalizationScope.Shared),
    WebDisplayName("Height Style"),
    WebDescription("Controls the heigh of the accordion widget and each panel.")]
    public dataHeightStyleOptions dataHeightStyle { get; set; }
    #endregion
    protected override void Render(HtmlTextWriter writer)
    if (includejQuery)
    writer.WriteLine("<script src=\"//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js\"></script>");
    if (includejQueryUI)
    writer.WriteLine("<script src=\"//ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/jquery-ui.min.js\"></script>");
    if (includejQueryUICSS)
    writer.WriteLine("<script language=\"javascript\">$('head').append('<link rel=\"stylesheet\" href=\"//ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/themes/smoothness/jquery-ui.css\" />');</script>");
    if (includeSPAccordionsScript)
    writer.WriteLine("<script language=\"javascript\">$(document).ready(function(){if((document.getElementById(\"MSOLayout_InDesignMode\").value==1)?false:true){$(\".spaccordions\").spaccordions()}});(function(a){a.fn.spaccordions=function(){var e=a(this).data(),b={active:(e.active)?e.active:0,collapsible:(e.collapsible==1)?true:false,disabled:(e.disabled)?e.disabled:false,heightStyle:(e.heightstyle)?e.heightstyle:\"auto\",event:(e.event)?e.event:\"click\"};if(e.scrolltotop){b.activate=function(g,l){var k;if(l.newHeader.length==1){k=a(l.newHeader[0])}else{k=a(this).find(\".ui-accordion-header\").eq(0)}var i=a(window).height();var o=(a(window).scrollTop()==0)?a(\"#s4-workspace\").scrollTop():a(window).scrollTop();var h=k.height();var j=k.offset().top;var m=a(\"#s4-ribbonrow\").height();var n=j+o-m;console.log(\"elementScrollY \"+j);console.log(\"screenY \"+i);if(j>=m&&j<=i){}else{a(window).scrollTop(n);a(\"#s4-workspace\").scrollTop(n)}}}var f=a(this).parents(\"table\").eq(1);var d=a('<div class=\"accordion\">');if(e.width>0){d.width(e.width)}var c=a(\"\");a(this).parents(\"tr\").eq(1).remove();f.find(\".s4-wpTopTable\").each(function(h){var g=a(this).find(\" > tbody > tr > td\");c=c.add(\"<h3>\"+a(g[0]).find(\".ms-WPTitle\").text().trim()+\"</h3>\");c=c.add(\"<div>\"+a(g[1]).html()+\"</div>\")});d.append(c);f.before(d);f.hide();d.accordion(b);return this}})(jQuery);</script>");
    writer.WriteBeginTag("div");
    writer.WriteAttribute("class", "spaccordions");
    // build custom jquery Accordion() options
    if (!isEmptyorNull(Convert.ToString(dataWidth.ToString())))
    writer.WriteAttribute("data-width", dataWidth.ToString());
    if (!isEmptyorNull(Convert.ToString(dataActive)))
    writer.WriteAttribute("data-active", dataActive.ToString());
    if (!isEmptyorNull(Convert.ToString(dataCollapsible)))
    writer.WriteAttribute("data-collapsible", Convert.ToString(dataCollapsible).ToLower());
    if (!isEmptyorNull(dataDisabled.ToString()))
    writer.WriteAttribute("data-disabled", dataDisabled.ToString());
    if (!isEmptyorNull(dataEvent))
    writer.WriteAttribute("data-event", dataEvent);
    if (!isEmptyorNull(Convert.ToString(dataHeightStyle)))
    writer.WriteAttribute("data-heightstyle", dataHeightStyle.ToString());
    if (!isEmptyorNull(Convert.ToString(dataScrollToTop)))
    writer.WriteAttribute("data-scrolltotop", Convert.ToString(dataScrollToTop).ToLower());
    writer.Write(HtmlTextWriter.TagRightChar);
    writer.WriteEndTag("div");
    writer.WriteLine("<p>Use the web part properties menu to configure options for <a href=\"http://jqueryui.com/accordion/\" target=\"_blank\">jQuery UI Accordion</a>.</p>");
    base.Render(writer);
    protected void Page_Load(object sender, EventArgs e)
    public bool isEmptyorNull(string value)
    if (string.IsNullOrEmpty(value) || value == "0")
    return true;
    return false;
    Now can anyone recommend how I could solve this issue? I'm not a back-end programmer :/.
    Error after Post:
    Web Part Error: Unhandled exception was thrown by the sandboxed code wrapper's Execute method in the partial trust app domain: An unexpected error has occurred.
    Show Error Details
    Debugger doesn't show anything so I know it wasn't reaching my code.

    Hi,
    What the last configuration option did you add?
    Try to disable the ViewState of the .Net control in the web part.
    Or
    Add following into web.config(C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\ 14\UserCode) to avoid sandbox webpart error after post back.
    <httpRuntime requestLengthDiskThreshold=”4096” /> (or set value as per your requirement)
    Here is a blog for you to take a look at:
    http://sohilmakwana.wordpress.com/2013/11/29/sandbox-error-unhandled-exception-was-thrown-by-the-sandboxed-code-wrappers-execute-method-in-the-partial-trust-app-domain/
    If you want to achieve an Accordion web part, the following links for your reference:
    http://altfo.wordpress.com/2013/06/18/jquery-accordion-based-announcement-web-part/
    http://fitandfinish.ironworks.com/2010/02/how-to-create-an-accordion-web-part.html
    Thanks,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Dennis Guo
    TechNet Community Support

  • I get a security sandbox error #2122 when i try to use ImageSnapshot on video player

    hey guys... so all my application does is... it has a video player... and when i initiate the component it loads the flv from a different server, and plays the video... now while its playing the video i have a button called capture, and whe you hit that button the user is able to take snapshots of the current frame.
    this seems to work perfectly locally, but as soon as i uploaded it to the server i get problems...
    the error states:
    SecurityError: Error #2122: Security sandbox violation: BitmapData.draw: http://website1.com/Content/swf/oneStopImageVersion.swf cannot access http://website2.com/videos/originals/Grand_Opening.flv. A policy file is required, but the checkPolicyFile flag was not set when this media was loaded.
         at flash.display::BitmapData/draw()
         at mx.graphics::ImageSnapshot$/captureBitmapData()
         at modules.videoHandler::videoHandler/captureVideo()
         at modules.videoHandler::videoHandler/___videoHandler_LinkButton3_click()
    i have the crossdomain file in the root directory of website2.com, and i have the folloing line of code in there
    <?xml version="1.0"?>
    <cross-domain-policy>
         <site-control permitted-cross-domain-policies="all" />
         <allow-access-from domain="website1.com"/>
         <allow-access-from domain="*.website1.com"/>
             <allow-http-request-headers-from domain="*.website1.com" headers="SOAPAction"/>
    </cross-domain-policy>
    any ideas on how to fix this problem???
    my actionscript code is as follows
    public function captureVideo():void{
         var snapshot:BitmapData = ImageSnapshot.captureBitmapData(videoPlayer.videoDisplay);
         initialThumbnail.source = new Bitmap(snapshot); //this is the image tag in my mxml
    any help is greatly appretiated!!!!
    thanks in advance!

    any one with ideas???
    i've been doing some more research... and found a possible solution... where i could send the video thru a server proxy... but the only thing is doing that might slow down my process... i was wondering if there was any other solution to this problem??

  • How can I fix 2121 sandbox security error, local swf MP3 player test calls MP3's from website?

    1st Issue.  I am a new user and am fighting #2121, #2044 & #2048 Flash security errors in getting an MP3 player to work as I test the fla file in Flash CS4 on my local computer.  The fla in Flash and swf in Dreamweaver calls mp3 files from our host server on the internet.
    After reading various sparce posts and Adobe articles on this issue, I have added a crossdomain.xml file at our websites root (see file below) and added the code, flash.system.Security.allowDomain in line 1 of the action script of the flash fla to allow our site access (-see script below).  These efforts have helped get the player to work better on our test site.
    But, I am still getting the 2121 error within Flash CS4 as I debug the player or play the swf in live view within Dreamweaver.  Playing the fla or swf will lock-up the Flash 10 player and crash the program. I am having the mp3 player access the mp3 files from our web site as I test the fla.
    Here is the debug message I am getting:
    Attemping to launch and connect to Player using URL C:\Web Site Files\Plank Productions afc\Plank Productions 2010\site\MP3_List_Player_AS3.swf [SWF] C:\Web Site Files\Plank Productions afc\Plank Productions 2010\site\MP3_List_Player_AS3.swf - 209827 bytes after decompression SecurityError: Error #2121: Security sandbox violation: Sound.id3: file:///C/Web%20Site%20Files/Plank%20Productions%20afc/Plank%20Productions%202010/site/MP3%5FList %5FPlayer%5FAS3.swf cannot access . This may be worked around by calling Security.allowDomain.
    at flash.media::Sound/get id3()
    at com.afcomponents.mp3player::MP3Player/get id3()
    at com.afcomponents.mp3player::MP3Player/handleBuffe ring()
    Here is the crossdomain xml code:
    <?xml version="1.0" encoding="utf-8"?>
    <?xml version="1.0"?><!DOCTYPE cross-domain-policySYSTEM "http://www.macromedia.com/xml/dtds/cross-domain- policy.dtd">
    <cross-domain-policy>
    <allow-access-from domain="www.plankproductions.com" secure="false"/>
    <allow-access-from domain="plankproductions.com" secure="false"/>
    </cross-domain-policy>
    Here is the AS3 in line 1 of the Fla file that I added:
    flash.system.Security.allowDomain("www.plankproductions.com", "plankproductions.com");
    2nd Issue.  The online playback of the mp3 player will play about 4-7 mp3’s then lock-up in Internet Explorer 8 on a pc.  I think that is related to flash security, not sure, I do not know how to debug the mp3 player on the web site.
    http://plankproductions.com/pptemplate_afc_mp3.shtml
    Questions.
    -How can I resolve the error 2121?
    -What as3 code do I need to target the local c drive to have security clearance and work properly, is this the problem?
    -Why is the mp3 player locking up on the web page?
    Thank you in advance for any help.
    Operating System: Windows XP Professional, CS4 Web Premium

    Do you have the standard or debug player installed?  Such errors should not occur with the standard player.
    See http://helpx.adobe.com/flash-player/kb/find-version-flash-player.html#main_Find_Flash_Play er_version_type_and_capabilities__Flash_developers_only_

  • How to resolve security sandbox violation (Error#2148) in Flex 3 on XP?

    Hi,
    When I tried to access an image on c:\ (on XP), I get the following error:
    *** Security Sandbox Violation ***
    Connection to file:///C:\DBFiles\3.jpg halted - not permitted from http://localhost/test-debug/test.swf
    -- Remote SWFs may not access local files.SecurityError: Error #2148: SWF file http://localhost/ullmanphp-debug/ullmanphp.swf cannot access local resource file:///C:\DBFiles\INDSprintOrgChart.pptx\3.jpg. Only local-with-filesystem and trusted local SWF files may access local resources.
    at flash.display::Loader/_load()
    at flash.display::Loader/load()
    It looks like some sort of mismatch on security settings. I have done the following so far (based on what I got by googling....)
    1. Flex comipler setting additional compiler arguments:  -use-network=false
    2. I have added a crossdomain.xml on the source directory with these lines...
    <site-control permitted-cross-domain-policies="master-only"/>
    <allow-access-from domain="*"/>
    <allow-http-request-headers-from domain="*" headers="SOAPAction"/>
    However, error is still appearing. How do I fix this for testing on my local machine. I cannot move to a webserver at this time.
    Thanks!.

    How do I set Security.sandboxType related to flash player? When I try to see it in my application through debugger it says "remote". I think I need to set it to one of the following from the adobe manual pages...
    Security.sandboxType has one of the following values:
    remote (Security.REMOTE)—This file is from an Internet URL and operates under domain-based sandbox rules.
    localWithFile (Security.LOCAL_WITH_FILE)—This file is a local file, has not been trusted by the user, and it is not a SWF file that was published with a networking designation. The file may read from local data sources but may not communicate with the Internet.
    localWithNetwork (Security.LOCAL_WITH_NETWORK)—This SWF file is a local file, has not been trusted by the user, and was published with a networking designation. The SWF file can communicate with the Internet but cannot read from local data sources.
    localTrusted (Security.LOCAL_TRUSTED)—This file is a local file and has been trusted by the user, using either the Flash Player Settings Manager or a FlashPlayerTrust configuration file. The file can read from local data sources and communicate with the Internet.
    application (Security.APPLICATION)—This file is running in an AIR application, and it was installed with the package (AIR file) for that application. By default, files in the AIR application sandbox can cross-script any file from any domain (although files outside the AIR application sandbox may not be permitted to cross-script the AIR file). By default, files in the AIR application sandbox can load content and data from any domain.
    Any input on how to set it would be greatly appreciated. Thanks!

  • I installed 3.6.12 and now get error message that says - Error: Platform version 1.9.2.12 is not compatible with miniversion = 1.9.2.10 maxversion = 1.9.2.19 and it won't launch unless outside of sandbox. I cannot navigate to yahoo. Please help.

    I down loaded latest version and get error message when I launch it. Error message is entitled XUL Runner and says - Error: Platform version 1.9.2.12 is not compatible with miniversion >= 1.9.2.10 maxversion <= 1.9.2.19 and it won't launch. I can launch if I use Run Outside of Sandbox option, but I cannot navigate my home page on yahoo. What happened? Please send fix. Thanks, [email protected]

    Do a clean (re)install:
    * Download a fresh Firefox copy from http://www.mozilla.com/firefox/all.html and save the file to the desktop.
    * Uninstall your current Firefox version and remove the Firefox program folder before installing that copy of the Firefox installer.
    * Don't remove personal data when uninstalling.
    * It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    Your bookmarks and other profile data are stored elsewhere (not in the Firefox program folder) and won't be affected by a reinstall, but make sure that you do not select to remove personal data if you uninstall Firefox.

  • FireFox 3.6.15 will not start it is NOT compatable with Avast 6.0.1000 sandbox, it gives the following error when I try to open in sandbox: XULRunner Error: Platform version '1.9.2.15' is not compatible with minVersion =1.9.2.14 maxVersion = 1.9.2.14

    Before FireFox was updated to ver 3.6.15, FF would open in Avast sandbox with no issue. Since the update to FF I can only open FF outside of Avast sandbox. Avast version 6.0.1000
    I turned off all Add-ons and still No Joy!
    Windows 7 Pro 64 bit; I7-950 CPU, fresh reboot does not fix this issue.
    Just populated : Troubleshooting Information

    I had already tried a reinstall before, but thanks for the suggestion. Starting FF in Safe mode did not help either.
    XULRunner is specific to FF. Mostly found discussion about using the code in web pages when I used Google before posting.
    When FF went from version 3.6.14 to version 3.6.15 this issue started. Please note the Error message and the version info I just mentioned.
    '''"Platform version '1.9.2.15' is not compatible with minVersion > =1.9.2.14 maxVersion < = 1.9.2.14"'''
    '''The Platform was revved up from 1.9.2.14 to1.9.2.15'''
    I could not find information on: minVersion or maxVersion much less how to change them in XULRunner.
    '''''It is definitely a Mozilla FF issue'''''.
    Avast sandbox is up to date and works just fine with everything else. More importantly it worked just before the update was installed.
    The only reason I bothered with the update is because Mozilla touted it as a security issue and there was NO mention of any known issues with sandbox software.

  • Weird: Backup file works fine from the network but not when moved into sandbox environment

    We have a valid full backup of a database. We know it is valid, we have restored it twice from the network with no problems, but we do not have access to the network location from our sandbox environment.
    The .bak file is sizable at about 9GB. The .bak file resides on our internal network, in a SAN drive. No problems there. When we copy the file from there into a sandbox environment to attempt the restore in the sandbox environment it gets corrupted. We've
    tried three different times and all three different times it gets corrupted. First time we copied the file over to the sandbox the restore went up to 50% and failed. The second time we copied the file again and attempted the restore again it failed at 70%.
    The third time it failed at 60%. The error message we get during the restore is "...Read on ... failed: 13(The data is invalid) Msg 3013, Level 16, State 1, Line 1 Restore database is terminating abnormally."
    Now some background here. To move the file our network team is doing this: they have this .vmdk file that they mount out in our production environment (which has access to the network location where the .bak file is), copy the file into the drive, then move
    the .vmdk file into the sandbox environment(which does not have access to the network location), mount the drive in the sandbox environment, and then I have access to the .bak file from within the sandbox environment.
    Something in the process of using the .vmdk file to move the .bak file from production into the sandbox is causing the file to get corrupted.
    Any thoughts? Has anyone seen this before? Any idea? TIA,
    Raphael
    rferreira

    Original server that generated the .bak file:
    Microsoft SQL Server 2008 R2 (SP1) - 10.50.2550.0 (X64) 
    Jun 11 2012 16:41:53 
    Copyright (c) Microsoft Corporation
    Enterprise Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1) (Hypervisor)
    Server where I CAN restore the .bak file from the network location (not inside the sandbox):
    Microsoft SQL Server 2012 (SP1) - 11.0.3128.0 (X64) 
    Dec 28 2012 20:23:12 
    Copyright (c) Microsoft Corporation
    Enterprise Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1) (Hypervisor)
    Server inside the sandbox where I get the error when attempting to restore the backup:
    Microsoft SQL Server 2008 R2 (SP1) - 10.50.2550.0 (X64)   Jun 11 2012 16:41:53   Copyright (c) Microsoft Corporation  Enterprise Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1) (Hypervisor) 
    rferreira

Maybe you are looking for