ARX "Access Denied" with SymLink

Please refer to this thread--
http://forums.adobe.com/thread/755480?tstart=0
--there are commonalities, but it's somewhat different so I'm starting a new thread.
Client is Win 7/x64, server is SBS2008 SP2. The remote share is a DFS share. I'm able to open files with ARX from \\domain.local\DFSRoot\DFSFolderName, but not from a Symbolic Link to the DFSFolderName folder. The path the SymLink displays is C:\Users\Public\Desktop\DFSFolderName. When I try, I get this message:
Adobe Reader
There was an error opening this document. Access denied.
[OK]
Turning off Enable Enhanced Security in Preferences/Security (Enhanced) makes no difference.
Did not have this problem with AR 9.4.
If I map a drive to the DFS share, I seem to be able to open files from the drive map or the UNC, regardless of the setting of Enable Enhanced Security.

I have what appears to be the same issue, except I encounter the issue when I try to access a file on my local drive in a folder that is a Symbolic Directory Link.  Without making any changes to ARX or anything else, I can get ARX to open the file simply by accessing the file using its actual folder path.  Maybe this will help...
C:\Folder1\MyPDF.pdf
Result: No probblem.  This is the actual folder, and ARX can open the "MyPDF.pdf" file without issue.
C:\SymLink\MyPDF.pdf
The "SymLink" folder is a symbolic directory link to the "C:\Folder1" folder. There is only 1 MyPDF.pdf file. Both paths reference the same file.
Result: ACCESS DENIED. This error is using the Adobe "Cannot open... access denied" message, not a file system or Windows error message.
NOTE - Unchecking "Enable Protected Mode at startup" does prevent this problem! (Edit -> Preferences, bottom of "General" section). However, if you want the added security offered by protected mode, then you will need to avoid the use of symbolic links until Adobe addresses this issue. I am using version 10.1.4, the latest released version as of 10-06-2012 (October 6, 2012).
I have recreated this in multiple ways, with many different types of PDF documents, which were created by three different applications.  I have already spent too much time researching this, and found my workaround for this until it is addressed by Adobe.  In every case, it breaks ONLY when I try to access the file using a symbolic link in the path name.  Note that Windows 7/8 uses symbolic directory links in a few instances, and if someone uses those folders to store PDF's, they could have problems.
NOTE - Anyone can create a symbolic link in Windows 7/8 by using the "mklink.exe" command at a command prompt.  It is included with Windows.  I have not tested whether soft or hard links to the file itself will cause the problem, but I could upon request if anyone thinks it wouldn't be time wasted.  The time I can spend on a PC at one time is limited since a car accident, but I will do it if it could help other avoid the problem that I banged my head against a wall trying to figure out.
I hope this help others facing this issue, and I hope Adobe addresses this issue in an update very soon.
-TSForrest
Good luck and happy hunting!

