Questions tagged [startup]

Startup usually refers to the processes or events that occur at the start of a program, at the beginning of execution of a code block, or when a device is first booted.

Filter by
Sorted by
Tagged with
-1 votes
0 answers
32 views

How to run a command in a powershell script?

this is my first post on stackoverflow and was wondering if i could get some help with something. I am wanting to create a powershell script that runs the command "spicetify backup apply" on ...
george nelthorpe's user avatar
0 votes
0 answers
11 views

Run command from non-elevated cmd as admin

We are having a large amount of devices with startup issues that could be resolved via startup repair. The issue is startup repair fails due to bitlocker (thanks microsoft). From windows ...
PortaaaaB's user avatar
0 votes
1 answer
68 views

Azure app service startup command not working

I have a Python Flask web app deployed to Azure App Service via Azure Devops. Everything has been working well until I added pyOpenMS. The app began failing to start with the logs showing this error: ...
rikitikitik's user avatar
  • 2,444
0 votes
0 answers
37 views

cmd file not working on startup, only if manually started

I have a cmd file that is supposed to start a ps1 script on startup. If I run the file manually, meaning that I navigate to the ...\Start Menu\Startup folder and double click the file, it runs without ...
Gaga02's user avatar
  • 3
0 votes
0 answers
19 views

No owin.Environment item was found in the context. After I add Hangfire Function and added <add key="owin:AutomaticAppStartup" value="false" />

