Jump to content
uniGUI Discussion Forums
Sign in to follow this  
aliemre

winsock error when run the project.

Recommended Posts

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'.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×