juno 1 Posted November 28, 2018 Report Share Posted November 28, 2018 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? Quote Link to post Share on other sites
juno 1 Posted November 28, 2018 Author Report Share Posted November 28, 2018 Update: I have tried the solution here but there was no change in this.http://network.ubotstudio.com/forum/index.php/topic/22225-compiled-ubot-studio-x-version-604-stuck-on-loading/ Quote Link to post Share on other sites
MasteRofBotS 10 Posted November 28, 2018 Report Share Posted November 28, 2018 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. Quote Link to post Share on other sites
juno 1 Posted November 28, 2018 Author Report Share Posted November 28, 2018 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? Quote Link to post Share on other sites
bestmacros 60 Posted November 28, 2018 Report Share Posted November 28, 2018 1. Uninstall .Net2. Restart your computer3. Install .Net from here: http://www.microsoft.com/en-us/download/details.aspx?id=306534. Restart your computer5. 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.microsoft.com/en-us/download/details.aspx?id=526859. Restart your computer10. Run the bot and see if it works11. 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. 1 Quote Link to post Share on other sites
HelloInsomnia 1103 Posted November 28, 2018 Report Share Posted November 28, 2018 Try what @bestmacros said but also disable windows smartscreen Quote Link to post Share on other sites
Romeo 13 Posted November 28, 2018 Report Share Posted November 28, 2018 press win+Rthen 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 Quote Link to post Share on other sites
juno 1 Posted November 29, 2018 Author Report Share Posted November 29, 2018 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. Quote Link to post Share on other sites
kill3rbko 12 Posted February 1, 2019 Report Share Posted February 1, 2019 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. 1 Quote Link to post Share on other sites
akslal 3 Posted March 15, 2020 Report Share Posted March 15, 2020 @kill3rbko You are a superstar. Thank you so much!Amit This works guys. ThanksHello, 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. Quote Link to post Share on other sites
sifuhall 0 Posted March 23, 2020 Report Share Posted March 23, 2020 Confirming this worked for me as well. @kill3rbko You are a superstar. Thank you so much!Amit This works guys. Thanks Quote Link to post Share on other sites
presbyran 2 Posted March 25, 2020 Report Share Posted March 25, 2020 Not working for me Tried everything Delete UbotClear %APDATA%/UbotRe-install x86 file Any other solutions?Need it fixed asap Thanks Quote Link to post Share on other sites
sifuhall 0 Posted March 26, 2020 Report Share Posted March 26, 2020 Maybe you need a different version of the Microsoft C++ files?What version of UbotStudio are you using? Quote Link to post Share on other sites
sifuhall 0 Posted March 26, 2020 Report Share Posted March 26, 2020 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. Quote Link to post Share on other sites
sifuhall 0 Posted March 26, 2020 Report Share Posted March 26, 2020 Updating .NET to 4.8.03752 fixed this issue for me. Quote Link to post Share on other sites
alex112345 0 Posted April 7, 2020 Report Share Posted April 7, 2020 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 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.