execution

"fatal error encountered during command execution" when trying to add a view from MySQL DB

I'm trying to add some tables and views from a MySQL database to a project in VS2005. After a lot of looking around I ended using the ADO.NET connector, which works pretty fine, except when trying to add a View with the Data source configuration wizard, where I get the "fatal error encountered during command execution" error message, and...

What happens when you run a program ?

I would like to collect here what happens when you run an executable on Windows, Linux and OSX. In particular, I would like to understand exactly the order of the operations: my guess is that the executable file format (PE, ELF or Mach-O) is loaded by the kernel (but I ignore the various sections of the ELF and their meaning), and then y...

How many times program has run? C#

How can I get the number of times a program has previously run in C# without keeping a file and tallying. If it is not possible that way, can it be gotten from the Scheduled Task Manager? To C. Ross: how would this be done in a registry setting? forgive me. . . what is a registry setting? ...

Does php execution stop after a user leaves the page?

I want to run a relatively time consuming script based on some form input, but I'd rather not resort to cron, so I'm wondering if a php page requested through ajax will continue to execute until completion or if it will halt if the user leaves the page. It doesn't actually output to the browser until a json_encode at the end of the file...

How can i stop cakephp to stamp execution time of the page?

Duplicate: http://stackoverflow.com/questions/1220855/how-to-remove-cakephps-trailing-timing-benchmark-comment cakephp stamps execution time as html comment at the bottom of the page, something like <!-- 4.031 s --> How can i stop cakephp to output this?? I need to avoid this print because in some ajax queries (that...

How to get Hudson CI to execute a Powershell script?

I'm using Hudson version 1.324 for CI and have a couple of issues: Environment: - Windows Server 2008 - Powershell v1.0 - Hudson 1.324 running as a service - Hudson Powershell Plugin installed - Psake (aka. "Powershell Make/Rake" available from Github) 0.23 (All current/latest versions as of this initial post) I have a Powershell (PS) ...

Is there a best way to manage WPF UI when using Asynchronous execution commands?

Hi guys is there a best way to manage a form in WPF application which has asynchronous execution commands? 1) Suppose you have a form where user enters all his data and clicks on Ok button to save changes. 2) Your WPF app starts an asynchronous method to record those data. 3) Now suppose the database server is do...

MySQL query execution return value?

Hi, I'm constructing an adapter for MySQL in PHP and I was wondering what should MySQL query execution method return? Should it return a result set? Or the last id / affected rows? ...

BIRT report created via eclipse throwing error on execution

I've a particular birt project which I've created using the eclipse ide. I am trying to understand how to deploy the report without having to use alternatives which would cost something. So ultimately I am left with the birt report engine api. I've downloaded the report engine runtime package from the birt-exchange web site. I've found ...

Getting some exception in my code

I am opening a blank window and writing a javascript on the new window to submit a form. when I execute a line "newWindow.document.write(newwdtxt2);\n\"(3rd line from last) I get an exception and last two lines do not execute. Below mention is my code function openWindow(url,name,options) { var aToken = ""; aToken ="2121...

Performance penalty with executing x86 instructions stored in the data segment?

Hi. I have a simple program that first writes some native x86 instructions into a declared buffer, and then sets a function pointer to this buffer and makes a call. I'm noticing a severe performance penalty, however, when that buffer is allocated on the stack (as opposed to on the heap, or even in the globals data area). I verified th...

Selenium.SeleniumException: ERROR: Command execution failure.

Please search the forum at http://clearspace.openqa.org for error details from the log window. The error message is: Permission denied I am getting error when i am trying to execute Selenium.IsElementPresent(ticketLocator) Help me!! ...

Is there a way to improve this pointcut?

I have come up with the following pointcut that I use for tracing method entry/exit. It's not broken and also does what I want but: 1- I find it looks clumsy or could be more elegant; and 2- I don't know if it is bulletproof. // tracing the execution of all methods except: // - toString and descendants // - methods identified with @NotT...

C# -Four Patterns in Asynchronous execution

I heard that there are four patterns in asynchronous execution . "There are four patterns in async delegate execution: Polling, Waiting for Completion, Completion Notification, and "Fire and Forget". When I have the following code : class AsynchronousDemo { public static int numberofFeets = 0; public delegate long Statistical...

PHP Max Execution Time: Incorrect Reporting?

Hello all, Is there any reason for a PHP script to return a fatal error of: Fatal error: Maximum execution time of 60 seconds exceeded in H:\xampplite\htdocs\mlm\tera.php on line 1 When my PHP ini is set to "300000" and further more I set set_time_limit(300000); in the script itself. Safemode is off. In addition, Apache's timeout ha...

live execution of formula

can we execute a formula without moving cursor from the cell? After giving data in to Input cell either we press enter or we move from that cell and then any formula related to that gets executed. Is there any way that while entering input itself we can see the result in output in excel?Please help me in finding this option. ...

How do I run event triggers and their bound methods synchronously using jQuery?

The function below is called upon page ready, and is designed to mimic clicks through various anchor links, and to trigger those anchors' bound methods so as to reproduce the same DOM that would be configured through manually clicking the same links. function useAnchor() { var uri = document.location.toString(); if (uri.match('#...

Execute a shell command from a .net application

I need to execute a shell command from my .NET app, not unlike os.execute(a little ways down on that page) in Lua. However with a cursory search i couldn't find anything, how do i do it? ...

When are JavaScripts executed?

I'm currently asking myself, when javascripts in the header of a page are executed? After all contents are loaded? During loading images? Before loading the site? Reason is, I want to implement a barrier to prevent users accessing a site without javascript (it's for internal company use, don't blame me for the requirement) - my idea wa...

How to pass file path to a SSIS package executed remotely?

Hi, I am trying to create a SSIS package to load data from an excel file to a database table. The excel to import the data will not be defined at the time of creation of the package. It is available, in a desired format, only when the user specifies and locates the file on the local file system at runtime. Could anyone please let me kno...