error

What does it mean when I "cannot convert X** to X*" in a "new" assignment?

In running Ubuntu and the g++ compiler I keep getting the same error from this code. myClass *arr; arr = new myClass*[myClassSize]; // line 24 for(int a = 0;a<myClassSize;a++) arr[a] = new myClass; Here is the error: cannot convert 'myClass **' to 'myClass *' in assignment The problem was on line 24. ...

COM+ Registration Error

Peace all, I am currently having a trouble with registering a COM+ component. I tried to register it via the GUI (by dragging the DLL into the component folder). The error code I am getting is 80110425. The prequel to this error was a message saying something like this: "The DLL could not be loaded. Check to make sure all required appl...

Authlogic Password is not valid error

I'm getting a similar error to this post http://stackoverflow.com/questions/1475128/ruby-on-rails-authlogic-password-not-valid "Password is not valid" which never seemed to be resolved in the script/console if I create a new user: myval = "[email protected]" u = User.create(:email => myval, :password => myval, :password_confirmation => m...

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...

AS3 -TypeError #1009 - any easy way to find out *which* object reference is null?

We all get "TypeError #1009 Cannot access a property or method of a null object reference" now and then - no big deal, but sometimes frustrating to debug. Flash gives you the call stack (which is a start), but leaves it up to you to figure out where the null object is - is it possible to find out exactly which reference is throwing the...

C# SQL Distributed transaction completed. Either enlist this session in a new transaction or the NULL transaction.

I'm getting this error (Distributed transaction completed. Either enlist this session in a new transaction or the NULL transaction.) when trying to run a stored procedure from C# on a SQL Server 2005 database. I'm not actively/purposefully using transactions or anything, which is what makes this error weird. I can run the stored proced...

Mysql inner query not working

$sql= "select tblservergroup.id, tblservergroup.groupname, if(tblservergroup.defserverpaid='0', '0', select concat(tblservers.ipaddress, ' (', tblservers.name, ')' ) as defaultserverpaiddesc from tblservers where tblservers.id=tblservergroup.defserverpaid), if(tblservergroup.defserverfree='0', '0...

Environment windows server 2003 64-bit mode

Error 14001 this application has failed due to start because its side-side by configuration is incorrect. We uninstalled and installed Microsoft Visual C++ redistributable. SIMPLE SOLUTION! " Try installing this http://www.softdevlabs.com/Hercules/vcredist%5Fx86.exe again the window services not started. Environment windows server...

Where to find the list of error code and its messages for C#, Sql server ?

How can I find a list of error codes for sql server, socket exceptions, web exceptions or any exception. For sql server I am not able to find all the error codes in sysmessages like for instance errorcode 53, 17 so where do we find such codes? For example System.Net.Sockets.SocketError sockererror is an enum which contains most of the ...

Accessing properties of object from delegate.

Hi everyone, I've been cracking my head on a prob that doesn't quite make sense. Say I have the following in my project: AppDelegate MyClassA MyClassB MyViewController In MyClassA, there is a property of type MyClassB by the name classB. MyClassB has a property of type NSMutableArray by the pointer name myArray. When in the MyViewCon...

Too many input arguments in MATLAB

When I run the following code: xdata2 = [1 3 4 5]; ydata2 = [3 9 76 73]; params = [0.1 0.5 0.0 -0.5 0.2 0.8]; y = svenssontest2(xdata2,ydata2,params,0.636,1.9632); I get the error message "Too many input arguments", but the number of input arguments is correct. Here's the code for the function svenssontest2: function [alpha L1 L2] = ...

Windows batch file - The system cannot find the batch label specified

The Problem I'm having a problem with a DOS batch file and labels. I keep getting this error: The system cannot find the batch label specified What I've tried Two computers; a WindowsXP and a 2003 Server. Made sure it was encoded as ASCII Editted the hex code for the line continuation characters. Tried replacing all with CR ,...

How do I disable cache_money caching for certain ActiveRecord models

I tried doing the def index(*args); end; trick within the models I'd like cache_money to ignore, but to no avail. ...

Error while loading xls file in MATLAB

I am trying to load an xls file in MATLAB. The xls file contains numerical values. I have successfully loaded and plotted the file but if I change the dimensions of the file (i.e. number of rows and number of columns) there is an error: Numeric = xlsread('Test_results_new') ??? No appropriate method or public field UsedRange for class I...

Com error when trying to auto close browser sometimes

I try to close my browser in C# using the following code: private void KillIE() { ShellWindows winShells = new ShellWindowsClass(); foreach (InternetExplorer Browser in winShells ) { Browser.Quit(); } } Sometimes its works but today it doesn't and I cant get it to work. Now all I get...

httpconnection.getResponseCode() giving EOF exception

Hi, Im using Httconnection for connecting to webserver , somtimes request fails causing EOFException when calling httpconnection.getResponseCode(). im setting the following headers while making the connection HttpConnection httpconnection = (HttpConnection) Connector.open(url .concat(";interface=wifi")); httpco...

How do I turn off error validation for annotations in Intellij IDEA?

I have a developer counterpart who uses Eclipse, which inserts annotations in various positions automatically in our JUnit tests. However, when I open the test in IDEA, the annotation is underlined red, and the annotation reads "@Override is not allowed when implementing interface method". I don't really care about the annotation. It won...

Corrupted column in database

I have a SQL Server database. One of the tables has a column that, for lack of a better word, is acting corrupted. I can select * or even select that specific column and it works fine. I can perform functions like count, order by and group by on all other columns with no problems. But if I try and do one of those functions on this one co...

Object Expected using JQuery with BlogEngine.net

I have the following code: <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"&gt;&lt;/script&gt; <script type="text/javascript"> $(document).ready(function() { }); The page fails on load with "Object expected". If I hover over $(document) in Visual Studio, it expands to show ...

PHP robust include to handle errors?

I have a PHP app "index.php" that, for various reasons, needs to run other PHP scripts by using include_once on that other script. That other script isn't very stable, so is there some way to do a safe include_once that won't halt the caller? i.e.: <?php safely_include_once('badfile.php'); // MAY throw syntax error, parse error, othe...