error

WCF Error - The operation has timed out

We have created a WCF service hosted in a windows service that handles Authentication requests. The only behavior is : ServiceMetadataBehavior smb = new ServiceMetadataBehavior(); smb.HttpGetEnabled = true; selfHost.Description.Behaviors.Add(smb); Our clients are able to authenticate succesfully 10 times then we get the error T...

Mercurial Editor: "abort: The system cannot find the file specified"

I have a problem getting Mercurial to recognise my editor. I have a file, c:\windows\notepad.exe and typing "notepad" at the command prompt works. I can commit by using the "-m" argument to supply the commit title. But a simple "hg commit" brings up the error. A call to "hg --traceback commit" brings up: Traceback (most recent call las...

Why Java cannot find my constructor?

Well, maybe it is a stupid question, but I cannot resolve this problem. In my ServiceBrowser class I have this line: ServiceResolver serviceResolver = new ServiceResolver(ifIndex, serviceName, regType, domain); And compiler complains about it. It says: cannot find symbol symbol : constructor ServiceResolver(int,java.lang.String,java...

Java method help

Ok, so I'm working on a project for a class I'm taking.. simple music library. Now I'm having some issues, the main issue is I'm getting "non-static method cannot be referenced from a static context" Here is a function I have public void addSong() { Scanner scan = new Scanner(System.in); Song temp = new Song(); int index ...

When using jQuery's getScript() function I get a "not well-formed" error on a line with comments

My guess is that the src file needs to be XML-friendly, but of course none of the JS file is since it's using all sorts of non-XML compliant entities. getScript() may be expecting an XML file =/ Any thoughts? if(is_def(pObj)){ $.getScript(pObj.src,function(){ pObj.stat = STATUS_OK; $a.dequeue(pObj); ...

'int' object is not callable when the object is a list? Python

coinCount = [2 for i in range(4)] total = sum(coinCount) This gives me TypeError: 'int' object is not callable I don't understand why because print type(coinCount) Gives me type <'list'> ...

jQuery fadeIn fails with jqQuery form-plugin

I have a message that I want to fadeIn when a form is successfully send. I'm using the jQuery form plugin and the code: $(document).ready(function() { var options = { target: '#output', beforeSubmit: validate, resetForm: true }; $('#holdform').ajaxForm(options); }); The validate function works perfectly so i added this code before it...

Output from OouraFFT correct sometimes but completely false other times. Why ?

Hi I am using Ooura FFT to compute the FFT of the accelerometer data in windows of 1024 samples. The code works fine, but then for some reason it produces very strange outputs, i.e. continuous spectrum with amplitudes of the order of 10^200. Here is the code: OouraFFT *myFFT=[[OouraFFT alloc] initForSignalsOfLength:1024 NumWindows...

PHP Error: Warning: session_start() [function.session-start]: Node no longer exists

Getting the following error when trying to start a session: Warning: session_start() [function.session-start]: Node no longer exists in file.php on line 3 The script uses SimpleXML to parse XML files from remote hosts. It's running on a Linux Ubuntu server with PHP 5.2.6. Has anyone come across this message before or have an insight i...

Sharepoint sequential workflow error ( sometimes )

Hi there , My problem is We create 3 approval stage workflow with Vs 2008 for sharepoint 20007. This workflow finds managers from the active directory and assing one task for each manager. Sometimes , after second task creation , we have an error something like "workflow-XXXX cannot be started sharepoint workflow history. If this erro...

MySQL - What's wrong with the query?

I am trying to query a database to find the following. If a customer searches for a hotel in a city between dates A and B, find and return the hotels in which rooms are free between the two dates. There will be more than one room in each room type (i.e. 5 Rooms in type A, 10 rooms in Type B, etc.) and we have to query the database to ...

C error Array : array type has incomplete element type.

Hi my code extern int docx(char *,char[][]) // in a header file it is compiled in solaries properly. but in redhat linux it shows bellow error. array type has incomplete element type. i know i can solve it as - char[][20] is it the right way. ...

Stack Trace in error in Webpage in ASP not in my code?

I'm new to web-development in ASP, and I'm experiencing a problem where I try to access a certain page through a link and I get an error, the first part says it's an exception, then tips on debugging and then the stacktrace. What happens is that this code isn't on my application, I've had errors like this before, and the peace of code t...

LBoard; class not found, try compiling it explicitly

Original Question: I am getting the following error when attempting to compile my Groovy project with IntelliJ Groovyc error: LBoard; class not found, try compiling it explicitly However I am unsure of what I need to do to stop this error from happening. The project was working fine but then I tidied up a fair bit of code and t...

Unable to create website error (NEW)

I copied my ClickOnce deployment to my C:/Inetpub/ folder on my webserver and I deleted my Virtual directory. I deleted the WpfApplication1 folder beneath wwwroot in Win Explorer. Then I turned on Web Sharing for this folder. Then I viewed my IIS Manager and this new Share name appeared under wwwroot. So now under Inetpub folder on m...

Problem using in GWT project classes from other project/source folders

My project contains 2 source folder, one is generic J2EE application another is smartCleintGWT, I want to use some already existing DTO classes from first source folder (src) Note that class used on client side and on server side of GWT project! When I do that I getting error [ERROR] Errors in 'file:/C:/..Projects/Admin/DMX/src_conso...

Don't understand why I am getting this - 'Error: Value storage corrupted: negative chunk size'

I'm using intelliJ IDEA version 9.0.1 build #IU 93.94 with JDK 1.6.0_17. This error comes up at compile time. It only happens sometimes and sometimes when I hit File|Invalidate Caches and restart intelliJ, my project will build successfully. I have absolutely no idea what to do about this, but it is slowing my progress down quite a bi...

Django/PIL Error - Caught an exception while rendering: The _imagingft C module is not installed

I'm trying to run a webapp/site on my machine, it's running on OSX 10.6.2 and I'm having some problems: Caught an exeption while rending: The _imagingft C module is not installed Doing import _imagingft in python gives me this: >>> import _imagingft Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: ...

How to apply a free third party CA and set up Tomcat SSL with it

These days I tried to apply a free third pary CA ( www.cacert.org & www.freeca.cn ) and then set up Tomcat SSL with the CA. My purpose is to eliminate the "Certificate Error" page when accessing https://... from a client browser. But it's a little hard for me to get around it. My steps to apply a free CA, from www.freeca.cn I used keyt...

Custom Cocoa Framework and a problem using it

Hello, I made a custom cocoa framework just to experiment and find the best way to make one but ran in to a problem using it. The framework project builds and compiles just fine, but when I use it in an xcode project I get the error, 'LogTest' undeclared. The name of the framework is LogTest Heres the code to my app that uses the frame...