error

WEIRDEST ERROR EVER: ASP.NET and Firefox??

I've always thought that server-side code is unaffected by the browser requesting it, but I've just come across an exception: I have a button that when clicked, changes the button's CSS class (and those relative to it) and rebinds a GridView with new data. The function is this: Private Sub lbViewUnUsed_Click(ByVal sender As Object, ByV...

What's the problem with this code?

MyControl.Margin.Left = 10 ; // Error // "Cannot modify the return value of 'System.Windows.FrameworkElement.Margin' because it is not a variable" ...

Hard to find bug on a custom C++ class

I need help on finding the problem using a custom c++ class to manage 3D positions. Here is the relevant code from the class Punto operator+(Punto p){ return Punto(this->x + p.x, this->y + p.y, this->z + p.z); } Punto operator+(Punto *p){ return Punto(this->x + p->x, this->y + p->y, this->z + p->z); } Punto operator-...

Error adding users to roles in ADAM (A constraint violation occurred. (Exception from HRESULT: 0x8007202F)

I get the error " A constraint violation occurred. (Exception from HRESULT: 0x8007202F) " when trying to add users to a group. My code looks like this: public string addUserToGroup(string userDN, string groupDN) { try { DirectoryEntry de = new DirectoryEntry("LDAP://localhost:389/" + groupDN); ...

Wrong number of arguments for DoCmd.OpenReport in MS Access

Sorry if this is a noob question, but I have been given the dubious honour of supporting an ancient legacy Access 2000 .adp application, written badly by someone years ago who is no longer around, when i have little experience with Access or VB myself :) I have set up a WinXP dev machine with Access 2000 (it's an Access 2000 project) to...

What's the best way to get round a 'Potentially Dangerous Request' error in asp.net?

The project I am currently working on has, in the checkout, an option to attach an embedded YouTube video to an advert. This is causing a headache: My original plan was to take the embed html that the user provides from YouTube and split out the videoID, and store only that, rejecting anything that does not fit a certain pattern, to en...

"collect2: ld returned 1 exit status" Error Iphone SDK. Please help me

Hi everyone, i am new Mac and iphone SDK. i writing basicly a game application. and i want to update and show game score using SQLite. i searched in web for my problem but i didnt find any solution for me. error is: Ld /Users/Iphone/Desktop/IDRGame/build/Debug-iphonesimulator/IDRGame.app/IDRGame normal i386 cd /Users/Iphone/Desktop/ID...

SQL Server 2005 error when grouping using subquery.

Using SQL Server 2005 I'm trying to group based on a case statement with a subquery, but I'm getting an error ("Each GROUP BY expression must contain at least one column reference. "). I can work round it quite easily, but can anyone explain the error? I've got a column reference to #header.header. create table #header (header int) crea...

'Invalid Argument' Error in IE, in a line number that doesn't exist

I'm getting the following error in IE 6: Line: 454 Char: 13 Error: Invalid Argument Code: 0 URL: xxxxx/Iframe1.aspx and I can't for the life of me find what's causing this. This only happens in a situation where I have a main page that has several IFrames, and it only happens when I have one particular IFrame (the one pointed...

EXECUTE IMMEDIATE with USING clause giving errors

All, I am very new to stored procedures in general but I am struggling especially with those in Oracle. I have created a very simple example of what I am trying to accomplish and I am still getting the same error with this simplified version. The example stored procedure is as follows: CREATE OR REPLACE PROCEDURE ashish_test AUTHID C...

Eclipse Stacktrace System.err problem

All of a sudden my printStackTrace's stopped printing anything. When I give it a different output stream to print to it works (like e.printStackTrace(System.out)) but obviously I would like to get it figured out. ...

MySQL Error 2013

I am facing connection failure to MySQL problem when I run my program for more than couple of days.MySQL Error Code is 2013 while connecting to Database. MySQL server and client programs are both on same machine. I am using FC5 as my OS and MySQL version is 5.0.18. Can anybody throw some light on this? I am getting mysql error 2013 whil...

Eclipse cannot resolve enum in the same namespace?

I've run accorss a really weird issue, in eclipse I've got a codebase I've been working on for a couple of weeks and it's working fine. I did an svn update and all of a sudden one of my classes doesn't compile because it can't resolve an enum which is in the same namespace to a type. I've checked the Java version and I'm running under J...

AJAX responseXML errors

Hi, I've been having some weird issues when it comes to make an AJAX request and handling the response. I am making an ajax call for an xml file. however when i get the response the xhr.responseText property works fine in firefox but not in IE. Another thing is that I am trying to access the xhr.responseXML as XMLDocument, but it tells ...

debugging Error establishing mySQL database connection under extreme load

Under high traffic my mysql 5.0.45 server /Apache2/ CentOS 5 is getting "Error establishing mySQL database connection". I need to find the root cause. I would very much appreciate any pointer to information about the procedure I should take to find the cause (memory limit, thread limits, CPU load, slow queries etc, large dataset, wrong ...

ASP.NET Membership Redirect User on Denial of Access

I want to redirect the user to a custom error page when s/he is denied access to a page because of ASP.NET Membership's Roles. I thought this could be solved by the customErrors section of the web.config file, but none of the errors I've tried has caught it. In other words, if a user is in the role "Project Focal" access, and tries t...

ASP.NET: "Object Required" when repeating LinkButtons in an UpdatePanel

I have an UpdatePanel which has a Repeater repeating LinkButtons. When I click a LinkButton, the page does a partial postback, then I get a javascript error: "Object required". I tried debugging the javascript, but couldn't get a call stack. If I remove the UpdatePanel, the LinkButtons do a full postback, and they disappear from the ...

How do you guys dealing with errors about PEAR thing?

When I use PEAR, it always generates lots of errors. How do you guys treating about them? (1)use PEAR , and just ignore errors. What is error thing? I can't see them. (2)use PEAR, but tweak error level, to they do not generate errors. (3)Don't use PEAR thing. switch to cakephp. ...

Eclipse workspace reference outside eclipse plugin

I'm running the following code: import org.eclipse.core.resources.IWorkspace; import org.eclipse.core.resources.ResourcesPlugin; public class WorkspaceTest { public static void main(String[] args) { IWorkspace workspace = ResourcesPlugin.getWorkspace(); } } and I get the following error: Exception in thread "main" ja...

Getting NULL communicators with MPI_Cart_create, MPICH

Hi I wrote this program for my homework (parallel programming), but I'm getting some errors on running. This is the source: /**************************************** * Program: * * ALL_TO_ALL_BROADCAST_MESH * * * * Author: * * ------------------- * * ------------------- * ***************...