error

Error consuming WCF RestFull POST call, works on W2003 Server / IIS6 but cannot manage to make it work on W2008 IIS7

I have a WCF service that exposes some methods with WebInvoke and POST method, this has been working on a Windows 2003 server machine for some time now, the thing is that I have to migrate the service to a new windows 2008 server machine and this is where I'm getting the issue, I get error 400 Bad Request when I try to call from the clie...

android mediaplayer error on android version < 2.2 ?

Hi I have some weird problem with mediaplayer in android version less then 2.2. I made a game where I do some button clicks and if is answer OK then go to this method and play some sound, it play great on android 2.2 but on minor android version it show error after 7-8 Right answers ??? I have some code sample that works fine...

PHP coding issue: this won't display name

I am puzzled why it won't display the name. I expect to see the output, "Jeffrey" but it doesn't. I created an object with an argument to be passed to the constructor so I expected "JEFFREY" to be displayed but it didn't. I added the echo function in constructor to see if it output jeffrey and it didn't echo either. PHP didn't show any e...

Javascript hash replace error

What's the problem with this? the hash is : #/search=hello/somethingelse/ window.location.hash.replace(/search=([^\/]*)/gi, "search=" + value); EDIT: I want to change just a specific part of the hash not the whole hash. ...

SVN : 500 internal server error on my repository access

Hi, (OS is Ubuntu Server) I create a new repository with SVN like that : $ svnadmin create myrepo --pre-1.6-compatible The first time, when I want to access in my new repository myrepo (with TortoiseSVN tool), I could reach in reading, but in writing, I couldn't (lock SVN message appears). So I found on forum post, a guy who recomma...

mongo: error while loading shared libraries

I get this error when I try to run mongo, in ubuntu. mongo: error while loading shared libraries: libboost_thread-gcc42-mt-1_34_1.so.1.34.1: cannot open shared object file: No such file or directory I upgraded to Karmic yesterday. I have installed mongodb-stable from the repo mentioned here. I tried to apt-get libboost, but there is n...

C++ compilation error enum "does not name a type"

Hello, The following code: foo.h #include "bar.h" class foo{ public: enum my_enum_type { ONE, TWO, THREE }; foo(); ~foo() {} }; foo.cpp foo::foo() { int i = bar::MY_DEFINE; } bar.h #include "foo.h" class bar{ public: static const int MY_DEFINE = 10; foo::my_enum_type var; bar() {}; ~bar() {}; }; Mak...

Makefile: Error1

I have a very simple c programme: int main() { return(1); } and a simple Makefile: all: gcc -ansi -pedantic -o tmp tmp.c ./tmp However, when I type make I get the following error message: $ make gcc -ansi -pedantic -o tmp tmp.c ./tmp make: *** [all] Error 1 What obvious thing am I missing? ...

Flex Weblogic Blazeds Error

Hi all, I have Flex/Parsley/Blazeds application deployed on weblogic 9.x. The following error appears in the weblogic logs the very first time I try connect to server side java class using remoting. After the first time the application works fine...bizzarre any ideas would be appreacited thanks. FaultEvent fault=[RPC Fault faultStrin...

iPhone Push Notification - Error response problem

Hi all, I've got a problem when checking for a response error after sending a Push Notification. This is my setup: From my PHP server, I'm sending Push Notifications. These notifications are send in the enhanced format, so I can get an error response from the Apple server. For example: Error #7 "Invalid payload size". The way I check ...

IIS: Unable to load DLL "<dllName>": The specified module could not be found. (Exception from HRESULT: 0x8007007E)

I have an application that uses .Net remoting. The remotable calls our unmanaged dll that is a client to a Versant database. The previous release of our app communicated with an earlier release of Versant in exactly the same way. We now have 2 different dlls to communicate with the different versions of the database. The new dll resides...

Invalid query: Column count doesn't match value count at row 1

I have a strange problem, I'm sending an SQL query through PHP: INSERT INTO `lib_plex` (`id`, `active`, `lastUpdated`, `entry_date`, `entry_ip`, `address`, `city`, `state_iso`, `zip_code`, `plex_type`, `price`, `has_garage`, `has_indoor_parking`, `has_outdoor_parking`, `has_pool`, `has_fireplace`, `average_nb_room`, `construction_year`,...

is_dir and if else outputting syntax error, unexpected T_ELSEIF

Hello everyone, I am having some trouble with an if, else and is_dir; I am trying to create a small script that tells me if the input is a folder or a file, I have looked at: http://us2.php.net/manual/en/function.is-dir.php for a few examples, and none of them seemed to resemble mine, I read a bit on if and else as well, and it looks li...

GIT - getting 'early eof' error on pull....

I think I'm about fed up with GIT - I keep getting these obscure errors with no indication as to where or why. This last is on a pull on a cygwin side with GIT version 1.7.2.3 - I get an 'early eof' message and then it won't go any more. The repository scenario is: MAC - working repository MAC - bare repository serving as a central ...

Preventing PHP Errors after submitting HTML Form

I've built an HTML form that sends an email via PHP, but it's giving me some errors that look like this: Notice: Undefined variable: selected_radio in /webdocs/com-interplay2010-www-1i/webroot/holiday2010/submit.php on line 8 Notice: Undefined index: gender in /webdocs/com-interplay2010-www-1i/webroot/holiday2010/submit.php on line 12 ...

Java error message java.lang.StringIndexOutOfBoundsException: String index out of range: 0

here is my program import java.util.Scanner; import java.util.Random; public class Project3 { public static void main(String[] args) { int low; int high; int answer; int guess; int numGuess = 0; int x; int y; char repeat; // this will hold y or n String in...

replace text from an XML file using PHP?

I have an XML file which im fetching using php . That file contains '&' which gives error while fetching the file. Now i want to replace this "&" from my XML.How can i do that using php??? ...

matlab reshape function, number of elements problem

Hey guys. I want to use reshape() function in matlab by calling the following self-defined function : imgRgb = reshape(convertYuvToRgb(reshape(imgYuv, height*width, 3)), height, width, 3); here, width=352, height=288, imgYuv is a 4D matrix. However, the system gave me the following error message: To RESHAPE the number of elements must...

Duplicate local variable in JSP in RAD

I get a "Duplicate Local Variable" error in JSP after build in RAD. I have same variable names inside scriptlet tags different logic:present / logic iterate tags. Sample code. <logic:present> <% int var1 = 5; %> </logic:present> ................... <logic:present> <% int var1 = 5; %> </logic:present> Since the variable are in...

Calling dealloc in init?

I am writing a framework and I have an object with a custom init method: @implementation OSDatabase @synthesize database; // MEM - (void)dealloc { sqlite3_close(database); [super dealloc]; } // INIT - (id)initWithDatabasePath:(NSString *)path error:(NSError **)error { if (self = [super init]) { if (!sqlite3_open_v2([path UT...