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);

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

  • When accessing eBay with Firefox and launching a search, I get less results/hits with Firefox then when using Internet Explorer, why? Try it, you'll see.

    For example access eBay with Firefox and launch a search on the word Frankenstein: you'll get something like 23,671 results (if you search in ''All categories''). Then quit the Firefox browser and load Microsoft Internet Explorer instead; access eBay again and repeat the very same search: this time you'll get 25,383 results. These are reral figures that I tried at 19:21 on March 20, 2014. Why does a search on eBay through Firefox report less hits than the very same search through Internet Explorer? Using Firefox rather than Microsoft Internet Explorer automatically means missing hits/results/items on eBay: that doesn't make sense but it does happen. Why is it so? Thank you, somebody, for shedding light on this problem.

    Try this steps and try to load the same once again!!!
    Hello,
    Many site issues can be caused by corrupt cookies or cache. In order to try to fix these problems, the first step is to clear both cookies and the cache.
    Note: ''This will temporarily log you out of all sites you're logged in to.''
    To clear cache and cookies do the following:
    #Go to Firefox > History > Clear recent history or (if no Firefox button is shown) go to Tools > Clear recent history.
    #Under "Time range to clear", select "Everything".
    #Now, click the arrow next to Details to toggle the Details list active.
    #From the details list, check ''Cache'' and ''Cookies'' and uncheck everything else.
    #Now click the ''Clear now'' button.
    Further information can be found in the [[Clear your cache, history and other personal information in Firefox]] article.
    Did this fix your problems? Please report back to us!
    Thank you.

  • 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!

  • 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

  • MS Access Drivers with CF8 and OSX

    I have working MS Access data source - files working with dev
    ed. CF8 on XP. I just installed dev ed. of CF8 on OSX.
    I don't see any available drivers for MS Access on OSX ....
    is this possible to setup?
    Can you download and install the drivers somehow?
    Also - is there a way to setup MS Access data sources that
    are already on my web site so the production files can be accessed
    directly from CF8 dev? If so - How?
    Thanks for your help in advance!

    Does anyone know if this will work with VBA?
    - Nope. There are only two SDKs shipping with CR 2008 and later; .NET and Java
    I am fairly sure that the .Net SDK files are COM-visible so that they could be referenced by a VBA app...
    - Perhaps. However, not supported. See the supported platforms documentation;
    http://www.sdn.sap.com/irj/boc/go/portal/prtroot/docs/library/uuid/00225757-ab5c-2c10-c1a8-fb9f9f0f4ac2?quicklink=index&overridelayout=true
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • SBS 2003 server admin rights dont work access denied on VSS and Network settings

    Hi I have just taken over support for a company and have inherited a SBS 2003 Server.
    The server has had no backup for over a year (when the last admin left).
    VSS does not work, so the back does not work, unable to install any other backup as no admin rights.
    I want to repair it so I can do a backup to move to a new server.
    I did not know the administrator account password (the last admin didn't tell anyone)
    So I used a password reset boot cd and then restarted Windows 2003 in Directory Service Restore Mode.
    Copied SRVANY and INSTSRV to a temporary folder, mine is called D:\temp. Copied cmd.exe to this folder too. Next ran at a command prompt instsrv PassRecovery "d:\temp\srvany.exe"
    next
    Started Regedit, and navigated to
    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\PassRecovery
     Created a new subkey called Parameters and added two new values:
    name: Application
    type: REG_SZ (string)
    value: d:\temp\cmd.exe
    name: AppParameters
    type: REG_SZ (string)
    value: /k net user administrator 123456 /domain
    "123456 is substituted for the password I used" Im not daft enough to publish it lol
    Next
    opened the Services applet (Control Panel\Administrative Tools\Services) and opened the PassRecovery property tab. Checked the starting mode is set to Automatic.
    to the Log On tab and enable the option Allow service to interact with the desktop.
    Restart Windows normally, SRVANY run the NET USER command and reset the domain admin password.
    OK so now I am logged in as administrator but guess what I still don't have admin rights???
    I can add new user with admin rights and log in as them but they still don't have admin rights Im totally lost??????????? Help please

    I'm thinking the previous tech may have renamed the built-in domain Administrator and then created a new account called 'administrator' with lesser rights?  He then used another domain admin account to manage the server. 
    If so, and given the fact that you don't know any domain admin account usernames or passwords, I think you may be in for a move to a new server without a proper NT backup of the SBS 2003. 
    However, If you can at least log into the SBS 2003, I wonder if you could download and run DIsk2VHD and create VHDs (not VHDX) of the current SBS 2003 drives, saving them to an external USB drive connected to the server. 
    You could then 'attach' the VHDs to a Win7 Pro computer and gain access to the files/folders, although not the Active Directory stuff.  Moving Exchange and Sharepoint would impose additional pain.  For Exchange, you could log
    onto workstations as each user and export their Exchange mailboxes as .PSTs.  I believe you could do the same with any Public Folders.
    Disk2VHD
    http://technet.microsoft.com/en-us/sysinternals/ee656415.aspx
    How to Mount a Virtual Hard Disk in Windows 7
    http://www.online-tech-tips.com/windows-7/mount-vhd-windows-7/
    Of course, the owner could also have his attorney contact the previous tech and threaten legal action unless he coughs up the correct domain admin username and password.  That username and password belong to the owner, not the
    tech.
    Merv Porter
    =========================

  • Using remote desktop web access (RDWEB) with remoteapps and a traditional remote desktop

    I configured windows 2012 r2 remote desktop services and remote desktop web access (rdweb) and was able to click the icon on the rdweb page to log on to a remote desktop session. When I published a remoteapp program, the remote desktop icon went away. How
    do I get it back? Do I need to publish remote desktop as a remoteapp so users can both use remote apps and log on to a traditional remote desktop session?
    thanks in advance for the help

    Hi,
    You can just publish RDC as RemoteApp and then can connect to the desired remote desktop connection. You can check the below snap.
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

Maybe you are looking for

  • A suggestion for a new itunes addition

    Hi all, This may sound overly simple, but when I thought why do we all love (or use) iTunes there are 2 major reasons. And then, over time they blend into 1. The first is our iPods (etc) require them. The second reason is it keeps our media organised

  • Trigger on a view on a linked db

    I have an access db that i have 'hooked' into with a database link inside of Oracle. I then have an oracle view based on that linked database so i can see the records that are over in access. This all works well. What i would like to do now is create

  • Irregular outlined GIF images

    Did we already cover this one? Gif images direct to Pages document still have a square background. The tutorial (giraffe), shows the copy can easily cope lettering to the shape of irregular images. My Gif transparent background matte is set to NONE f

  • About to purchase my very first MAC computer, got a few quick ?'s...

    ok I think I'm about to buy the 24" iMac... Except I have never even seen a MAC computer in my life! I have only experienced windows computers... Anything important I need to know before my purchase? Also is there a new designed iMac coming out soon?

  • Apps are not opening in my Nokia Lumia 530!!

    Many apps are not opening in my Lumia 530. For example, when I click on hike messenger it shows hike starting image and then the screen got black. After 2 or 3 seconds the home page of my phone opens. What should I do? Please help. Don't suggest me t