Issue Running Console App using a Shortcut - visual-studio

I created a console application in VS2012 which, by itself compiles fine. I published it on a local network and made a shortcut on another computer on the network. When I run the app by double-clicking the shortcut OR by executing via the command line I get the error:
"Cannot continue. The application is improperly formatted."
Details provide the following information:
ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of Y:\Errol\CommodityVolJob\ConsoleApplication2.application resulted in exception. Following failure messages were detected:
+ Exception reading manifest from file:///Y:/Errol/CommodityVolJob/ConsoleApplication2.application: the manifest may not be valid or the file could not be opened.
+ Manifest XML signature is not valid.
+ SignatureDescription could not be created for the signature algorithm supplied.

Related

Error on getting debug port :: Unable to authenticate on RDS server using current security information. (Adobe's ColdFusion extension)

I installed Adobe's ColdFusion extension. I added local server (127.0.0.1:80), created workspace and now I want to debug my project. I opened some cfml file, I go to "Run and Debug" tab and click "Run and Debug" button. I get the following error messages:
Debugger Stopped
Error on getting debug port :: Unable to authenticate on RDS server using current security information.
What do I need to do to be able to debug my code?
Additional stuff:
Debugging works perfectly fine in Eclipse's CF Builder. In CF Administrator debug port is set to default - 5005. I don't really know what that RDS (Remote Development Service) is but I don't remember having to set that up for Eclipse's CFB (even if I did). Do I have to have RDS to be able to debug?
The most useful piece of documentation from Adobe I was able to find is located here:
https://helpx.adobe.com/sg/coldfusion/coldfusion-builder-extension-for-visual-studio-code/debug-applications.html
Quote:
Run and debug in VS Code
If you have not configured running and debugging, then VS Code
displays the Run start view.

Run and Debug is a custom debug option provided by VS Code. If you
click Create a JSON launch file and follow the prompts, you can
associate your file with "CFML Debug" profile and then use it to run
the debugger.
CFML debug has overridden VS Code’s default debug and run commands.
So, debugger can be started without creating json file.
But even if I create debugger launch json file and then click green debug triangle I still get the same error message.
Update
I got RDS enabled and was able to successfully connect:
I go to "Run and Debug" section of vscode, select "CFML Debug" configuration from dropdown to create debug config, click on a green triangle and get the following error:
Cannot read properties of undefined (reading 'document')
I had a clean reinstall of vscode and Adobe's ColdFusion extension is only one I have installed:
Small edit/update:
I am also able to control CF server (stop/start/restart) from within vscode:
Question:
What do I need to do to fix "Cannot read properties of undefined (reading 'document')" error?
You need to enable RDS in CF administrator in Security section.
You can choose the RDS password or no authentication as per your preferences. Then, you would need to provide the authentication information in VSCode while adding the Server.
You can find more detail about the VSCode extension including debugger in this video - https://youtu.be/90sOeP48TS0?t=2630

Windows Script Host Error 800A004C when running script on network pc

I am trying to change shortcuts on all my PCs on the network that have two target paths to a new server target path, for example \\server1\folder, \\server2\folder to my new server \\newserver\folder. I am trying to see if I can get this working so I don't have to manually touch every PC and check for the shortcuts.
I found a code a user on Spiceworks wrote but can't seem to get it to work to scan all my PCs on the network and user accounts. If I specify to scan \\pcname\Users\employee\desktop it works but if I do \\pcname\Users\%userprofile%\desktop it gives me the error code in the title.
The link to the script is here https://community.spiceworks.com/scripts/show/298-change-shortcut-lnk-target-paths-in-bulk
Expected outcome should be an html file that opens up saying these shortcuts were changed. The outcome I am getting is
Line 232
Char 4
Error Path not found
Code 800A004C
Source Microsoft VBScript runtime error

Error: Error in reorganization. Reorganization Failed

I had a working web app in Genexus. I added identity to the id column of an existing transaction, added a new column and tried to play the web app. It keeps saying reorganization failed. Where is the log in which I can see what is going on?
You may access the output log by the menu view, other tool windows, output. After it has opened, make sure that the combo inside it is selected to "build".

Windows Phone crashes in Release

I have made a Windows Phone application with Xamarin and Mvvmcross. When debugging the application it works perfectly. So the application was uploaded to the app store. but when the application got downloaded and run from the store it shut down immidiately after the icon gets clicked. So now i found out that the application does not work when running it on a device in release mode. (on a emulator it works fine).
First i got this exception
Error 1 Error : DEP6810 : MdilXapCompile.exe failed with error code 1004. See log file '~project.WinPhone\obj\Release\MDIL\MDILXapCompileLog.txt' for more details.
in this file there was an error
Compile filter argument specified non-existent file: ~project.WinPhone\obj\Release\MSIL\nl-NL\project.resources.dll
Invalid argument
This error made it unable to deploy the application to the device in release mode. I still have no idea why i got this error and how i am supposed to solve it. But i found a form of workaround by creating a 'nl-NL' map in the MSIL and adding the resource.dll to it. This made it able to deploy the application.
But when deploying the application in this state it crashed immediately. with the native debugger i could get it to break. it gave me this exception
Unhandled exception at 0x775E062F (COMBASE.DLL) in project.WinPhone.exe: 0xC000027B: An application-internal exception has occurred (parameters: 0x04F80AB8, 0x00000006).
Clicking on the Disassembly it had it's pointer on this line
77808534 bl SignalStartWerSvc (777FED78h)
It probably has something to do with my localizedresources, where i define some .resx files for filling the app with text. I did find out that this is causing me some problem with WP but i am not sure what i could do against it, i cannot use .resw files as have been suggested.
Has anyone ever had this sort of issue before and does anyone know how to solve it? It is keeping me from placing a working application on the app store, which is really frustrating.
Thank you in advance

Unable to obatin device screenshot with UI automator when A process is running on that app

I am unable to get the device screenshot while automating my native application on android only when Some file is downloading on my native application. What can be the issue. Getting error : Error while obtaining UI hierarchy XML file: com.android.ddmlib.SyncException: Remote object doesn't exist!
Error while obtaining UI hierarchy XML file: com.android.ddmlib.SyncException: Remote object doesn't exist!
You can't use UiAutomator when some other activity is using your app. For example if you are running the tests you can't use UiAutomatorViewer at the same time.

Resources