error

What is the NS_ERROR_INVALID_POINTER error in Firefox?

While testing JavaScript code in Firefox 3.5 I sometimes get the following error: Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) I've tried Googling it, but all I can find are solutions to specific problems in other people's code (ie. "if you do this differently then the error will not occur"). But what I'd lik...

JSTL: core:redirect gives the error "Unknown tag"

I am taking my first steps with Spring and am doing a tutorial. I am supposed to be redirecting to a page that displays some content using < core:redirect url="/portfolio.htm"/> However that page never gets displayed. By navigating directly to the page I can see that it is there and it looks ok. I get the error in Eclipse "Uknow...

Strange Sharepoint 403 error

Hi all, I've installed a Sharepoint site for my team. Everything work fine. But suddenly, I've found that I can not edit the quicklaunch menu: every time I click on Add Item or edit an Item, I get a 403 error. I've logged with administrator account. I've tried using different browsers such as chrome, firefox, but no hope. The same err...

how can i retrieve the msg from HttpServletResponse.sendError

i have two tomcat servers that communicate between them. upon an error at one of the servers i would like to send an error response to the other server. i am sending the error using: resp.sendError(HttpServletResponse.SC_BAD_REQUEST, e.getMessage()); i am catching the response with org.apache.commons.httpclient.httpMethod. my questio...

Arduino String Formatting Issue

I'm making an Arduino-powered clock, and in the process, I'm trying to format integers into two-digit formatted strings for the time read-out (e.g. 1 into "01"). The following gives me "error: expected primary-expression before '{' token": char * formatTimeDigits (int num) { char strOut[3] = "00"; if (num < 10) { strOut = {'0',...

iPhone + DevToolsCore.framework error

Hello, I am using following environment: MAC OS 10.5.7 iPhone SDK 3.0 Xcode 3.1.3 And my client is using: MAC OS - Snow Leopard. iPhone SDK 3.1 Xcode 3.2 Whenever my client runs the application that I have developed on my Machine he get errors of DevToolsCore.framework (which I am not using in my application). Can anyone help m...

Not your usual MySQL4 + ODBC connection issue...

I've got a problem with ODBC that has me stumped, and I can't find an answer anywhere that addresses my problem. Short version: I can't connect to my MySQL4 installation on Ubuntu Jaunty from my WinXP ODBC System DNS, even tho I can connect just fine using the command line client both on that particular machine and others. Huge amoun...

IIS7 parse error.

I just put all my aspx files on the local folder and made a website in IIS7. I added a virtual directory to it and then converted the virtual directory to application. The website loads properly but when i click the link that calls my application i get this error message. Description: An error occurred during the parsing of a resource r...

jQuery hide show problem on Internet Explorer

I have a page with two combos: depending on the option chosen in the first combo the second combo is displayed / hidden. This works fine on FF3.5, but not under IE8. In IE8 the second combo box briefly displays and then disappears. It's running under windows XP SP3. <table width="100%"> <tr> <td> <table> <tr> ...

Why does GCC give me a syntax error when trying to return a struct pointer?

I'm using CodeLite on Ubuntu and for some bizzare reason GCC keeps throwing this error whenever I try to compile code with a function that returns a pointer to a struct: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token Here is an example I wrote up to demonstrate this error: #include <stdio.h> typedef struct ...

Does altering a session invalidate Pakage States in Oracle 10g?

Hi, I have a package that gets invalidated on a regular basis and found this in the code: ALTER SESSION CLOSE DATABASE LINK; Can this invalidate package states? Though I can't seem to replicate it. create or replace package body invalid_package_state_test is procedure test is TEMP VARCHAR2(1) := NULL; begin SELECT 'Y' INTO TEM...

Error in SQL Query Alter Table MySql .

Got an error if I executed below query. ALTER TABLE property_res_details ADD CONSTRAINT PropertyIdLink FOREIGN KEY ( Property_ID ) REFERENCES properties( Property_ID ) ON DELETE CASCADE ; #1005 - Can't create table './resfi/#sql-10e1_8df.frm' (errno: 150) Please Help Me Out. ...

PHP - recording errors

What is the best way to record errors experienced by the user? My initial thought was to make a function that recorded the error with a unique number and maybe a dump of the variables into a record on the database. Is there a better approach? Should I use a text file log instead? ...

predeclaration in c++

I have a program for distance vector routing as shown below (though, what the program is for is not important here). The problem is when I run this program using Turbo C++ compiler on Windows, it works perfectly fine. But when I compile this using gcc on Fedora 9 (as you can see the 'r' I have used in the function build of the 'router' ...

ASP.NET: A potentially dangerous Request.Form value was detected from the client

I have a client that claims to get the server error "A potentially dangerous Request.Form value was detected from the client" ...and this is likely to be that html is entered and something I need to fix a better way of managing than validateRequest=true. http://www.aspcode.net/A-potentially-dangerous-RequestForm-value-was-detected-fro...

How to resolve this error: "an unknown item is declared as the root of your mxml document"?

I'm working with eclipse, blazeds and Flex Plugin, and every time I create a Web Dynamic Project then add a Flex Project Nature to it this error: "An unknown item is declared as the root of your mxml document" appears just as the perspective view changes and I click on the design mode. As far as I know the only lines of code written on t...

Problem in XML parser program.

I am doing a simple XML parser program.I am running it in command prompt.The program (abc.java) compiles successfully.But it gives following error after running it: C:\Program Files\Java\jdk1.6.0_13\bin>java abc abc.xml [Fatal Error] abc.xml:1:8: The processing instruction target matching "[xX][mM][ lL]" is not allowed. Pars...

MMC could not create the snap-in error when lunching internet information services on windows 2003 server

Hi, i get the following error: MMC could not create the snap-in. the snap-in might not have been installed correctly. Name: Internet Information Services (IIS) Manager when lunching internet information services on windows 2003 server i've checked previous questions and posts which got solved with the following command: re...

What is the correct syntax for SQL Statement using MySQL

In access i used this and its works fine: (tblReservations_Dates.Date) Between #" & dteBegDate & "# And #" & dteEndDate & "# Using MySQL I used this: (tblReservations_Dates.Date) Between '" & dteBegDate & "' And '" & dteEndDate & "' However the data is not displayed I was just wondering if this is the correct syntax for SQL Stateme...

Crystal Reports error: cannot find CrystalDecisions.Windows.Forms version 10.2.3600

I am refactoring an old program to use VS2008 (instead of VS2005) and the 2003 Crystal Reports merge modules no longer work on the client machine. I am using the CR version bundled with VS2008. Neither the CR10 merge modules downloaded from the SAP site work, nor the CR x86 msi. Could not load file or assembly 'CrystalDecisions.Windo...