error

Umbraco 404 error after install

I have downloaded and setup umbraco on IIS 7.5. I got a 404 page error when I tried running umbraco with Visual Web Developer 2008 Express Edition. Here is the error: Server Error in '/umbraco4' Application. HTTP Error 404 - Not Found. Version Information: ASP.NET Development Server 9.0.0.0 umbraco4 is the webroot directory where I ...

PHP Sockets Errors (connection refused and No such file or directory)

Hello all, I am writing a server app (broadcaster) and a client (relayer). Several relayers can connect to the broadcaster at the same time, send information and the broadcaster will redirect the message to a matching relayer (for example relayer1 sends to broadcaster who sends to relayer43, relayer2 -> broadcaster -> relayer73...) ...

Cisco 1760 router wont load past rommon

Hello, after reset to factory defaults("write erase") and writing command "write memory" (by a mistake...just wanted to save config....and forgot that on cisco its "copy running-config startup-config"). Router wont load past rommon now(i see in console error messages): loadprog: bad file magic number: 0x0 boot: cannot load ...

Specified argument was out of the range of valid values. Parameter name: utcDate

Our logs show hundreds of these errors after our deployment if users are on the site. Anyone know what this means and how to fix it? Notes: We are using msdeploy, IIS 6 I recently noticed that our web server's time is about 10 minutes behind the real time, I think that may have something to do with it. If I log into our site, ...

Why is Matlab Stateflow 7.7 not throwing errors on undefined variables?

Previously in Matlab Stateflow 7.1 all variables and functions had to be included before they can be referred to in the state diagram or else it would throw an error when you tried to parse the diagram. But now in 7.7 it doesn't catch those kinds of errors. Its still compiling the diagram because it catches other syntactic errors. Am ...

Running cUrl cmd from Win7 doesn't work, but on Linux it does.

Like the title says. I'm sending a simple cUrl cmd from Win7 to CouchDB on my Linux box, and it doesn't work. But if I run the same command in Linux, it works. I'm sending this: curl -X POST 192.168.2.5:5984/test/testdoc -d '{"owner":{"fname":"test","lname":"ing"}}' From windows, it keeps giving me a "error: bad request, reason:invali...

Wix - Upgrade always runs older installer msi and fails in trying to read old msi

I'm having a problem though with the Windows caching of the installer. I'm trying to do an upgrade and each time the Windows installer is launching the installer of the older version. And when I do the upgrade it is complaining about problems with reading the older version's msi file (because its not in the same directory anymore). I di...

Args error in main method for client-server program

Hi I have a client and server program, all the coding is done and compiles, the client has a GUI and the server is command line. The program uses sockets. But when I run the client to connect to the server it keeps coming with the error message: "Usage: TodoClient []", rather than connecting to the server and starting up. This is whe...

Schema missing from eclipse plugin environment

I am getting this in my plugin perspective. I get a generic menu istead of specific items e.g. action, etc. My "Preferences / Plugin development / Target platform" looks like : When I go to edit it looks like : ...

PDF document in webBrowser control cause 'The memory could not be "read"' error when closing application

I am using a webBrowser control to open PDF document in winforms, it works fine but when closing the application I get sometimes an error : "The Instruction at "0x2d864aa2" referenced memory at "0x00000008". The memory could not be "read". Is there a solution for this problem? Regards. ...

Handling Errors in PHP

I have a custom class that, when called, will redirect to a page and send a 'message_type' and 'message' variable via GET. When the page opens it checks for these variables and displays a 'success', 'warning', or 'error' message depending on the 'message_type' variable. I made it so the user thinks they stay on the same page. It also all...

Is it bad to throw exceptions to return server errors, eg. 404 Page Not Found?

I am working on a PHP framework and am currently designing error handling. Based on what I have read on SO, I should only use exceptions for, well, exceptional situations. Therefore throwing an exception when an incorrect password is entered is wrong. Should I avoid using exceptions when I want to return a server error code to the user ...

CSS Validation Warning: Same colors for color and background-color in two contexts

I am getting a ton of warnings like the ones listed below when I do a CSS validation check via http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.gamefriction.com%2FCoded&profile=css21&usermedium=all&warning=1&lang=en > 513 Same colors for color and > background-color in two contexts > #blue_module a...

Ruby parse order

Hi, given this code: class Foo def bar return Bar.new end end class Bar ... end I get this error: NameError: uninitialized constant Bar This obviously works if I put Bar before Foo but that is not a real solution though. Any ideas on how to solve this without considering the order? Many thanks. UPDATE: Of course the...

Problem displaying custom error page in ASP.NET MVC 2

This is customErrors section from my web.config file <customErrors mode="On"> <error statusCode="500" redirect="HTTP500.aspx" /> </customErrors> HTTP500.aspx is the same as standard /Views/Shared/Error.aspx page. When I get HTTP 500 error I see this page: Server Error in '/' Application. Runtime Error Description: An application...

python httplib httpexception error codes

Does httplib.HTTPException have error codes? If so how do I get at them from the exception instance? Any help is appreciated. ...

What does this rake db:seed error mean?

I've been trying to solve this problem for a couple of hours but I can't seem to understand what's going on. I'm using Rails 3 beta, and want to seed some data to the database. However, when I try to seed some values through db:seed, I get this error: rake aborted! Attribute(#81402440) expected, got Array(#69024170) The see...

TargetInvocationException?

Why would these lines of code cause that exception private Dispatcher dispatcher = null; public DownloadManager(Dispatcher dispatcher = null) { this.dispatcher = dispatcher ?? Dispatcher.CurrentDispatcher; } When the DownloadManager is instantiated in the XAML like <Window.DataContext> <c:DownloadManager ...

Error: Declaration terminated incorrectly

I get the error in this part of the code: void baklanges(list<MataIn> lista); { int n = text.length(); for (int i = 0; i < n/2; i++) { char temp = text.at(i); text.at(i) = text.at(n-1-i); text.at(n-1-i)= temp; } cout<<"Texten baklanges:\n"<<text<<endl; } I don't see any problem in the code,does any of you? ...

`.' cannot appear in a constant-expression

I'm getting the following error: `.' cannot appear in a constant-expression for this function (line 4): bool Covers(const Region<C,V,D>& other) const { const Region& me = *this; for (unsigned d = 0; d < D; d++) { if (me[d].min > other[d].min || me[d].max < other[d].max) { return false; ...