Facing problem in creating socket in a method from an already deployed application exe while same method is working from another exe from same environment from same location.

Dll Created In: - MFC VC
6.0
Application Exe Developed In:
- VC 6.0, C# and VB.net (Applications which are using dll)
OS: - Windows XP sp2 32bit
/ Windows Server 2008 64 bit
Problem: - Facing problem in creating socket
in a method from an already deployed application exe while same method is working from another exe from same environment from same location.
Description: - We have product component which
has an exe component and from exe we invoke a method, which is defining in dll, and that dll is developed in MFC VC6.0. In the dll we have a method which downloads images from another system after making socket connection. But every time we are getting Error
code 7, it is not giving desire result while same method is working from another exe from same environment from same location. And also me dll is deployed on many systems and giving proper output from same application.
Already Attempt: - Because error is coming on
client side so what we did, we created a driver in C# which invokes same method from same environment(on client machine) using same dll and we are astonished because it worked fine there.
Kindly Suggest: -
We are not able to figure out root cause because nothing is coming in windows event logs but what I did, for finding the problem line, I wrote logs on each line and found the exact line in application exe which is not working,
actually  it is not executing Create () method,
I will give snippet of the code for understanding the problem because we are not finding any kind solution for it.
Kindly assist us in understanding and fixing this problem.
Code Snippet: -
Int Initialize (LPTSTR SiteAddress, short PortId)
try
CClientTSSocket *m_pJtsSockto;
m_pJtsSockto = new CClientTSSocket;
LONG lErr = m_pJtsSockto->ConnectTS(csIPAddress,PortId);
ErrorLog (0, 0, "--------ConnectTS has been called ------------","" );
catch(...)
DWORD errorCode = GetLastError();
CString errorMessage ;
errorMessage.Format("%lu",errorCode);
ErrorLog (0, 0, "Image System", (LPTSTR)(LPCTSTR)errorMessage);
return  IS_ERR_WINDOWS;
Note: -
CClientTSSocket extends CAsyncSocket
 IS_ERR_WINDOWS is a macro error code which value I found 7.
LONG ConnectTS(CString strIP, UINT n_Port)
ErrorLog(0,0,"ConnectTS is calling Create [is going to call]","");
if(!Create())
ErrorLog(0,0,"ConnectTS is calling [Create not called successfully] ","");
 n_Err = GetLastError();
 ErrorLog(n_Err,0,"ConnectTS is calling1111111111111111Erorrrrrrrrrrrrr","");
return NET_INIT;
ErrorLog(0,0,"ConnectTS is calling2222222222222222222","");
if(!AsyncSelect(0))
n_Err = GetLastError();
return NET_INIT;
if(!Connect(strIP,n_Port))
n_Err = GetLastError();
ErrorLog(n_Err,0,"ConnectTS","");
return SERVER_NOT_CONNECTED;
Code description: -
From
int GETImage_MT() method we call Initialize() method and pass client machine IP and Port and there we call
ConnectTS() method, In this method we Create() method and finally it returns the error code as mention in macro 7.
Logs after running the program: -
--------ConnectTS has been called ------------
ConnectTS is calling Create [is going to call]
Image System 
0
Note: - According to logs, problem is coming in Create method().
Here 0 is errorMessage received in catch block. And from catch block it returns macro value 7. And when we run same method individually from same machine, same environment through same dll
from different exe, it is working fine and we are facing any kind of problem. While same problem application was working properly earlier but now continuously it showing problem.
 Kindly assist us to resolve the issue.

