error

ASP.NET MVC: how to signal compilation error if a view has error?

My view has errors. I see these errors only if I open the view in Visual Studio. I would like to see the errors on compile time rather than on execute time. Does exist a way to obtain this behavior? ...

Ajax.request throws a syntax error, but returns the correct value

I have a bunch of Ajax requests that execute just fine, but I end up with a syntax error in my browser. Can anyone see what's wrong with my request below? function getName(refId) { var resp = ''; new Ajax.Request('/servlet/GetName', { method:'post', parameters: {'requestType':'ref', 'value':refI...

svn switch error - is not the same repository

Hello, I have recently moved the SVN server and now i am tring to relocate the working copies from my computer to the new server. But i get the strangest error. i do : svn switch http://99.99.99.new/svn/company/project/trunk/web but i get svn: 'http://99.99.99.old/svn/company/project/trunk/web' is not the same repository as 'http://...

Subversion hook updating externals autentification error

Hello, I have a post-commit hook that is updating a working copy. In that working copy some of the files are externals witch have authentication. Is there a way to pass the login credentials to the svn update only for the externals ? Right now it does the update but because the external asks for login, it fails to update the external l...

Compiling C++ Program Causes "Fatal Error LNK1104"

Hey folks, I am trying to compile a c++ application using the following command in command prompt: cl -I"c:\Program files\Java\jdk1.5.0_07\include" -I"c:\program files\java\jdk1.5.0_07\include\win32" -MD -LD HelloWorld.cpp -FeHelloWorld.dll However this produces the following error: LINK : fatal error LNK1104: cannot open file 'MSVCR...

ERROR_BAD_INHERITANCE_ACL from SetNamedSecurityInfo?

What does ERROR_BAD_INHERITANCE_ACL returned from SetNamedSecurityInfo imply? In this case I'm adding a user to a directory's ACL. I've looked at the directory in question and its rights seem reasonable before the call. But the calls fails. Any thoughts? Here is the code snippet doing the work (and as I paste it here, I'm wonderin...

Is there any general rule of thumb for what would cause an "EXCEPTION_ACCESS_VIOLATION (0xc0000005)"?

I have searched the internet for an answer to what could be causing "EXCEPTION_ACCESS_VIOLATION (0xc0000005)" in java but I couldn't find anything beyond reinstall your jvm. I know that it is a problem with my code, what in my code could cause this? This exception always occurs directly after I have Created a Database Connection, and it...

How do I resolve a "print() on closed filehandle" error in Perl?

I am getting this error while executing my Perl script. Please, tell me how to rectify this error in Perl. print() on closed filehandle MYFILE This is the code that is giving the error: sub return_error { $DATA= "Sorry this page is corrently being updated...<p>"; $DATA.= "<A href=\"javascript:history.go(-1)\"> Back </A>"; ...

PHP + MySQL Error

Hello, here's the code: if ($_POST) {$content = stripslashes($_POST['content']); $by = $_SESSION['exp_user']['username']; $dt = date("F j, Y, g:i a"); mysql_query("UPDATE tbl_intmsg SET time = ".$dt.", by = ".$by." AND content = ".$content."") or die(mysql_error()); For which I recieve error: You have an error in your SQL syntax; ch...

How can I use jscript assertion to filter exception types in Elmah 1.1 RC ?

The first binding against 404 works so I got the ErrorFilterModule set up properly, but the jscript section does not seems to work at all. HttpRequestValidationException is still being send in the report mail. <errorFilter> <test> <equal binding="HttpStatusCode" value="404" type="Int32" /> <jscript> <![CDATA[ ...

ScriptResource error: am I being hacked?

I keep getting errors like this on one of my sites. It tends to happen randomly throughout the day any for periods in the night when I would not expect users on the site. It is always from different ip addresses System.Web.HttpException: Invalid viewstate. at System.Web.UI.Page.DecryptStringWithIV(String s, IVType ivType) at ...

Access denied error when trying to load a package on Intergration Services

I am getting an error when I try and upload a import an ssis project onto our server. The server only has integration and reporting services installed as the live sql server is on another server. I log onto the integration service fine but as soon as I try to right click the MSDB folder to import a package I get the error listed at the e...

How to pronounce @@error

How do you refer to something like @@error (T-SQL) when speaking? Is it like "at at error" or do you just say what it actually holds/represents (the error number)? ...

Parse errors are not displayed

Hi all, I want PHP to display parse errors on screen. What I get instead is a blank page. Nothing gets written to server's error log file. My setup: PHP5.2.9/IIS 6 (not Apache!). My PHP.INI: error_reporting=E_STRICT display_errors = On display_startup_errors = On log_errors = On error_log = "C:\Program Files\Zend\ZendServer\logs\php_...

Error handling in Haskell with Either monad

I have a function that checks whether a type is a subtype of another type: st :: Monad m => Map String Type -- ^type environment -> Set (Type, Type) -- ^assumed subtypes -> (Type, Type) -- ^we are checking if lhs <: rhs -> m (Set (Type, Type)) I want to do error handling. I have the following definition: instance Mona...

How to resolve Oracle RemoteOperationException: Error reading error from command

I have recently been receiving the following error whenever I am asked to supply the host username and password in Oracle DataGuard's Enterprise Manager (EM) tool: RemoteOperationException: Error reading error from command. Any configuration or management that needs to be performed and requires the host credentials is throwing this error...

Can SMTP Errors be the Developer's fault?

I have an error message getting returned to me which would appear to be something wrong with the Exchange set up. Is there a possibility that I'm doing something wrong? I have no idea where to to start to track this down: The following recipient(s) cannot be reached: Customer Service Account on 6/3/2009 11:00 AM There was a...

ActiveRecord::StatementInvalid: Mysql::Error:

I tried to google hardcore to get what creates this problem, but nothing helped me, so i'm triing to write here! while doing: User.create(:name => "daniel") or User.new(:name => 'daniel').save in the rails console, i get this error ActiveRecord::StatementInvalid: Mysql::Error: Duplicate entry '5' for key 1: INSERT INTO users (name, s...

What causes Error 70 in Excel VBA?

I have some code which keeps causing an Error 70: Permission Denied in my VBA code. I can't work out why, because I know that the worksheet is unprotected and that I can make changes to it. The code in question is sh.Name = "square" It attempts to rename a shape that has been copied from another sheet and pasted into the sheet - ...

Error trapping when a user inputs incorect information

So, i have recently started learning python...i am writing a small script that pulls information from a csv and i need to be able to notify a user of an incorrect input for example the user is asked for his id number, the id number is anything from r1 to r5 i would like my script to be able to tell the user that they have input someth...