How to solve this Error in Blueprism. "Failed to find stage linked from stage 'Start'." In Process Studio - blueprism

I have created Pages in Object Studio and I published them. then I am accessed them in Process Studio. So when I connected them in the order, in Start and End Of Process Studio Main Page It is giving me above Error "Internal:Failed to find stage linked from stage 'Start'." I tried to connect all pages to the start but it is giving me same error for all pages .1) Error in Process Stydio 2) Launch Page in Object Studio 3) Published Page which is getting accessed in Process studio..
Pages in Object Studio runs perfectly.

Is there a link between start and End on initialize page in object?

Related

Visual Studio Extension to attach debugger to remote process running in .NET Core on Linux

I'm using Visual Studio 2019 to develop a .NET Core 3 application which runs on embedded Linux. I am able to build the code in Visual Studio 2019. If I copy the binaries manually to the Linux machine and then start the application running there then I am able to attach the Visual Studio debugger to the remote process over SSH in Linux and debug the application. This does work, but it's tedious to deploy it, start it and attach the debugger manually for each debug session. I do have a script in Visual Studio Code which works, but I want to use Visual Studio Professional.
I'm trying to write a Visual Studio Extension so that I can press a key in Visual Studio to have the application built, deployed, started and then connected to the debugger. I would then share the extension with my team. It's very nearly working, except for attaching the debugger.
In the extension I am able to list the processes running in the Linux machine and select my application using this code:
EnvDTE100.Debugger5 debugger = (EnvDTE100.Debugger5)dte.Debugger;
EnvDTE80.Transport transport = debugger.Transports.Item("SSH");
EnvDTE80.Engine engine = transport.Engines.Item("Managed (.NET Core for Unix)");
EnvDTE80.Process2 process = (EnvDTE80.Process2)debugger.GetProcesses(transport, "192.168.11.1").Item("app");
process.Attach2(debugger);
There are two problems:
The call to GetProcesses() opens a dialog where I need to enter the Linux username and press enter, how can I specify the username in code to avoid the dialog appearing?
Even though the selected process looks like the right one (process.ProcessID matches what I see in Linux if I run the ps command), I get an exception when I call Attach2(). The exception message is "Exception from HRESULT: 0x8971001E"
I feel like I'm really close to getting this to work, any suggestions for how to finish it?
I also solved the second problem by changing the parameter passed to Attach2() from debugger to engine, as shown below:
EnvDTE100.Debugger5 debugger = (EnvDTE100.Debugger5)dte.Debugger;
EnvDTE80.Transport transport = debugger.Transports.Item("SSH");
EnvDTE80.Engine engine = transport.Engines.Item("Managed (.NET Core for Unix)");
EnvDTE80.Process2 process = (EnvDTE80.Process2)debugger.GetProcesses(transport, "root#192.168.11.1").Item("app");
process.Attach2(engine);
I found out how to add the user Name, but not the Password:
In GetProcess(), set transportQualifier to $"{userName}#{hostName}".
The 1st time the Window will still Pop up and ask for the Password.
But after that VisualStudio has stored the connection including the password.

Publish on Azure Website unexpected behavior

I have a web project, which works fine on local PC. But when I publish it on Azure Website, I get an error:
Could not load type 'Infrastructure.Asset.AssetContext' from assembly
'Infrastructure'. Description: An unhandled exception occurred during
the execution of the current web request. Please review the stack
trace for more information about the error and where it originated in
the code.
Exception Details: System.TypeLoadException: Could not load type
'Infrastructure.Asset.AssetContext' from assembly 'Infrastructure'.
where AssetContext is DbContext from another project inside solution. As I understand, this assembly is not published correctly on Azure. So, I removed all files on Azure Website via Kudu and republish again. The same. I try to connect to remote Db from my local - it works. I tried to rebuild solution, reopen Visual Studio etc. Nothing happened
Why it can be happened, what is wrong and how to fix?
There is a similar SO thread What could be causing a System.TypeLoadException in a Visual Studio Unit Test?, I think which answers are valuable for your current issue.
Please follow the figure below to get the information of what platform you used is on Azure Website, then to select the current mode in Visual Studio to build and publish.

ActiveX component can't create object occurred in w3wp.exe

I am currently having an issue with a classic ASP application I am working on and from what I can tell it might be due to something related to IIS.
It started out with me getting the error:
"An unhandled exception ('ActiveX component can't create object') occurred in
w3wp.exe[XXXX]."
I tried googling, but failed to find anything that could solve my issue.
So I tried to create a small .vbs application. To see if it had anything to do with the component that is used for the "createObject()" method.
dim test
set test = createObject("System.Collections.Sortedlist")
test.add 1, "value 1"
test.add 2, "value 2"
MsgBox(test(1))
And the file ran as it should.
I've tried running the application using both Visual Studio 2015 and 2017.
After I noticed that it sad "Occurred in the w3wp.exe" I tried reinstalling IIS to see if that would change anything, but sadly it has not had any effect.
Update: I am using Windows 10 personally and running the site of my own PC for testing purposes.
"Access Denied" errors and applications with COM activation fail after installing July 2018 Update

Unable to debug in Visual Studio 2012

I am receiving an intermittent (but extremely frequent) error when attempting to debug my web app using Visual Studio 2012 and IE 11 via f5.
The error is a message box: "Unable to start program 'http://localhost:36422/default.aspx'. Access is denied."
Internet explorer opens, but no page is loaded.
If I retry enough times, it will eventually succeed, my app loads and I can debug.
I have noticed via task manager that when the error occurs, the internet explorer process is hanging around after I close it. The number of ie processes continues to build up until I have to kill them.
I am getting a large number of errors in my system event log which may be related (although an entry is not generated every time the error occurs):
The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID
{0C0A3666-30C9-11D0-8F20-00805F2CD064}
and APPID
{9209B1A6-964A-11D0-9372-00A0C9034910}
to the user my user name SID (S-1-5-21-1364137996-2577644926-3768900005-1179) from address LocalHost (Using LRPC). This security permission can be modified using the Component Services administrative tool.
A google search of the guid indicates that the application in question is Machine Debug Manager.
I have tried adding the interactive user to the access permissions for Machine Debug Manager using dcomcnfg and rebooting my pc to no effect.

Chalkboard fails to launch component

I've recently Installed CentOS 6.6 and installed the x64 rpms from the github site. When I try to drag any component from the Palette to the chalkboard, I get an error like below:
'Launching SigGen_1' has encountered a problem.
Failed to launch SigGent_1
Details:
Timed out waiting for component to start. SigGen_1
java.util.concurrent.TimeoutException
When the IDE launches a component within the Chalkboard environment, it provides the process a reference to the IDE's NamingContext interface for the component to register with once it's up and running. You can see this reference as an IOR in the command line executed by the IDE. Use "ps -ef" to view the command run. When the process does not register with the IDE then the IDE will throw the error you described. If the component dies and returns a non-zero error code the IDE will report that as well
The IDE has a Console View created for each process launched within the Chalkboard. Clicking on the "Display Selected Console" menu will show you a list of consoles including the now terminated SigGen process. This may provide you with some information if the component died during standard execution.
If the process failed to launch, there may not be any information displayed in the console. In this case, using the python sandbox to launch the component may provide additional information as suggested by DrewC.
I had the same issue. Somehow it was related to the proxy sever I was behind. I removed the proxy and it worked.

Resources