Pointer variable was already initialized; I have mention in code; kindly assist us.
Dll Created In: - MFC VC 6.0
Application Exe Developed In: - VC 6.0, C# and VB.net (Applications which are using dll)
OS: - Windows XP sp2 32bit / Windows Server 2008 64 bit
Problem: - Facing problem in creating socket
in a method from an already deployed application exe while same method is working from another exe from same environment from same location.
Description: - We have product component
which has an exe component and from exe we invoke a method, which is defining in dll, and that dll is developed in MFC VC6.0. In the dll we have a method which downloads images from another system after making socket connection. But every time we are getting
Error code 7, it is not giving desire result while same method is working from another exe from same environment from same location. And also me dll is deployed on many systems and giving proper output from same application.
Already Attempt: - Because error is coming
on client side so what we did, we created a driver in C# which invokes same method from same environment (on client machine) using same dll and we are astonished because it worked fine there.
Kindly Suggest:
- We are not able to figure out root cause because nothing is coming in windows event logs but what I did, for finding the problem line, I wrote logs on each line and found the exact line in application exe which is not
working, actually it is not executing Create () method, I will give snippet of the code for understanding
the problem because we are not finding any kind solution for it. Kindly assist us in understanding and fixing this problem.
Code Snippet: -
Int Initialize (LPTSTR SiteAddress, short PortId)
try
CClientTSSocket *m_pJtsSockto;
m_pJtsSockto = new CClientTSSocket;
LONG lErr = m_pJtsSockto->ConnectTS(csIPAddress,PortId);
ErrorLog (0, 0, "--------ConnectTS has been called ------------","" );
catch(...)
                   DWORD errorCode = GetLastError();
                   CString errorMessage ;
                   errorMessage.Format("%lu",errorCode);
                   ErrorLog (0, 0, "Image System", (LPTSTR)(LPCTSTR)errorMessage);
                   return  IS_ERR_WINDOWS;
Note: - CClientTSSocket extends CAsyncSocket
 IS_ERR_WINDOWS is a macro error code which value I found 7.
LONG ConnectTS(CString strIP, UINT n_Port)
          ErrorLog(0,0,"ConnectTS is calling Create [is going to call]","");
          if(!Create())
                   ErrorLog(0,0,"ConnectTS is calling [Create not called successfully] ","");
          n_Err = GetLastError();
          ErrorLog(n_Err,0,"ConnectTS is calling1111111111111111Erorrrrrrrrrrrrr","");
                  return NET_INIT;
          ErrorLog(0,0,"ConnectTS is calling2222222222222222222","");
          if(!AsyncSelect(0))
                   n_Err = GetLastError();
                   return NET_INIT;
          if(!Connect(strIP,n_Port))
                   n_Err = GetLastError();
                   ErrorLog(n_Err,0,"ConnectTS","");
                   return SERVER_NOT_CONNECTED;
Code description: - From int GETImage_MT() method
we call Initialize() method and pass client machine IP and Port and there we call ConnectTS() method, In
this method we Create() method and finally it returns the error code as mention in macro 7.
Logs after running the program: -
--------ConnectTS has been called ------------
ConnectTS is calling Create [is going to call]
Image System  0
Note: - According to logs, problem is coming in Create method(). Here
0 is errorMessage received in catch block. And from catch block it returns macro value 7. And when we run same method individually from same machine, same environment through same dll from different exe, it is working fine and we are facing any kind of problem.
While same problem application was working properly earlier but now continuously it showing problem.
 Kindly assist us to resolve the issue.

