none
CoCreateInstanceEx: The server process could not be started because the configured identity is incorrect. Check the username and password. RRS feed

  • Question

  • We have written a program is VS 2012 using WCF. it is using net.tcp binding. this program acts as a client and reads data from OPC server and sends it back to application server. while this application is running in many places , I am facing a peculiar problem in one of theinstallation

    the problem is

    1. Application runs perfectly fine when we start the service.

    2. After some time the application gives error like "CoCreateInstanceEx: The server process could not be started because the configured identity is incorrect. Check the username and password."

    there is no fixed time. some times client runs for 3 days continuously and sometimes it doesn't run for an hour .

    3. when we login into the PC remotely using mstsc, the above exception goes away and client application again starts working normal.

    4. the application is installed in windows 7 professional .

    we have tried many setting changes by google, but still we are not successful.

    Thursday, June 8, 2017 3:41 AM

All replies

  • Hi Sharmadn,

    Since this forum is discussing and asking questions about the Visual Basic programming language, IDE, libraries, samples, and tool, and your issue is more related to WCF, I will move this thread to the more related forum.

    Thanks for your understanding and support.

    Best Regards,

    Cherry



    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Thursday, June 8, 2017 6:07 AM
  • Did you host WCF in IIS or windows Service? Did the WCF run under user account or System account?

    Did you host WCF in OPC server? Did you get error in client side or service side?

    It would be helpful if you could share us more information about your WCF.

    I suggest you enable Tracing to check depth error in both client and service side.


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Friday, June 9, 2017 1:37 AM