AV failing from Office to field staff Powerbooks.

Hi all.
First time poster on this forum. Great discussion. I see there has been ric, sharing and helping here disussions and user support Here's our Problem. Office with off site employers calling home with iChat (and iSight camersa on both ends
DETAILS:
Everyone is on 10.4.6. The home office has a gigabit network run by a G5 and wiFi with the D Link Gaming router, off site we have a net-gear (bast iline) and wjat office.
(user A) 1MacBook Pro
needs to iSight and iChat, wirelessly, from her Florida office. She gets good speeds:Router giving her 54Mbps, and her modem giving 6Mpbs download speeds. She knows the software and is connected to net with a DHCP from local cable company.
(users B) 2 iMacs a office back in Mass.
Wired w/Gigabit directly to the DLink Gaming Router with some video and ichat ports opened for AV activity - This office has a small network run by a G5 server. They can receive connections from any out of the office
(users C)
2 G4 PB Travelling staff.
Techies, wardriver,can swap router channels, open/close ports, etc...
PROBELMS/ iChat with others.
When she is plugged in via Ethernet to her Net Gear in Florida, she is ABLE to iChat with iSite or audio with USERS B in an office. She can ado this dwn to 8Mbps when obstructed from WiFi in building
USER A cannot consistenly connect with other USERS C, who are powerbooks. Sometimes in home offices on known routers at default settings, sometime on the road. iChats needed for video conferences daily.
Sometimes USER A and USER C can iChat with iSight (or simple audio) perfectly. Better consistency if BOTH are plugged/ethernet with their router. (Can invite and accept iCalls)
However, when the same uers fail to connect because one USER goes wireless - chat invites fail to start (after acceptance) They can sit in front of the router, with 54Mbps, and still not able t0 invite/accept iChat audio or video with the outside of office C USERS who are on WiFi with strong sigals.
QUESTION PLEASE...
1) Does iChat only work with both users being hard-wired E-net to the router or Modem?
2) Why does is seem to fail when one of the are users goes wifi with a high Mbps, and 5 bars on airport, with no firewall?
3) Hows does a router (w/out-of-box settings) sometimes allow iChat and sometime fail with our connection?
4) Does at ATT LEAST one user in a conference need to have be hard-wired or habe a faster Mbps to iChat?
5) Do these problems look and soud like port problems? Since I am at the company in Boston, I can't phyisically change settings on the traveling power, but can AIM with them.
Sorry for the long but precise posting.
Thanks for any tips? Similair ecperiences?
jake,
[email protected]
Pbook G4 15" Aluminum, iBook 14" 1GHz, Tbook 700MHz   Mac OS X (10.4.6)  

Hi Bluecool,
It looks like we are going to need more info on the IP of each computer and where it gets that IP from ?
iChat does have porblems if Port Forwarding (or other NAT variant) is used in two routing devices at one end.
It also does not like 2 DHCP servers at one end.
The speed of the LAN or the wireless connection is not going to be a feature but the Internet Speed and any capping by System Preferences > Quicktime > Streaming is. This neds to be at 1.5meg if your connection speed is faster than that. If not match your download speed.
IS the G5 Server running OS X Server as posting in there Collaboration Service forum may be better.
3:57 PM Thursday; June 29, 2006