Similar Messages

  • My Apple TV will not update to the latest software, dose anyone know what the problem is, I've reset, tried to do it wirelessly as well as while connected via Ethernet cable.. Both have resulted in the same message!!

    My Apple TV will not update to the latest software, dose anyone know what the problem is, I've reset, tried to do it wirelessly as well as while connected via Ethernet cable.. Both have resulted in the same message!! Update unsuccessful, current software version is 5.1 (5201) . I've rented a movie recently and does not appear in my movie list, but I have been charged for this movie, can someone help me out with these issues.

    If your problem persists get yourself a micro USB cable (sold separately), you can restore your Apple TV from iTunes:
    Remove ALL cables from Apple TV. (if you don't you will not see Apple TV in the iTunes Source list)
    Connect the micro USB cable to the Apple TV and to your computer.
    Reconnect the power cable (only for Apple TV 3)
    Open iTunes.
    Select your Apple TV in the Source list, and then click Restore.
    If when you choose restore you get a message that the device cannot be found, download the file below
    Apple TV Software Restore 5.1.1 (2nd generation)
    Apple TV Software Restore 5.1.1 (3rd generation)
    Then hold down the option key while choosing restore and select the downloaded file when prompted.

  • Facing Problem in creating the custom development over Floor Plan Manager

    Hi All,
    I have made one custom development over floor plan manager, but while deploying the application i am facing the following error.Please help in this regards,
    The initial exception that caused the request to fail, was:
       com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: ComponentUsage(FPMConfigurationUsage): Active component must exist when getting interface controller. (Hint: Have you forgotten to create it with createComponent()? Should the lifecycle control of the component usage be "createOnDemand"?
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: ComponentUsage(FPMConfigurationUsage): Active component must exist when getting interface controller. (Hint: Have you forgotten to create it with createComponent()? Should the lifecycle control of the component usage be "createOnDemand"?
         at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.ensureActiveComponent(ComponentUsage.java:773)
         at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.getInterfaceControllerInternal(ComponentUsage.java:348)
         at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.getInterfaceController(ComponentUsage.java:335)
         at com.sap.pcuigp.xssfpm.wd.wdp.InternalFPMComponent.wdGetFPMConfigurationUsageInterface(InternalFPMComponent.java:245)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.changeToExceptionPerspective(FPMComponent.java:862)
         at com.sap.pcuigp.xssfpm.java.MessageManager.handleException(MessageManager.java:259)
         at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:104)
         at com.sap.pcuigp.xssfpm.wd.BackendConnections.connectModelInternal(BackendConnections.java:323)
         at com.sap.pcuigp.xssfpm.wd.BackendConnections.initBackend(BackendConnections.java:256)
         at com.sap.pcuigp.xssfpm.wd.BackendConnections.connectModel(BackendConnections.java:154)
         at com.sap.pcuigp.xssfpm.wd.wdp.InternalBackendConnections.connectModel(InternalBackendConnections.java:237)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.connectModel(FPMComponent.java:842)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPMProxy.connectModel(FPMComponent.java:1072)
         at com.sap.pcuigp.xssfpm.wd.BackendConnections.init(BackendConnections.java:141)
         at com.sap.pcuigp.xssfpm.wd.wdp.InternalBackendConnections.init(InternalBackendConnections.java:233)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.wdDoInit(FPMComponent.java:182)
         at com.sap.pcuigp.xssfpm.wd.wdp.InternalFPMComponent.wdDoInit(InternalFPMComponent.java:110)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:430)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:782)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:302)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:741)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:694)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:253)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)

    you forgot to add the usage dependency in the DC metadata section in your DC, you have to add the XSS~utils and fpm as a used DC's as part of your DC, try to add those, if you already done that, so check where missed the adding of used webdynpro components in any of the VAC's or FC's,
    Cheer,
    Appa

  • Facing problem in creating domain .

    Hi Friends,
         I tried to create the domain for ADF Application.I entered into the Configuration wizard ,I select Oracle Enterprise Option in the Template Page.
    I have confused in database Configuration page.Which database i need to enter.I have local database So i entered my local database details when i click Get RCU Configuration button it shows"Connecting to the database server..Ok""Retrieving schema data from database server...Failed".I think i need to create the Schema in my database.I don't know how to do the RCU Configuration.Any body have good ideas please share with me..........................................I am waiting................My id is [email protected] (any document mail me PLZ)..............

    Before creating the ADF domain you have to have the required schema
    created in the Database .
    For this We use RCU utility which will get connected to your database and created the required schema
    Please check the below docs
    ORACLE-BASE - WebLogic Server 12cR2 and 12cR3 : Clustered Domains
    https://docs.oracle.com/middleware/1213/core/INFIN/create_domain.htm#INFIN356
    http://docs.oracle.com/middleware/1212/adf/ADFAG/deploy.htm#ADFAG20574

  • Facing problem in creating a domain for osb10.3.1

    Hi All,
    I have installed osb10.3.1. Now I want to create a domain for osb10.3.1. In the steps of creating domain we have to provide the database details for configuring the jdbc datasources. I am not understanding which username and password should be given here. Do we need to create any schema for osb10.3.1 through rcu prior to creating the domain?
    Thanks in Advance

    Hi Again,
    Oops my mistake :) You can follow the below link for Oracle Service Bus 10g Release 3
    http://docs.oracle.com/cd/E1315901/osb/docs10gr3/_
    For Specific Oracle Service Bus Domain Creation,The below link would be helpful
    http://docs.oracle.com/cd/E1284001/common/docs103/confgwiz/newdom-alsb.html#wp1080587_
    Regards
    Fabian

  • I created a new library for my girlfriend using the "hold shift while launching" method but now i cannot find my library. How can i retreive it?

    I tryed to create a new library to use one computer with my nano and my girlfriends iphone 4. for some reason when i did this i can no longer find all of my stuff. all I want to do now is start over and create a new user profile for her and get my library back.

    Does the original library file still exist on the computer?  Hopefully when creating the new library it was done in a seperate folder as I do not believe iTunes allows for two library files in the same location.

  • Problem in creating a build.xml for weblogic portal application

    Team ,
    I am facing problem in creating the build.xml using weblogic.BuildXMLGEN tool .
    a) Below is the structure of my portal application
    SrcCode
    --- .metadata (eclipse plugins folder)
    --- B2BApp ( Ear Content)
    --- b2bPortal ( portal related file(controllers,jsp)
    --- b2bsrc     (java src)
    b) Now I executed below utility to generate the build.xml "
    java weblogic.BuildXMLGen -projectName B2BApp -username weblogic -file build.xml -password welcome1 F:\srcCode"
    c) Based on the above step , build.xml got generated .
    d) when I execute "ant compile" target from the command prompt , I see the below exception
    ant compile
    Buildfile: build.xml
    compile:
    +[wlcompile] [JAM] Warning: failed to resolve class AbstractJspBacking+
    +[wlcompile] [JAM] Error: unexpected exception thrown:+
    +[wlcompile] com.bea.util.jam.internal.javadoc.JavadocParsingException: Parsing failure in F:\b2bNew\b2bPortal\src\portlets\b2b\dmr\Picker\PickerController.java at line 58.+
    e) I suspect , the problem is bcoz of classpath issues , as I generated build.xml donot have the references to dependent lib's.As build.xml looks like below :
    +<target name="compile" description="Only compiles B2BApp application, no appc">+
    +<wlcompile srcdir="${src.dir}" destdir="${dest.dir}">+
    +<!-- These referenced libraries were not found -->+
    +<!-- <library file="p13n-core-web-lib" /> -->+
    +<!-- <library file="jersey-web-lib" /> -->+
    +.....+
    +....+
    Please help me to reslove these issues .
    PS: I able to deploy the application using 10.3.2 weblogic workshop ( i.e inbuilt eclipse )

    i JaySen ,
    thanks for your response. As mentioned we added all the necessary library within the -librarydir but still we see the same error :
    +[JAM] Error: unexpected exception thrown:+
    com.bea.util.jam.internal.javadoc.JavadocParsingException: Parsing failure in F:\b2bNew\b2bPortal\src\portlets\typeAhead\TypeAheadController.java at line 70.  Most likely, an annotation is declared whose type has not been imported.
    at com.bea.util.jam.internal.javadoc.JavadocTigerDelegateImpl_150.getAnnotationTypeFor(JavadocTigerDelegateImpl_150.java:410)
    at com.bea.util.jam.internal.javadoc.JavadocTigerDelegateImpl_150.extractAnnotations(JavadocTigerDelegateImpl_150.java:176)
    at com.bea.util.jam.internal.javadoc.JavadocTigerDelegateImpl_150.extractAnnotations(JavadocTigerDelegateImpl_150.java:152)
    at com.bea.util.jam.internal.javadoc.JavadocClassBuilder.addAnnotations(JavadocClassBuilder.java:404)
    at com.bea.util.jam.internal.javadoc.JavadocClassBuilder.populate(JavadocClassBuilder.java:359)
    ===================
    a) this is a upgrade project [ upgrading from wlp 8.1.4 to 10.3.2 ]
    i.e we are using weblogic portal 10.3.2 version.
    b) Searched some sites/forums regarding the above error, and it says something related to "jwsc" ant task [ i.e while compiling a webservice(JWS) ], but we see this error while compiling a normal controller(jpf) class :(
    c) we are using "ant compile" target which internally calls wlcompile task , while executing wlcompile this error is thrown .
    Help Appreciated
    Thx,
    Sarat

  • Problem in creating table maintenance generator for 61 fields in table

    Hi Experts,
    I am facing problem in creating a table maintenance genarator for a ZTABLE which has 61 fields
    i am using below details whicle creating the TMG
    in Maintenance screen
    i am giving maintenance type as two step
    Maint screen no overview screen 2
                              single screen        3
    Dialog Data Transport details
    Recording routine    standard recording routine
    but it is giving following error
    screen SAPL<ZTABLE NAME>    0003 could not be generated
    In DYNPFIELD_ATTR mandatory field LINE has no value
    please let me know how to sort out these errors.
    Is there any limit on the number of fields for which we can create table maintenance generetor.
    Thanks a lot in advance
    Sudipto

    Hi Sudipto,
    There is not limit to the number of fields of the Table which can be used in TMG for generation. But, from the usability point of view this will horrible.
    I created a Z table and added 64 fields and was able to generate the TMG with the screens perfectly. So, I guess there should not be any problem.
    Well, have a look at the Function Group. I guess the screen numbers are already used by some other screens. You can set the system to propose freely available screen numbers from the pool.
    Also, check whether proper authorization is assigned or not.
    And if nothing is working, you can degenerate all the generated screens and then can have a new regeneration of it.
    Hope these tips will work.
    Thanks,
    Samantak

  • Problem in creating Inquiry

    Hello Experts,
    i am facing problem in creating inquiry. Using transaction va11 i am creating inquiry.
    inquiry type i selected ZGIN. when i create inquiry its asking me for sales order no
    whether we need to give sales order no while creating inquiry.
    Thanks in adavnce.
    Sai

    Hi Sainath,
    For creating an Inquiry giving Inquiry document type is mandatory. In the T.code VA11 you have to enter the details lik Inquiry doc type, Sales Org, Distribution Channel and Division to create an Inquiry.
    Normally the business cycle will be like this      Inquiry->Quatation>Sales Order>Delivery---->Billing
    So we can create a Sales order with or without refering to any existing Inquiry or Qutation. Where as Inquiry is concerned we need not to give any reference of an existing order.
    Try creating an Inquiry w/o giving any order reference using the transaction VA11. If it is allowing to create,it is fine. Otherewise in VOV8, in the Inquiry document type control data, remove the settings "Reference mandatory" and try creating the Inquiry.
    Regards,

  • Timeout when creating socket in EJB

    What is the best way to solve the problem when creating sockets and being dependant
    on the timeout of the JVM. On windows the timeout is approx. 20 seconds. But on
    Solaris the same operation has timeout of more than 200 seconds...
    Socket sock = new Socket(host, port);
    The solution seems to be using threads. But threads are not allowed in EJB's...
    Dows anyone have a solution for this?
    Mala

    Hello Tor,
    Try the following:
    Socket s = new Socket();
    s.connect(socketAddress, timeOut);
    These features are available in J2SE 1.4 and above.
    Best regards,
    Ryan LeCompte
    [email protected]
    http://www.louisiana.edu/~rml7669
    "Tor Mala" <[email protected]> wrote:
    >
    What is the best way to solve the problem when creating sockets and being
    dependant
    on the timeout of the JVM. On windows the timeout is approx. 20 seconds.
    But on
    Solaris the same operation has timeout of more than 200 seconds...
    Socket sock = new Socket(host, port);
    The solution seems to be using threads. But threads are not allowed in
    EJB's...
    Dows anyone have a solution for this?
    Mala

  • Problem to create a web album

    Hi,
    I'm using LR3 for a couple of weeks and I'm facing problems to create successfully a new webalbum. After Keying in the ftp-server details LR3 is unable to upload the pic's to the server. I've tried to upload the pics via Filezilla which works perfectly fine, means no problem with my provider or data connection or even with my iMac.
    Has anybody experienced any similar issue and probably you know how to solve the problem?? Please share with me your knowledge. Thanks a lot!!

    If John's solution does not resolve the issue, then you should be able to get a free upgrade to LR 4.1 if you purchased v.3 recently, which should resolve all problems regarding to online web albums.
    Adobe doesn’t notify customers who purchased single-user licenses about complimentary post-announce upgrades, BUT according to a somewhat obscure company policy, users who bought software (full or upgrade) soon after a new version was announced, might be eligible for a complimentary upgrade. You need to contact Adobe directly to find out if you fall in the eligibility period.
    Let me know how it goes.
    For more info, please visit www.eduardoangel.com and to see all the latest features from LR 4.1, check out this link also:  http://eduardoangel.com/2012/05/30/adobe-lightroom-4-1-is-finally-available/

  • Problem in creating DLL for a LabVIEW VI

    Hi
    I am facing problems in creating DLL for a LabVIEW VI. Previously i had no problems in creating DLL for the VI that transmits a message from serial port to NI - PXI 7831-R Reconfigurable I/O card (configured by FPGA MOdule). When i try the same VI with a customized port developed using IVI drivers i am not able to create the DLL. It gives me error as follows:
    Fatal Internal error: "datamgr.cpp", Line No: 1882
    Please somebody help me out to fix this error.
    Regards,
    Subramania Bharathi

    Hi,
    Thanks for your curiosity in replying my questions. I am really sorry for replying so late. Actually the problem was with the NI SWITCH 2503 functions. Actually i was multiplexing the channels of my customized serial port using NI Switch module. This switching is done before i start my communication. My VI follows a sequence as follows.
    1. Connect two channelss using Switch functions
    2. configuration of both FPGA and the customized port
    3. Transmit data from the port
    4. Receive it in FPGA.
    5. Reset the channels using Switch functions
    I never expected that the error was because of NI Switch. When i removed them from my VI i was able to create the DLL and able to create sequence successfully to run in the Testsand. And
    further i am using Switch Executive for swithcing the channels in TestStand.
    But now i am very curious why it posted me that error when i used my NI Switch function?? I tried to create DLL for a VI that switches two channels and i was successful. But the error occurs only when i combine i with my FPGA functions!! If you could trace out the reason, please let me know
    Once again thanks a lot for your support
    Regards,
    Subramania Bharathi

  • Problem in creating RFC

    Hi All,
    I am facing problem in creating RFC from lower to higher version of SAP, while creating RFC from ECC 5.0 to ECC 6.0 the system is not saving logon/security information, when i click on remote login it ask user n pwd again, please let me know the solution.
    Thanks in advance
    Shazia Khan

    Hi Bala,
    The exception given is only that much.
    When I try to create the RFC, a Dialog box pops up and the error given is
    <b>
    ERROR file opened at 20070516 111750 India Standard, SAP-REL 640,0,154 RFC-VER 3 864900 MT-SL
    T:5512 Error in program 'javaw': ======> You are not authorized to logon to the target system.
    T:5512 Error in program 'javaw': <* RfcReceive [2] : returns 3:RFC_SYS_EXCEPTION
    </b>
    Please help me out.
    regards
    Brahmachaitanya

  • Problem in creating contract

    Hi
    I am facing problem in creating the customer contract using ''BAPI_CONTRACT_CREATEFROMDATA'.
    The following Error has been occured .
    Error in SALES_ITEM_IN 000010
    Condition ZP01 is not allowed as header condition
    and the coding for condition table is.
    CLEAR :CONTRACT_CONDITIONS_IN,
                   CONTRACT_CONDITIONS_INX.
           CONTRACT_CONDITIONS_IN-ITM_NUMBER = CONTRACT_ITEMS_IN-ITM_NUMBER.
            CONTRACT_CONDITIONS_IN-COND_ST_NO = '010'.
            CONTRACT_CONDITIONS_IN-COND_TYPE = 'ZP01'.
            CONTRACT_CONDITIONS_IN-COND_UPDAT = 'X'.
            CONTRACT_CONDITIONS_IN-APPLICATIO = 'V'.
            CONTRACT_CONDITIONS_IN-COND_VALUE = IADVCNT-NETWR.
            CONTRACT_CONDITIONS_IN-CURRENCY = 'INR'.
            CONTRACT_CONDITIONS_IN-COND_P_UNT = '1'.
          CONTRACT_CONDITIONS_INX-ITM_NUMBER = CONTRACT_ITEMS_IN-ITM_NUMBER.
            CONTRACT_CONDITIONS_INX-COND_ST_NO = '010'.
            CONTRACT_CONDITIONS_INX-COND_COUNT = '01'.
            CONTRACT_CONDITIONS_INX-COND_TYPE = 'ZP01'.
            CONTRACT_CONDITIONS_INX-UPDATEFLAG = 'U'.
            CONTRACT_CONDITIONS_INX-COND_VALUE = 'X'.
            CONTRACT_CONDITIONS_INX-CURRENCY = 'X'.
            CONTRACT_CONDITIONS_INX-COND_P_UNT = 'X'.
            CONTRACT_CONDITIONS_INX-COND_UNIT = 'X'.
            APPEND CONTRACT_CONDITIONS_INX .
            CLEAR CONTRACT_CONDITIONS_INX.
            APPEND CONTRACT_CONDITIONS_IN .
            CLEAR CONTRACT_CONDITIONS_IN.
    Can you please tell me the way how to solve this issue.
    Thanks
    Sunita

    Hi
    Contract is created now, but valid from and valid to dates are
    not updated in VBAK .
    And i pass the folowing data intol header table
    CONTRACT_HEADER_IN-DOC_TYPE = ZADVCONT-AUART.
          CONTRACT_HEADER_IN-SALES_ORG = ZADVCONT-VKORG.
          CONTRACT_HEADER_IN-DISTR_CHAN = ZADVCONT-VTWEG.
          CONTRACT_HEADER_IN-DIVISION = ZADVCONT-SPART.
          CONTRACT_HEADER_IN-SALES_OFF = ZADVCONT-VKBUR.
          CONTRACT_HEADER_IN-SALES_GRP = ZADVCONT-VKGRP.
          CONTRACT_HEADER_IN-CT_VALID_F = ZADVCONT-GUEBG.
          CONTRACT_HEADER_IN-CT_VALID_T = ZADVCONT-GUEEN.
    Pls suggest the solution.

  • I am loading hierarachy through flat file but facing problem

    i am loading hierarachy through flat file but facing problem  when creating infopackage  still error coming  please suggest  details what are steps followed

    Hi,
    Follow the steps:
         Hierachy through flat file
    &#61656;     First create a flat file save as in .CSV format. Then close the file.
    &#61656;       Create info area in info object then info object catalog opens then create it then info object screen opens then another screen opens were you will give data type, length then select option hierarchy tab, then select it simply select the check box with hierarchies.
    &#61656;        Select attribute tab in that name, age, address, phone then activate it then come back to the main screen then select characters right click a small screen open then select info object then a small screen opens then create sales region and activate it.
    &#61656;     Then return back to the main screen then click characters right click on it then a small window opens then select info object option & create sales office and activate it.
    &#61656;     Then return to the main screen then select characters then the ID then the double click on it  then the other screen opens select hierarchy tab then select external chars in hierarchies then click on it then other screen opens then select find tab then give the sales region info object name and click continue then it finds the name.
    &#61656;     The name would be scroll on the other screen then the office should be find the same way as region then office would be scroll on the other screen then continue and activate it.
    &#61656;     Then come back to the main screen then go to info source option then it opens then create application component then it opens other screen then click continue it
    &#61656;     Then  create info source for master data then select  direct update option there give the name of the info object of  as ex; YID_AS2 then click  continue.
    &#61656;     Then the YID_AS@ could be seen in the main screen then right click on it. Then a small option opens then click assign data source option then other screen opens there it gives the empty space double click on it then PC file then click continue then another window opens click continue then again screen opens click continue again a pop up screen opens click continue.
    &#61656;     Then another screen opens there the attribute data source then activate it then select hierarchy activate it then the left side data structure/ hierarchy then click on it then it opens another screen then click hire maintenance button .
    &#61656;     Then give the hierarchy name (your wish) then go with continue then yes then save then go back to the main screen.
    &#61656;     Then maintain the flat file as node id, info object, node name, link name, parent no.
    &#61656;     Then info package creation then click on the flat file right clicks on it then a other screen opens then select attribute data source and then continue.
    &#61656;        Then other screen opens then select external data tab in .CSV then click 1 the enter preview then another screen opens then click then it shows the preview then schedule then start then monitor click on it  then it opens other screen then click on the master data then we can see the data then go back to the  main screen.
    &#61656;     Then select the flat file right click on it then it gives other screen then select hierarchy in that then click continue then it opens other screen then select hierarchy selection tab there you can see the file name then select the button of hierarchy.
    &#61656;     Then select External data then the file name in CSV then processing tab only psa option with update subsequently in data targets then the update it schedule start then the monitor then go to the main screen.
    &#61656;     Then go to info object then select the file id which you have given then double click on it then select hierarchy or text file then the contents then execute it.
    &#61656;     Create a transaction table , cube in a normal way. We can see the result in reports we have to give the hierarchy name in the properties of rows where we drag the characteristics id then we can see the records which we have entered man usally after executing the report.
    regards
    ashwin

Maybe you are looking for