Build does not start on development PC - mysql

I wrote a program that reads customers from an ascii file and writes them into a mysql DB.
When I use the VS2013 debugger (with F5) in release mode everything works perfect. But when I start the exe-file from the release directory, no windows are visible. In the windows log file, I see nothing and in the task manager I see my app 3 times and cannot close them. The only thing that I can do is to restart my PC.
I have tried to create a Setup program with InstallShield, but I have the same problem with the setup.exe file as with my program, It does not start.
Can someone help me with this problem?

Related

MySQL installer not making any progress

I downloaded MySQL installer. I chose the Developer Default Setup Type. Now it's downloading the various components of MySQL. There is an issue here: the downloading seems to be stalled. As you can see, some components have already completed downloaded, but others are still downloading. It had been downloading for over an hour now and the percentages have not changed. There has been no visible progress so far after this state. What could be the cause of this? How can I make sure that the installer is really working instead of stalling? It seems that the installer downloaded some components and ... stopped working? I have a wireless internet connection. I don't know whether this could be the issue.
So basically I got bored waiting and I just canceled the install. It turned out that the installer was stalled. Then I started the installer again. I selected the Developer Default Setup Type again, and I repeated everything as I did it the first time. The second time the installer ran much faster. Now when it came to the Installation step, all the products or components of MySQL which had been already downloaded did not need to be downloaded again. They just were installed. The products which were incompletely downloaded the first time had to be downloaded again the second time, but the downloading was much faster.
If MySQL installer shows no progress during this step, it is better to just cancel it, and then restart it again. The next time it should work as expected.

Launching TaskHost.exe failed, trying to run Windows Phone 8 app?

My VS 2013 setup has been humming along fine for months now. Today I tried to update to Visual Studio 2013 Update 2 RC. Just like last time when I updated to Update 1, setup failed badly with a huge list of packages marked with the "Incorrect Hash Value" error. Unfortunately MS does not have an ISO yet for Update 2 so I can't take that route to complete the update like I did last time. Now I can't run apps on the Windows Phone emulator or on the phone (device) anymore.
I believe that the failed update caused my current deployment problems since the problem surfaced right afterwards. It could be due to some other NuGet package or Extension, but the update is the most likely cause due to the timing of events.
I did extensive reading on SO and tried all the noted solutions. None of them worked:
cleaned and rebuilt the test Windows Phone 8 project (multiple times)
restarted VS2013
rebooted
Exited VS 2013 and restarted it with the Emulator left open (for the Emulator test)
repaired the Windows Phone Emulator install
repaired the VS2013 install
Nothing works. After the IDE installs the app on to the emulator, I still an error dialog box saying:
"The application could not be launched for debugging. Ensure that the target device screen is unlocked and that the application is installed."
And in the VS2013 IDE status line I see the message: "Launching TaskHost.exe failed".
Does anyone know how to fix this? Note, I tried several WP8 projects that I know worked successfully before and none of them can deploy successfully anymore to either the Emulator or the Device.
I see this was asked a month ago, but I had this issue as well. If I left the Emulator running and tried launching it again, I would have TaskHost fail with a different error.
The following was what made it work for me.
Under the following:
Solution(Right-click) > Properties > Configuration Properties > Configuration
Ensure that your main project is set to 'Deploy.'
Have many reason to error.! So, If you doing with database such as SQLLite file or SQL compact file for your project WP, you should check it is used anywhere. Or choose Embed source copy in visual. That's my fail.And i fixed ok!
Did you try from the menus?
BUILD > Rebuild Solution
That worked for me just now.

Visual Studio Express 2013, new installation wont launch - The application has failed to start because its side by side configuration is incorrect

I tried installing Visual Studio 2013 Express for Desktop for the first time ever as I'm trying to get in to C# as Python doesn't really meet my needs. The installation ran fine, as I downloaded the ISO and mounted it to a virtual BD-ROM drive when the normal EXE wouldn't work. But now, when I go to run the program it tells me that:
The application has failed to start because its side by side configuration is incorrect.
and doesn't allow me to run the program. I tried to run the installer again to repair the program but it basically reinstalled the whole thing and did nothing. Any help?

Using Xdebug with Netbeans or Komodo fails when connecting to Mysql

I am trying to get either NetBeans or Komodo IDE to remotely debug PHP. I have a remote website installed on the development machine which is a Mac running Mountain Lion. Xdebug is installed. The website on the local machine runs normally in a browser.
However, for both NetBeans and Komodo IDE, when single stepping through the code, the attempt to execute mysqli_connect fails. In NetBeans there is the following error message:
Socket Exception occured If you have any Watches, try to remove them and restart debugger. If removing Watches does not help or you
don't have any Watches, please file an issue and provide the exact
steps to reproduce your problem. Please attach the IDE log. Attaching
your project would also be very helpful.
I have seen other people reporting this error message, but no help has been provided.
In Komodo IDE, the failure occurs at the same location, but there is no error information provided at all.
The funny thing in NetBeans is that after some single stepping through the first page of the site, if I then run the code from that point, it executes without failure and the web page is displayed in the browser! This means that the problem only occurs while single stepping.
I have seen something somewhere about a bug in NetBeans. But it seems pretty blatant that NetBeans should not be able to single step through code that tries to connect to mysql. Rather I am thinking it would be some configuration issue on my system.
Komodo IDE has the same failure whether single stepping or running any other way. It just does not get past that point.
However, please keep in mind that just running the site in a browser works fine. So what is missing that prevents the Xdebug single stepping from connecting to mysql?
** Additional information **
I have found two instances of xdebug.so on my system.
-rwxr-xr-x 1 root admin 274508 Oct 6 2011 /opt/local/lib/php/extensions/no-debug-non-zts-20090626/xdebug.so
-rwxr-xr-x 1 root wheel 202672 Sep 20 20:01 /usr/lib/php/extensions/no-debug-non-zts-20090626/xdebug.so
Also, there is an /opt/local/var/db/php5/xdebug.ini which references the xdebug.so in the /opt/local path. The xdebug.so in the /usr/lib path is the one that I thought was in use and which corresponds to instructions as to where it should be installed.
These are apparently two different versions of xdebug.so. Could that be related to my problem?
You need to make sure that you are running one version of Xdebug - and also make sure that this is the latest version (2.2.1 at the moment). If you can still reproduce this issue, please file a bug report at http://bugs.xdebug.org with a short sample script (that contains all the code + data!) and a remote debugging log for a debugging session using that script (see http://xdebug.org/docs/all_settings#remote_log on how to make such a log).

SSIS Execute Process Task hanging from SQL Server Job, no errors given

I have a basic SSIS package that has an execute process task which runs a .exe sitting on our NAS/Share drive which produces a csv file and is read by later steps.
I can execute the SSIS package within BIDS and everything works flawlessly. When deploying to the server and running from job the SSIS package just hangs and stays in executing mode.
To verify we could run it from the server, I tried running the .exe from the command line from within the server and came across an error which was stopping the .exe running, turns out we needed a 64bit, windows server 2008 specific .exe which we have put together. Despite updating the .exe and being able to run it from the command line in the server now we are still suffering the same issue.
Any ideas, pointers, even potential research avenues would be greatly appreciated as I am relatively new to SSIS and am patiently trying to hack my way through it.
Cheers
If you are using your executable from a UNC path you will have to add it in the zone setting in Local intranet.
On your Internet Explorer, go to Security and select Local Intranet setting. Click on Sites and add your UNC path and click ok. The file:// protocol is added automatically.
This has nothing to do with SSIS, but everything to do with the zone settings in Internet Explorer.
This should help.