I recently added Hangfire to my project and added <add key="owin:AutomaticAppStartup" value="false" /> to web.config , and OWIN stops working my startup.cs looks like this [...
Anthony Cheung's user avatar
-1 votes
0 answers
6 views

How can I force "ionic serve" to fail upon startup if there are compilation errors in the codebase?

I'm using Ionic 7 and React 18. There are places in my codebase where VSCode warns me about typing errors, for example in a reducer logout: (state) => { state.user = null state.isAuthenticated ...
Dave's user avatar
  • 15.2k
-1 votes
0 answers
17 views

Weird looping crash on startup of ios app when sharing crash with developer

We're occasionally getting a weird crash loop on the startup of our app which brings up the alert to share the crash with the developer, but as soon as you say yes, it re-resents the same alert over ...
Toby Evetts's user avatar
0 votes
0 answers
32 views

Why is registering x86 build for startup works but x64 does not

I want to register my application to launch on startup. I set up the registry entry programmatically, I do it for the x64 build, and check the entry all looks good. But on restarting the machine ...
GVS's user avatar
  • 1
0 votes
1 answer
42 views

Problem with Tomcat Servlet startup using @WebServlet annotations [duplicate]

Good morning. I have a problem with my servlet startup. Could you please help me? I am using Tomcat 9.0.82 Coretto 11.0.17.8.1 Windows 10 19045.3570 I have a compiled WAR archive with the following ...
xplox's user avatar
  • 1
0 votes
0 answers
47 views

Resolve type during service registration in ASP.NET Core 7.0 app [duplicate]

I'm building a distributed ITicketStore and I was trying to reuse the IDistributedCache through constructor injection: public sealed class RedisTicketStore: ITicketStore { public RedisTicketStore(...
Luis Abreu's user avatar
  • 4,108
0 votes
0 answers
77 views

R session startup

R session startup gives an error. I tried reinstalling both R and Rstudio several times but this didn't work. R itself does work. Does anyone have a suggestion to fix this error? thank you so much in ...
AVC's user avatar
  • 1
0 votes
1 answer
26 views

STM8 Assembly startup code: Access Core registers to initialize stack pointer

I am currently trying to write startup code in assembly for an STM8 without any vendor libraries. More specifically, I am using an STM8S103f3p6. I am still inexperienced in assembly and with startup ...
Alex's user avatar
  • 45
0 votes
0 answers
51 views

health check endpoint returns 404 when I call it in .net core

I have this RoutingHelper: public static class RoutingHelper { public static RequestDelegate OrbisDefaultRoute => async context => { ...
Ehsan Akbar's user avatar
  • 7,025
0 votes
1 answer
49 views

Are there any issues calling Build() on IConfigurationBuilder outside of the startup class?

We are trying to use Azure App Configuration in our project. We want the experience to be as smooth as possible for our developers. We would like to be able to only have a key in our local.settings....
Clayton Treder's user avatar
0 votes
2 answers
38 views

Startup class: how to add scoped service and middleware

I am trying to add correlationid to request, and track them everywhere. I have the following lines in the startup class: services.AddScoped<ICorrelationIdGenerator, CorrelationIdGenerator>(); // ...
Iria's user avatar
  • 59
2 votes
1 answer
74 views

Wildfly 30 starts... but then blocks because of startup timeout

It seems to start correctly 17:44:17,093 INFO [org.jboss.as.mail.extension] (MSC service thread 1-8) WFLYMAIL0001: Bound mail session [java:jboss/mail/Default] 17:44:17,201 INFO [org.wildfly....
Lore's user avatar
  • 1,382
1 vote
0 answers
54 views

Problems with Rprofile, dont load at startup

I have a R (4.2.2) and RStudio (2023.06.2) installed on a MacOS system, before I update Rstudio I have no problem, but with those version I don't how to load .Rprofile at startup RStudio. The defaul ...
abraham's user avatar
  • 663
0 votes
2 answers
110 views

AVR: Creating and understanding minimum startup code and linker scripts from scratch

EDITED AND SHORTENED My goal is to write the minimum necessary startup-code and linker script "from scratch" for a system which is new to me and reach main(). I only want to use the ...
Alex's user avatar
  • 45
0 votes
1 answer
35 views

Troubles with altair library in python

I'm running the following code: https://towardsdatascience.com/how-to-create-an-interactive-startup-growth-calculator-with-python-d224816f29d5. And I'm trying to make an startup growth calculator. ...
Salvador Macías's user avatar
0 votes
0 answers
66 views

VB.net BC30738 'Sub Main' is declared more than once in <application> My.MyApplication.Main(args As String())

Solved this issue and posting to help future readers. This happened when switching a Windows Forms App to start with my own Main() instead of a form. After experimenting with many different ways of ...
Mike D's user avatar
  • 1
0 votes
0 answers
51 views

Is startup on user login and setting persistence possible with Desktop Bridge or UWP on Surface Hub?

I am exploring the potential of migrating an existing Windows service application to Desktop Bridge for compatibility with Surface Hub devices. I have two main inquiries: Startup on User Login: Can a ...
Hryhorii's user avatar
0 votes
0 answers
33 views

Wildfly startup: how to ignore errors and load anyway?

I am starting this server <groupId>org.wildfly.plugins</groupId> <artifactId>wildfly-maven-plugin</artifactId> <version>2.0.2.Final</version> I receive some errors ...
Lore's user avatar
  • 1,382
0 votes
1 answer
56 views

How can I provide a custom function, depending on major-mode variables, right after the startup of Spacemacs?

I recently started to write some elisp code, mostly to customize my spacemacs -> absolute beginner. Although there are a many different sources of "how to customize..." around, I still am ...
JJdasWIESEL's user avatar
1 vote
2 answers
41 views

I need to know which service has executed a script, to powershell

I need to know which service has executed a script from the same script. For example The service service_Test executed the test script. From the test script I want to know which service has executed ...
Toni's user avatar
  • 11
0 votes
0 answers
56 views

why my pods aren't healthy with the following error :Startup probe failed: Get dial tcp 10.224.0.85:80: connect: connection refused

my pods are not coming up healthy with the following error : Startup probe failed: Get "http://10.224.0.85:80/": dial tcp 10.224.0.85:80: connect: connection refused if i remove the ...
Dawod Kabha's user avatar
0 votes
1 answer
66 views

apache-tomcat-10.1.13 fail to startup ,after instatllation .I have already set CATALINA_HOME and JAVA_HOME in the system variables

C:\Program Files\Tomcat\apache-tomcat-10.1.13\bin>startup Using CATALINA_BASE: "C:\Program Files\Tomcat\apache-tomcat-10.1.13" Using CATALINA_HOME: "C:\Program Files\Tomcat\...
jenifer's user avatar
0 votes
0 answers
93 views

How to force-stop an application automatically on startup of an Android TV Box

I have an application that I need to force-stop automatically on the startup of the Android because it's connecting to the internet and is blocking me the entire TV Box. I tried to delete it, but I do ...
tvjpn's user avatar
  • 1
0 votes
1 answer
89 views

How do i make a roblox script start as soon as a player joins the game?

local Theme = workspace.CrucibleMusic1 local FlashEffect = script.Parent.FlashEffect local Camera = workspace.Camera local ScreenZoomAmount = 0.025 -- How much screen zoom when music is playing local ...
Melissa Melvin's user avatar
0 votes
0 answers
48 views

Xamarin Forms app crash during startup (Android - Phisycal device)

i deployed app developed with xamarin forms (5) and it works perfectly on IOS and Android, BUT some specific device like these (Vivo y21, Realme C55) app crash during startup. The thing very strange ...
Marco Santoro's user avatar
0 votes
1 answer
76 views

Every method should start with the same thing

I'm working with an interface, handling incoming messages. The definition of that interface looks as follows: public interface IMessageHandler<TMessage> where TMessage : ... { void Handle(...
Dominique's user avatar
  • 16.3k
0 votes
0 answers
63 views

Jenkins Pod not coming up when installed using pre-existing PVC

I am trying to install Jenkins using Helm. Charts used - (https://i.stack.imgur.com/ZrTXx.png)) chart version 4.6.4. We have another Jenkins which uses a PV that is bound to a disk on GCP. We wanted ...
spoorthyreddy's user avatar
0 votes
1 answer
71 views

ts-node-dev takes 30 seconds to add watchers

Whether I use ts-node or ts-node-dev, it takes about the same amount of time to start my app server, and it is driving me crazy. I have attempted to resolve this issue several times without success. I ...
Gmanicus's user avatar
  • 100
3 votes
1 answer
86 views

GCP running tmux on startup-script

I'm trying to use spot VMs and currently setting up my workflow. The last piece I haven't figured out is launching a tmux session with my experiments, so that I can sometimes ssh to the spot VM to ...
Davide's user avatar
  • 165
1 vote
0 answers
103 views

Octave keeps crashing on start-up

I tried to install the io package ( https://octave.sourceforge.io/io/index.html ) from the octave command window, for some reason this didn't work the 1st time and Octave just crashed. I restarted ...
Kevin's user avatar
  • 11
0 votes
1 answer
117 views

GCP install conda on startup script

I'm trying to install conda on the first startup of the VM but am encountering error after error. The startup script is the following: #!/bin/bash -i sleep 5 yes Y | sudo apt-get update wget https://...
Davide's user avatar
  • 165
0 votes
0 answers
84 views

GCP startup script not running

I'm trying to run a startup script on a managed instance group of spot VMs. The instance template is: gcloud compute instance-templates create spot-template \ --machine-type e2-micro \ --tags ...
Davide's user avatar
  • 165
1 vote
0 answers
16 views

Http connection error while starting up R studio

I was using RStudio 2023.03.0+386 . I was using metaboanalystR and pathview package on R for data analysis. Meanwhile, I wanted to change the working directory - and that's when it showed an error. ...
CM-07's user avatar
  • 11
0 votes
1 answer
17 views

How to pass a Value from OnRedirectToIdentityProvider to OnAuthenticationFailed in Owin startup

I have owin and OIDC none MVC .net application. I wonder if there is any way set a value (Like environment variable or parameter) in OnRedirectToIdentityProvider in Owin Startup and access it in ...
user464291's user avatar
0 votes
0 answers
19 views

Not able to open IntelliJ Ultimate

I have tried restarting laptop but still not able to open.
Keya Bhavsar's user avatar
0 votes
0 answers
28 views

Service - Start Delay

I would like to start a service manually but as the service starts (Green progress bar) I'd like it to wait 30secs and then start the service. Is there a way of doing this? I've tried adding a "...
ChrisG's user avatar
  • 1
0 votes
1 answer
42 views

Dotnet Core application halting / waiting on startup [closed]

I have a Dotnet Core API application that is published as an .EXE When I run the application (double click the .EXE), the console window opens, but nothing happens (the console window remains black - ...
THEoneANDonly's user avatar
1 vote
1 answer
99 views

How to open a python file in background with a virtual environment activated on PC startup?

I have a python file that needs a virtual environment to be activated in order to be run, and I want this file to be run whenever I start my PC. Problem is a terminal window opens even though I'm ...
rpicoder's user avatar
0 votes
1 answer
78 views

Can Kestrel be configured programmatically to not require a dev cert on a production environment?

Not sure if I am being stupid. Using NET 6, I have a piece of code to start up Kestrel on a port I specify, and use an SSL certificate as specified in configuration. Basically this works fine on ...
Brian Boyington's user avatar
0 votes
0 answers
42 views

TRACE logging level run infinitely on spring boot web app

I have a web app running with spring-boot when I put the logging level: logging.level.root=TRACE From unknown reason it's run fast infinitely Does someone know what could be the reason? From my code ...
lingar's user avatar
  • 497
1 vote
0 answers
13 views

BROWSER variable not set and available in postStart or postAttach

I am working on a feature in a specific dev container implementation. I am trying to run "az login" interactively when the container is setup. I invoked the command during a script that is ...
BraKi Brakstad's user avatar
1 vote
0 answers
20 views

How to test Program.cs? [duplicate]

I've been creating test for net6.0 and my currently issue is with the Program.cs or Startup.cs files. Since I need 80%+ test coverage on each of my projects, a couple of them are stuck with less than ...
Bruno Braga's user avatar
0 votes
0 answers
52 views

Software Cannot Initialize

I've encountered a problem when loading software(to be more specific, it is an industrial database viewer). However, the software can't seem to boot up. I have enclosed the error below which seems ...
sweetpotato's user avatar
-1 votes
1 answer
133 views

Can't start Tomcat - JDK installed but Tomcat says "NB: JAVA_HOME should point to a JDK not a JRE"

I'm running RHEL 7.9 and ran RPM to install JAVA 8 update 372, then un-tar'd my Tomcat packages so everything is "installed". Then I set my .bashrc to: export JAVA_HOME="/usr/lib/jvm/...
BuddyLee's user avatar
0 votes
0 answers
37 views

Why do extensions sometimes say they need to be reloaded right after VSCode starts?

Sometimes after I start or restart VSCode one or more extensions indicates that I need to reload. I haven't detected any pattern in this. Why does this happen? Should it happen? My interest in this ...
Ross Boylan's user avatar
0 votes
0 answers
20 views

Performance implications of using MapWhen?

Please see the code below. I'm concerned about the potential performance implications of this code, as I realised that MapWhen executes on every request to the server - including requests for images ...
Kiran Ramaswamy's user avatar

1
2 3 4 5
58