Similar Messages

  • ODBC connections fails after going from Office 2003 to 2010 on some but not all PCs

    ODBC connections fails after going from Office 2003 to 2010 on some but not all PCs. Setting up the connection has been a hit and miss. Have tried both x86 and x64. Any ideas?  Use ODBC from the control panel and C:\Windows\SysWOW64 same results. Using
    SQLexpress 2008r2
    Thanks

    Hello,
    Please consider to configure Windows Firewall or disable it. Not only Windows Firewall but any security software.
    https://msdn.microsoft.com/en-us/library/cc646023(v=sql.120).aspx
    Windows Firewall is enabled by default.  
    Make sure you are using SQL Server Native Client to create the ODBC DSN. Not all Windows versions have it, so you may need to download and install it.
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Synchronization Failed from isync Conduit iCal

    I'm having difficulty syncing iCal and a Palm Z22. First, I export my calendar in iCal format from Sungard/SCT which is used at my school. While importing into iCal I get the following message:
    "Some of the events in this calendar have alarm that open files or applications"
    which is related to Sungard/SCT sending email reminders I believe. I choose:
    "Remove Unsafe Alarms"
    When I try to sync, I get:
    "Synchronization Failed from isync Conduit iCal generated exception
    NSInvalidArgumentException: * -[NSCFString emailString]: selector not
    recognized. Can't get record with ID
    DAC3BE84-7CDA-11DA-81BF-000D936862681104180844."
    Here is that record I believe:
    BEGIN:VEVENT
    X-NSCP-TOMBSTONE:0
    ATTENDEE;CN="Steven Beaty";CUTYPE=INDIVIDUAL;PARTSTAT=ACCEPTED;ROLE=REQ-
    PARTICIPANT;RSVP=TRUE;X-NSCP-ATTENDEE-GSE-STATUS=2:beatys
    RECURRENCE-ID:20050103T210000Z
    X-NSCP-LANGUAGE:en
    SEQUENCE:4
    X-NSCP-ONGOING:0
    X-NSCP-GSE-COMPONENT-STATE;X-NSCP-GSE-COMMENT=REQUEST-COMPLETED:131074
    PRIORITY:0
    DTEND:20050103T211500Z
    X-NSCP-DTSTART-TZID:America/Denver
    UID:DAC3BE84-7CDA-11DA-81BF-000D93686268
    DTSTART:20050103T210000Z
    X-NSCP-ORGANIZER-EMAIL:[email protected]
    ORGANIZER;SENT-BY="[email protected]";X-NSCP-ORGANIZER-UID=beatys:beatys
    X-NSCP-ORIGINAL-DTSTART:20050103T210000Z
    LOCATION:My office
    LAST-MODIFIED:20050710T064906Z
    TRANSP:OPAQUE
    STATUS:CONFIRMED
    SUMMARY:Meet with Pat and Noel
    DTSTAMP:20060104T043047Z
    CREATED:20040916T211304Z
    END:VEVENT
    Versions:
    iCal 1.5.5
    iSync 1.5
    iSync Palm Conduit 1.2
    Palm Desktop 4.2.2
    Anyone know what is wrong? Thanks.
    iBook G3   Mac OS X (10.3.9)  

    Got it. That's very clearly a problem you're going to have to address at the source - the export stage - rather than from iCal after import.
    Have you spoken with the campus technology staff familiar with SCT Banner or SCT Campus Pipeline about the issue? Surely, they must be familiar with 'standards-based' calender export.
    The problem here is that there are SO many component parts: the SCT program, the exported files, iCal, iSync and Sync Services. It could be that Apple has failed to properly account for and handle something produced by the SCT programs, but it seems far more likely that the export files are non-standard. The exported records are essentially considered 'mal-formed' by Sync Services, and there is no way that you can diagnose and correct the issue on a hit-or-miss basis.
    The whole push-pull or put-get technology behind Sync Services is complex and at times mysterious, and made infinitely more complex when you cross platforms, despite the existence of widely touted 'standards' for data interchange.
    I would start by hunting down the local Banner or Campus Pipeline expert, and asking that individual why the data is not 'synchronizable' in its current form.

  • [Forum FAQ] How to remove div characters from multiline textbox field in SharePoint 2013

    Scenario:
    Need to avoid the div tags and get data alone from multiline textbox field using JavaScript Client Object Model in SharePoint 2013.
    Solution:
    We can use a regular expression to achieve it.
    The steps in detail as follows:
    1. Insert a Script Editor Web Part into the page.
    2. This is the complete code, add it into the Script Editor Web Part and save.
    <script type="text/javascript">
    ExecuteOrDelayUntilScriptLoaded(retrieveListItems, "sp.js");
    function retrieveListItems() {
    // Create an instance of the current context to return context information
    var clientContext = new SP.ClientContext.get_current();
    //Returns the list with the specified title from the collection
    var oList = clientContext.get_web().get_lists().getByTitle('CustomListName');
    //use CAML to query the top 10 items
    var camlQuery = new SP.CamlQuery();
    //Sets value that specifies the XML schema that defines the list view
    camlQuery.set_viewXml('<View><RowLimit>10</RowLimit></View>');
    //Returns a collection of items from the list based on the specified query
    this.collListItem = oList.getItems(camlQuery);
    clientContext.load(this.collListItem, 'Include(Title,MultipleText)');
    clientContext.executeQueryAsync(Function.createDelegate(this, this.onQuerySucceeded), Function.createDelegate(this, this.onQueryFailed));
    function onQuerySucceeded() {
    //Returns an enumerator to iterate through the collection
    var listItemEnumerator = this.collListItem.getEnumerator();
    //Remove div tag use a regular expression
    var reg1 = new RegExp("<div class=\"ExternalClass[0-9A-F]+\">[^<]*", "");
    var reg2 = new RegExp("</div>$", "");
    //Advances the enumerator to the next element of the collection
    while (listItemEnumerator.moveNext()) {
    //Gets the current element in the collection
    var oListItem = listItemEnumerator.get_current();
    alert(oListItem.get_item('MultipleText').replace(reg1, "").replace(reg2, ""));
    function onQueryFailed(sender, args) {
    alert('Request failed. ' + args.get_message() + '\n' + args.get_stackTrace());
    </script>
    Result:<o:p></o:p>
    References:
    http://www.w3schools.com/jsref/jsref_obj_regexp.asp
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    Nice article :)
    If this helped you resolve your issue, please mark it Answered

  • Hello, I have created a distribution kit for my program.The problem is that the when the program is installed onto another computer, it fails to communicate with field point (Using FP-AO-200 and FP-AO-1000). Help is greatly appreciated, Thanks faen9901

    Hi Everyone,
    I have a program that sends information(analog output) to lab windows cvi in the form of a text file or user input.
    The program runs on the computers that I have the field point explorer and lab windows cvi installed on. In order to run the program without always installing labwindows/cvi and field point; I wanted to create an executable file that could be load on another computer.
    I used the create distribution kit part of labwindows/cvi to do this.After creating the distribution kit, I then installed it
    to another computer.
    My user interface appears on the screen, when the user clicks on the exe. file, but no data is sent to the field point module. I know that the data is being read from the user and textfile because in it appears in the uir.
    The following are some details about the problem:
    1. On another computer without labwindows/cvi and field point explorer not installed - no data is sent to field point module
    I know this because a current is being read on the current meter connected to field point module.
    My questions are the following:
    1. What are the possible reasons for the data not being sent to the field point module?
    2. Do I still need to create an iak. (Installing Field point Explorer) file stored on any new computer that I install my created distribution kit file too?
    Thankyou very much for any help that you can provide. I greatly appreciate it.
    Faen9901

    Re: Hello, I have created a distribution kit for my program.The problem is that the when the program is installed onto another computer, it fails to communicate with field point (Using FP-AO-200 and FP-AO-1000). Help is greatly appreciated, Thanks faen9901Faen9901,
    1) If you do not install FieldPoint Explorer, the FieldPoint Server is not installed so there is nothing on the target computer that knows how to talk to the FieldPoint system.
    2) Yes, you need an IAK file on the target computer. Assuming the settings (i.e. com port#) are identical you can simply include the iak file as part of the distribution.
    3) You also need to include as part of your installer the file "fplwmgr.dll". If this file is not installed, your program will not be able to access the FieldPoint Server. Alternatively, this file is installed automatically if FieldPoint Explorer detects LabWindows/CVI or Measurement Studio Development versions on the target computer or if you choose to do a custom FieldPoint Explorer installation and
    choose to provide LabWindows/CVI support.
    Regards,
    Aaron

  • Scripted Import MRU list from Office 2010.

    Hello all, i was wondering if anyone could help with this, we have a script that exports the MRUs as reg keys from office 2010, it exports the following as a .reg file on the source machine, and on the destination machine it imports the reg key so a user
    moving machines has all of their recent documents:
    Windows Registry Editor Version 5.00
    [HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Word\File MRU]
    "Max Display"=dword:00000019
    "Item 1"="[F00000000][T01CF9ABB0FC89840][O00000000]*C:\\Users\\USERNAME\\Documents\\FILENAME.xlsx"
    This works absolutely fine when coming from 2010 and going to 2010, however since we have put 2013 on the destination machines, the script doesn't work due to the user ID field being unique to each user:
    Windows Registry Editor Version 5.00
    [HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Excel\User MRU\AD_CC97ADD968A5532BF33D5693E751F2355768058F0819CBCF30AD727C87634047\File MRU]
    "Max Display"=dword:00000019
    "Item 1"="[F00000000][T01CF9ABB0FC89840][O00000000]*C:\\Users\\USERNAME\\Documents\\FILENAME.xlsx"
    would anyone know of a way to export from 2010, obtain the AD_CC9...... ID, and change the .reg file to this as part of a scripted import? 
    as it stands im having to open each application (word, excel, powerpoint) and click on file to generate the AD_CC..... reg key, then copy the key name from registry editor, and edit my 2010 exported .reg files to re-import manually on the destination machine.

    You might want to take a look at below thread:
    http://community.spiceworks.com/topic/461503-office-2013-and-recents-list
    http://social.technet.microsoft.com/Forums/en-US/07267496-cfcd-4cf0-810a-8ee91b213dfc/office-2007-to-2010-migrating-file-mru-not-working?forum=officesetupdeployprevious
    For a specific script, I would suggest you to seek assistance in Microsoft OneScript center, that's the dedicated place for script issues:
    http://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?forum=ITCG
    Thanks,

  • Outlook from Office 2011 can't start after OS X Security Update 2014-005

    I just installed Security Update 2014-005 on OS X v10.9.5 in a MacBook Pro (2012). After the OS restarts, Microsoft Outlook from Office 2011 fails to start. Did anyone else experience this issue and have a solution that can be shared?

    Try u-installing Office and re-installing.
    Office 2011 Removal
    Office 2011 Removal (2)

  • Emails going to spam folder from Office Outlook

    I have configured an Exchange for my domain for learning purpose. When i am sending emails to my Google Account account using OWA or iPhone(Exchange account) the mails are coming in Inbox, but when i am sending emails through Office Outlook the emails are coming
    in SPAM folder of my Google Account. Kindly suggest me the solution for this problem, thanks in advance.

    Hi
    I set it up today itself, so no chance of bad reputation(below result). This is happening when only i am sending email to my Google from Office Outlook. When i use OWA & iPhone(Exchange Active Syn) its coming in Inbox.
    This is same with Hotmail but not with Yahoo mail.
    I tried it with my another primary domain i can receive in Inbox.
    MXToolbox : blacklist
    Checking mydomain.com which
    resolves to xxx.xxx.xxx.xxx against 103 known
    blacklists... 
    Listed 0 times
    with 1 timeouts 
    Kindly suggest if any configuration requirements are to be done.
    Thanks and regards
    Mohammed Ismail Shareef

  • Populate drop-down list from multiple text fields.

    Just to begin, I am brand new to this application and brand new to coding in general. Anyways, this is what I am trying to accomplish. I need to populate a drop-down list from multiple text fields. I am able to populate one item using this in the calculate event:
    TextField1.rawValue
    After I type text in TextField1 and hit enter, it displays the text in the drop-down list. I need to do this but with more than just one text field to populate more options for the drop-down list. I will also need to do something similar with populating a drop-down list from selections made in multiple other drop-down lists.
    Thanks for any help you can give me.

    Thank you for your suggestion Geo Kaiser. With that, I was able to populate my drop-down lists, but now when I select an option from the drop-down list, the selection dissapears. The selection will appear briefly in the box but then dissapears although my drop-down list options remain there. Here is the code I am using for my text field to drop-down list:
    DropDownList1.clearItems()
    DropDownList1.addItem(TextField1)
    DropDownList1.addItem(TextField2)
    And here is my code for my drop-down list to populate another drop-down list:
    DropDownList3.clearItems()
    DropDownList3.addItem(DropDownList1)
    DropDownList3.additem(DropDownList2)
    Thanks again for your help. By the way, I am using Adobe Designer 7.0.

  • How to get a subset of text from a varchar2 field

    Hello.  I am trying to select a subset of text from a varchar2 field.  This is login information from dba_audit_trail view.  Here's an example of the field (comment_text from dba_audit_trail):
    Authenticated by: DIRECTORY PASSWORD;EXTERNAL NAME: cn=orcladmin,cn=Users,dc=idacorp,dc=local; Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=555.555.555.555)(PORT=99999))
    I am trying to just select the "orcladmin" text - i.e. everything after the first "=" up to the first ","
    I can get everything after the first "=" with this:
    select substr(comment_text, instr(comment_text, '=') + 1) from dba_audit_trail
    ... but I don't know how to stop at the first ","
    Any help would be greatly appreciated.
    Thanks!
    Message was edited by: DRC

    Hi,
    Here's one way to do it:
    WITH got_pos    AS
        SELECT  comment_text    -- and whatever other columns you need
        ,       INSTR (cooment_text, '=')   AS equal_pos
        ,       INSTR (cooment_text, ',')   AS comma_pos
        FROM    dba_auit_trail
        WHERE   ...             -- any filtering goes here
    SELECT  SUBSTR ( comment_text
                   , equal_pos + 1
                   , comma_pos - (equal_pos + 1)
                   )   AS first_cn
    FROM    got_pos
    You could do it without a sub-query; you'd just have to do the exact same INSTR 2 times, where I used equal_pos 2 times.
    You could also get the results you want using regular expressions, such as:
    SELECT  REGEXP_SUBSTR ( comment_text
                          , '=([^,]*),'
                          , 1
                          , 1
                          , NULL
                          , 1
                          )      AS first_cn
    FROM    dba_audit_trail
    Although this uses less code, it's slower than using INSTR and SUBSTR .

  • How to download a file version from office 365 using csom

    I need to download an older file version from office 365 and get the data into a byte array. I have no trouble downloading the latest version with File.OpenBinaryStream() and I have no trouble loading the previous file versions with File.Versions. But now
    I need to actually download an older version of the file and it seems the only way is to use File.OpenBinaryDirect. So I am creating a client context using my oAuth access token and providing the correct path, but I am getting a (401) Unauthorized
    error. Looking with Fiddler I can see that the call to OpenBinaryDirect is somehow trying to post to my file URL and the server is responding with 401.
    context = TokenHelper.GetClientContextWithAccessToken(SPHostUrl, AccessToken);
    FileInformation info = File.OpenBinaryDirect(context, "/" + _fileVersion.Url);  //throws 401
    //leading slash required otherwise ArgumentOutOfRangeException
    I have to be able to access the older file versions with my c# code -- I don't have a viable app without that ability -- any help urgently needed and greatly appreciated!

    Thank you SO much (Can't wait for the next release)!
    For anyone else who lands here, here's the code I ended up using:
    // VersionAccessUser and VersionAccessPassword are stored in web.config
    // web.Url is loaded via the clientContext
    // myVersion is the FileVersion I got from the file's Versions.GetById() method
    // probably a lot of ways to get hostUrl, it just needs to be https://yourdomain.sharepoint.com/
    // - I'm running my app from a subweb
    // I had trouble following the links to get the full MsOnlineClaimsHelper code
    // (the one on msdn.com was missing RequestBodyWriter, WSTrustFeb2005ContractClient,
    // and IWSTrustFeb2005Contract
    // so I've included the code I used here.
    string myVersionFullUrl = string.Format("{0}/{1}", web.Url, myVersion.Url);
    string userName = WebConfigurationManager.AppSettings.Get("VersionAccessUser");
    string strPassword = WebConfigurationManager.AppSettings.Get("VersionAccessPassword");
    string hostUrl = Regex.Replace(web.Url, "([^/]+//[^/]+/).*", "$1");
    MsOnlineClaimsHelper claimsHelper = new MsOnlineClaimsHelper(hostUrl, userName, strPassword);
    var client = new WebClient();
    client.Headers["Accept"] = "/";
    client.Headers.Add(HttpRequestHeader.UserAgent, "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; .NET CLR 1.0.3705;)");
    client.Headers.Add(HttpRequestHeader.Cookie, claimsHelper.CookieContainer.GetCookieHeader(new Uri(hostUrl)));
    var document = client.DownloadString(myVersionFullUrl);
    // These classes are needed to download old versions of files (see: http://social.msdn.microsoft.com/Forums/en-US/7746d857-d351-49cc-b2f0-496663239e02/how-to-download-a-file-version-from-office-365-using-csom?forum=sharepointdevelopment)
    // I cobbled this file from http://social.technet.microsoft.com/Forums/msonline/en-US/4e304493-7ddd-4721-8f46-cb7875078f8b/problem-logging-in-to-office-365-sharepoint-online-from-webole-hosted-in-the-cloud?forum=onlineservicessharepoint
    // and http://fredericloud.com/2011/01/11/connecting-to-sharepoint-with-claims-authentication/
    using Microsoft.IdentityModel.Protocols.WSTrust;
    using Microsoft.SharePoint.Client;
    using System;
    using System.Collections.Generic;
    using System.IO;
    using System.Linq;
    using System.Net;
    using System.Net.Security;
    using System.ServiceModel;
    using System.ServiceModel.Channels;
    using System.Text;
    using System.Web;
    using System.Xml;
    using System.Xml.Linq;
    namespace DPSiDoxAppWeb.Helpers
    /// <summary>
    /// Create a new contract to use for issue claims for the SharePoint requests
    /// </summary>
    [ServiceContract]
    public interface IWSTrustFeb2005Contract
    [OperationContract(ProtectionLevel = ProtectionLevel.EncryptAndSign,
    Action = "http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Issue",
    ReplyAction = "http://schemas.xmlsoap.org/ws/2005/02/trust/RSTR/Issue",
    AsyncPattern = true)]
    IAsyncResult BeginIssue(Message request, AsyncCallback callback, object state);
    Message EndIssue(IAsyncResult asyncResult);
    /// <summary>
    /// Implement the client contract for the new type
    /// </summary>
    public class WSTrustFeb2005ContractClient : ClientBase<IWSTrustFeb2005Contract>, IWSTrustFeb2005Contract
    public WSTrustFeb2005ContractClient(Binding binding, EndpointAddress remoteAddress)
    : base(binding, remoteAddress)
    public IAsyncResult BeginIssue(Message request, AsyncCallback callback, object state)
    return Channel.BeginIssue(request, callback, state);
    public Message EndIssue(IAsyncResult asyncResult)
    return Channel.EndIssue(asyncResult);
    /// <summary>
    /// Create a class that will serialize the token into the request
    /// </summary>
    class RequestBodyWriter : BodyWriter
    readonly WSTrustRequestSerializer _serializer;
    readonly RequestSecurityToken _rst;
    /// <summary>
    /// Constructs the Body Writer.
    /// </summary>
    /// <param name="serializer">Serializer to use for serializing the rst.</param>
    /// <param name="rst">The RequestSecurityToken object to be serialized to the outgoing Message.</param>
    public RequestBodyWriter(WSTrustRequestSerializer serializer, RequestSecurityToken rst)
    : base(false)
    if (serializer == null)
    throw new ArgumentNullException("serializer");
    _serializer = serializer;
    _rst = rst;
    /// <summary>
    /// Override of the base class method. Serializes the rst to the outgoing stream.
    /// </summary>
    /// <param name="writer">Writer to which the rst should be written.</param>
    protected override void OnWriteBodyContents(XmlDictionaryWriter writer)
    _serializer.WriteXml(_rst, writer, new WSTrustSerializationContext());
    public class MsOnlineClaimsHelper
    #region Properties
    readonly string _username;
    readonly string _password;
    readonly bool _useRtfa;
    readonly Uri _host;
    CookieContainer _cachedCookieContainer = null;
    DateTime _expires = DateTime.MinValue;
    #endregion
    #region Constructors
    public MsOnlineClaimsHelper(string host, string username, string password)
    : this(new Uri(host), username, password)
    public MsOnlineClaimsHelper(Uri host, string username, string password)
    _host = host;
    _username = username;
    _password = password;
    _useRtfa = true;
    public MsOnlineClaimsHelper(Uri host, string username, string password, bool useRtfa)
    _host = host;
    _username = username;
    _password = password;
    _useRtfa = useRtfa;
    #endregion
    #region Constants
    public const string office365STS = "https://login.microsoftonline.com/extSTS.srf";
    public const string office365Login = "https://login.microsoftonline.com/login.srf";
    public const string office365Metadata = "https://nexus.microsoftonline-p.com/federationmetadata/2007-06/federationmetadata.xml";
    public const string wsse = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";
    public const string wsu = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";
    private const string userAgent = "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)";
    #endregion
    class MsoCookies
    public string FedAuth { get; set; }
    public string rtFa { get; set; }
    public DateTime Expires { get; set; }
    public Uri Host { get; set; }
    // Method used to add cookies to CSOM
    public void clientContext_ExecutingWebRequest(object sender, WebRequestEventArgs e)
    e.WebRequestExecutor.WebRequest.CookieContainer = getCookieContainer();
    //e.WebRequestExecutor.WebRequest.UserAgent = userAgent;
    // Creates or loads cached cookie container
    CookieContainer getCookieContainer()
    if (_cachedCookieContainer == null || DateTime.Now > _expires)
    // Get the SAML tokens from SPO STS (via MSO STS) using fed auth passive approach
    MsoCookies cookies = getSamlToken();
    if (cookies != null && !string.IsNullOrEmpty(cookies.FedAuth))
    // Create cookie collection with the SAML token
    _expires = cookies.Expires;
    CookieContainer cc = new CookieContainer();
    // Set the FedAuth cookie
    Cookie samlAuth = new Cookie("FedAuth", cookies.FedAuth)
    Expires = cookies.Expires,
    Path = "/",
    Secure = cookies.Host.Scheme == "https",
    HttpOnly = true,
    Domain = cookies.Host.Host
    cc.Add(samlAuth);
    if (_useRtfa)
    // Set the rtFA (sign-out) cookie, added march 2011
    Cookie rtFa = new Cookie("rtFA", cookies.rtFa)
    Expires = cookies.Expires,
    Path = "/",
    Secure = cookies.Host.Scheme == "https",
    HttpOnly = true,
    Domain = cookies.Host.Host
    cc.Add(rtFa);
    _cachedCookieContainer = cc;
    return cc;
    return null;
    return _cachedCookieContainer;
    public CookieContainer CookieContainer
    get
    if (_cachedCookieContainer == null || DateTime.Now > _expires)
    return getCookieContainer();
    return _cachedCookieContainer;
    private MsoCookies getSamlToken()
    MsoCookies ret = new MsoCookies();
    try
    var sharepointSite = new
    Wctx = office365Login,
    Wreply = _host.GetLeftPart(UriPartial.Authority) + "/_forms/default.aspx?wa=wsignin1.0"
    //get token from STS
    string stsResponse = getResponse(office365STS, sharepointSite.Wreply);
    // parse the token response
    XDocument doc = XDocument.Parse(stsResponse);
    // get the security token
    var crypt = from result in doc.Descendants()
    where result.Name == XName.Get("BinarySecurityToken", wsse)
    select result;
    // get the token expiration
    var expires = from result in doc.Descendants()
    where result.Name == XName.Get("Expires", wsu)
    select result;
    ret.Expires = Convert.ToDateTime(expires.First().Value);
    HttpWebRequest request = createRequest(sharepointSite.Wreply);
    byte[] data = Encoding.UTF8.GetBytes(crypt.FirstOrDefault().Value);
    using (Stream stream = request.GetRequestStream())
    stream.Write(data, 0, data.Length);
    stream.Close();
    using (HttpWebResponse webResponse = request.GetResponse() as HttpWebResponse)
    // Handle redirect, added may 2011 for P-subscriptions
    if (webResponse.StatusCode == HttpStatusCode.MovedPermanently)
    HttpWebRequest request2 = createRequest(webResponse.Headers["Location"]);
    using (Stream stream2 = request2.GetRequestStream())
    stream2.Write(data, 0, data.Length);
    stream2.Close();
    using (HttpWebResponse webResponse2 = request2.GetResponse() as HttpWebResponse)
    ret.FedAuth = webResponse2.Cookies["FedAuth"].Value;
    ret.rtFa = webResponse2.Cookies["rtFa"].Value;
    ret.Host = request2.RequestUri;
    else
    ret.FedAuth = webResponse.Cookies["FedAuth"].Value;
    ret.rtFa = webResponse.Cookies["rtFa"].Value;
    ret.Host = request.RequestUri;
    catch (Exception ex)
    return null;
    return ret;
    static HttpWebRequest createRequest(string url)
    HttpWebRequest request = HttpWebRequest.Create(url) as HttpWebRequest;
    request.Method = "POST";
    request.ContentType = "application/x-www-form-urlencoded";
    request.CookieContainer = new CookieContainer();
    request.AllowAutoRedirect = false; // Do NOT automatically redirect
    request.UserAgent = userAgent;
    return request;
    private string getResponse(string stsUrl, string realm)
    RequestSecurityToken rst = new RequestSecurityToken
    RequestType = WSTrustFeb2005Constants.RequestTypes.Issue,
    AppliesTo = new EndpointAddress(realm),
    KeyType = WSTrustFeb2005Constants.KeyTypes.Bearer,
    TokenType = Microsoft.IdentityModel.Tokens.SecurityTokenTypes.Saml11TokenProfile11
    WSTrustFeb2005RequestSerializer trustSerializer = new WSTrustFeb2005RequestSerializer();
    WSHttpBinding binding = new WSHttpBinding();
    binding.Security.Mode = SecurityMode.TransportWithMessageCredential;
    binding.Security.Message.ClientCredentialType = MessageCredentialType.UserName;
    binding.Security.Message.EstablishSecurityContext = false;
    binding.Security.Message.NegotiateServiceCredential = false;
    binding.Security.Transport.ClientCredentialType = HttpClientCredentialType.None;
    EndpointAddress address = new EndpointAddress(stsUrl);
    using (WSTrustFeb2005ContractClient trustClient = new WSTrustFeb2005ContractClient(binding, address))
    trustClient.ClientCredentials.UserName.UserName = _username;
    trustClient.ClientCredentials.UserName.Password = _password;
    Message response = trustClient.EndIssue(
    trustClient.BeginIssue(
    Message.CreateMessage(
    MessageVersion.Default,
    WSTrustFeb2005Constants.Actions.Issue,
    new RequestBodyWriter(trustSerializer, rst)
    null,
    null));
    trustClient.Close();
    using (XmlDictionaryReader reader = response.GetReaderAtBodyContents())
    return reader.ReadOuterXml();

  • How can I remove dropdown calendar menu from date/time field.

    I set up a javascript calculation based on the input of a date field. As long as the user enters the date manually the script works fine. If user attempts to select date by drop down menu then script will not work. How can I remove the calendar feature from the Date field?

    You may have to wire custom script to get you what you need. That would probably work on 'exit' event.
    Just you give you better Idea here is some thing I have on a date field. If user types his own date instead of picking from calendar this code checks whether it is valid date or not and returns to the same field either they enter valid date or clear the field.
    This is FormCalc script. You may get the idea how this works and make it work for you using the same logic either in FormCalc or JavaScript.
    ----- form1.SOF.Head.Table1.Row1.ReqDate.Date_ReqDate::exit: - (FormCalc, client) ------------------
    if (HasValue($)) then
    if (Len($.rawValue) == 10) then
    var S1
    var MM
    var DD
    var YYYY
    var Derror
    var D1
    var D2
    var S2
    Derror = 0
    D1 = 0
    D2 = 0
    S1 = $.rawValue
    D1 = At(S1, "-")
    S2 = Right(S1, 5)
    D2 = At(S2, "-")
    if (D1 > 0 and D2 > 0) then
    if (D1 == 3 and D2 == 1) then
    MM = Substr(S1, 1, 2)
    DD = Substr(S1, 4, 2)
    YYYY = Substr(S1, 7, 4)
    elseif (D1 == 5 and D2 == 3) then
    MM = Substr(S1, 6, 2)
    DD = Substr(S1, 9, 2)
    YYYY = Substr(S1, 1, 4)
    else
    Derror = Derror + 1
    endif
    else
    Derror = Derror + 1
    endif
    if (Oneof(MM, "01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12")) then
    Derror = Derror
    else
    Derror = Derror +1
    endif
    //xfa.host.messageBox("MM"+ Derror, "Incorrect Date", 1, 0)
    if ((Oneof(DD, "01", "02", "03", "04", "05", "06", "07", "08", "09")) or ((DD >=10) and (DD <= 31))) then
    Derror = Derror
    else
    Derror = Derror + 1
    endif
    //xfa.host.messageBox("DD"+ Derror, "Incorrect Date", 1, 0)
    if ((YYYY >= 1975) and (YYYY <= 2050)) then
    Derror = Derror
    else
    Derror = Derror + 1
    endif
    //xfa.host.messageBox("YYYY"+ Derror, "Incorrect Date", 1, 0)
    if (Derror > 0) then
    xfa.host.messageBox("Preferred valied date between Jan 01, 1975 and Dec 31, 2050. ", "Incorrect Date", 1, 0)
    xfa.host.setFocus($.somExpression)
    else
    //good
    $.formattedValue = Format("MMM DD, YYYY", Concat(YYYY, MM, DD))
    if ($event.shift) then
    //xfa.host.messageBox("Shift")
    var sh
    sh = 1
    //xfa.host.setFocus("xfa.form.form1.SOF.Head.RadioAttachTo.RadioAttachTo3")
    else
    if (xfa.event.commitKey == 1) then
    var A
    A = 1
    else
    xfa.host.setFocus("xfa.form.form1.SOF.Head.Table1.Row2.CustName")
    endif
    endif
    endif
    else
    xfa.host.messageBox("Preferred valied date in format MMM DD, YYYY.", "Incorrect Format", 1, 0)
    xfa.host.setFocus($.somExpression)
    endif
    endif
    Good luck,
    SekharN

  • How do I Load a clob from an XML field in an XMLTYPE using XMLTABLE ?

    I am trying to load data into a CLOB from a XML field using XMLTABLE.
    I have a SUMMARY xml field with over 100 K of data (potentialy)
    and I can load all the other datatype fields to columns but can not load the xml fields over 4000 characters.
    example
    First I create a table of XMLTYPE. I need to sqlload new files in at regular intervals.
    Create table WEB_XML of XMLTYPE;
    Then I create my relational table....
    create table WEB_WORKING
    request_id varchar(10),
    ref_number varchar(20),
    summary clob
    The I use the .ctl file to sqlload the xml data in
    LOAD DATA
    INFILE *
    INTO TABLE WEB_XML
    append
    xmltype(XMLDATA)
    ext_fname filler char(90),
    XMLDATA LOBFILE(ext_fname) TERMINATED BY EOF
    BEGINDATA
    XMLFILE1.xml
    After loading the WEB_XML table using sqlldr, I try to load my relational table using XMLTable
    INSERT into WEBBAR_WORKING
    request_id ,
    ref_number ,
    summary
    SELECT X.* FROM WEB_XML P2,
    XMLTable ( '//Request//REQUESTVIEW'
    PASSING P2.object_value
    COLUMNS
    "request_id" VARCHAR(10) PATH 'REQUEST_ID',
    "ref_number" VARchar(20) PATH 'REF_NUMBER',
    "SUMMARY" clob PATH 'SUMMARY'
    ) AS X;
    This gives an error saying its not expecting clob
    My XML looks somthing like
    -<Request>
    -<REQUESTVIEW>
    <REQUEST_ID>3140</REQUEST_ID>
    <ref_number>2003-04-02</RECEIVED_DATE>
    <SUMMARY>
    OVER 100 K of data
    </SUMMARY>
    </REQUESTVIEW>
    </Request>

    ok
    that helped lot, im getting there however some more help please
    This SQL
    SELECT request_id, recieved_by, X.SUMMARY.getClobVal()
    FROM WEB_XML P2,
    XMLTable
    '//Request//REQUESTVIEW'
    PASSING P2.object_value
    COLUMNS
    "request_id" VARCHAR(10) PATH 'REQUEST_ID',
    "received_by" VARCHAR(10) PATH 'RECEIVED_BY',
    "SUMMARY" xmltype PATH 'SUMMARY'
    ) AS X;
    SELECT request_id, recieved_by, X.SUMMARY.getClobVal()
    ERROR at line 1:
    ORA-00904: "RECIEVED_BY": invalid identifier
    If I use the X.request_id, X.received_by ......
    i get the error message
    Package or function is in aan invalid state.
    But this SQL was successful in getting the clob by itself but with the XML tgs around it still, how do I strip the XML tags from around this result ?
    SELECT X.SUMMARY.getClobVal()
    FROM WEBBAR_XML P2,
    XMLTable
    '//Request//REQUESTVIEW'
    PASSING P2.object_value
    COLUMNS
    "SUMMARY" XMLTYPE PATH 'SUMMARY'
    ) AS X;
    ----------------------------------------------------------

  • Apex.ajax.clob - retrieving data from a clob field

    I have an application that uses a table that stores xml data, and the field in the table that stores the data is a clob. I used Carl Backstrom's example to build what I have so far, (God's blessings on his family). Here is the script I use to store the data from an HTML Editor into the database:
    function clob_set(request){
    var oEditor = FCKeditorAPI.GetInstance('P59_CONTENT');
    var clob_ob = new apex.ajax.clob(
    function(){
    var rs = p.readyState
    if(rs == 1||rs == 2||rs == 3){
    $x_Show('AjaxLoading');
    }else if(rs == 4){
    $x_Hide('AjaxLoading');
    $s('P59_CONT', p.responseText);
    doSubmit(request)
    }else{return false;}
    $x('P59_CONT').value = oEditor.GetHTML();
    oEditor.SetHTML('');
    if(!$v_IsEmpty('P59_CONT')){clob_ob._set($v('P59_CONT'))};
    The submit calls a process that inserts the data from the clob001 field in the CLOB_CONTENT collection into my table.
    How do I get the data out of the table again to present in the HTML Editor? Each option I use gets me into trouble with the 32k length limitation that is extant in Apex. What would be the best way to address this?

    Inserting or retrieving a clob in the database is simple and can be done with a pl/sql process. It gets more more complex when the clob is large; I believe the limit is 32k? Larger than that and the HTTP process cannot manipulate the data stream.
    The key to manipulating clobs successfully is through the use of collections, and javascript. In my case, I used the standard html editor item (fckeditor) to retrieve the data and present it on the page through the apex.ajax.clob javascript function. The clob_set method in the apex.ajax.clob function that I mention in the previous sections of this post calls the 'doSubmit(request)' that causes a pl/sql function to be fired that writes the clob to the database from the collection created by the clob_get method. The collection that the clob_get method creates is called 'CLOB_CONTENT', and can be accessed through the 'apex_collections' view through standard sql within APEX. In my case, the pull the 'clob001' field from the 'CLOB_CONTENT' collection after the clob_set method runs, and I insert the value from 'clob001' into the table I have created for storing the clob content. The clob_set pulls the data from the HTML editor (FCKeditorAPI.GetInstance('P59_CONTENT')) through the GetHTML() method that is part of the FCKeditorAPI.
    function clob_set(request){
    var oEditor = FCKeditorAPI.GetInstance('P59_CONTENT');
    var clob_ob = new apex.ajax.clob(
    function(){
    var rs = p.readyState
    if(rs == 1||rs == 2||rs == 3){
    $x_Show('AjaxLoading');
    }else if(rs == 4){
    doSubmit(request);
    $x_Hide('AjaxLoading');
    }else{return false;}
    var p_html = oEditor.GetHTML();
    if (p_html){
    clob_ob._set(p_html);
    else {
    p_html = ' '
    clob_ob._set(p_html);
    The clob_get method pulls the data from the 'CLOB_CONTENT' collection and puts it into the html editor item I have created, performing the process in reverse. The primary difference with reversing the process is that a pl/sql function is created that populates the clob001 field in the 'CLOB_CONTENT' collection prior to the clob_get function firing:
    declare
    l_clob clob:= empty_clob();
    begin
    if apex_collection.collection_exists(p_collection_name=>'CLOB_CONTENT') then
    apex_collection.delete_collection(p_collection_name=>'CLOB_CONTENT');
    end if;
    apex_collection.create_or_truncate_collection(p_collection_name=>'CLOB_CONTENT');
    dbms_lob.createtemporary( l_clob, false, dbms_lob.SESSION );
    if trim(:P123_ID) <> 0 then
    select
    nvl (ltr,'There is no letter assigned.')
    into
    l_clob
    from grant_tbl
    where id = to_number(:P123_ID);
    apex_collection.add_member(p_collection_name => 'CLOB_CONTENT'
    ,p_clob001 => l_clob
    ELSE
    apex_collection.add_member(p_collection_name => 'CLOB_CONTENT'
    ,p_clob001 => 'You must select an item to view its letter.');
    end if;
    end;
    The clob_get function is below. Notice that the line "$s('P123_CONTENT',p.responseText);" is taking the output from the clob_get and setting the value of the P123_CONTENT page item (which is my standard html editor item) with the 'responseText'. the 'p' object and the 'responseText' method are built into the clob_get function when a 'new apex.ajax.clob' object is created. Confusing? Tell me about it!
    function clob_get(){
    var clob_ob = new apex.ajax.clob(
    function(){
    var rs = p.readyState
    if(rs == 1||rs == 2||rs == 3){
    null;
    }else if(rs == 4){
    $s('P123_CONTENT',p.responseText);
    null;
    }else{return false;}
    clob_ob._get();
    }

  • How to move the value from a character field to numeric or packed decimal

    Hi,
    can anyone explain me on how to move the value from a character field to numeric or packed decimal.
    Please help me on this. Thanks...
    Regards,
    Rose.

    Hi ,
    if you use keyword MOVE u may loose the decimal and thoussan separator and if u don't want to loose them just call the FM ..HRCM_STRING_AMOUNT_CONVERT.
    i doubt wherther it is HRCM or HCRM just try using *
    this will suit ur requirement.
    Regards,
    KK

Maybe you are looking for

  • Generated galleries

    Hi. I generated galleries form LR and I wonder if there is a option to add it as a gallery to wordpress, not as a single fotos and there creating gallery but as a gallery, by useing option WEB -> upload settings. I will be greatful for help. regards,

  • 10.1.3 cut/copy not working in code editor

    Strange cut/copy behaviour in editor. When first started and editor is opened, the copy works ok then when code is added, the copy is displaced by the number of characters in the new addition (it seems).

  • HT1351 can't find where to authorize computer in store

    can't find where to authorize computer in store so that I can transfer a audiobook to my ipod nano

  • Sync RFC scenario

    Hi, I need a synchronous RFC scenario. My requirement si jsut to run a UDF in mapping and give teh response back to RFC. What can be the best reciever side which gives the response back to RFC. Remrmber, I just need to call a mapping. File is not pos

  • Can I use yahoo toolbar with firefox 4.ob9?

    i can't add yahoo toolbar with firefox 4.ob9