startup

C# application not running on startup

巧了我就是萌 提交于 2019-12-12 06:16:14
问题 I can't for the life of me figure this one out. I have created a fairly large C# application that basically runs a bunch of separate components and reboots the machine periodically. The idea of this application is basically to automate a process that we have at my company. So I had it working previously so that after the machine reboots it launches after an account is logged into. Anyways the app no longer will launch on startup. Please see the code below which I have implemented to add an

IntelliJ IDEA crashes on startup, plugin error

烂漫一生 提交于 2019-12-12 05:51:42
问题 When trying to start IntelliJ IDEA 14 Ultimate on a newly upgraded OS X Yosemite, I get the following exception in a dialog window, aborting IDEA startup: Plugin 'DBN' failed to initialize and will be disabled. Please restart IntelliJ IDEA. java.lang.ClassNotFoundException: com.dci.intellij.dbn.DatabaseNavigator PluginClassLoader[DBN, 3.0.3501] at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:68) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) at java

Cannot start a service instance in OpenLink Virtuoso Universal Server

橙三吉。 提交于 2019-12-12 04:22:22
问题 Our OpenLink Virtuoso Universal Server at the Ubuntu 12.04.2 LTS. When I run ./virtusoo-start.sh , the service does not startup. and I got the message. Starting Virtuoso instance in [database] The VDBMS server process terminated prematurely after opening the database. *** *** ERROR: Could not start this Virtuoso Instance. *** 21:57:32 ./virtuoso() [0x5eb045] 21:57:32 ./virtuoso() [0x5f3c64] 21:57:32 ./virtuoso() [0x5f4aba] 21:57:32 ./virtuoso() [0x8eb806] 21:57:32 ./virtuoso() [0x8f776a] 21

Launch perl script on startup

断了今生、忘了曾经 提交于 2019-12-12 03:56:03
问题 I'm currently trying to launch a perl script that is supposed to run all the time on startup. i'm working on a CentOS server. I added this line in /etc/rc.d/rc.local and the script won't start while it works when I type the same line from the console : perl /svcmon/bin/svcperf.pl --svc fav01svc --interval 5 >> /dev/null & This script is actually supposed to be launched and you have to wait for as many time as you want datas inserted in your database, but adding >> /dev/null/& allows you to

Why is the Configuration method of the SignalR Startup class invoked twice

大兔子大兔子 提交于 2019-12-12 03:23:56
问题 I am running some initialization code in the Startup class used by SignalR. The code is invoked in the Configuration method (this is in as ASPNET MVC app). The initialization code needs to run exactly once and is placed in the Configuration(IAppBuilder app) method of the Startup class like so: public void Configuration(IAppBuilder app) { //Call some custom pre initialization code ConfigureAuth(app); //Call some custom post initialization code } I noticed that the public void Configuration

How to make scollView (for T&C) only show up once at begin of app, then never show up again?

て烟熏妆下的殇ゞ 提交于 2019-12-12 01:48:13
问题 My questions is...how to make....this... I am trying to make a scollview to show the term&condition at beginning of my app when the user is 1st time using the app. if the user accepted the T&C (by clicking accept button), this T&C scollview will never show up again at beginning of the app, as he already accepted. So he will be free to use the app in future. How do I implement this? any suggestions? 回答1: Use NSUserDefaults with a key like "TCShown". If the key does not exist in the

ConEmu: Open multiple Git Bash tabs on different locations

孤者浪人 提交于 2019-12-12 01:41:10
问题 I need to setup startup tasks in order to have 3 git bash tabs opened on startup, each in different location. To open various tabs on various places I used cmd -new_console:s /k "%ConEmuBaseDir%\CmdInit.cmd" & d: & cd \Projects\Project1 cmd -new_console:s /k "%ConEmuBaseDir%\CmdInit.cmd" & d: & cd \Projects\Project2 cmd -new_console:s /k "%ConEmuBaseDir%\CmdInit.cmd" & d: & cd \Projects\Project3 There is already a predefined task for Git bash {Bash::Git bash} "%ConEmuDrive%\Program Files\Git

Wix create shortcut in user startup folder

僤鯓⒐⒋嵵緔 提交于 2019-12-12 01:07:47
问题 I'm trying to create an installer that makes the program run on startup for the current user. I can create a shortcut, but I can't seem to put in the right folder. <!-- some wix stuff --> <Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" /> <!-- more wix stuff --> <Directory Id="TARGETDIR" Name="SourceDir"> <!-- more directory stuff --> <Directory Id="UserStartupFolder"/> </Directory> <SetDirectory Id="UserStartupFolder" Value="[%APPDATA]\\Microsoft\\Windows\\Start

.net core 2.0 cookie authentication getting stuck in infinite redirect loop when trying to access over https

痴心易碎 提交于 2019-12-11 23:24:27
问题 I have just moved my code to our QA environment which uses https and what was working in Dev is not working in QA because the browser gets stuck in an infinite redirect loop. Our load balancer forces https so when the login redirect happens from code, which for some reason it's trying to redirect to http instead of https, the load balancer is stopping it and adding https again which causes the infinite loop. The question I have is why is this code not just redirecting to https, the path is

Load package at start-up

南楼画角 提交于 2019-12-11 23:18:15
问题 I am trying to load a package at start-up if it's already installed. If it isn't then I want to first install it and then load it. So, I created the following function: RLoadPackage <- function(packname) { if((packname %in% rownames(installed.packages()))==FALSE) { install.packages(packname,dependencies = TRUE) } library(packname,character.only = TRUE) } This works well once RStudio is opened, but it doesn't quite work at start-up. I added this function to my local .RProfile file as: