error

Catching IIS-level certificate errors in C# code

I'm making a SOAP handler that will be secured with X509 Certificates, and one of the requirements is that the program log as much as possible in an existing log viewer. Obviously, there are a lot of errors surrounding certificates that are handled at the IIS level, which in this case is not acceptable. I already have the logging part ...

PHP - Fatal error: Call to a member function getNamedItem() on a non-object in...

Ever seen that error? Yeah? Cause i've been sitting here for over 3 hours now trying to figure out why it's there. :( The URL passed in is correct, and the iframe on the page does exist. $doc = new DOMDocument(); @$doc->load($url); $lst = $doc->getElementsByTagName('iframe'); $iframe = $lst->item(0); $returnLinks[] = $iframe->attribute...

Resources, "GenerateResource" task failed unexpectedly (Image.Save), and TIFFs?

VS2008 SP1 The C# compiler is giving me "Generate" task failed unexpectedly ... (Image.Save) when I try to compile my project, which has a resx file to which I've added a TIFF file. I haven't yet written any code to reference the resource -- just having the TIFF file included in the resource causes the compile failure. How can I compi...

postgresql 8.4 trigger/storedproc error : how to fix it ?

Hi there, An INSERT on a table triggers a stored proc where the following error occurs. ERROR: column "targetedfamily" is of type boolean but expression is of type character varying Hint: You will need to rewrite or cast the expression. Where: PL/pgSQL function "fn_family_audit" line 19 at SQL statement And here's the ERRING stor...

how can I check if an object exists in C++

I am trying to write a function that will check if an object exists: bool UnloadingBay::isEmpty() { bool isEmpty = true; if(this->unloadingShip != NULL) { isEmpty = false; } return isEmpty; } I am pretty new to C++ and not sure if my Java background is confusing something, but the compiler gives an error: Unlo...

Why this c++ template code can't be compiled?

This is a code sample copied from chapter 17 as bellow. When I compile it with Visual Studio 2008, it keeps this error: warning C4346: 'HashMap::mapped_type' : dependent name is not a type 1> prefix with 'typename' to indicate a type Does anyone has any idea about this? Thanks in advance! #include <vector> #include <map> using...

jquery add to another div-boxes inside one special box... ie7+

hi folks, here is my code: $('.round').each ( function ( ) { var content = $(this).html ( ); $(this).removeClass ( 'round' ); $(this).html ( '' ); var inner = $(document.createElement('DIV')).addClass ( 'rc-inner' ).html ( content ); var outer = $(document.createElement('DIV')).addClass ( 'rc-outer' ).append ( inn...

When I close a window opened with window.open() I get an error from Firefox

I am getting following error in firefox error console... Error: uncaught exception: [Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIDOMWindowInternal.alert]" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: http://www.aboriginalsystems.com/test/popup.html :: anonymous :: li...

Sql Error - .NET 4 - Simple desktop application

Windows 7, Visual Studio 2010, tagert framework = .NET 4 Client Profile I'm creating a desktop application, completely local, it doesn't access servers. For that i'm using a .MDF SQL Server database and LINQ. Everything works fine on my machine, however, when i deploy it, the following error is shown when i try to connect to the databa...

User-defined type not defined for AppointmentItem in Excel

I copied example at http://support.microsoft.com/kb/220595 to the VBA in Excel. My code follows: Dim olApp As Outlook.Application Set olApp = CreateObject("Outlook.Application") Dim olAppt As Outlook.AppointmentItem Set olAppt = olApp.CreateItem(olAppointmentItem) I obtained the following error on the line Dim olAppt As Outlook.Appo...

Android - DatePicker widget problem

Hi, I am trying to create activity with few controls and a DatePicker widget. And I am facing one strange problem that I can not explain. If I set activity that has only DatePicker widget shown app works. And if I set activity that has other controls without DatePicker it works too. But when I show them both I get a NullPointer Excep...

R script line numbers at error?

I found this post from a year ago, and I'm using R version 2.11.1 (2010-05-31), but still getting error messages without line numbers. Any solution? ...

Symfony framework: Server returns error 500 to me, and I have no clue what is wrong

Hello there, I am going through the Jobeet tutorial for symfony newbies. The server returns err 500 when I try and access http://localhost:8080/frontend_dev.php/job. As far as I can tell there is nowhere where I can read what the problem is in any log. And when I try and access job, symfony doesnt display a panel at the top to help me ...

Android eclipse resource strings error

When I make a new android project and I go to res/values/string.xml I get a screen to add android resources instead of a XML document. I keeps getting the error about : java.lang.NullPointerException. Is there a way to just alter a XML file (like suggested in tutorials)? ...

Using Tab Focus Manager In A Title Window Flex

I'm struggling to get around an error that is constantly thrown in my application when I press the tab key. I have a modal dialog box that contains a form with 3 form items. Whenever I press the tab button flex throws an error saying "ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller." I've tried se...

Rails ajax form entry shown twice

Hello I want to write a small blog with Ruby on Rails (3), with posts and comments submitted via a ajax form. But when I submit a comment it is often shown twice, and I got no idea why. when I write @post.comments.uniq in the _create.js.rjs file, it works fine but this seems not to be a clean solution. When I reload the page without aja...

trouble using unmanaged c++ from c# using dllimport

Hi guys, i am having trouble importing c++ unmanaged dll into C# [winform]. Can someone help? Basically i am just trying to create a safearray of strings in c++ and trying to send it to C#. Here is my c++ code. extern "C" __declspec(dllexport) BOOL GetStringArr(SAFEARRAY* arr) { SAFEARRAY* myArray; SAFEARRAYBOUND rgsabound[1]; ...

groovyConsole X11 error while startup

I am perl, python guy and new to java and groovy. I am getting this error while running groovyConsole groovy is working fine. myhome:~/gscripts # groovyConsole java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAc...

Undocumented SCSI sense/ASC/ASCQ error code

A bit specialist this one, I'm afraid. Any clues gratefully received. O/S is Windows 7 x32/x64 When writing correctly formatted CD-Text to the lead-in of a USB CD/CD-RW the device returns SK 0x04 ASC 0x08 ASCQ 0x05 This is not documented in the MMC 3-5 specs. Does anyone know what it means? The resulting CD does contain CD-Text as e...

ODBC VB Throwing syntax error

I cant see what is wrong with my SQL statement syntax code is here: Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Using Con1 As New Odbc.OdbcConnection("Driver={MySQL ODBC 5.1 Driver};Server=127.0.0.1;Database=MyGame;User=root; Password=MyPasswordWhichIWontTellYou;") ...