Errors running programs on secondary drive - hardware

I'm going insane trying to figure this out. I've installed windows 10 on a WD Black SN850 Nvme. No issues here. I then have another nvme with a larger size I got after that I decided to use to install programs.
I seem to be able to install programs just fine on the secondary drive, but they start to error out trying to run them. I completely replaced the 2ndary nvme with a new one, reinstalled windows on the main nvme but get this same frustrating situation. Permissions on folders are set to full access, I can open simple text files on the 2ndary drive just fine. However, running exe or other program types returns an unable to access error.
Is there something I'm missing for the nvme set up? The fact I can partition the drives and use them as normal leads me to believe they are configured correctly. Not to mention I completely swapped out the 2nd nvme with a brand new one. I also ran bios tests for the drives and came back with no errors. I also checked the drivers/bios updates for the board and made sure it was up to date. Any programs installed on the main drive are also running just fine without issue.
I also popped in a few regular ssd, installed programs on them and also have no issues running them.
This is super frustrating and I can't figure out why the 2ndary nvmes I use are consistently getting errors running any programs installed on them.
Any advice on what else to check would be great appreciated.

Related

Hsmartwindow doesnt show image in .net program on production pc

My first stack overflow question, here we go.
Last week the computer on which a prototype vision application written in C#/.net was running crashed due to an unreleated reason. this resulted in the need to fresh install windows (windows 10 IOT). after installing windows, halcon 20.11 progress and setting the licenses the application starts, but no output is shown on the smart window control, even tho this worked beforehand?
i have been trying to debug this problem for the last day, but have had no luck, what i have allready tried:
used the remote debugging toe verify that the image is captured and processed and "displayed".
checked the system logs for any warnings, there were none.
Tried one of the example programs the come with Halcon, which also does **not **work.
Ran the application on my development PC, which worked flawlessly as it always did.
Reinstalling Halcon.
does anyone have had any similar experiences and/or any clue how to solve this problem?
problem has been solved. in the end a reset of the bios settings to there default values did the trick. Don't know what they exact cooperative was, but at least it works once again.

R crashes when trying to load CSV file

When I try to read a CSV file using
read.csv(file="/Users/User1/Documents/file.csv", header=T)
it says no file path exists. This command works with the same file when I tried it on a different computer.
So I tried read.csv(file.choose()), but this just freezes my console. This command works on the other computer with the same file.
I uninstalled and reinstalled the program and even tried an older version of R, but the problem persists.
I cannot change my working directory either. setwd() also freezes the console.
Has anyone had this same problem?
From my experience, I have faced the same problem while having a big chunk of data. The loading process also creates pressure on the computer so you need to check your ram, storage and the processor of your computer. So, I'll recommend you to work on python, otherwise, you can have a try with the h2o server. Google about how to do the analysis using the h2o server in R. It may also work.

setting up monodevelop in xfce

I use this solution to have a VNC desktop session with a remote Ubuntu PC https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-16-04
I want to setup monodevelop on this machine. I followed the instructions and am able to run monodevelop and write code, however when I attempt to run it I get "Could not connect to the debugger". I tried various solutions suggesting changing environment variables to force monodevelop to use xterm and it did not work, however I'm not positive I did it correctly as the solution was meant for gnome and the modifications to the command for XFCE were not clear to me. At this point I'd be willing to get paid support, but I'm not even sure where I could find any for my use case. Does anyone have experience getting monodevelop to work on XFCE? If not what is the best environment for getting it going (ideally a way where I could remote in too). I'm very accustomed to the RDP workflow where I can actually troubleshoot on a development server and be very close to the real world environment to get things running, then check-in and deploy. I think there are a lot of platform differences with monodevelop so I really really really want to develop on Ubuntu (remotely).

Autorun.inf on a usb can you get it to run a pdf?

I've done some research all over the net, I guess I am just looking for conformation.
Due to how Microsoft has put security on autorun in vista and above. Autorun from a usb no longer works. Correct? It seems like it will still bring up the options to run .exe but for some odd reason I cannot get it to run a .pdf. This site has suggested that I load up a pdf reader and run that and then call it to run the pdf. But a generic pdf reader would still have to go through the install prior to running it, something I am trying to avoid.
The other idea I came up with was cause of this specialty usb manufactures have stated that they their usb drives can autorun files because they are formated to be local disks.
So after some experimenting and doing this I converted my usb to a local to see if that would work and pasting the autorun.inf in there with the correct code...
[AutoRun]
shellexecute=mypdf.pdf
icon=mypdf.ico
label=mypdf
sadly it does't work
Also after thinking about it creating a local disk would only work with the driver software that I loaded up onto that usb... so say it is a 64bit and the client has a 32bit it wont run. (right?)
Can someone just confirm that there is no way to autorun a pdf from a usb? or even have it as an option to select from when it is plugged in for the first time. I cannot believe I have spent an entire day trying to just get autorun to work.
Thanks for taking the time to read this nub question
Try using a PDF viewer which does not require installation, eg:
http://www.snapfiles.com/get/sumatrapdf.html
From this site:
http://www.snapfiles.com/features/ed_usb_software.html
Using sumatraPDF portable installation you can launch that from the flash drive.
The way I did it is by creating autorun.inf with the following:
[autorun]
icon=autorun.ico
label=Label for Drive
action=Action Description
open=autorun.bat
And a autorun.bat file with the following:
start SumatraPDF.exe ../pdfname.pdf
However, if the user has autorun turned off it will not work and in Windows 7 and above autorun functionality for flash drives is restricted to label and icon only.

Does VirtualBox have any advantages over VMWare Player?

I've been using VMWare Player for ages now for both Windows development on my Linux box and (more importantly) automated testing of Windows applications.
Basically what I do is to:
have my development VM running and I build my code and automatically transfer the install package to Linux.
when this shows up at Linux, automatically copy a "known-state", snapshot VM to my test work area (I say snapshot but it's really just a backup copy of the whole directory, not a real VMWare snapshot).
also automatically start the VM in the work area once it's copied.
the VM has a single never-changing startup script which pulls a real startup script from Linux and runs it.
that startup script is responsible for getting down the install package and doing a silent install.
it then runs a test suite and uploads results back to Linux where I have automated scripts which check them.
So, it's basically a one-button test process.
Now I notice more and more people seem to be using VirtualBox.
First off, I'd like to confirm that it can also do a similar thing, primarily being able to backup and restore whole VMs and having shared folders between VirtualBox and Linux.
Secondly, and this is the crux: I'd like to know if that has any concrete advantages over VMWare Player, especially for the automated testing jobs.
I switched to VirtualBox because of one concrete advantage, I wasn't able to setup the network as I wanted to in player. I don't remember if it was bridging or port-forward or whatever that didn't work, but something didn't work the way I wanted it to with the network-setup (cause I needed the pay-version for that) and thus I switched. Personally I've found that both have good and bad sides, but I still use virtualbox cause of that network-thing.