error-message

C++ Yet another linker problem.

Hi all. I'm having a linking issue with a basic C++ program. No, I'm not including .cpp files! This is what's happening. main.cpp #include "header.h" #include <iostream> int main() { std::cout << "Hello!"; } header.h #ifndef _HEADER_H #define _HEADER_H class Something { public: printContents(); }; #endif something.cpp ...

External exception C0000006

Hello, I've wrote some program in Delphi and when I am running it from a disk on key. At some point I'm required to unplug the disk on key while the application is running. If I do this on a computer with at least 1gb of ram everything is okay. When I do this on a machine with 512mb I get an external exception C0000006. If I'm not mista...

Error window show modal in MVVM WPF

Hi guys I have implemented my MVVM error message as a message dialog that subscribes to error messages via a mediator class, so that other viewmodels can notify it if any errors occur. When an error occurs, I set the visibility attribute in the viewmodel to Visible, to display the error window. This is all bound in the Error window fro...

VS Annoying CSS Alert

<link href="http://www.../default.css" rel="stylesheet" type="text/css" /> Could not edit 'http://...' because it is not in the Web site. I get this error box every five minutes, how do I get it to stop telling me this? ...

Objective C error messages

I'm trying to debug an objective C program. It used to run, and I'm not sure what changes could have broken it, but it no longer runs at all. In the debugger, I now get: . . . unable to read unknown load command 0x80000022 unable to read unknown load command 0x80000022 unable to read unknown load command 0x80000022 Program loaded. share...

Cannot convert from 'System.Windows.Forms.WebBrowser' to 'ExtendedWebBrowser'

Hello all, I am trying to debug my cute little application here and it won't let me :( When I click Debug, I get two errors, the first one is: Error 1 The best overloaded method match for 'WindowsFormsApplication1.Form1.InitializeBrowserEvents(ExtendedWebBrowser)' has some invalid arguments and the second: Error 2 Argument '1': cannot...

selenium.captureEntirePageScreenshot does not work but selenium.captureScreenshot works

Hi, I'm running Selenium with TestNG using Eclipse and Selenium RC. I used the command: selenium.captureEntirePageScreenshot("\\test.png",""); but got the following error: com.thoughtworks.selenium.SeleniumException: ERROR: Command execution failure. Please search the forum at http://clearspace.openqa.org for error details from the ...

REG_EPAREN in php

Im using eregi() function for matching the string but it is giving the following error :- PHP Warning: eregi() [<a href='function.eregi'>function.eregi</a>]: REG_EPAREN in /a/b/c/mysite/file.php on line 59, referer: xyz.com im using this function here :- if(eregi($check,$in)) { $titles=ucfirst(substr($desc, 0, 38)); } else { ...

Alternative to using message_set (esp. for AnonymousUser)

In my Django site, I am planning on using message_set combined with some fancy UI to warn the user of things like "your operation was completed successfully" or "you have three new messages". The problem arises when I try to warn an user that is trying to log in that the user/pass he provided are wrong - AnonymousUser, for obvious reason...

C++ error when opening file

when I try to open a file for reading in my console application i get this error message: "Unhandled exception at 0x1048766d (msvcp90d.dll) in homework1.exe: 0xC0000005: Access violation writing location 0x00000000." It works fine when I compile and run the program on my macbook but when I run it on my desktop using VS 2008 it gives me ...

I get the following error, when trying to use C# Lambda extension method All

private void EnsureCurrentlyValid() { //I'm valid if IDataErrorInfo.this[] returns null for every property var propsToValidate = new[] { "Name", "Email", "Phone", "WillAttend" }; bool isValid = propsToValidate.All(x => this[x] == null); if (!isValid) throw new InvalidOperationException("Can't submit invalid GuestR...

Qt Creator: “XYZ does not name a type”

This is a very frustrating error message in Qt Creator: ’XYZ’ does not name a type. This usually means that there is an error in the class XYZ that prevents the compiler from generating the type, but there are no additional hints as to what went wrong. Any suggestions? ...

Qt Creator: “inline function used but never defined” – why?

Why am I getting this warning in Qt Creator: ` inline function ‘bool Lion::growl ()’ used but never defined? I double-checked my code, and have a declaration inline bool growl () in Lion (lion.h) and the corresponding implementation in lion.cpp: inline bool Lion::growl () What’s going on? EDIT: My assumption has been that it is l...

Suppressing internal log4net error messages

I have a console application that should do best effort logging to a database in addition to flat files. When there is no network connectivity (and therefore no connection to the database) log4net prints an error. log4net:ERROR [AdoNetAppender] Could not open database connection [Data Source=...] System.Data.SqlClient.SqlException: A ne...

ASP.NET AJAX Error - null is null or not an object

I am now starting to use Telerik's ASP.NET AJAX controls for 2009 Q1 on my 3.5 web application. IN IE7 (in FF it works fine), whenever I hit a particular page, I get a javascript error stating "'null' is null or not an object" Looking this issue up, I have found various people saying it is due to an issue with validators and upda...

BitString error on Windows XP?

Scott, I'd like to thank you for your BitString program. I am working on interpreting data from a neutron detector, and I've found that this module is just the tool I need. Unfortunately, I have yet to get the module to successfully pass test-bitstring.py. I'm running Windows XP and Python 3.1. I've downloaded your file bitstring-0.4...

I get "undefined variable" PHP notice

Hi guys, I'm curious as to why I'm getting an error on something I've done a million times before but am all of a sudden on a certain script getting an error 'Undefined variable: row' Yet row seems defined to me... $sql = 'SELECT * FROM table WHERE id="1" LIMIT 1 '; $res = mysql_query($sql); if(mysql_num_rows($res) != FALSE) { ...

"Silent" errors in .ADP with SQL Server

I have an adp project in MS Access 2003 with an SQL Server Express 2008 as backend. Everything works fine, except when there is an error on the SQL side, e.g. duplicate indices. the current dataset just doesn’t get updated/inserted, no error message whats-o-ever, but I know it’s not updated, because if I do a select on the server I stil...

yacc/bison tokens error. '>>>' and '>>' both assigned number 62

I do something like this in my code CmpExpr: rval '<<' rval { $$ = $1 << $3; } | rval '>>' rval { $$ = $1 >> $3; } | rval '>>>' rval { $$ = (unsigned)($1) >> ($3); } ; the warning i get is tokens '>>>' and '>>' both assigned number 62 How do i make it use different tokens? ...

Duplicate Classes in Cocoa-Touch

In a Cocoa-Touch iPhone app, I get this error if I add a class named List to my Xcode project: objc[25878]: Class List is implemented in both /usr/lib/libobjc.A.dylib and /Users/steve/Library/Application Support/iPhone Simulator/User/Applications/4883BE28-51DA-493C-9D8A-28FD026708F4/Duplicate Classes Test.app/Duplicate Classe...