"No response from the backend application". Oracle DB

Hi everybody,
I have a problem with a connection to a Oracle DB. Here are the steps:
1. I created a system in my portal to call a Oracle DB with the SAP template com.sap.portal.systems.jdbc.jdbc_system
2. I filled the parameters and the conection test is ok.
3. I created an iView based on com.sap.portal.applications.enterprise.iviews.Database_JDBC_iView
4. This iView use the system I created before and is sending a simple query.
The result is the message:
"No response from the backend application"
I have been reading the page
http://help.sap.com/saphelp_nw04/helpdata/en/29/acd8403e37762ae10000000a155106/frameset.htm
in Help.sap and i supose that my case could be 1.2 because I have mapped an user (case 1.1) and my DB is up and connection is ok (case 1.3), but...what have i to recheck in my configuration to remedy the situation??
Thanks all.
Guillermo.

Hi Ramesh,
Yes I am using the driver class but in the connection URL I wrote jdbc:sap:oracle://183.145.5.10:1527;sid=HEX
And here my question is, have I to put user and password of the administrator of the DB in this parameter? I dind't put because I mapped later in user management.
And the connection tests is successful.
Thanks for the awnser.
Guillermo.

Similar Messages

  • How to call a package from the Report in Oracle Application Express

    How to call a package from the Report in Oracle Application Express

    Hello,
    What do you mean? Something like SELECT mypackage.function( par1, par2) from dual?
    Or do you want to execute a procedure when something happens on the page, like clicking a button?
    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    You can reward this reply by marking it as either Helpful or Correct ;-)

  • I am trying to pass the value of a field from the seeded page /oracle/apps/

    I am trying to pass the value of a field from the seeded page /oracle/apps/asn/opportunity/webui/OpptyDetPG. The value I want is in the VO oracle.apps.asn.opportunity.server.OpportunityDetailsVO and the field PartyName.
    I have created a button on the page whose destination URL is
    OA.jsp?OAFunc=XX_CS_SR_QUERY&CustName={#PartyName}
    It opens the correct page, but in the URL it shows this
    http://aa.com:8005/OA_HTML/OA.jsp?OAFunc=XX_CS_SR_QUERY&CustName=&_ti=1897289736&oapc=177&oas=x5E2TIfP1Y0FykBt1ek4ug..
    You can see that &CustName is not getting the proper value. Do I need to do something different?

    You cannot call the form with OA.jsp . This is applicable only for OAF based pages registered as a function.
    For calling a Form, use the below example:
    You have to change the application responsibility key and form function name .
    "form:PN:PN:STANDARD:XXPNTLEASE:QUERY_LEASE_ID={@QueryLeaseNumber}"
    Regards,
    Sudhakar Mani
    http://www.oraclearea51.com

  • OID SSO Logout issue from the partner application

    As per the below link I am trying the logout functionality from the partner application,
    http://download.oracle.com/docs/cd/B14099_19/idmanage.1012/b14078/tpsso.htm#i1011555
    The article talks about a logout url pattern, I am trying to execute the below from the partner application.
    https://single_sign-on_host:single_sign-on_ssl_port/pls/orasso/orasso.wwsso_app_admin.ls_logout?p_done_url=done_url
    The issue I got is OID server is not redirecting to the p_done_url, it just stays in the same OID logout page, Do I have to create any configuration entry to get the redirection working?
    Thanks

    Hi All,
    Providing more information,
    What I get is the OID logout screen with two return buttons on top and bottom of the page.
    If I found is when I click any of those it goes to the p_done_url but What I want is
    instead of stopping in the OID logout page, auto redirection to the p_done_url,
    Can this be done.
    Thanks

  • Hi, I am using USB 8476s to communicat​e to a slave unit in LIN network using LabVIEW7.1​. Can anyone tell me how i can send a header file plus 1 byte of data to the slave in a LIN network. or how do i use ldf file. i want to read responses from the slave

    Hi,   I am using USB 8476s to communicate to a slave unit in LIN network. Can anyone tell me how i can send a header frame plus 1 byte of data to the slave in a LIN network. or how do I communictae with slave using LabVIEW7.1.
    I want to read responses from the slave. When i tried with labview exapmle programs or even using MAX also, while doing some switching action in my slave, i am getting response as Device inactive with timestamp but there is no data format. 
    And I have Lin Description File. Can you suggest me how to use ldf file.
    I am at customer place and It would be great help from you if you can suggest me at the earliest. Thank you

    you may use the LDF Starter Kit to use LDF informations in your application
    http://joule.ni.com/nidu/cds/view/p/id/665/lang/en

  • I want to send a response from the servlet and then call another servlet.

    Hi,
    I want to send a response from the servlet and then call another servlet. can this happen. Here is my scenario.
    1. Capture all the information from a form including an Email address and submit it to a servlet.
    2. Now send a message to the browser that the request will be processed and mailed.
    3. Now execute the request and give a mail to the mentioned Email.
    Can this be done in any way even by calling another servlet from within a servlet or any other way.
    Can any one Please help me out.
    Thanks,
    Ramesh

    Maybe that will help you (This is registration sample):
    1.You have Registration.html;
    2.You have Registration servlet;
    3.You have CheckUser servlet;
    4.And last you have Dispatcher between all.
    See the code:
    Registration.html
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <HTML>
      <HEAD>
        <TITLE>Hello registration</TITLE>
      </HEAD>
      <BODY>
      <H1>Entry</H1>
    <FORM ACTION="helloservlet" METHOD="POST">
    <LEFT>
    User: <INPUT TYPE="TEXT" NAME="login" SIZE=10><BR>
    Password: <INPUT TYPE="PASSWORD" NAME="password" SIZE=10><BR>
    <P>
    <TABLE CELLSPACING=1>
    <TR>
    <TH><SMALL>
    <INPUT TYPE="SUBMIT" NAME="logon" VALUE="Entry">
    </SMALL>
    <TH><SMALL>
    <INPUT TYPE="SUBMIT" NAME="registration" VALUE="Registration">
    </SMALL>
    </TABLE>
    </LEFT>
    </FORM>
    <BR>
      </BODY>
    </HTML>
    Dispatcher.java
    package mybeans;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.ServletException;
    import java.io.IOException;
    import javax.servlet.RequestDispatcher;
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class Dispatcher extends HttpServlet {
        protected void forward(String address, HttpServletRequest request,
                               HttpServletResponse response)
                               throws ServletException, IOException {
                                   RequestDispatcher dispatcher = getServletContext().
                                   getRequestDispatcher(address);
                                   dispatcher.forward(request, response);
    Registration.java
    package mybeans;
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class Registration extends Dispatcher {
        public String getServletInfo() {
            return "Registration servlet";
        public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
            ServletContext ctx = getServletContext();
            if(request.getParameter("logon") != null) {          
                this.forward("/CheckUser", request, response);
            else if (request.getParameter("registration") != null)  {         
                this.forward("/registration.html", request, response);
    CheckUser.java
    package mybeans;
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.sql.*;
    public class CheckUser extends Dispatcher {
        Connection conn;
        Statement stat;
        ResultSet rs;
          String cur_UserName;
        public static String cur_UserSurname;;
        String cur_UserOtchestvo;
        public String getServletInfo() {
            return "Registration servlet";
        public void service(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException {
            try{
                ServletContext ctx = getServletContext();
                Class.forName("oracle.jdbc.driver.OracleDriver");
                conn = DriverManager.getConnection("jdbc:oracle:oci:@eugenz","SYSTEM", "manager");
                stat = conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE);
               String queryDB = "SELECT ID, Login, Password FROM TLogon WHERE Login = ? AND Password = ?";
                PreparedStatement ps = conn.prepareStatement(queryDB); 
               User user = new User();
            user.setLogin(request.getParameter("login"));
            String cur_Login = user.getLogin();
            ps.setString(1, cur_Login);
            user.setPassword(request.getParameter("password"));
            String cur_Password = user.getPassword();
            ps.setString(2, cur_Password);
         Password = admin");
            rs = ps.executeQuery();
                 String sn = "Zatoka";
            String n = "Eugen";
            String queryPeople = "SELECT ID, Surname FROM People WHERE ID = ?";
           PreparedStatement psPeople = conn.prepareStatement(queryPeople);
                      if(rs.next()) {
                int logonID = rs.getInt("ID");
                psPeople.setInt(1, logonID);
                rs = psPeople.executeQuery();
                rs.next();
                       user.setSurname(rs.getString("Surname"));
              FROM TLogon, People WHERE TLogon.ID = People.ID";
                       ctx.setAttribute("user", user);
                this.forward("/successLogin.jsp", request, response);
            this.forward("/registration.html", request, response);
            catch(Exception exception) {
    }CheckUser.java maybe incorrect, but it's not serious, because see the principe (conception).
    Main is Dispatcher.java. This class is dispatcher between all servlets.

  • Close open PO from the Backend.

    Hi Guru's
                     How can we close the open PO from the backend with Zero dollar. As I understood PO_action.po_close would be the solution but can we close the Open PO without using API is there any script to close please share it I highly appreciate your help
    Thanks & regards
    AT

    Following is a sample script to cancel the purchase order using Cancel PO API:
    To cancel the whole PO, submit the cancel API using sqlplus as follows:
    DECLARE
       l_return_status   VARCHAR2 (1);
    BEGIN
       fnd_global.apps_initialize (1053, 50578, 201);
       -- mo_global.init('PO'); -- need for R12
       --call the Cancel API for PO
       PO_Document_Control_PUB.control_document (1.0,  -- p_api_version
                                                 FND_API.G_TRUE, -- p_init_msg_list
                                                 FND_API.G_TRUE,       -- p_commit
                                                 l_return_status, -- x_return_status
                                                 'PO',               -- p_doc_type
                                                 'STANDARD',      -- p_doc_subtype
                                                 NULL,                 -- p_doc_id
                                                 '23975',             -- p_doc_num
                                                 NULL,             -- p_release_id
                                                 NULL,            -- p_release_num
                                                 NULL,            -- p_doc_line_id
                                                 NULL,           -- p_doc_line_num
                                                 NULL,        -- p_doc_line_loc_id
                                                 NULL,       -- p_doc_shipment_num
                                                 'CANCEL',             -- p_action
                                                 SYSDATE,         -- p_action_date
                                                 NULL,          -- p_cancel_reason
                                                 'N',        -- p_cancel_reqs_flag
                                                 NULL,             -- p_print_flag
                                                 NULL);        -- p_note_to_vendor
       -- Get any messages returned by the Cancel API
       FOR i IN 1 .. FND_MSG_PUB.count_msg
       LOOP
          DBMS_OUTPUT.put_line (
             FND_MSG_PUB.Get (p_msg_index => i, p_encoded => 'F'));
       END LOOP;
    END;
    The first run of the API will demonstrate cancelling shipment number 3 on line number 1 of the PO. Submit the cancel API using sqlplus as follows:
    DECLARE
       l_return_status   VARCHAR2 (1);
    BEGIN
       fnd_global.apps_initialize (1053, 50578, 201);
       -- mo_global.init('PO'); -- need for R12
       --call the Cancel API for PO
       PO_Document_Control_PUB.control_document (1.0,  -- p_api_version
                                                 FND_API.G_TRUE, -- p_init_msg_list
                                                 FND_API.G_TRUE,       -- p_commit
                                                 l_return_status, -- x_return_status
                                                 'PO',               -- p_doc_type
                                                 'STANDARD',      -- p_doc_subtype
                                                 NULL,                 -- p_doc_id
                                                 '23975',             -- p_doc_num
                                                 NULL,             -- p_release_id
                                                 NULL,            -- p_release_num
                                                 NULL,            -- p_doc_line_id
                                                 '1',            -- p_doc_line_num
                                                 NULL,        -- p_doc_line_loc_id
                                                 '3',        -- p_doc_shipment_num
                                                 'CANCEL',             -- p_action
                                                 SYSDATE,         -- p_action_date
                                                 NULL,          -- p_cancel_reason
                                                 'N',        -- p_cancel_reqs_flag
                                                 NULL,             -- p_print_flag
                                                 NULL);        -- p_note_to_vendor
       -- Get any messages returned by the Cancel API
       FOR i IN 1 .. FND_MSG_PUB.count_msg
       LOOP
          DBMS_OUTPUT.put_line (
             FND_MSG_PUB.Get (p_msg_index => i, p_encoded => 'F'));
       END LOOP;
    END;
    This time, the API will be used to cancel all of line 1. Submit the cancel API using sqlplus as follows:
    DECLARE
       l_return_status   VARCHAR2 (1);
    BEGIN
       fnd_global.apps_initialize (1053, 50578, 201);
       -- mo_global.init('PO'); -- need for R12
       --call the Cancel API for PO
       PO_Document_Control_PUB.control_document (1.0,  -- p_api_version
                                                 FND_API.G_TRUE, -- p_init_msg_list
                                                 FND_API.G_TRUE,       -- p_commit
                                                 l_return_status, -- x_return_status
                                                 'PO',               -- p_doc_type
                                                 'STANDARD',      -- p_doc_subtype
                                                 NULL,                 -- p_doc_id
                                                 '23975',             -- p_doc_num
                                                 NULL,             -- p_release_id
                                                 NULL,            -- p_release_num
                                                 NULL,            -- p_doc_line_id
                                                 '1',            -- p_doc_line_num
                                                 NULL,        -- p_doc_line_loc_id
                                                 NULL,       -- p_doc_shipment_num
                                                 'CANCEL',             -- p_action
                                                 SYSDATE,         -- p_action_date
                                                 NULL,          -- p_cancel_reason
                                                 'N',        -- p_cancel_reqs_flag
                                                 NULL,             -- p_print_flag
                                                 NULL);        -- p_note_to_vendor
    -- Get any messages returned by the Cancel API
       FOR i IN 1 .. FND_MSG_PUB.count_msg
       LOOP
          DBMS_OUTPUT.put_line (
             FND_MSG_PUB.Get (p_msg_index => i, p_encoded => 'F'));
       END LOOP;
    END;
    Reference:Oracle Apps Cancel PO API Training | Oracle Apps Scripts & Tips

  • Enable deactivated productiove password from the backend

    Hi Experts,
    Does any one know how to enable deactivated productive password from the back end. The scenario is administrator him self not logged in continuously for 90 days and the login/max_idle_productive is set to 90 days and login/password_expiration_time set to 60days and the productive password got deactivated.
    We can do this by deleting sap* and relogin sap* and reset the password. But I want to know how to do from the backend.
    I tried this.
    updated schemaname.usr02
    set pwdstate=0 where bname='XXXX' and mandt='000';
    commit,
    But this didn't work. I know the id is not locked. Thatswhy I didn't set uflag to 0.
    Appreciate if anyone could help on this?
    Thank you
    Venkat
    Edited by: Venkat Battula on Aug 18, 2010 7:22 PM

    >
    Venkat Battula wrote:
    > Looks like even trusted connection and RFC also doesn't work as all ids got disabled because of the productive password parameter set. I see only alternative for me is delete sap* and activate all the ids.
    >
    > Thank you all very much for sharing your thoughts and really appreciate your prompt response with great suggestions.
    >
    > Thank you all once again,
    > Venkat
    Sorry, but this is a wrong assumption.
    Only password-based authentication is effected by passwords and their status (locked, expired, ...).
    In any case you experience problems to logon to an ABAP server, kindly use the tracing approach described in [SAP Note 495911 |https://service.sap.com/sap/support/notes/495911]to analyse the cause.
    By the way: the trigger for this feature (to specify after which time of not using a password it shall no longer be usable for authentication) is an Italian law. So, it's mandatory for Italian customers but optional for all others to make use of that feature.

  • CCP related: A timeout occured waiting for a response from the ECU

    Hello All,
                I had just started using ECU Calibration tool kit software. Iam using USB 8473 for my application.When I tried to run the VI after loading the *.A2L file, I see an error message saying "A timeout occured waiting for a response from the ECU ". Does anyone know how to communicate with the ECU through CCP.
            Iam pretty sure that Iam using the right cable. I also checked the address of the parameters using Get property.vi what iam trying to read, wether they are matching with the address in the *.A2L file or not.They are matching. However I was able to communicate with my ECU when I use the same device to read the data over J1939 data link, based on arbitration ID's, with the Vi's from CAN Frame to Channel Conversion Library.
        Can any pls help me out how to communicate with my ECU using CAN Calibration Toolkit software.
    -Lucky.

    Hello,
              I am sending you an attachment of the manual for the ECU Calibration tool kit . Please go through the manual it will clarify your doubt. Moreover , check for can vi's in the example finder in labVIEW. Those will help ....
    I am sending you a link which gives you some insight about the installation of  CCP command set and the use of the toolkit with the USB CAN hardware.
    http://digital.ni.com/softlib.nsf/websearch/D7DE248D07CAD00086256ED3004BAB8A?opendocument&node=13206...
    Drivers and Updates: ECU Measurement and Calibration Toolkit 2.1
    Attachments:
    can manual.pdf ‏1437 KB

  • Including resource from the other application

              Application "Common" contains headers, footers and resources that I want to include
              in other apps. How should I formulate URL in include page directive to do that
              App Common has structure:
              Common
              /header.html
              /footer.html
              and App Custom has an jsp page
              /demo.jps
              and demo.jsp looks like
              <%@ include file="../Common/header.html" %>
              ... my content ...
              <%@ include file="../Common/footer.html" %>
              Is it possible to move outside of app (Servlet) context ?
              Thanks,
              tj
              

    That is illegal. Include refers to a resource from the current application.
              Instead, use a URL to the resource and suck in its contents and write them
              to the response. You can create a simple tag with the resource url as the
              parameter thta does just that. Suggestion: using caching liberally for
              static resources.
              Peace,
              Cameron Purdy
              Tangosol Inc.
              << Tangosol Server: How Weblogic applications are customized >>
              << Download now from http://www.tangosol.com/download.jsp >>
              "tj" <[email protected]> wrote in message
              news:[email protected]...
              >
              > Just to clarify... (WLS6.0 sp2, Win 2000)
              > I want to include static resource from different application in my JSP
              using page
              > include directive. My question is how to specify relative URL to
              accomplish that
              > ? How to reffer to web server root ? "/" is application root, so if
              resource is
              > in the other app, "../otherapp/pathinotherapp/resource.htm" should work or
              it
              > should not, if not what is the best way to isolate common static files
              (headers,
              > footers ...) shared among all apps ?
              > (btw I think this works in webSphere)
              >
              > Thanks
              >
              > "tj" <[email protected]> wrote:
              > >
              > >Application "Common" contains headers, footers and resources that I want
              > >to include
              > >in other apps. How should I formulate URL in include page directive to
              > >do that
              > >?
              > >
              > >App Common has structure:
              > >
              > > Common
              > > /header.html
              > > /footer.html
              > >
              > >and App Custom has an jsp page
              > > /demo.jps
              > >
              > >
              > >and demo.jsp looks like
              > >
              > ><%@ include file="../Common/header.html" %>
              > >.... my content ...
              > >
              > ><%@ include file="../Common/footer.html" %>
              > >
              > >
              > >Is it possible to move outside of app (Servlet) context ?
              > >
              > >Thanks,
              > >tj
              > >
              > >
              > >
              >
              

  • One socket and two ports, not getting response from the server

    Hi everyone,
    I am working on device which communicate through Tcp sockets, It has an IP address and one port for listening and another for sending the response.
    Problem is that I am able to create a connection to Device ip+port, and i am trying to listen on the same port while the device is sending the response on other port. My problem is that i can't create another socket using this port and therefore not getting the response from the device.
    Can you people tell me how to handle such socket communication in java ?
    Thanks in advance.

    I am working on device which communicate through Tcp sockets, It has an IP address and one port for listening and another for sending the response.Are you sure? That's not usual. It would be usual for it to use the same port for listening, reading, and writing.
    Problem is that I am able to create a connection to Device ip+port, and i am trying to listen on the same port while the device is sending the response on other port.I would try just reading from the same socket you are sending on. I suggest you have misunderstood how the device works.

  • Server 2012 R2 - No response from the UmRdpService service and more...

    Hi!
    We have a Remote Desktop Services Deployment with the following:
    LIC01 – Windows 2012 R2 - Licensing
    RDCB01 – Windows 2012 – Connection Broker
    RDWA02 – Windows 2012 R2 – Web Access
    RDG01 – Windows 2012 R2 - Gateway
    RDG02 – Windows 2012 R2 - Gateway
    RDG03 – Windows 2012 R2 – Gateway
    RDSH01 – Windows 2012 R2 - Session Host
    RDSH02 – Windows 2012 - Session Host
    RDSH03 – Windows 2012 R2 - Session Host
    RDSH04 – Windows 2012 R2 - Session Host
    RDSH05 – Windows 2012 R2 - Session Host
    RDSH06 – Windows 2012 R2 - Session Host
    RDSH07 – Windows 2012 R2 - Session Host
    RDSH08 – Windows 2012 R2 - Session Host
    RDSH09 – Windows 2012 R2 - Session Host
    RDSH10 – Windows 2012 R2 - Session Host
    We have two Session Collections:
    Office-R2 (All Server 2012 R2 RDSHs)
    "Office (RDSH02, Closed for users)"
    User Profile Disk are enabled to a SOFS Share (Server 2012).
    Client Settings: Everything except "Plug and play Devices" are enabled
    Problem:
    Suddenly, one or more of RDSH
    servers (in the Office-R2 Collection) get the following error:
    A timeout (30000 milliseconds) was reached while waiting for a transaction response from the UmRdpService service.
    After this, we get similar error messages
    to other services, such as:
    AudioEndpointBuilder, NcbService, ScDeviceEnum, WPDBusEnum, Netman
    Users logged into the server, looses Redirection
    services as local drives and local
    printers, and they also have problem signing out of the server. (Hangs on signing out)
    New Users that tries to sign in to that server are also having trouble (Hangs on signing in).
    After using the logoff tool to sign out every user on that server, I end up With the following:
    It
    appears that there are no users logged on,
    yet there are many Disconnected sessions...
    Looking at the SOFS file share I still see that RDSH04 has read/Write to the .VHDX file that hold the User Profile.. And If the user try to log on to another server in that Collection, it get a temporary profile.
    If I kill the Conncetion to the VHDX files, Users can then sign in normally to another node it that Collection.
    Trying to restart the server With "Shutdown -r -t 0 -f" does not work, It just hangs on Shutdown (waited 3 days), so All I can do is Press and Hold.We
    have also seen BSoD on these nodes, but I'm sure if they are related to this error:
    WinDBG is saying:
    BugCheck 3B, {c0000005, fffff803538fa84e, ffffd0002711cb00, 0}
    Probably caused by : dfsc.sys ( dfsc!DfscCacheStore+6f )
    I found https://support.microsoft.com/kb/2925981 and
    http://support.microsoft.com/kb/2525246, but they are not for Windows Server 2012 R2.
    Any Idea?
    Thanks
    Anders

    Hi,
    Firstly, dfsc.sys indicates the DFS clients. It means that your systems use DFS service to access the file share.
    Please let us know if you configured the DFS service on your file server.
    Also, what is the format of file path you configured for UPD?
    \\FileServer\FileShare
    Or
    \\Domain.com\DFS NameSpace\File Share
    Thanks.
    Jeremy Wu
    TechNet Community Support

  • I would like to have an email account that is password-protected that I can access on my Mac, Iphone and Ipad, separate from the Mail application, with an alert button that indicates unread messages

    I would like to have an email account that is password-protected that I can access on my Mac, Iphone and Ipad, separate from the Mail application, with an alert button that indicates unread messages

    Try a search... I'm sure if you put forth a little effort you can find a solution that will work for you.

  • Is there a way to remove old responses from the Acrobat Tracker?

    Is there a way to remove old responses from the Tracker if I have deleted the original sources? In other words, Acrobat.com and my desktop are out of sync.How I can get rid of any of these files.

    nvm. I found it.

  • How can i change the class in the Class Library project to be static or public so i can use it from the windows application project ?

    First i know that when i make any changes to the class library project i need to rebuild the project then to remove the Capture.dll from the TestScreenshot project and then to add again the updated Capture.dll
    The problem for example in this case i'm trying to use a public static variable i add in the DXHookD3D9.
    In the DXHookD3D9 i added this public static variable:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    //using SlimDX.Direct3D9;
    using EasyHook;
    using System.Runtime.InteropServices;
    using System.IO;
    using System.Threading;
    using System.Drawing;
    using Capture.Interface;
    using SharpDX.Direct3D9;
    namespace Capture.Hook
    internal class DXHookD3D9: BaseDXHook
    public DXHookD3D9(CaptureInterface ssInterface)
    : base(ssInterface)
    LocalHook Direct3DDevice_EndSceneHook = null;
    LocalHook Direct3DDevice_ResetHook = null;
    LocalHook Direct3DDevice_PresentHook = null;
    LocalHook Direct3DDeviceEx_PresentExHook = null;
    object _lockRenderTarget = new object();
    Surface _renderTarget;
    public static decimal framesperhourtodisplay = 0;
    protected override string HookName
    get
    return "DXHookD3D9";
    List<IntPtr> id3dDeviceFunctionAddresses = new List<IntPtr>(
    framesperhourtodisplay
    The problem is i can't even get to the Capture.Hook namespace and not to the DXHookD3D9 from the TestScreenshot application window project.
    This is a screenshot:
    For example fro the FramesPerSecond class i can use it get to it from the windows forms application.
    namespace Capture.Hook
    /// <summary>
    /// Used to determine the FPS
    /// </summary>
    public class FramesPerSecond
    int _frames = 0;
    int _lastTickCount = 0;
    float _lastFrameRate = 0;
    Since it's public i guess.
    But if i will change the DXHookD3D9 class from internal to public:
    public class DXHookD3D9: BaseDXHook
    I will get error on the DXHookD3D9: 
    Error 1
    Inconsistent accessibility: base class 'Capture.Hook.BaseDXHook' is less accessible than class 'Capture.Hook.DXHookD3D9'
    And the BaseDXHook class:
    namespace Capture.Hook
    internal abstract class BaseDXHook: IDXHook
    protected readonly ClientCaptureInterfaceEventProxy InterfaceEventProxy = new ClientCaptureInterfaceEventProxy();
    public BaseDXHook(CaptureInterface ssInterface)
    this.Interface = ssInterface;
    this.Timer = new Stopwatch();
    this.Timer.Start();
    this.FPS = new FramesPerSecond();
    Interface.ScreenshotRequested += InterfaceEventProxy.ScreenshotRequestedProxyHandler;
    Interface.DisplayText += InterfaceEventProxy.DisplayTextProxyHandler;
    InterfaceEventProxy.ScreenshotRequested += new ScreenshotRequestedEvent(InterfaceEventProxy_ScreenshotRequested);
    InterfaceEventProxy.DisplayText += new DisplayTextEvent(InterfaceEventProxy_DisplayText);
    ~BaseDXHook()
    Dispose(false);
    How can i solve it so i can use the variable framesperhourtodisplay in the DXHookD3D9 class with the TestScreenshot windows forms application ?

    Hi,
    I dont know if it will work here, since I dont know the complete structure, but the base call must be public, if the derived class is public, so the base class is at least as accessible as the derived class.
    Try make the base class public. (And maybe the base-class IDXHook of the base also...)
    Or use a different approach and make only the properties public that are needed to be public by adding an extra class...
    A structure could look like:(you need to create a class thats public in your dll and expose a property, and set this property in the internal class...)
    In the Accessing class (here Form1)
    public partial class Form1 : Form
    public Form1()
    InitializeComponent();
    private void Form1_Load(object sender, EventArgs e)
    C c = new C();
    MessageBox.Show(B.F.ToString());
    and in the class Lib:
    internal class A
    public A()
    B.F = DateTime.Now.Millisecond;
    public class B
    public static int F { get; set; }
    public class C
    public C()
    A a = new A();
    (add a referenc to the class lib from the accessing project)
    Regards,
      Thorsten

Maybe you are looking for

  • Wireless connection for laptop

    my computer cant find the wireless connection this morning. worked last night. tried severla things with no luck. Does this mean my card his gone? ty

  • How to change one of the fields in the infoset

    Hi, I created a query and infoset using sq01,sq02 transaction i have Cost Center field in the query that is pointing to P0001-KOSTL. when i execute the query by giving the cost center criteria ,query is getting executed on the Local Cost Center .But

  • Data Warehouse Jobs stuck at running - Since February!

    Folks, My incidents have not been groomed out of the console since February. I ran the Get-SCDWJob and found most of the jobs are disabled. See below. I've tried to enable all of them using PowerShell and they never are set back to Enabled. No errors

  • Warehouse management error in Goods Issue

    Hello SD gurus, I have created a trasfer order (for picking) refering a delivery document. But when i wanted to do PGI, i got an error 'Delivery has not yet been completely processed by WM'. In the delivery document, the Overall Picking status is 'Fu

  • Reverse engineering sql script inserts to java enumerators

    Hello. I'm working on an application that uses a number os tables to store qualifier information about certain entities. A person can, for example, be an "operator" or an "end-user". These sets of qualifying data are static, an work as enumerators. I