Query Of Queries : Error When Trying To Fake Left Outer Join

Hi there
I am trying to replicate a left outer join, combining two query of queries using a method I located here
However, I keep getting an error message..
Here is the code I am using....
    <cfquery dbtype="query" name="qry">
                SELECT *
                FROM returnQry, returnQry2
                WHERE returnQry.mediumImage = returnQry2.mediumImage
                ORDER BY returnQry.name   
            </cfquery>
            <cfquery name="returnQry3" dbtype="#application.mx#">
                SELECT *
                FROM trackmeanings AS t
            </cfquery>      
           <cfquery dbtype="query" name="endQry">
                SELECT name,nameRcd,mediumImage, COUNT(sMessage) AS comments
                FROM qry, returnQry3
                WHERE qry.name = returnQry3.sNameTrack
                UNION
                SELECT name,nameRcd,mediumImage, COUNT(sMessage) AS comments
                FROM qry, returnQry3
                WHERE #qry.name# NOT IN (#QuotedValueList(returnQry3.sNameTrack)#)
                GROUP BY name,nameRcd,mediumImage
            </cfquery>
When I try to use the query output in a page, i get the error message "Incorrect conditional expression,  Expected one of [like|null|between|in|comparison] condition"
Would anyone have any ideas?
Many thanks

Actually , spoke a little too soon, my query now seems to be outputting duplicates when the value is found on both sides of the union, my group by clause doesnt seem to be eliminating them like it usually does.
My SELECT code now reads
<cfquery dbtype="query" name="endQry">
SELECT name,nameRcd,mediumImage, COUNT(sMessage) AS comments
FROM qry, returnQry3
WHERE qry.name = returnQry3.sNameTrack
GROUP BY name,nameRcd,mediumImage
UNION
SELECT name,nameRcd,mediumImage, 0 AS comments
FROM qry
WHERE qry.name NOT IN (<cfqueryparam
value="#returnQry3.sNameTrack#"
cfsqltype="cf_sql_varchar"
list="yes"
/>)
GROUP BY name,nameRcd,mediumImage
ORDER BY name DESC
</cfquery>
and my ouput...is producing duplicates
<cfoutput query="rc.qryTopTracks" group="name">
#rc.qryTopTracks.name#
</cfoutput>
Would you have any idea of how to eliminate them here?  Thanks

