error

Problem with query as a new data source in Cognos PowerPlay

Normally you can add a query as a new data source in Cognos PowerPlay (I'm running PowerPlay version 7.3), but when I try to do so I cannot select any queries from my Access database. The dropdown menu which normally shows the existing queries in the database is empty. When I add a table as a new data source it works fine, and all the ta...

MySQL error USING BTREE

I have a mysql database I have downloaded from my online server and trying to import on my local mysql but its not working showing this syntax error. I cannot find any errors in this query This is the error: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right synt...

Level based Logging in Oracle

Hi, I am Kanagaraj. In our stored procedure, we are logging messages at 500 places and logs are stored in a table where we are having some performance issues. We need to split these messages into Debug, Info and Error messages. Based on the level, only limited messages should be logged. If necessary, we will be enabling the next level a...

PHP: cannot redeclare class

So I have 3 classes in this situation. Connection.php Engineer.php Status.php Both Engineer and Status classes actually use connection. Hasn't been a problem but now that I'm using both classes in a page I'm getting Fatal error: Cannot redeclare class Connection Is there a way round this? In both classes I need db access from the c...

Cannot cast Exception to ArgumentException?

ArgumentException argumentException = (ArgumentException)new Exception(); throws: System.InvalidCastException: Unable to cast object of type 'System.Exception' to type 'System.ArgumentException'. Why can I not cast an Exception (less definition, I would think) to an ArgumentException (more definition, I would think)? ...

CFBundleExectuable Error

Can’t install application The application at /Users/myname/Documents/SDK/iPhoneApplications/x/build/Debug-iphoneos/x.app does not specify a CFBundleExecutable I don't know what this means or how to fix it. Can anyone help? It only occurs when trying to build to a device - it is an iPhone 3G running 4.1 and I am using the latest SDK whi...

Runtime Error : RunTime Error : map/set iterators incompatible

void Manager::Simulate(Military* military, Shalishut* shalishut,char* args[]){ Simulation* simulation = Simulation::GetInstance(); Time* time = Time::GetInstance(); multimap<int,Task*>::const_iterator itTasks; itTasks = simulation->GetTasks().begin(); while(itTasks != simulation->GetTasks().end()){ while (itTa...

jQuery bug repeating function on error

Updated Question: JQuery animation repeats over and over if it encounters an error. Having a return or return false doesn't stop the animation from repeating. What would be the best practice to fix this error? Thanks. <div id="label"> FADE OUT </div> <script type="text/javascript"> $(function() { $("#label") ...

ReSharper search pattern: "Can not parse pattern"

R# 5.1.1751.8 When I perform a pattern search for... catch (Exception e) {} ...I'm shown an error dialog which says "Can not parse pattern". What about that pattern cannot be parsed? What am I doing wrong? ...

flex pagination example help

I've found a flex paging example I'd like to get working, but can't seem to get it running. The Example files can be found here: http://blogs.adobe.com/tlf/2008/12/actionscript-pagination-exampl.html I've downloaded and imported the project into flex. However I seem to have an error that prevents the example from running. Here is the e...

c# ASP.NET How do i delete a file that is "in use" by another process?

I'm loading a file: System.Drawing.Image img = System.Drawing.Image.FromFile(FilePath); Now I would like to save the image: img.Save(SavePath); This works.. Unless FilePath == SavePath, then it decides to give me the error: System.Runtime.InteropServices.ExternalException: A generic error occurred in GDI+. So I tried to delete t...

Unterminated Parenthetical error with a Regular Expression in Javascript

I am trying to use the following regular expression to validate a date in javascript (sorry it's a bit of a brute): "/^(((0[1-9]|[12][0-9]|3[01])\/(0[13578]|1[02])\/((19|[2-9][0-9])[0-9]{2}))|((0[1-9]|[12][0-9]|30)\/(0[13456789]|1[012])\/((19|[2-9][0-9])[0-9]{2}))|((0[1-9]|1[0-9]|2[0-8])\/02\/((19|[2-9][0-9])[0-9]{2}))|(29\/02\/((1[6-9]...

How do I use jQuery selectors with an object?

I have an unordered list in an object: var myUL = $('ul#theID'); //I send this var to another function in the code I want the direct children only of this object (I have another 'ul' within each 'li' that also has 'li's in it), but this selector does not work: $(myUL + '>li').each( etc, etc... It gives me the error "uncaught except...

c2955 error on my Double Link List project

Okay, I'm making a project that implements a Double Linked List using classes, templates and structures. I constantly get the error: doublelinklist.h(21) : error C2955: 'Node' : use of class template requires template argument list when declaring the head and tail of a node in the LinkedList class. DoubleLinkList.h: #ifndef DOUBLEL...

Java application doesn't display output

Here's my updated code: package car1; public class Main { public static void main(String[] args) { class HondaCivic implements car1 { int speed = 0; int rpm = 0; int gear = 1; public void speedUp(int Increment) { speed = speed + Increment;} public void applyBrakes(int Decrement) { speed = speed - Decrement;} public void ...

Ajax error "undefined" in IE

Hello: I am pretty new to Ajax. I'm trying to put some specific portions of an XML file into a div on my page, and the following works in every recent browser except IE: var xhr = false; //Executed to request content from the server function setContent(){ if(window.XMLHttpRequest){ xhr = new XMLHttpRequest(); ...

Eclipse Helios not launching

I have used Eclipse in the past without problems over a year ago, but I downloaded Helios onto a new computer having Windows Vista and Java 1.6.13 currently. I extract the folder and try to run the Eclipse EXE and get an error stating "Java was started but returned exit code=13". I did some digging and it appears that the config file is...

Application doesn't display output

Possible Duplicate: Java application doesn't display output I am learning the basics of Java development so that I can get into Android development. In this very simple application I'm running into some problems. It's supposed to give me an output of the cars speed, gears, rpm and so forth. I can compile the application no pro...

ASP.NET error after uploading project to server

after uploading my project to server i am getting following error please let me know what is the following error CS0433: The type 'Course' exists in both 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\672b2bdf\9fb2ad98\assembly\dl3\afaf3b67\f1871969_3e5bcb01\App_Code.DLL' and 'c:\WINDOWS\Microsoft.NET\Fra...

Flex 3 PopUpMenuButton and ReferenceError #1069

Hi, I've got a PopUpMenuButton in a Flex 3 application. If someone clicks on the pulldown part, it works fine. But, if they click on the main button part, I get get ReferenceError: Error #1069. After the user dismisses the error, it then does what it's supposed to do. <mx:PopUpMenuButton id="myPopUpMenuButton2" label="Flip" ...