Similar Messages

  • Apache Error Log mod_security: Access denied with code 400

    Hi
    I am seeing the Access denied with code 400 errors in the apache log's after applying CPU Patch updates below into a Dev/TEST environment
    RDBMS Patches: 9032412 & 9352191 & post steps below:
    @?/rdbms/admin/dbmsaqds.plb
    @?/rdbms/admin/prvtaqds.plb
    @?/rdbms/admin/prvtaqiu.plb
    Java Fix > [ID 1082747.1]
    E-Business Suite Patches & post steps below:
    9323613 & 9506302
    Compiled Forms PLL files using adadmin to solve the known problem below
    ORA-04062: signature of package "APPS.FND_HELP" has been changed
    ORA-04062: KEY-HELP trigger raised unhandled exception ORA-04062.
    the error can be replicated by following the steps below:
    Log in to Oracle Apps E-Business Suite (11.5.10.2) select Report Management Information Responsibility and then transaction reports. (Opens Oracle Discoverer 4i Viewer) > select either Period to date or Year to date and then select any department & and any period (date) and then apply parameters:
    Error message in browser
    This error (HTTP 400 Bad Request) means that Internet Explorer was able to connect to the web server, but the webpage could not be found because of a problem with the address.
    For more information about HTTP errors, see Help.
    Apache log shows:
    error_log shows the following:
    [Fri Jul  8 10:52:08 2011] [error] [client 10.180.225.5] mod_security: Access denied with code 400. Pattern match "!^([-_@|#!=A-Za-z0-9/ :.$/(/)]){0,255}([-_@|#!=A-Za-z0-9/ :.$]){0,255}$" at ARGS_NAMES. [hostname "loadbalancer.webdomain"] [uri "/discoverer4i/viewer"] [unique_id ThbTSAq0BRQAABrfK7M]
    access_log shows the following:
    IP ADDRESS - - [08/Jul/2011:10:51:39 +0100] "GET /disco4iv/html/images/shadow_bottom02_leading_ltr.gif HTTP/1.1" 200 861 0
    IP ADDRESS - - [08/Jul/2011:10:51:39 +0100] "GET /disco4iv/html/images/seperator.gif HTTP/1.1" 200 42 0
    IP ADDRESS - - [08/Jul/2011:10:51:39 +0100] "GET /disco4iv/html/images/arch_blue_bottom_ltr.gif HTTP/1.1" 200 984 0
    10.180.225.5 - - [08/Jul/2011:10:51:39 +0100] "GET /disco4iv/html/images/white.gif HTTP/1.1" 200 37 0
    IP ADDRESS - - [08/Jul/2011:10:51:39 +0100] "GET /disco4iv/html/images/bar_blue_leading_edge_middle_ltr.gif HTTP/1.1" 200 111 0
    IP ADDRESS - - [08/Jul/2011:10:51:39 +0100] "GET /disco4iv/html/images/bar_blue_trailing_edge_middle_ltr.gif HTTP/1.1" 200 129 0
    IP ADDRESS - - [08/Jul/2011:10:51:39 +0100] "GET /disco4iv/html/images/shadow_bottom_leading_edge_ltr.gif HTTP/1.1" 200 862 0
    IP ADDRESS - - [08/Jul/2011:10:51:39 +0100] "GET /disco4iv/html/images/btopshadow.gif HTTP/1.1" 200 44 0
    IP ADDRESS- - [08/Jul/2011:10:51:39 +0100] "GET /disco4iv/html/images/bshadow.gif HTTP/1.1" 200 59 0
    IP ADDRESS - - [08/Jul/2011:10:52:08 +0100] "POST /discoverer4i/viewer HTTP/1.1" 400 227 0
    I have tried to follow a number of metalink notes but unable to resolve this issue, metalink notes looked at are:
    976473.1
    389558.1
    1313128.1 Patch 10324904 applied
    394587.1
    389558.1 Patch 5107107 applied
    1143882.1
    376992.1 Patch 3950067 applied
    Any ideas or suggestions most welcome
    Thank you
    Regards
    Arfan
    Edited by: user1717313 on 08-Jul-2011 04:59

    Hi JD
    I have tried the steps i.e stop apps tier, run adconfig on apps tiers and then started services on apps tiers and can replicate the error
    thanks
    Arfan
    Hi Helios
    I checked note 1080465.1 Patch 9506302 has been applied & Recompile all Forms PLL files using adadmin.
    I ran the sql feom the note, output below
    SQL> select text from dba_source where name='FND_HELP' and line <3;
    TEXT
    package Fnd_Help AUTHID CURRENT_USER as
    /* $Header: AFMLHLPS.pls 115.22 2009/10/12 12:56:58 nchiring ship $ */
    package body FND_HELP as
    /* $Header: AFMLHLPB.pls 115.115 2010/03/19 06:45:24 nchiring ship $ */
    Thanks
    Arfan
    Edited by: user1717313 on 08-Jul-2011 05:04

  • Mod_security: Access denied with code 400 in R12

    Hi ,
    I'm getting "Page cannot be found" error during my below navigation in R12
    -- Steps To Reproduce:
    The issue can be reproduced at will with the following steps:
    1. Responsibility: Oracle Configurator Developer
    2. Create Rules, Apply and Save
    3. Get error
    EBS R12.1.2
    DB 11.2.0.1
    OS RHEL 5
    following is extract from my Apache log
    [Fri Nov 12 08:40:40 2010] [error] [client 192.168.26.144] mod_security: Access denied with code 400. Pattern match "!^([-_|#!=A-Za-z0-9/ :.$()]){0,255}$" at ARGS_NAMES. [hostname "indstqebs02.indalfab.local"] [uri "/OA_HTML/OA.jsp?Action=EditNode&stackLevel=2&page=/oracle/apps/cz/developer/model/rules/webui/RuleTmpPG&czWhichRule=XCP&czRuleId=2604&czParentRuleFolderId=1800&czModelId=1420&ObjectType=XCP&ReturnLinkURL=OA.jsp%3FOAFunc=CZDEVRULESTRUCTFUNC&selection=0_1_4_&_ti=210565512&retainAM=N&addBreadCrumb=RP&oapc=44&oas=qUuMo8fwvn7jpCTNnv0TYQ.."] [unique_id TNzveH8AAAEAAAHrA1w]

    Hi;
    Did you check all? Those note are for R11 but as you can see Applies to: Information in this document applies to any platform. If the notes doestn mention any patch than i belive you can follow docs.
    If those 12 docs dont help you than i suggest log a SR
    By the way in your post:
    1. Responsibility: Oracle Configurator Developer
    2. Create Rules, Apply and Save
    3. Get error
    What you get error? What is exact error message? Maybe we can find solution by this error message? Did you also check application log file?
    Regard
    Helios

  • Mod_security: Access denied with code 405. Pattern match "!(GET|HEAD|POST)

    Hi all,
    After Cloning facing an issue
    mod_security: Access denied with code 405. Pattern match "!(GET|HEAD|POST)"
    and not able to get the login prompt
    EBS: 12.1.3
    DB:11G
    Please help as this is urgent.
    Regards,
    Raj.

    Hi Hussein/Srini,
    My OS details are as follows
    Source OS : OE Linux 5X
    Target : REHL
    DB : 11.2.0.3
    In my previous cloning the R12 login URL was not getting redirected to https from http. This backup was given by client last week and I completed the cloning and post cloning procedures without any error, but unable to login as the page is redirecting to https:/hostname:port/OA_HTML/AppsLogin.
    I have done the following so far, but the issue is not getting resolved.
    1) Generated JAR files using ADADMIN (Force)
    2) Compiled JSP
    3) Ran autoconfig multiple times without any error in both db and application tiers.
    4) DB alert log did not have any error.
    5) Executed relink all from APPL_TOP
    6) Able to launch http://XXXXXXXXX:XXXX/forms/frmservlet?
    Kindly help me out on this
    Regards

  • Question about "mod_security: Access denied with code 400"

    Dear All,
    After merged clone's configure the application tier server nodes. I can get in form window, but after merged clone's finishing tasks:1.Generate JAR files / generate message files / relink executables / copy files to destination. I can't open form window any more.
    The apache error_log will show below
    mod_security: Access denied with code 400. Pattern match "!^([-_@|#!=A-Za-z0-9/ :.$]){0,255}([-_@|#!=A-Za-z0-9/:.$]){0,255}$" at ARGS_NAMES. [hostname "hcp11et30.liteonit.com.tw"] [uri "/oprocmgr-service"] [unique_id TugHyQoG2lsAAFOwD84]
    Then referred Note 389558.1, and can login normally, But the same error messages still keeping reporting in error_log.
    Please advise?
    Thanks,
    Jackie

    Hi;
    Did you check below notes:
    Access Denied With Code 400 When Starting Forms or Calling MOD_PLSQL [ID 394587.1]
    Why do we see Error: mod_security: access denied with code 400 IN OCO pages? [ID 976473.1]
    Regard
    Helios

  • Create Set with Access Denied with filter permissons correct

    I am standing up a FIM lab and need to create a set. I'm logged in as an administrator and the attribute I want to use in the SET's filter is "HR Effective Status." I give the set a name, create the filter with the HR Effective
    Status attribute and view the members with no problems. However, when I click the submit button, I get an access denied error (see screen shot). Prior to creating the set, I had added this HR Effective Status attribute to both the Filter permission objects
    (Administration-->All Resources-->Filter Permission), but this does not seem to be the problem. Both MPRs that are kicked off seem to be set properly too. Any ideas on what the problem might be?
    Thank you in advance for any help!

    Just checking some things that people sometimes forget:
    since you created your new attribute/binding, have you restarted the FIMService and performed an IISRESET on the FIM web server?
    have you checked the FIM event log (Event Viewer/Applications and Services Logs) for a more detailed error when you get the general "Denied" exception when saving your query-based set?
    if the FIM database has been used for a while, chances are you will need to reindex some things - you may just be getting timeouts.
    Bob Bradley (FIMBob @
    TheFIMTeam.com) ... now using FIM Event Broker for just-in-time delivery of FIM 2010 policy via the sync engine, and continuous compliance for FIM

  • Access Denied with Business Connector 4.7

    Dear SAPiens,
    I am trying to call a RFC-FM via a webservice from outside the SAP system via Business Connector 4.7. I always get a "Access Denied" Error message within the XML answer-envelope.
    For testing I use the soapUI. I downloaded the WSDL from the Business Connector Developer and imported it to soapUI.
    In soapUI I used the following coding for execution in a testcase:
    <soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:mob="http://172.16.34.33/MobileDataEntry" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
       <soapenv:Header/>
       <soapenv:Body>
          <mob:CustomerOrderCreate soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
             <DISTR_CHAN xsi:type="xsd:string">01</DISTR_CHAN>
             <DIVISION xsi:type="xsd:string">00</DIVISION>
             <DOC_TYPE xsi:type="xsd:string">ZMDE</DOC_TYPE>
             <PARTN_NUMB xsi:type="xsd:string">0000102642</PARTN_NUMB>
             <PARTN_ROLE xsi:type="xsd:string">AG</PARTN_ROLE>
             <REQ_DATE_H xsi:type="xsd:string">20080420</REQ_DATE_H>
             <SALES_ORG xsi:type="xsd:string">4920</SALES_ORG>
             <MATERIAL xsi:type="non:MATERIAL" soapenc:arrayType="non:MATERIALArrayItem[]" xmlns:non="http://www.webMethods.com/noNamespace/"/>
             <RETURN xsi:type="non:RETURN" soapenc:arrayType="non:RETURNArrayItem[]" xmlns:non="http://www.webMethods.com/noNamespace/"/>
          </mob:CustomerOrderCreate>
       </soapenv:Body>
    </soapenv:Envelope>
    The given answer is:
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema">
       <SOAP-ENV:Body>
          <SOAP-ENV:Fault>
             <faultcode>SOAP-ENV:Client</faultcode>
             <faultstring>[B2BSERV.0088.9134] Exception occurred while processing the body of the message</faultstring>
             <faultactor>http://172.16.34.33:5555/soap/rpc</faultactor>
             <detail xmlns:webM="http://www.webMethods.com/2001/10/soap/encoding">
                <webM:exception>
                   <webM:className>com.wm.app.b2b.server.AccessException</webM:className>
                   <webM:message xml:lang="en">[B2BSERV.0084.9004] Access Denied</webM:message>
                </webM:exception>
             </detail>
          </SOAP-ENV:Fault>
       </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    I can call the function module without any problem from the Busines Connector Developer IDE.
    I also can call the function without any problems in this way (by passing my credentials manually):
    http://172.16.34.33:5555/invoke/MobileDataEntry/CustomerOrderCreate?DISTR_CHAN=01&DIVISION=00&DOC_TYPE=ZMDE&PARTN_NUMB=0000102642&PARTN_ROLE=AG&REQ_DATE_H=20080420&SALES_ORG=4920
    Do you have any idea what is going wrong? Why do I get "Access Denied"? What causes this?
    Best regards
    Torsten

    Hi Christian,
    this solved my problem two weeks ago.
    I actually run the solution with 'Anonymous' access, as I don't know how to submit the Username with soapUI (header entry does not work). soapUI is a generic SOAP testing frontend (see soapui.com).
    Everything of our solution is under development at this time. I guess, that the final client service will not deal with those problems.
    Nevertheless, you get the points...
    Best regards
    Torsten

  • Applet access denied  with Tomcat 4.1.29 -- Plz Help

    I searched for answers in the forum and used the jarsigner to certify an applet that uses Oracle thin driver. Modified the catalina.policy to:
    grant {
            permission java.security.AllPermission;
    permission java.net.SocketPermission "127.0.0.1:1024-", "accept, connect, listen, resolve";
              }; I am still seeing this error:
    access denied (java.net.SocketPermission 127.0.0.1:1521 connect, resolve)PLEASE HELP
    Murthy

    Thanks for the clarification! I created a java.policy file on the client. I'm now seeing null pointer for the connection variable. BTW, on the client I saved the java.policy at $HOME and the policy tool says it can't find it!!!

  • Error 20544 Access Denied with Crystal ActiveX control in VB6

    Post Author: beckybear
    CA Forum: General
    We have a piece of legacy software written a while ago that is in VB6 using the Crystal ActiveX control crystl32.ocx.  We use 8.5 of Crystal Reports.About 50 or so users have this program loaded and it runs a single crystal report from a server location.  Most days, everything runs just fine, but lately more and more we've been having a problem where our some of our users get the message "Runtime Error 20544.  Access to report file denied.  Another program may be using it."  The same user will continue to get this error, even after rebooting, while others continue with no issues.  It's never the same people affected day to day.  And it always works for everyone the next day.I've read about a 20 limit on reports, but new users can log in and use the program with no problem, so if it's a connection limit, it doesn't seem right that new users would work.  Also, the workaround for that I found for that particular limit problem, setting it as a temporary report, doesn't seem to be available with the ActiveX control.  We cannot reliably reproduce the problem.So I guess my questions are, do you have any idea why it would work the next day without a reboot of the server or the user's machine?  If this is a limit problem, where is that limit stored, or how can I test to see that it is the limit problem?  What else could it be and is there anything I can add in the VB program to try and prevent this (cleanup, checks, etc.)?  Is this ActiveX control still supported and recommended with version 8.5?  Is there a different component we should be using?Thanks in advance for any help you can offer for this frustrating problem.  I searched the old archives and found others reporting this problem, but no solutions.

    Post Author: RayK
    CA Forum: General
    Did you find a solution for this problem?  I'm having the same sporadic problem with Crystal 8.5.  It usually goes away for a user by logging out and back in, but I'm getting a lot of complaints.  The report is being sent directly to the printer - no Preview mode as has been reported as the cause for some people.
    Thanks

  • Cross Frame Remote Scripting  = Access Denied with servlets

    In a Nutshell what I'm trying to accomplish is to update some data in a web
    page by posting to a servlet and not reload the whole page. So I created an
    <IFRAME> to do the dirty work. I am using javascript/dom to copy data from
    the <IFRAME> to the parent.
    This works fine when the URLs are for example...
    parent page = http://localhost:8080/somepath/somepage.html.
    iframe page = http://localhost:8080/somepath/someIframe.html.
    I understand that there is a security restriction(IE 5 and up) crossing
    domains, and this is where some of my comfusion is coming into play.
    When I change the URLs to the my dns address and iframe points to a
    servlet.....
    parent page = http://samw:8080/somepath/somepage.html.
    iframe page = http://samw:8080/somepath/someIframeServlet
    I get an "Access is Denied" error message as I believe the browser thinks
    that the domains are not the same. Not sure though.
    Are there any work arounds to this problem?
    Requirements are IE 5.5 and up, Tomcat as the Servlet Engine, and only the part of the page displaying the data collected gets refreshed.
    Thanks,
    Sam

    This is a security feature of the browser's scripting engine - you cannot access the DOM of a window/frame on a different domain, regardless of whether or not the actual server serving up your page is the same serving up the other. The only recourse is to make sure you use the same domain in the urls for frame sources.
    Hope this helps,
    -Scott

  • Access Denied with EJB Deployment to 8i with JDeveloper

    Hi,
    I'm having a problem deploying an EJB to Oracle 8i with
    JDeveloper 2.0.
    I am receiving an insufficient privileges error in the
    deployment process when it reaches the stage Generating EJBHome
    and EJBObject on the server. I am logging in using the system,
    sys, scott or internal account and all still receive the same
    error. What role/privelege do I need to deploy an ejb to 8i?
    Thanks in advance.
    Here is a dump of the output JDeveloper produces.
    *** Invoking the Oracle JDeveloper deployment utility ***
    Scanning project files...done
    Generating classpath dependencies...done
    Generating archive entries table...done
    Writing archive...done
    *** Invoking the Oracle8i deployment utility ***
    Reading Deployment Descriptor...done
    Verifying Deployment Descriptor...done
    Gathering users...done
    Generating Comm Stubs...done
    Compiling Stubs...done
    Generating Jar File...done
    Loading EJB Jar file and Comm Stubs Jar file...done
    Generating EJBHome and EJBObject on the
    server...oracle.aurora.server.tools.sess_iiop.ToolsException: A
    SQL exception occured while compiling:
    oracle.aurora.ejb.gen.test_MyEJB.EjbObject_MyEJB : ORA-01031:
    insufficient privileges
    at oracle.aurora.server.tools.sess_iiop.ToolImpl.error
    (Compiled Code)
    at oracle.aurora.ejb.deployment.GenerateEjb.generateBean
    (Compiled Code)
    at oracle.aurora.ejb.deployment.GenerateEjb.invoke
    (Compiled Code)
    at oracle.aurora.server.tools.sess_iiop.ToolImpl.invoke
    (Compiled Code)
    at
    oracle.jdeveloper.wizard.deployment.EJBDeployMonitor.run
    (Compiled Code)
    at oracle.jdeveloper.wizard.common.ProgressDialog.run
    (Compiled Code)
    at java.lang.Thread.run(Compiled Code)
    null

    Chris,
    Perhaps you should be checking if the user you wish to deploy
    EJBs to has at least JAVAUSERPRIV.
    As SYSTEM
    grant JAVAUSERPRIV to <user>;
    Good luck
    /Mark
    Chris Jones (guest) wrote:
    : Hi,
    : I'm having a problem deploying an EJB to Oracle 8i with
    : JDeveloper 2.0.
    : I am receiving an insufficient privileges error in the
    : deployment process when it reaches the stage Generating EJBHome
    : and EJBObject on the server. I am logging in using the system,
    : sys, scott or internal account and all still receive the same
    : error. What role/privelege do I need to deploy an ejb to 8i?
    : Thanks in advance.
    : Here is a dump of the output JDeveloper produces.
    : *** Invoking the Oracle JDeveloper deployment utility ***
    : Scanning project files...done
    : Generating classpath dependencies...done
    : Generating archive entries table...done
    : Writing archive...done
    : *** Invoking the Oracle8i deployment utility ***
    : Reading Deployment Descriptor...done
    : Verifying Deployment Descriptor...done
    : Gathering users...done
    : Generating Comm Stubs...done
    : Compiling Stubs...done
    : Generating Jar File...done
    : Loading EJB Jar file and Comm Stubs Jar file...done
    : Generating EJBHome and EJBObject on the
    : server...oracle.aurora.server.tools.sess_iiop.ToolsException: A
    : SQL exception occured while compiling:
    : oracle.aurora.ejb.gen.test_MyEJB.EjbObject_MyEJB : ORA-01031:
    : insufficient privileges
    : at oracle.aurora.server.tools.sess_iiop.ToolImpl.error
    : (Compiled Code)
    : at oracle.aurora.ejb.deployment.GenerateEjb.generateBean
    : (Compiled Code)
    : at oracle.aurora.ejb.deployment.GenerateEjb.invoke
    : (Compiled Code)
    : at oracle.aurora.server.tools.sess_iiop.ToolImpl.invoke
    : (Compiled Code)
    : at
    : oracle.jdeveloper.wizard.deployment.EJBDeployMonitor.run
    : (Compiled Code)
    : at oracle.jdeveloper.wizard.common.ProgressDialog.run
    : (Compiled Code)
    : at java.lang.Thread.run(Compiled Code)
    null

  • Access denied with DI and C#

    Hello,
       I can connect with VB.NET, but I cant do it with C#.
    I was traslated the sintax of same code in each language, but doens't work.
    Also, I was include one VB project into my .NET solution, but the same function that work at VB.NET solution, called from my project C# doesn't work.
    ¿any idea?, thanks
    the code C#:
              private SAPbobsCOM.Company ConnectDataBase(string dbName)
                   try
                        Company vCompany ;
                        int lRetCode;
                        int lErrCode;
                        string sErrMsg;
                        vCompany = new SAPbobsCOM.Company();
                        vCompany.Server = "(local)";
                        vCompany.CompanyDB = dbName;
                        vCompany.UserName = "manager";
                        vCompany.DbUserName = "sa";
                        vCompany.DbPassword = "";
                        vCompany.Password = "manager";
                        vCompany.language = SAPbobsCOM.BoSuppLangs.ln_Spanish;
                        vCompany.UseTrusted = false;
                        lRetCode = vCompany.Connect();
                        lRetCode = vCompany.Connect();
                        if(lRetCode != 0)
                             vCompany.GetLastError(out lErrCode, out sErrMsg);
                        return vCompany;
                   catch(Exception ex)
                        string mess = ex.Message ;
                        return null;
    the code VB:
        Public Function ConnectDataBase(ByVal dbName As String) As SAPbobsCOM.Company
            Dim vCompany As SAPbobsCOM.Company
            Dim lRetCode, lErrCode As Long
            Dim sErrMsg As String
            Dim strCookie As String
            Dim strConnectionContext As String
            Try
                vCompany = New SAPbobsCOM.Company
                vCompany.Server = "(local)"
                vCompany.CompanyDB = dbName
                vCompany.UserName = "manager"
                vCompany.DbUserName = "sa"
                vCompany.DbPassword = ""
                vCompany.Password = "manager"
                vCompany.language = SAPbobsCOM.BoSuppLangs.ln_Spanish
                vCompany.UseTrusted = False
                lRetCode = vCompany.Connect
                If lRetCode <> 0 Then
                    vCompany.GetLastError(lErrCode, sErrMsg)
                End If
                Return vCompany
            Catch ex As Exception
                Return Nothing
            End Try
        End Function
    thanks.

    I also program in C#, this is my code, works like a charm...
    <b>Code (C#)</b>
    SboGuiApi = new SAPbouiCOM.SboGuiApiClass();
    ConnectionString = Environment.GetCommandLineArgs().GetValue(1).ToString();
    SboGuiApi.Connect(ConnectionString);
    SAPbouiCOM.Application SBO_Application = SboGuiApi.GetApplication(0);

  • I cannot open files - they come up with an error opening this file - access denied.  Help!

    All my adobe files are now the same - they will not open at all - access denied with no reason other than an error!  Help!

    Hi - Strangely enough the files opened the very next time I tried!  It 
    must be my fickle computer!  My Adobe is quite new so I do not think it is 
    outdated.
    Thanks for the reply anyway - I will plough on.
    Cheers -Patti
    In a message dated 01/04/2015 09:57:13 GMT Daylight Time, 
    [email protected] writes:
    You  have been mentioned
    by  Anubha  Goel
    (https://forums.adobe.com/people/Anubha+Goel?et=notification.mention)  in Re: I cannot open files - they come up with an error 
    opening this file - access denied. Help! in Adobe Community - _View  Anubha
    Goel's reference to you_
    (https://forums.adobe.com/message/7394775?et=notification.mention#7394775)

  • Hyper-V 2012 R2 roles, access denied, failed to connect to service, AzMan....

    Hi All,
    I have followed dozens of tutorials to set up roles for Hyper-V, but I keep coming up short. I have no problem managing the five domain-joined 2012 R2 Core Hyper-V servers we have remotely from my Windows 8.1 PC, but I have a lab box I would like to grant
    specific permissions to some Help Desk users on.
    The key tutorial I have followed is from John Howard (http://blogs.technet.com/b/jhoward/archive/2008/04/01/part-4-domain-joined-environment-hyper-v-remote-management-you-do-not-have-the-requested-permission-to-complete-this-task-contact-the-administrator-of-the-authorization-policy-for-the-computer-computername.aspx),
    but it still does not allow a non-admin account to use Hyper-V Manager remotely. Without his tutorial, I get access denied with my "TestUser" account. After following his steps, Hyper-V Manager appears to connect to the server, but says "The
    Virtual Machine Management service is not available." Even using his HVRemote with the /show flag, everything shows as PASSED.
    Digging deeper, I see dozens of failed audit Event Viewer logs saying "TestUser" is requesting READ to Service Control Manager. That sent me searching, and I found
    http://arnoutboer.nl/weblog/?p=300 and http://msdn.microsoft.com/en-us/library/windows/desktop/aa374928(v=vs.85).aspx.
    After granting "AU" (Authenticated Users) every permission resembling "read", Hyper-V Manager now shows "There are no virtual machines to show" (or something along those lines); even though I know there are about 30 VMs on this
    host. I try to create a new VM (out of curiosity, and now that those options actually appear), and I get permission denied immediately after the create VM wizard pops up.
    Why is this such a convoluted process? I would appreciate any help creating Roles for Hyper-V 2012.
    Thank you in advance!

    Hi Eric (cool name BTW!)
    Putting them in Hyper-V Administrators is definitely not an option.
    I absolutely believe Microsoft would do something to push you into buying their software; just as we had to purchase Windows 8.1 Pro to remotely manage our 2012 R2 servers. However, as far as I am seeing, AzMan is still in 2012 R2. Whether it works or not
    is another story, but AzMan.msc is still there and I can run it on any of our 2012 R2 GUI installs.
    Actually just found this:
    http://technet.microsoft.com/en-us/library/dn303411.aspx. According to that, it has not yet been removed, but it has been deprecated. From what I am seeing, the Hyper-V portion of it is definitely broken.
    I will look into the remote endpoints solution you mentioned. Thank you for the suggestion. I just recently took the plunge into learning C++, so maybe a Hyper-V manager of sorts will be an app to
    attempt to write, haha.
    Eric Christensen

  • Internet Explorer 11 silent uninstall - Access Denied

    Hey,
    We are trying to uninstall IE11 on some devices via SCCM.
    Unfortunately our command line:
    FORFILES /P %WINDIR%\servicing\Packages /M Microsoft-Windows-InternetExplorer-*11.*.mum /c "cmd /c echo Uninstalling package @fname && start /w pkgmgr /up:@fname /norestart"
    Returns "Access Denied" with a popup window...even running as system account with PSexec.exe
    Of course our users cannot see the popup window during deployment by SCCM and installation runs into timeout.
    If I run the command line manually via and select 'OK' at the popups the uninstallation goes on and works after restart.
    How is the recommended way by Microsoft of uninstalling IE11?
    Thank you.
    Kind Regards

    Hi Torsten,
    thank you for your help.
    The access denied happens always for the two red marked files.
    If there is an language pack installed there is an additional access denied.
    Something more I found is that after internet explorer 11 update and restart the desktop background of each user is black.
    If I restart again it is gone and user sees his desktop background again.
    (Of course no real 'issue' but users are frustrated and are not very please of IE11 at the beginning)
    Kind Regards
    Martin Kraemer

Maybe you are looking for