I am getting the below error during execution of archydro. "system runtime interoperservices com exception (0x80004005): error HRESULT E_FAIL"  I tried all options available on internet to solve this but no luck.  What is the cause of these type of issues? Is this related to application or os ? What is the perfect fix if it is caused by arcgis/hydro or os ?  I am using windows7, 64-bit, Arcgis10.
I am trying to run a function from  in ArcMap 10.1; Sink evaluation. But before it can finish it returns an error message, that, frankly, I don't understand at all.  It goes System.runtime.interopservices.comexception (0x80004005): error hresult e_fail .  Can anyone help me solve this? I have tried all I can think of. Run the function from the toolbox instead of dropdown menus, shorten paths, restart ArcMap, reinstall AHT, open new map documents, restart my computer, wait till next day and see if it automagically have fixed itself...   After searching this forum I found a , although it's got no answers. Now I'm all out of ideas, can anyone please help me?!    I'm using ArcMap 10.1 SP1 basic license and Windows 7.    I think I have narrowed it down a bit, still not clear what's wrong though. Sink evaluation uses a series of functions in Arcmap, of which one is Zonal statistics as table. That's the one it gets stuck on. The input raster somehow does not exist, path unknown. I guess this is some intermediary raster.       After consulting the Arc Hydro team, I got the advice not to use grids stored in a gdb (which I didn't). I have also tried to change target locations, thanks to @G.Oxsen. Unfortunately neither of those solved the issue. According to the Arc Hydro team, GPL0 that I asked about earlier is an in-memory grid, so probably no problem there.   I am currently pursuing that it is related to the installation of SP1. Anyone out there using AHT with SP1 and got Sink evaluation working?    Uninstalling SP1 did not change anything, unfortunately. Still working on this, but with less intensity. Seems like I'll have to find workarounds...    By reducing the number of sinks in need of processing I managed to get Sink evaluation running. Having the files not stored in a gdb seem to help as well, as mentioned earlier, and using integer grids.  Changing the "Maximum number of unique values to render" in ArcMap Options (Customize menu), tab Raster --> Raster dataset is another tip that I got (from the Arc Hydro Team). Restarting ArcMap after running every one or two functions also helps keeping things stable.
Finding distance between points in two different layers along route in ArcMap? I need to find the distance between points in separate layers along a stream network. I have source sites for macro-invertebrates and sites where they are lacking. I need to find the distance between the source sites and the sites where they are not through the stream network.   I tried the linear referencing toolbox but the locate features along route tool can only use one layer of points and has not way to differentiate between sources and not source sites.  Any ideas?  I am using ArcMap 10.3? Prove that the sum of digits of $(999...9)^{3}$ (cube of integer with $n$ digits $9$) is $18n$ Someone had posted a question on this site as to what would be sum of digits of $999999999999^3$ (twelve $9s$ ) equal to?   I did some computation and found the pattern that sum of digits of  $9^3 = 18$,  $99^3 = 36$,  $999^3 = 54$ and so on. So, I had replied that sum of digits of  $999999999999^3 = 12 \cdot 18 = 216$.  Can anybody help me prove this, that sum of digits of  $(\underbrace{999\dots9}_{n\text{ times}})^3 = 18n.$ What is the reasoning behind restricting the number of migration paths? On the religion and culture stackexchange sites, many, many users will initially ask a question in a place that's kind of off-topic there, but are fully on-board elsewhere.    Christianity.SE, for example, gets a lot of general philopsophical questions that would be better on Philosophy, historical questions that might be better on History.SE, and hermenutical questions that are better on BH.SE.  It is, however, unreasonable in my mind for a user with a question to be required to have domain expertise on which sub-site each has. Indeed, even amongst users with a high amount of knowledge, there can be disagreement.  Likewise, , but as just about every one of those is in beta, the user would have to be very saavy (or would have to find that post) in order to nail it every time.  That said, recommending that a question be moved is much harder than it needs to be.  I have seen business rule logic that says, for example,    migration paths only exist to graduated sites (ergo politics, money, history, and quantitative finance wouldn't qualify) migration paths seem to be limited to 5.   Anything not on a migration path requires a moderator (and not just a high rep user) to get involved.  So, what is the reasoning behind this?  Note, I'm not asking for a solution (although the obvious solution would be to allow migration paths to any established site, beta or not, i.e. a VTC as off topic b/c it belongs on another site should allow you to pick any other site) - I just want to understand the business purpose in restricting migration paths to a small, predefined number for everyone other than a mod. 16.04 LTS upgrade alert- How to handle it? I am running Ubuntu 14.04 LTS. Today when I logged into my computer I got an update alert saying that I could upgrade to Ubuntu 16.04 LTS. The other options were not now or do not upgrade. If I chose to upgrade will it delete my /home directories and the installed software under /opt and /usr/local ? Why Changing Permissions For Some Systems Files is Not Allowed? Dual boot with windows 7! I'm using windows 7 right now. I want to install Ubuntu with dual boot. Is is safe? And does the process go safely? Quick question about curly braces not showing up Ii am writing a short code, so I doubt anything else in the code is causing the problem. This is the problematic line of code:  \[ M_R := \max {|f(z)|: |z - z_0| = R }\le M\]   It doesn't show the curly braces. I've tried using \left{ and \right} but to no avail.  What should I do?  Thank you Why can't I buy the Windhelm house (Hjerim)? I've finished the Stormcloak storyline, and now cannot become a Thane of Windhelm without buying Hjerim. The Steward keeps saying something has happened and he can't sell it right now.  What the heck am I missing? I've been doing every random little quest from people in town I can find, hoping to unlock the house. I'm well over the 5/5 requirement of helping people.  Any ideas? I'm looking for a way to insert continuous colour legend for a raster layer.  I managed to create discrete symbols with values along the bar, but I would like to have a continuous bar with some values on the bar, similar to the old plugin "One-Band Raster", that it doesn't work with the QGIS version higher than 1.7  I tried to set in properties->style, where I selected the  Render Type "Singleband pseudocolor" and see the "generate new color ramp" box.  I tried both "Continuous" or "Equal interval". However, in the Composer the legend always is displayed with discrete symbols.  Is there any way that can make QGIS Composer to display a nice continuous band for a raster layer? Going through a text file line by line in C Given a string of JSON data, how can I safely turn that string into a JavaScript object?  Obviously I can do this unsafely with something like:  var obj = eval("(" + json + ')');   but that leaves me vulnerable to the JSON string containing other code, which it seems very dangerous to simply eval. When are attributive nouns plural? Sorry for the title, it is not very evident and intuitive but I really do not how to tell it better...  Well, you know, several times, or better, many times, we use this form:  If I want to say:      "development of special weapons was   the first point in Hitler's   program..."   I will say this (a better form):      "special weapon development was..."   OK...  is it      "special weapon development"   or      "special weapons development" (note   the plural...)   what's the grammar rule in order to understand how to use this very used form? Can the definite article be omitted when referring to a person qualified by a noun? In Windows 8 I can reset everything and reinstall Windows. I assume this will clear my drive and start from scratch? Is that right? Does this create a Windows.old folder?  I see this dialog, but aren't my settings and preferences saved in the cloud? If I screw up my settings and reset like this, are my settings also refreshed back to defaults?  Since I use SkyDrive to sync my files, my personal files are safe, right?    Also, in Windows 8 I can refresh my PC without affecting files. Are my desktop and/or Windows store apps uninstalled when I refresh my PC?  I see this dialog, but I still am not sure. For example, when it says apps are "kept" does that mean I don't have to buy them again or are they installed after the refresh is over for me? I assume "from disk" means desktop apps? Or maybe corp apps?    What would motivate a user to choose between these two? Where is Jon going? Thanks to the internet, graphic design and programming are becoming increasingly overlapping fields.   As a programmer, I constantly find myself needing basic knowledge of Graphic Design, but have trouble locating thorough yet concise graphic design learning resources, and instead usually find bits and pieces of knowledge applicable to the task at hand.  Can you guys offer some tips or recommend some good books, tutorials, blogs, and websites which provide a beginner level overview of web design that have been, in your experience, effective and high quality learning materials. I'm not looking for tips on how to use image editing tools, but assuming a basic grasp of those, which resources and advice will best help a new designer create professional looking designs? I asked  that turned out to have multiple correct answers. How do I pick between them to determine which to accept?  All of the answers were different. They were not the same answer given multiple times. Who was flying the Y-Wing when the Death Star exploded? Near the end of Star Wars IV: A New Hope, we see four spacecraft flying from the Death Star just moments before it explodes.     As you can see, there is the Millennium Falcon crewed by Han and Chewbacca, a pair of X-Wings which has to be Luke and Wedge, and then in the bottom corner, we see a Y-Wing. Who is this pilot and did he have any screen time to justify him actually existing in this moment? For as far as I can tell during the first trench runs, they were conducted by the Y-Wings and all of them seemed to have been destroyed during their run. So as I asked, who is flying this ship and how did survive to this moment? What do you call someone who has extensive knowledge but won't share it? Where can I get freely available audio, graphics, and other resources for games?