Jump to content


Photo

winsock error when run the project.


  • Please log in to reply
4 replies to this topic

#1 aliemre

aliemre

    Member

  • uniGUI Subscriber
  • PipPip
  • 33 posts

Posted 09 November 2017 - 07:47 AM

Hi,

 

How can I fix then follow error ?

 

Project ElektraWebServer.exe raised exception class EIdWinsockStubError with message 'Error on call to Winsock2 library function shutdown: Either the application has not called WSAStartup, or WSAStartup failed'.


  • 0

#2 aliemre

aliemre

    Member

  • uniGUI Subscriber
  • PipPip
  • 33 posts

Posted 13 November 2017 - 12:19 PM

There are anybody have idea ?
 
ETSWeb.exe: 00001984: 15:10:05 []:>--------------------------------------------------------------<
ETSWeb.exe: 00001984: 15:10:05 [TUniServerModule]:Server First Init.
ETSWeb.exe: 00001984: 15:10:05 [TUniServerModule]:Erasing Cache Folder...
ETSWeb.exe: 00001984: 15:10:05 [TUniServerModule]:Cache Folder Erased. <0> Files deleted.
ETSWeb.exe: 00001984: 15:10:05 [TUniServerModule]:Starting HTTP Server...
ETSWeb.exe: 00001984: 15:10:05 [TUniServerModule]:HTTP Server Started. Port: 8077
ETSWeb.exe: 00001984: 15:10:07 [Terminated]:Exit Code: 1
ETSWeb.exe: 00001984: 15:10:07 [TUniServerModule]:Shutting Down Server.
ETSWeb.exe: 00001984: 15:10:07 [ShutDownWebServer]:EIdWinsockStubError : Error on call to Winsock2 library function shutdown: Either the application has not called WSAStartup, or WSAStartup failed : Addr: $0069EA33
ETSWeb.exe: 00001984: 15:10:07 [TUniServerModule]:HTTP Server Stopped.
ETSWeb.exe: 00001984: 15:10:07 [TUniGUISessionManager]:Terminating Session manager.
ETSWeb.exe: 00001984: 15:10:07 [TUniGUISessionManager]:Stopping Cache Eraser...
ETSWeb.exe: 00001984: 15:10:07 [TUniGUISessionManager]:Cache Eraser Stopped.
ETSWeb.exe: 00001984: 15:10:07 [TUniGUISessionManager]:Destroying Worker Threads.
ETSWeb.exe: 00001984: 15:10:07 [TUniGUISessionManager]:Session manager terminated.
ETSWeb.exe: 00001984: 15:10:07 [TUniServerModule]:Server Shutdown Completed.

  • 0

#3 Farshad Mohajeri

Farshad Mohajeri

    Administrator

  • Administrators
  • 9815 posts

Posted 13 November 2017 - 12:52 PM

Do you have any components  on ServerModule?


  • 0

#4 HarryG

HarryG

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 190 posts

Posted 13 November 2017 - 02:12 PM

I think a customer may have had a similar thing last week, started after various server updates had been performed - including an update to the server's Kaspersky based protection. The Unigui system was relocated to another server - without Kaspersky and it's all good again. So I never got a chance to investigate any further.


  • 0

#5 aliemre

aliemre

    Member

  • uniGUI Subscriber
  • PipPip
  • 33 posts

Posted 14 November 2017 - 01:24 PM

Hello
 
Firstly many thanks. I was found my fault. There is a TUniConnection on a datamodule and connected property's value was true of the connection object but server/database does not exists. I changed design-time property value to false and compile again. It's fixed.

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users