Jump to content



Photo

Compiled Bot Will Not Launch On Windows 2016 Server


  • Please log in to reply
8 replies to this topic

#1 juno

juno

    Newbie

  • Members
  • Pip
  • 9 posts
  • OS:Windows 10
  • Total Memory:More Than 9Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 28 November 2018 - 05:48 AM

Using an AWS EC2 image (Windows Server 2016) to run a compiled bot (most current version of Ubot) and the GUI never comes up despite running as administrator or changing the executable compatibility settings. When you look in running programs it shows using 0% cpu and "Loading..." (screenshot attached).

 

When checking the Windows event logs it shows event ID: 1002 Source: Application hang. It also states "The program my_compiled_bot.exe version 4.0.0.0 stopped interacting with Windows and was closed."

 

I can launch a lot of these and the task manager will show each one of these as a list as they all keep hanging.

 

Any ideas how to troubleshoot this?  

 

Attached File  ubot_loading.png   5.71KB   1 downloads



#2 juno

juno

    Newbie

  • Members
  • Pip
  • 9 posts
  • OS:Windows 10
  • Total Memory:More Than 9Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 28 November 2018 - 06:32 AM

Update: I have tried the solution here but there was no change in this.

http://network.ubots...uck-on-loading/



#3 MasteRofBotS

MasteRofBotS

    Advanced Member

  • Members
  • PipPipPip
  • 38 posts
  • Location127.0.0.1
  • OS:Windows 10
  • Total Memory:More Than 9Gb
  • Framework:v4.5+, unsure
  • License:Professional Edition

Posted 28 November 2018 - 08:10 AM

I've had a similar problem (compiled bot not starting on win server, same as here, in task manager was showing but no gui) and didn't find any other solution to that then getting a clean copy of WIN installed.



#4 juno

juno

    Newbie

  • Members
  • Pip
  • 9 posts
  • OS:Windows 10
  • Total Memory:More Than 9Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 28 November 2018 - 11:39 AM

That's a problem for me considering my EC2 image is a brand new clean copy of Windows running in the AWS cloud.  Has there been any cases of successfully running compiled bots on VPS cloud servers like Azure or AWS?



#5 bestmacros

bestmacros

    Advanced Member

  • Fellow UBotter
  • PipPipPip
  • 419 posts
  • LocationIsrael
  • OS:Windows 10
  • Total Memory:More Than 9Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 28 November 2018 - 12:28 PM

1. Uninstall .Net
2. Restart your computer
3. Install .Net from here: http://www.microsoft...s.aspx?id=30653
4. Restart your computer
5. Run the bot and see if it works.
6. Make sure you are running the bot as admin.
7.Make sure you have stable internet connection.
8. Install latest Microsoft visual c++ from here: https://www.microsof...s.aspx?id=52685
9. Restart your computer
10. Run the bot and see if it works
11. kill all bot process.
12. go to folder "%appdata%\Ubot Studio\Browser"
13. delete folder "5.9.36"
14. run bot and see if it works.

bestmacros.jpg


#6 HelloInsomnia

HelloInsomnia

    Advanced Member

  • Moderators
  • 3202 posts
  • OS:Windows 10
  • Total Memory:More Than 9Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 28 November 2018 - 01:23 PM

Try what @bestmacros said but also disable windows smartscreen



#7 Romeo

Romeo

    Advanced Member

  • Fellow UBotter
  • PipPipPip
  • 54 posts
  • OS:Windows 7
  • Total Memory:More Than 9Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 28 November 2018 - 01:44 PM

press win+R

then type in RUN box "%APPDATA%"

then find ubot studio folder and delete it and restart your bot

 

it will download the support files on next run automatically and make sure to not interrupt the downloading support files as it may take some while to download correctly 


Romeo.


#8 juno

juno

    Newbie

  • Members
  • Pip
  • 9 posts
  • OS:Windows 10
  • Total Memory:More Than 9Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 28 November 2018 - 07:10 PM

Tried all of these on a 2016 server and a 2012. There must be something in the configuration that AWS and Azure do to their images that's causing the problem. I can launch the compiled bot just find on my Windows 10 machine.



#9 kill3rbko

kill3rbko

    Advanced Member

  • Members
  • PipPipPip
  • 152 posts
  • OS:Windows 8
  • Total Memory:More Than 9Gb
  • Framework:v4.0
  • License:Developer Edition

Posted 01 February 2019 - 02:01 AM

Hello,

 

Just a feedback in case

 

I have solved my problem by installing Microsoft visual c++ x86 version and not x64 version even on a 64bit windows server.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users