Jump to content



Photo

Compiled Bot Will Not Launch On Windows 2016 Server


  • Please log in to reply
15 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
  • 44 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
  • 430 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
  • 3298 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
  • 154 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.



#10 akslal

akslal

    Newbie

  • Fellow UBotter
  • Pip
  • 7 posts
  • OS:Windows 10
  • Total Memory:4Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 15 March 2020 - 03:12 PM

@kill3rbko
 
You are a superstar.
 
Thank you so much!
Amit
 
 

This works guys. 

Thanks

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.



#11 sifuhall

sifuhall

    Advanced Member

  • Fellow UBotter
  • PipPipPip
  • 66 posts
  • LocationLexington Ky
  • OS:Windows 8
  • Total Memory:8Gb
  • Framework:v4.0
  • License:Developer Edition

Posted 23 March 2020 - 11:53 AM

Confirming this worked for me as well.

 

 

@kill3rbko
 
You are a superstar.
 
Thank you so much!
Amit
 
 

This works guys. 

Thanks

 



#12 presbyran

presbyran

    Member

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

Posted 25 March 2020 - 03:13 PM

Not working for me :(

Tried everything

 

Delete Ubot

Clear %APDATA%/Ubot

Re-install x86 file

 

Any other solutions?

Need it fixed asap

 

Thanks



#13 sifuhall

sifuhall

    Advanced Member

  • Fellow UBotter
  • PipPipPip
  • 66 posts
  • LocationLexington Ky
  • OS:Windows 8
  • Total Memory:8Gb
  • Framework:v4.0
  • License:Developer Edition

Posted 26 March 2020 - 06:35 AM

Maybe you need a different version of the Microsoft C++ files?

What version of UbotStudio are you using?



#14 sifuhall

sifuhall

    Advanced Member

  • Fellow UBotter
  • PipPipPip
  • 66 posts
  • LocationLexington Ky
  • OS:Windows 8
  • Total Memory:8Gb
  • Framework:v4.0
  • License:Developer Edition

Posted 26 March 2020 - 06:57 AM

Here is a little more info on this.

I compiled a bot using ubotstudio version 6.11 and launched it on a Windows 10 machine (amazon workspace) and the GUI did not come up.

I compiled the same bot using ubotstudio version 5.9.44 and launched it on the same Windows 10 machine and the GUI came up just fine.



#15 sifuhall

sifuhall

    Advanced Member

  • Fellow UBotter
  • PipPipPip
  • 66 posts
  • LocationLexington Ky
  • OS:Windows 8
  • Total Memory:8Gb
  • Framework:v4.0
  • License:Developer Edition

Posted 26 March 2020 - 09:27 AM

Updating .NET to 4.8.03752 fixed this issue for me.



#16 alex112345

alex112345

    Newbie

  • Members
  • Pip
  • 2 posts
  • OS:Windows 8
  • Total Memory:8Gb
  • Framework:v4.5+, unsure
  • License:Professional Edition

Posted 07 April 2020 - 02:51 AM

Updating .NET to 4.8.03752 fixed this issue for me.

Thanks for the information.

 

Compiler bot 6.18 version after upgrade to 4.8.2 .net work prefect, previously upgrade to .net 4.7, can't load out.

 

i use vps windows 2008 server

 

PS: Suggestion, UBOT  should inform us like version 6.18 need use .net 4.8.2, it waste me few hours to figure out the problem






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users