error

What does HTTP 404 mean?

What does this error mean? HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly. ...

Unix Time Stamp and JavaScript Time; too big!

Hi there, I'm using the flot graphing library for jQuery, and it uses javascript time for any time series (to remind, that's milliseconds since Jan 1970. Unix time is seconds). My current code looks like this: foreach($decoded['results'] as $currentResult) { if($currentResult['from_user'] == $user) { $strippedTexts = $...

Access Query Error - Null & Variant Data Types - How do I fix this error?

All, This error is driving me insane. I've spent 2 hours trying to figure it out and/or work around it with no luck. Here's the error: "You tried to assign the NULL value to a variable that is not a Variant data type." Here's my SQL: SELECT tbl_budir_002.Location_Index, tbl_parent_001.NEWPARENTID INTO tbl_budir_003 FROM (tbl_budi...

Block 404 FavIco error in ELMAh

I noticed out of the box that ELMAH logs a 404 not found for favico on my local server. How do I suppress this error through a filter? I'm not so familiar with configurating it yet.. ...

Why does my query produce error "ORA-00933: SQL command not properly ended"?

My query: CREATE VIEW cambiodatos AS SELECT a.last_name||','||a.first_name AS "Nombre", a.salary AS "Salario", b.name AS "Nombre Departamento", c.name AS "Nombre de Region" FROM s_emp a, s_dept b, s_region c WHERE a.dept_id = b.id AND b.region_id = c.id UPDATE cambiodatos SET name = 'North Am...

Attempted to read or write protected memory.

I am trying to learn WPF. I am following along with a book(WPF in 24 hours) and occasionally I get the following error: Attempted to read or write protected memory. This is often an indication that other memory has been corrupted. When I click "OK" the application continues to run as if nothing is wrong.So far I have worked with XAML o...

Why does this compile in C but not C++ (sigaction)?

I get the following errors when trying to compile the below code using g++. When I compile it using gcc it works fine (other than a few warnings). Any help appreciated. g++ ush7.cpp ush7.cpp: In function ‘int signalsetup(sigaction*, sigset_t*, void (*)(int))’: ush7.cpp:93: error: expected unqualified-id before ‘catch’ ush7.cpp:95: err...

Pocket IE throws ODBC error but desktop browsers do not.

I have a fairly simple CRUD web application (C#/ASP.NET) that runs fine in Firefox, IE7, and Chrome. (I'm accessing and testing the application on our development server.) When I connect to the dev site via a Pocket PC device and go through the exact same steps, I get an ODBC error. Unfortunately, when I step through the code (once agai...

Getting Batch Script Error Code

I would like a Win32 process to launch an external script and be able to retrieve the ERRORLEVEL that it returns. The other way around is quite easy. Just use exit(errorcode) or return errorcode; in your Win32 app and the calling script gets its ERRORLEVEL value set properly. But, from a Win32 calling application, getting the script e...

Why does this table-creation script give me errors?

CREATE TABLE DEPARTMENTS ( dept_num NUMBER (8) dept_name VARCHAR2 (20) NOT NULL, dept_loc VARCHAR2 (25), dept_phone CHAR (13), CONSTRAINT dept_num_pk PRIMARY KEY (dept_num) ) ; ...

Why would association.build not assign parent_id to it child?

I've got the following models: In plan.rb has_many :tickets and in ticket.rb belongs_to :plan validates_presence_of :plan_id When executing the following code in the controller @plan.tickets.build( ... ) @plan.save save fails with error_message for ticket: plan can't be blank. (plan is valid.) ...

3D rendering - What is this problem called?

Hello stackers. hopefully a sensible question this time... See in the picture how the top half has the textures looking ok, but then the bottom half (after it rotated a little more)the texture is breaking up, and you can see the inside of the shape? the polygons have dissappaered? What is this problem called? I need to know so I know...

How can I read the error output of external commands in Perl?

As part of a larger Perl program, I am checking the outputs of "diff" commands of input files in a folder against reference files, where a blank output (a match) is a passing result, and any output from diff is a fail result. The issue is, if the target folder is short on the number of expected files, the exception diff throws doesn't c...

Subversion commit failed Merge of file: 200 OK

Hello, I am having the strangest problem ... every time i commit i get and error like this: commit failed (details follow): MERGE of '/svn/project/trunk/web/directory/': 200 OK (http://mydomain.com) that is the directory of the file i modified. Later Edit i have web dav SVN installed and i commit to a HTTP URL. and there is a post...

C# Windows Service throws an exception when trying to call a COM library.

Hi guys, I'm writing an application that uses a COM library. I have a class library that wraps the calls to the COM library and adds some more functionality. Eventually this will run as a Windows Service. For now I test it using a Winforms test harness. When the class library is created by the test harness everything seems to be working...

Fatal Error while creating a shell which should connect to the database

Fatal error: Call to undefined function mysql_connect() in /opt/lampp/htdocs/cake/cake/libs/model/datasources/dbo/dbo_mysql.php on line 370 //shell <?php class ReportShell extends Shell { var $uses = array('Customer'); function main() { $customers = $this->Customer->find('all'); var_dump($customers);...

Constructor arguments problem ActionScript 3

Hi, I have a custom class defined in Actionscript and I want to make an instance of it in the main document of Flash application. However, after calling the constructor with one argument, Flash gives me this error: Error #1063: Argument count mismatch on coa.application::MenuItem(). Expected 1, got 0. This is my class: public class M...

[Java] What is wrong with this array declaration?

All right so I have agonized over this code for the past hour or so. This is the code for the class in question. public DistanceProject(String costs, String firstString,String secondString) { Scanner scan = new Scanner(costs); copyCost = scan.nextInt(); replaceCost = scan.nextInt(); deleteCost = s...

Sql datasource wizard problem

hi guys i have an error with sqldatasource. When i click sqldatasource's updatequery property visual studio give an error: Microsoft Visual Studio Could not load file or assembly 'C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\%DXROOT%\ProductionTools\BuildComponents.dll' or one of its dependencies. The system cannot find ...

Confusing mysql problem

I have got a problem with two tables: CREATE TABLE IF NOT EXISTS `addresses` ( `adr_id` int(11) NOT NULL auto_increment, `per_id` int(11) NOT NULL, `adr_street` varchar(50) NOT NULL, `adr_houseno` int(11) default NULL, `adr_housenoadd` varchar(10) default NULL, `adr_postalcode` varchar(25) NOT NULL, `adr_city` varc...