Error in Run Apple Script custom application -10661 - applescript

I am trying to run an application using apple script but it throws an error. The command which I try to run is:
tell application "MyApplication" to launch
An error I received:
error "An error of type -10661 has occurred." number -10661
I am trying to run this command in apple script editor. And my application exists in the Application folder. When I directly run this application it's working. When I try to run other default applications its working fine too.

Are you sure "MyApplication" is scriptable? If so, are you sure there is a "launch" command? Double check the dictionary for the application.
As an alternative, you can tell the Finder to open the application
Tell application "Finder" to open file "path:to:your:application.app"

Related

Cannot debug with Visual studio 2019 -HTTP Error 500.0 - ANCM In-Process Handler Load Failure

I am trying to debug my own application, but when I launch it with the VS2019, he shows me this message:
HTTP Error 500.0 - ANCM In-Process Handler Load Failure.
At the beginning I had found on the internet that it is necessary to modify in the web.config the hostingModel from "InProcess" to "OutProcess" but I could no longer launch the application.
After that, I tried to run the application with dotnet run with command line,the ANCM In-Process Handler Load Failure is gone and in the same time i runned the application from VS2019,the error is gone also.
My application work now in Localhost with two Different Ports.
My problem now is When i made some change in my code i have to repeat this procedure to access debug :
shutdown application from command line (if its already up)
rebuild app with command line or IDE
execute dotnet run with command line
launch it with debugger of IDE
if anyone encountered such a problem, how did they solve it
By any chance, did your project name end with the characters "dotnet", like "myappdotnet.csproj"? I discovered that when trying to run any project that ends in those characters, IIS Express throws this exact error.
Unfortunately, I have no idea where this would be documented--if it is.

Specify command line for application while creating service using SRVANY.EXE

I am creating service in VB6 application using SRVANY.EXE as show in this link . But my application requires a command line to work.So if i want to pass command line to my application then what to do? The command line is fixed and not change. So how it can be given while creating service?
I use these exact steps at work to create a service for my VB6 apps. However I have the path in step 15 to be a batch file (.bat file) that they runs the VB6 app with the required arguments.

websphere not starting with error ADMU7704E

I created websphere server. I was able to launch my application with it. However after I enable the debugging , the server is not starting. I am getting the following error
"ADMU7704E: Failed while trying to start the Windows Service associated with
server: server1; probable error executing WASService.exe"
On some sites a workaround was to delete server.pid file but I am not seeing any such files in the location.
Please suggest
The first thing to test is to disable the WAS Windows service from Windows Services Panel and then try to start server using command line ie startserver.bat
You run this command from PROFILE_HOME/bin. if this starts fine, you can recreate the service using wasservicecmd
http://www-01.ibm.com/support/docview.wss?uid=swg21397335
If the manual startup fails , please check if any logs created under PROFILE_HOME/logs// Check for any error messages in SystemOut.log, SystemErr.log , native_stderr and native_stdout logs.
PROFILE_HOME is home directory of WAS profile.
VG, opinions are my own and not those of my employer

Run a command without the command line running in a new window

I am trying to run a command from a node.js app that's installed on the machine. The command runs fine (it is a command to launches Tomcat). However, the command I run actually open the command line window that is launching Tomcat. Is there a way to do the same thing (run the same command to launch Tomcat) but without the command line window opening up?
Let me know if you need more info!
Your problem isn't with node.js but rather with tomcat. You are probably running the wrong command.
instead of calling catalina.bat start, rather call catalina.bat run.
alternatively you can set it up as a service and call net start tomcatX

error registering mscomm32.ocx

Can somebody tell me how to register mscomm32.ocx. I pasted it in system32 and then tried to register using "regsvr32 c:\windows\system32\mscomm32.ocx" . Even then i got some error message something like this:
"the file was loaded but it is unable to register error 0x8002801". I use 32 bit OS Windows 7
I would be pleased if someone helped me with this.
You may need to run in it as an administrator. My recommendation would be to start a command prompt as the administrator (right-click on the Command Prompt icon in the Start menu and select "Run as Administrator").
That's a guess based on this article - DLLRegisterserver failed with error code 0x8002801

Resources