error

Using Web Service to authenticate on LDAP

Hi there, Since it' apparently not possible to authenticate with LDAP on my BlackBerry App, I'm trying to use a kind of workaround. Instead of authenticate directly on the LDAP Server, I want to use a Web Service in between. So it looks like this App --calls--> Web Service --calls--> LDAP Server So the Web Service should take th...

sqlite constraint failed error code

Hi all, I have two tables albums and songs and each song has reference to alum's id. Album table : CREATE TABLE albums (id INTEGER PRIMARY KEY ASC, name TEXT, additional TEXT) Song table: CREATE TABLE songs (id INTEGER PRIMARY KEY ASC, album_fk INTEGER NOT NULL, title TEXT, url TEXT, duration BIGINT NOT NULL) and i also have a tri...

TSQL case syntax

Hi I need help with the syntax on this code: IF OBJECT_ID('TEMPDB..#LTS_MAP') IS NOT NULL BEGIN DROP TABLE #LTS_MAP END SELECT dtMicIssue as LATE_CHARGE_FACTOR ,CASE WHEN (dtMicIssue is NOT NULL) AND (dtMicIssue <> '1900-01-01 00:00:00') THEN CONVERT(SMALLDATETIME,dtMicIssue) ELSE NULL END INTO #LTS_MAP FROM SBA...

Error while browsing dnn website

URL error while browsing the dnn website dnn treated http://www.http.com//domainname.com/auto/. Please reply ...

How to get a method to return an expression to resolve 'Unrecognised method call in epression' error?

I have the following statement that's throwing an error I don't understand: return (int) _session.CreateCriteria<T>() .Add(LambdaSubquery.Property<Fund>(x => x.Id) .In(GetAvailableIdsPerDataUniverse(x => x.GetDataUniverseId()))) .AddNameSearchCriteria<T>(searchExpression) .SetProjection(LambdaProjection.Count<T>(e =>...

Net::SMTPAuthenticationError 502 5.5.2 in Rails ActionMailer

Hi, i'm trying to send confirmation email to the user. But i get following error: Net::SMTPAuthenticationError (502 5.5.2 Error: command not recognized Configuration in production.rb is following: # Disable delivery errors, bad email addresses will be ignored config.action_mailer.raise_delivery_errors = true # set delivery metho...

Duplicate Identifier Error

I was just coding on my Lazarus, without changing nothing on the TForm declarations. Then I tried to test my application, but on the compilation I got this error: TomAct.lpr(11,43) Error: Duplicate identifier "TOMACT" TomAct.lpr(15,32) Error: Identifier not found "TForm1" TomAct.lpr(15,39) Error: Identifier not found "Form1" TomAct.lpr(...

SQL/ASP - Expected: " - But it's there?

hey all, can somebody please help me figure this out? It's giving me error after error after error and I have no idea what its problem is. My code: <% Dim cnnSimple ' ADO connection Dim rstSimple ' ADO recordset Set cnnSimple = Server.CreateObject("ADODB.Connection") ' DSNLess cnnSimple.Open "MY CONNECTIONS STRING INFO HERE" cnnSim...

ASP.NET CustomErrors not firing when exceptions occur in global.asax or in web.config

I have ASP.NET set up to use the CustomErrors functionality: <customErrors mode="On" defaultRedirect="~/ErrorPages/500.aspx" redirectMode="ResponseRewrite"> <error statusCode="404" redirect="~/ErrorPages/404.aspx" /> <error statusCode="500" redirect="~/ErrorPages/500.aspx" /> </customErrors> Everything works nice, and the rele...

Maximum execution time exceeded (PHP)

hey all, im getting this error, and i don't know why. Fatal error: Maximum execution time of 30 seconds exceeded in E:\web\autoopti\thanks.php on line 65 The code I have for the PHP script is: <?php $key = 129; $email = $_REQUEST["payer_email"]; $first = $_REQUEST["first_name"]; $last = $_REQUEST["last_name"]; $...

Duplicate symbol build error in XCode project

When I try to build my project I get the following error. ld: duplicate symbol .objc_class_name_GLFunView in /Users/gin/Documents/development/GLFun/build/GLFun.build/Debug-iphonesimulator/GLFun.build/Objects-normal/i386/GLFunView-7A51E8797CBB3D72.o and /Users/gin/Documents/development/GLFun/build/GLFun.build/Debug-iphonesimul...

Project is always out of date? (Visual C++ Express 2010)

I've been working on a project, and for some reason after a added a new file for my new class. I tried to compile it, and as expected it built the project. But then every time I tried to run it, it would compile. I changed to the default settings and it told me every time I tried running, my project was out of date. I tried even deletin...

java.sql.SQLException: Incorrect string value: '\xF3\xBE\x8D\x81'

I am getting the following exception while trying to save some Tweets, Caused by: java.sql.SQLException: Incorrect string value: '\xF3\xBE\x8D\x81' for column 'twtText' at row 1 at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1055) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956) ...

Can't connect to MySQL Database in phpBB

I am trying to connect to a MySQL database using the mysql_connect() command however I keep getting the error message: Warning: mysql_connect() [function.mysql-connect]: [2002] A connection attempt failed because the connected party did not (trying to connect via tcp://ravenwolftest.db.4292619.hostedresource.com:3306) in C:\Data\GITA\We...

Prototype Javascript Error (only in IE) 'Object doesn't support this property or method'

One of our devs through together a banner rotater, and while it works fine in NOT IE, IE is throwing an error at line 30 (marked below with "* ERROR ON NEXT LINE"). Can I not sort $$('.banner')? The error is: 'Object doesn't support this property or method' Using Prototype 1.6.0.3 function changeBanners() { // banners are now sorte...

XCode Cocoa Console Application Linking Error

Hey guys, I made a new project in XCode (console application). Then I added a new Objective-C class and compiled it. However, it wouldn't build. Here are the errors I am seeing: Undefined symbols: "_objc_msgSendSuper", referenced from: -[Terminal init] in Terminal.o -[Terminal dealloc] in Terminal.o ".objc_class_name_NS...

exc_bad_access in C program

Okay, I know there is another question about "exc_bad_access" here, but that seems to deal with Objective-C and iPhone dev., while mine is only regular C. I am new to C and am almost done with my first program until this error showed up. I have been trying to figure it out for a couple of days and am going insane. Any help is apprecia...

PHP: Ignoring errors and notices in a specific class

My site is completely custom, as such I like to know when I have poorly written code. I use set_exception_handler and set_error_handler to use custom classes to log errors to a file. This includes notices and warnings. Within my own code, this is fine as I get very few logs and those that I do get are things I actually want to fix. How...

XCode Cocoa Console Application Import Error

Hey guys, I made a new Console Application Project in XCode, and in the main.c file, I tried to Import Cocoa.h and another header file that I made. However, XCode started freaking out and gave me a bunch of errors. All of the errors were Parse Issues and came from NSObjCRuntime.h, NSZone.h, and NSObject.h. Anyone know why? Thanks! ...

Python PIL load throwing AttributeError: 'NoneType' object has no attribute 'read'

Hi all, I've been struggling with this error for several days with little headway. Basically, I'm trying to read in an image file and then use PIL to preform a specific operation on it. (my end goal is to preform a PIL paste operation). However, whenever I load my image in, and then invoke the load() method on it (operations like s...