Similar Messages

  • PLS-00201 error when trying to pass an OUT parameter

    Hi,
    Please help me to resolve the below error:
    I am trying to pass an OUT parameter in a package.
    I have declared it in package specs as
    ProcABC(p_val IN varchar2, p_val2 IN varchar2, p_val3 OUT varchar2)
    In package body
    I have created the procedure as
    Create or Replace procedure ProcABC(p_val IN varchar2, p_val2 IN varchar2, p_val3 OUT varchar2) AS
    v_LogDir varchar2(40);
    v_message varchar2(200);
    BEGIN
    SELECT directory_path into v_LogDir FROM ALL_DIRECTORIES WHERE directory_name = 'ABC';
    v_message := v_LogDir ;
    some sql statements..
    p_val3 := v_message;
    Return p_val3;
    End procABC;
    SQL> exec pkg_A.procABC('Stage2', NULL, p_val3);
    Package compiles successfully but while execution it returns error as:
    ORA-06550: line 1, column 74:
    PLS-00201: identifier 'p_val3 ' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    Please advise.

    Hi Suresh,
    Thanks for the information and help. I was able to run the package with this usage.
    Now, the issue is
    I need to return a v long string by the OUT parameter so I defined the datatype of OUT parameter as CLOB.
    But, when I declare local variable to run the package with this OUT paramater I get the error :
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    ORA-06512: at line 1
    When I pass a shorter string it works.
    Kindly advise me how to resolve this issue while using CLOB as datatype of OUT parameter.

  • Restriction to Left Outer Joins in PS Query

    Hello I am trying to do Left Outer JOin in PS QUERY. I need to do dept tbl, job code tbl and locatable as left outer joins with JOB Table. Looks like in PS QUERY there is a error message saying as below. Can someone has any workaround to achieve this in PS QUERY. I know I can create a View and use that in PS QUERY but BUsiness Users are dependent on IT, so that doesn't work. Also, adding JOB table multiple times works but I am looking for better solution if anyone had come accorss working through PS QUERY Outer JOins.
    Windows Internet Explorer
    Left outer joins must be joined to the last record in the query. (139,290)
    OK
    Thanks,
    SC.

    Hi Mike,
    According to your description, you want to improve the performance for your DAX query in SQL Server Analysis Service Tabular model, right? Here is a white paper describes strategies and specific techniques for getting the best performance from your tabular
    models, including processing and partitioning strategies, DAX query tuning, and server tuning for specific workloads.
    http://msdn.microsoft.com/en-us/library/dn393915.aspx
    Since this is a complex DAX query, from a support perspective this is really beyond what we can do here in the forums. If you cannot determine your answer here or on your own, consider opening a support case with Microsoft. Visit this link to see the various
    support options that are available to better meet your needs:
    http://support.microsoft.com/default.aspx?id=fh;en-us;offerprophone
    Regards,
    Charlie Liao
    TechNet Community Support

  • Ora 12154 error when trying to add a database to VS Server Explorer

    Hi Everyone,
    I get the Ora 12154 error when trying to add a database to VS Server Explorer.
    How do I get around this problem.
    The database service is running and I can connect to the database with pl/sql.
    I can also tnsping the database and that is also ok.
    Looks like a problem with the odp.net software.
    I am running the 32 bit Oracle 11g on a Windows7 Home Premium 64 bit PC.
    I am new to this stuff so please help me step by step.
    Thanks.
    Emad

    Hi J. B.
    I have a question related to this. After you told me about the //host:1521/database alias I tried it in a VB 2008 program and it worked and returned data. At least I know that it can be used in a VB program without issues. I just now need to be able to add a connection with the Server Explorer.
    Anyway here is the VB coding I used. I'm new to this and still learning:
    Imports Oracle.DataAccess.Client ' Visual Basic ODP.NET Oracle managed provider
    Public Class Form1
    ' String to connect to the database.
    Dim strConnectionString As String = _
    "Data Source=//emad-pc:1521/emadeva;User ID=scott;Password=tiger;" '
    ' Associate the connection string with a connection object.
    Dim objOracleConnection As New OracleConnection(strConnectionString)
    ' SQL query for returning data rows.
    Dim strSqlQuery As String = _
    "Select dname, deptno " & _
    "From dept " & _
    "Where deptno = 10" '
    ' Command object to make this query work.
    Dim objOracleCommand As New OracleCommand(strSqlQuery, objOracleConnection)
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    ' Identify what type of command is being used.
    objOracleCommand.CommandType = CommandType.Text
    Try
    objOracleConnection.Open()
    ' Set up a Data Reader and load it with data.
    Dim objOracleDataReader As OracleDataReader = _
    objOracleCommand.ExecuteReader()
    objOracleDataReader.Read()
    ' Convert the department number to a string.
    lblDepartmentNumberFromOracle.Text = _
    CStr(objOracleDataReader.Item("deptno"))
    Catch ex As Exception
    MessageBox.Show(ex.Message, "Error")
    End Try
    End Sub
    End Class
    I still want to thank you for the help you are providing.
    Truly,
    Emad

  • Error when trying to run Advisor

    Hi!
    I get the following error when trying to run the Advisor (Application Builder > Application xxx > Utilities > Advisor) over our application:
    Unknown type! View: APEX_APPLICATION_PAGE_PROC Column: CONDITION_EXPRESSION1 Value: WHEN_ANY_ITEM_IN_COMMA_DELIMITED_LIST_OF_PAGES_HAS_CHANGED
    ... this happens every time, even if I uncheck all boxes except one (e.g. "References with substitution syntax").
    I'm wondering if there is something wrong with our Apex installation as I can't see any other references to this problem in the forum. We don't seem to be suffering any other problems so I expect it's something small...
    Has anyone else ever encountered this and does anyone know of a solution? I would like to use the Advisor for some QA processes as it looks like a handy tool.
    Many thanks in advance,
    Alex.
    Versions:
    Apex 4.1.1.00.23
    Oracle DB 10.2.0.2

    Hi Alex,
    very interesting. Looks like one of your processes uses the WHEN_ANY_ITEM_IN_COMMA_DELIMITED_LIST_OF_PAGES_HAS_CHANGED condition which has been deprecated for a very long time.
    If you execute the following query in your workspace schema, you should find those processes which do use the condition. You might want to check if the reported pages/processes are still used in your application.
    select application_id,
           application_name,
           page_id,
           page_name,
           process_name
      from APEX_APPLICATION_PAGE_PROC
    where CONDITION_EXPRESSION1 = 'WHEN_ANY_ITEM_IN_COMMA_DELIMITED_LIST_OF_PAGES_HAS_CHANGED';Regards
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Error when trying to refresh the current report-Invalid prompt def.WIS00005

    I am trying to create a Webi report using a Universe created with Universe Design Tool 4.0. I have created a new universe with a secured relational connection from a cube in our BBD system. The Universe can be created and exported in UDT (and when I test the connection, I get a message saying the server is responding). I can see values for the BEx query in BEx analyzer.
    When I open Webi and connect to a universe, I can see the universe, but when I put a dimension to our results tab and go to "run query", I first get the error "Error when trying to refresh the current report". If I close this error I get the error "Invalid Prompt Definiton - WIS00005". Has anybody else had this issue and if so, where can I begin to troubleshoot the error?

    Hi,
    Please note that if the object parses at Universe level it may still fail at runtime especially for the prompts.
    If you still experience the error after applying Patch 11 please analyze the characteristics of the prompt, get some trace logs with High level of detail, they surely  will help.
    Thanks!
    Best regards,
    Simone

  • Error when trying to refresh the current report

    I am having this error message "Error when trying to refresh the current report on my reports appear before they are executed. It has been a very random so I am unable to pinpoint what is causing it. I am currently working with BO 4.1 and it is connected to BW, whereby the authentication is SSO.
    Either way the reports are able to run with problems but I dislike having to insist with the refresh button or having to close and reopen the report for it to run as it should.
    I did some investigations but did not find anything conclusive because there is no problems with authorizations, there are no merged dimensions nor grouping variables used in the report and it is based on just one query.
    Does anyone know why this error message appears? What its cause is?

    Hi
    While creating the report if we select the authentication mode as :Use specified user name and password or Use Business Objects credential mapping, will get the same error.
    So if possible can you please test change Connection Type Authentication Mode to Single Sign on.
    Find the below link.
    http://scn.sap.com/community/semantic-layer/blog/2014/06/06/how-to-change-connection-type-authentication-mode-to-sso-1

  • I am getting an activation error when trying to sign in to FAceTime

    I am getting an activation error when trying to sign in to FAceTime

    me too after upgrading into lion..

  • Keep getting 5002 Error when trying to Sign In

    Hello,
    I created a new @me.com address today for a seperate Apple ID account.  I am needing to sign into the iTunes Store, but I keep getting a response that says:
    "We could not complete your iTunes Store request. An unknown error occurred (5002)."
    Any ideas as to what's going on here?
    I also took a screen cap of the issue:
    Thank you for the help!
    Marcus

    Thank you for your response Carolyn; however, that article does not fix my problem.  I am getting this error when trying to sign into the iTunes Store on my Mac.
    I get the same problem when signing into the Store on the iPad or iPhone.  I simply can't log in, but when I go to iCloud.com or the Apple ID login on Apple.com, it works.
    Marcus

  • I get error message "unknown error" When trying to log on to itunes via pc, help please!

    I get error message "unknown error" When trying to log on to itunes via pc, help please!

    Hello, trolle56.
    Thank you for the question.  You may find these articles helpful in troubleshooting the error received with the iTunes Store. 
    Can't connect to the iTunes Store
    http://support.apple.com/kb/ts1368
    iTunes: Advanced iTunes Store troubleshooting
    http://support.apple.com/kb/ts3297
    Cheers,
    Jason H. 

  • Error when trying to update or download any app

    I'm getting an Error when trying to update or download any app from Mac App Store
    Every time I try to update xCode to version 6.2 but I get this error :
    The server gave an error during download: 503 Service Unavailable.
    So I tried to download a random app from the App Store but I got the same error message.
    So any advices ?

    Hello HusseinAlBehary,
    Sorry to hear your troubles updating and downloading apps from the Mac App Store. Based on when you were doing that, it looks like the Mac App Store was experiencing difficulties. It is not currently so you should be able to upgrade with out issues now. If you experience this in the future, look at the page below to start you on figuring out if it is something on your end or Apple’s end. 
    Apple Services, Stores, and iCloud
    https://www.apple.com/support/systemstatus/
    Regards,
    -Norm G.  

  • Error when trying to access the RBAC User editor and Message tracking

    Hi,
    I am getting an error when trying to access the RBAC User editor and Message tracking on the Web Mgmt interface. I verified that the admin account trying to access is in the Organization Management group and has the correct Role Assignment Policy applied.
    I searched through this thread below and saw that matching the msExchRoleLink and msExchUserLink attributes fixed the issue. 
    https://social.technet.microsoft.com/Forums/exchange/en-US/fc568cc6-8691-4127-b70b-bcc82f9b1f7f/first-2010-cas-server-no-administrator-rights-emc-permissions-gone?forum=exchange2010
    However I have another environment where this is not the case and works just fine; the msExchUserLink attribute has a value of CN=Organization Management,OU=Microsoft Exchange Security Groups,DC=Domain,DC=Local which is different as per the issue outlined in
    the above thread so I am not convinced that this will work and also don’t want to blindly edit something in adsiedit without being sure.
    I then checked the event logs on the server and saw the below error logged;
    Current user: 'Domain/Server Services Accounts/administrator'
    Request for URL 'https://server.domain.com/ecp/default.aspx?p=AdminDeliveryReports&exsvurl=1' failed with the following error:
    System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> Microsoft.Exchange.Management.ControlPanel.UrlNotFoundOrNoAccessException: The page may not be available or you might not have permission to open the
    page. Please contact your administrator for the required credentials. For new credentials to take effect, you have to close this window and log on again.
       at Microsoft.Exchange.Management.ControlPanel._Default.CreateNavTree()
       at Microsoft.Exchange.Management.ControlPanel._Default.OnLoad(EventArgs e)
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
       --- End of inner exception stack trace ---
       at System.Web.UI.Page.HandleError(Exception e)
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
       at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
       at System.Web.UI.Page.ProcessRequest()
       at System.Web.UI.Page.ProcessRequest(HttpContext context)
       at ASP.default_aspx.ProcessRequest(HttpContext context)
       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    Microsoft.Exchange.Management.ControlPanel.UrlNotFoundOrNoAccessException: The page may not be available or you might not have permission to open the page. Please contact your administrator for the required credentials. For new credentials to take effect, you
    have to close this window and log on again.
       at Microsoft.Exchange.Management.ControlPanel._Default.CreateNavTree()
       at Microsoft.Exchange.Management.ControlPanel._Default.OnLoad(EventArgs e)
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    I then had a look at the IIS permissions for ecp and owa. The account did not have permissions so I added them there but still got the same error. I’ve also tried all of the above with a newly-created account but still got the same issue.
    Any ideas as to what the above event log is specifically referring to?

    Hi,
    From your description, I would like to clarify the following thing:
    If you want to search message tracking logs, the account you use should be a member of the role groups below:
    Organization Management role group, Records Management role group, Recipient Management role group.
    Hope this can be helpful to you.
    Best regards,
    Amy Wang
    TechNet Community Support

  • Unable to load media error when trying to play a video in Sharepoint 2013

    My team consistently gets an error when trying to play a video in SharePoint 2013. I can upload it, pick a thumbnail and save it.  When anyone else goes to the intranet site and tries to play the video, they get a media failed to load error.
    I have tried mp4 and wmv formats. I at first thought it had to do with the codec used in Camtasia to create the video, so I encoded it in Microsoft Encoder to a wmv and it still fails. All of the videos I upload fail for other users. If someone else uploads
    a video, I get the error and cannot play the video.  If I look at the library in Explorer, the video file is missing but the subdirectories for additional content and thumbnails are present. For the videos I upload and can play but everyone else
    gets the error, I see those subdirectories as well as the video file itself.

    Result
    Protocol
    Host
    URL
    Body
    Caching
    Content-Type
    Process
    Comments
    Custom
    963
    404
    HTTP
    team.hagerman.com
    /submissions/Compiled%20Videos/AutoCAD%20-%20Multiple%20Profile%20Icons/AutoCAD%20-%20Multiple%20Profile%20Icons.wmv
    13
    private,max-age=0; Expires: Tue, 11 Feb 2014 21:58:26 GMT
    iexplore:15076
    [#956]
    Request:
    GET /submissions/Compiled%20Videos/AutoCAD%20-%20Multiple%20Profile%20Icons/AutoCAD%20-%20Multiple%20Profile%20Icons.wmv HTTP/1.1
    Accept: */*
    Accept-Encoding: gzip, deflate
    User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; .NET4.0C; .NET4.0E; Zune 4.7; AskTbAD2/5.15.4.23821)
    Host: team.hagerman.com
    If-Modified-Since: Wed, 26 Feb 2014 19:07:33 GMT
    If-None-Match: "{8A07B719-341D-4BEE-BD61-F364394C3E98},2"
    DNT: 1
    Connection: Keep-Alive
    Cookie: databaseBtnText=0; databaseBtnDesc=0; stsSyncAppName=Outlook; stsSyncIconPath=%2F%5Flayouts%2F15%2Fimages%2Fmenuoutl%2Egif; __utma=95027589.2092965952.1364844931.1393356332.1393429315.524; __utmz=95027589.1393268194.522.68.utmcsr=SilverpopMailing|utmccn=TE%20-%20St.%20Louis%20MCAD%20(12)|utmcmd=email;
    __qca=P0-1092250856-1367500502168; km_ni=joyvoltenburg; km_uq=; km_lv=x; km_ai=joyvoltenburg; grvinsights=3a306cce826491ec77d9a195a63f57f2; __avc_32508=045-8a-724d-ee8f13e900daac4; Persistent_id_HgixPXFYDDdj0w=0C78ABCB2F34:1392388341; optimizelySegments=%7B%22178845731%22%3A%22false%22%2C%22178855892%22%3A%22ie%22%2C%22179190226%22%3A%22direct%22%7D;
    optimizelyEndUserId=oeu1379624626946r0.0872463653920379; optimizelyBuckets=%7B%7D; __utmc=95027589; StorefrontCookie=cmen-US=en-US&bm=US; WSS_FullScreenMode=false; Ribbon.Read=1920886|-1|0|-687423497; Ribbon.DocLibListForm.Edit=682788|-1|0|1882364446;
    Ribbon.Library=1920886|-1|710|-687423497; Ribbon.Permission=1920886|-1|1725|1598418443; Ribbon.ListForm.Display=1920886|-1|1620|-1006461573; previousLoggedInAs=; loginAsDifferentAttemptCount=
    Authorization: Negotiate YIIF1AYGKwYBBQUCoIIFyDCCBcSgMDAuBgkqhkiC9xIBAgIGCSqGSIb3EgECAgYKKwYBBAGCNwICHgYKKwYBBAGCNwICCqKCBY4EggWKYIIFhgYJKoZIhvcSAQICAQBuggV1MIIFcaADAgEFoQMCAQ6iBwMFACAAAACjggRdYYIEWTCCBFWgAwIBBaEOGwxIQUdFUk1BTi5DT02iJDAioAMCAQKhGzAZGwRIVFRQGxF0ZWFtLmhhZ2VybWFuLmNvbaOCBBYwggQSoAMCARehAwIBE6KCBAQEggQA8udpTQGxrKxalOvdnd4xskRGpoVzVyajwNF0khIMv9FLMq/CRXZuKcNtBOP7ckJygktuJyj9JqLBomvOuyBzEEeY4+Twwbt7+lRf87Wrw6EY+efwVOV0F4/E8ggxpuMWEb92vUWnIKVG/qxLqnE0CqVY7W5i/c0tNsi6fZ0s1MY3Yh83ZtIBOCjBbcpO56i4zC3bdIbFOd/ffHlV53iNAfc2g1EryF1i3QoWjlbuLx+8wKLN2IHgmoja6wCBZ1srU0GdJQWKF//n7Yoy/rkC0lsTqzF2ZU/jNgthm8PaE1fV07CZxKJg+UEmEAWxccNwFoDHCWUy34sTBmFMroYROuR3Q+iuoVQJkxO4NbtsiRCNvo0VhZpkZaQ0Essn8GDiYeg/4M4PgAptzWOvk+MyW2nI6vZsbtPaUrS1oPZgxvQXrrt2LwphUnXT71JlLRbWg0sSJkZmWQppzdkMKs0NWauB4GviH4Jv+j7Blms8Mc+k4u/79x3CbpulvazkpbVdBLaSL7w/Qu1wJpKcsJbUV5gYhYFr+CO2TvMlsHlGq4V2bmkxWRuZE7mIfz0GwLTyK05nR2kKfZdtrflfN/T37/1xUZuEe4JuHuL57MJ5qCx3P4vVoPT7/LANKuHOiEX4v2reuejk8xXVRhm+QHMVD7YxTydNe9ncr67qG0DoPhgw32hM/ZyoIYN02yZzr18yGNOdTJkELjypvwaP8UMj4AnS0XUCiF8DNRx88byHEwhhj9l6fzLLXd3YMbOPi73Ql+pYTZs54GiDcxgRtX2BcgypwEc0gauRcItX001PlEwYjtkMh7F5ojKOmqPzcTe9TyNMGcyMNqdi1I5BBEbRqV5DqoFFdnZECg1DcXvWXVCG2StEMfp3bJ0hEf7qaHX0t0hIY23Z7GUaKAz9vDbYc/mOgLZhouyFRcP8NWZ/VAUNdRA5L74azEUyBzK3jkErd9w9DtOwM5Z4v74VxG0yQ7q8Y3LvjstLzuxiJ5U3vrydVomKEV8B6rRJXgFne2vrd8RDy+UVNIIIKBZmvqgJyqoeTELGlvsipyEx+r985RyqunWRhXpXQOXfeaqMNpB8jE/8nGpoE4Iv51LWXI3/s2pjRvsMzmYwmI1WtRBRFbSEYQrszw/eoH/8cmamjIUAMnC44jh8GfDCHt0I059p6c+Ms3Yi8D6D8KpU83D4rQJBJw+ZmND3OwwiNeZpm/scy1JLpxSI5Bl+nPky8uGabOWkwqad++6VAfQ9SbnqKLr2FLaTqstGsVp4XyFDf6tWv/cV0C3aZmuEAtCPqx4iSszCFi0gRrroNFgTm6GD58c1icSdF1OV+2Heeg5oZ1JFZHmsGUGDaHg+k91z2WKFlqSB+jCB96ADAgEXooHvBIHsaI9Tg734C48hbv/O2Dc/BMFF+LItKRkeLQ8PUQPJrUyTLHcgiAV6mB58tYtnM6Sk3HsaYuqkJs2qbFqy0SJoNGylPoc/XD7zOt39u87sbcHhIBx6JCAdFeBjfNeHnl1cV8rKobf3Znj6T9VrmHqrNs+SW0RL32sfVhc+Zhrf2Oo/7AMJoG3Uf0/eribgMl37+4bvn9XiMjVPhDolfeVaNmDwwZPEkP8WejHBclzL0+LlOaYG/TCJF19V6AscWyvNh7Z4cUvOAoM/KgDAiJfxQMcIiUyRuP2ns+FXPRQDwZ+R+gQOgblAZ0Bu4zw=
    Response:
    HTTP/1.1 404 NOT FOUND
    Cache-Control: private,max-age=0
    Content-Length: 13
    Expires: Tue, 11 Feb 2014 21:58:26 GMT
    Server: Microsoft-IIS/7.5
    X-SharePointHealthScore: 0
    Public-Extension: http://schemas.microsoft.com/repl-2
    SPRequestGuid: 1826789c-0589-80e7-31cd-3c1038ea29f6
    request-id: 1826789c-0589-80e7-31cd-3c1038ea29f6
    X-FRAME-OPTIONS: SAMEORIGIN
    SPRequestDuration: 1132
    SPIisLatency: 1
    WWW-Authenticate: Negotiate oYGyMIGvoAMKAQChCwYJKoZIgvcSAQICooGaBIGXYIGUBgkqhkiG9xIBAgICAG+BhDCBgaADAgEFoQMCAQ+idTBzoAMCAReibARqhLWFbGbcecrn5kQ/ScMjrsqhag2XcrWQQ7g0Mb6ilZ+kFIPC6XJsH7+ldzTk3eQF/4C1f2nzJxENlP2M+75fOiRZGU/r0nvjgX5MdswmrBQkRg8iqKwcwJeE/3/P7nLWVitRs21hnB19oQ==
    Persistent-Auth: false
    X-Powered-By: ASP.NET
    MicrosoftSharePointTeamServices: 15.0.0.4420
    X-Content-Type-Options: nosniff
    X-MS-InvokeApp: 1; RequireReadOnly
    Date: Wed, 26 Feb 2014 21:58:25 GMT

  • I keep receiving security errors when trying to open a pdf.

    I keep receiving a security error when trying to run my javascript program, the function previously worked, but now creates an error after I entered the addWaterMark function. I have put my whole code below for my script.
    The basic function is to load a text file into an array which has the path and file location, open the document, add a watermark, save the file, close the file, then repeat for the next array position.
    I am using Acrobat Standard so I am unable to debug using the console, therefore I am struggling to understand what I am doing wrong. I will point out that I am not a fluent programmer, only have a basic knowledge of programming.
    Code
    app.addSubMenu(
      cName:"Extras",
      cParent:"Edit"
    app.addMenuItem(
      cName:"Import File",
      cParent:"Extras",
      cExec:"main()"
    function main()
      var fileCount = 0
      var listOfFiles = []
      listOfFiles = importData()
      amountOfFiles = listOfFiles.length
      for (var i =0; i<listOfFiles.length; i++)   //calculates amount of entries in the array listOfFiles
      newFile = openFile(listOfFiles[i]) //Opens current file
      var d = app.activeDocs; //Gets current document title name 
      addWater(d[0]);
      app.execMenuItem("Save");
      for( var x in d ) d[x].closeDoc();
    function addWater(myName)
    { app.alert("watermark",0);
      myName.addWatermarkFromText(
      cText: "OBSOLETE",
      cFont: "Arial",
      nFontSize:36,
      aColor: color.red,
      nOpacity: 0.5
    //function SaveFile saves the current file but with an addition of WM to the filename
    saveFile = app.trustedFunction(function(currentDoc, currentFileName)
      { app.alert("savefile",0);
      app.beginPriv();
      currentDoc.saveAs(currentFileName);
      app.endPriv();
    //function openFile which opens the file named in the variable currentFilename
    openFile = app.trustedFunction(function(currentFileName)
      {app.alert("openfile" + currentFileName,0);
      app.beginPriv();
      app.openDoc(currentFileName);
      app.endPriv();
    //importData function imports the paths and filenames contained in the list.txt located on the desktop
    importData = app.trustedFunction(function()
      {app.alert("import",0);
      app.beginPriv();
      cFilePath = "/C/Users/103019944/Desktop/File_List.txt";
      var stmData = util.readFileIntoStream(cFilePath);
      var cData = util.stringFromStream(stmData);
      var cMsg = cData;
      var fileArray = cMsg.split("\r\n");
      for (var i =0; i<fileArray.length; i++)
      return(fileArray);
      app.endPriv();

    I have found the error, you are quite correct I had an extra letter in the filename, I thought I'd checked this but just shows that sattention to detail is the key.
    The script works perfectly now, thanks you for your help, really appreciated.
    Thanks again
    Ben

  • Keep getting VncViewer.class not found error when trying to use Windows 7

    Greetings,
    I have no issue accessing the OVM Manager 2.2 with OEL 5.4 x86_64 with the latest Java release from ULN. But when I use a Windows 7 client ( x86) with the Sun Java 6 Update 18 I get the following error when trying to access the Console of a VM Guest:
    Java Plug-in 1.6.0_18
    Using JRE version 1.6.0_18-b07 Java HotSpot(TM) Client VM
    User home directory = C:\Users\deverej
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    load: class VncViewer.class not found.
    java.lang.ClassNotFoundException: VncViewer.class
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed:http://141.144.112.202:8888/OVS/faces/app/VncViewer/class.class
         at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 7 more
    Exception: java.lang.ClassNotFoundException: VncViewer.class
    I am curious fi I should use only a specifc Java Engine with IE 7 or the latest Firefox browers.

    Same issue to with Windows XP SP3 x86 with Java Runtime Enviornment 1.5.0_15
    J2SE Enviornment 5.0 Update 15
    Java 6 Update 17

Maybe you are looking for