runtime-error

Visual Studio 2012 install broke my 2010 WCF project

梦想的初衷 提交于 2019-11-28 23:36:40
I've installed VS 2012 and am successfully using it on some web projects, but something with it has caused my web service project to break. I'm still using VS 2010 on the web service project and have not opened it in 2012. Everything compiles and works correctly except when it tries to create an instance of a class in my referenced weblog project, then it throws this error: This method or property is not supported after HttpRequest.GetBufferlessInputStream has been invoked. I can not find anywhere in the project where GetBufferlessInputStream is used explicitly. If I jump over the weblog code,

It says that TypeError: document.getElementById(…) is null

纵然是瞬间 提交于 2019-11-28 23:07:31
Althought I pushed a parameter to getElementById I wonder from where is this 'is null' error coming from? TypeError: document.getElementById(...) is null [Break On This Error] document.getElementById(elmId).innerHTML = value; Line 75 In addition to this i wonder why title and time did not show unless I click one of these playlist pictures? bits All these results in null : document.getElementById('volume'); document.getElementById('bytesLoaded'); document.getElementById('startBytes'); document.getElementById('bytesTotal'); You need to do a null check in updateHTML like this: function updateHTML

FastCGI process exceeded configured activity timeout

主宰稳场 提交于 2019-11-28 22:53:23
问题 I have a function I built that will grab a .csv file and upload information stated then, creating an account for each user in the .csv file. My issue is I need to be able to do this with thousands of entries in a .csv file but my problem is I get this time out error and not to sure why, as follows: HTTP Error 500.0 - Internal Server Error c:\php-fastcgi\php-cgi.exe - The FastCGI process exceeded configured activity timeout Detailed Error Information Module - FastCgiModule Notification -

Error: logging directory does not exist /var/mobile/Library/Logs/CrashReporter/DiagnosticLog/

二次信任 提交于 2019-11-28 22:23:02
UPDATE: SUBMIT BUG REPORTS AND REFERENCE THIS NUMBER: #18882445 I keep having this error come up randomly through various compile times (even if nothing seems wrong with the app) [PLLogging] ***** Error: logging directory does not exist /var/mobile/Library/Logs/CrashReporter/DiagnosticLogs/ I can't find anything online. I have tried cleaning the project, multiple devices, and re-installing Xcode. If you have any advice on this issue I'd love to hear it! I am running Xcode 6.1 on Yosemite and all the devices tested were running OSX 8.1 Just go to, iOS Simulator -> Reset Content and Settings .

Failed to bind to: spark-master, using a remote cluster with two workers

爱⌒轻易说出口 提交于 2019-11-28 21:15:09
I am managing to get everything working with the local master and two remote workers. Now, I want to connect to a remote master that has the same remote workers. I have tried different combinations of settings withing the /etc/hosts and other reccomendations on the Internet, but NOTHING worked. The Main class is: public static void main(String[] args) { ScalaInterface sInterface = new ScalaInterface(CHUNK_SIZE, "awsAccessKeyId", "awsSecretAccessKey"); SparkConf conf = new SparkConf().setAppName("POC_JAVA_AND_SPARK") .setMaster("spark://spark-master:7077"); org.apache.spark.SparkContext sc =

Runtime error: Could not load file or assembly 'System.Web.WebPages.Razor, Version=3.0.0.0

独自空忆成欢 提交于 2019-11-28 19:15:12
I tinkered with my ASP.NET MVC4 packages via NuGet, and now System.Web.WebPages.Razor v3 won't load. Sometimes other packages won't load either. My coworker runs the solution without any trouble, so the issue is definitely configuration on my development system (as opposed to anything that's been checked in). I have already tried the recommendations at various SOf and other fora links, including: Could not load file or assembly 'System.Web.WebPages.Razor, Version=2.0.0.0, Could not load file or assembly 'System.Web.WebPages.Razor, Version=2.0.0.0 Could not load file or assembly 'System.Web

How would you use Alexandrescu's Expected<T> with void functions?

邮差的信 提交于 2019-11-28 18:51:43
问题 So I ran across this (IMHO) very nice idea of using a composite structure of a return value and an exception - Expected<T> . It overcomes many shortcomings of the traditional methods of error handling (exceptions, error codes). See the Andrei Alexandrescu's talk (Systematic Error Handling in C++) and its slides. The exceptions and error codes have basically the same usage scenarios with functions that return something and the ones that don't. Expected<T> , on the other hand, seems to be

Git: error: RPC failed; result=22, HTTP code = 411

|▌冷眼眸甩不掉的悲伤 提交于 2019-11-28 15:27:44
Symptoms: Git suddenly refused to push a repository (to github in my case): $ git push Counting objects: 9292, done. Delta compression using up to 8 threads. Compressing objects: 100% (2136/2136), done. error: RPC failed; result=22, HTTP code = 411 fatal: The remote end hung up unexpectedly Writing objects: 100% (8222/8222), 1.27 MiB | 837 KiB/s, done. Total 8222 (delta 6060), reused 8181 (delta 6033) fatal: The remote end hung up unexpectedly Everything up-to-date Here is what helped, the following command increases git buffer to 500mb: git config http.postBuffer 524288000 来源: https:/

Runtime Error 201 at fpc

删除回忆录丶 提交于 2019-11-28 14:44:28
i have been writing a game about guessing numbers and i have to seperate a 4 digit number into its digits and put digits into an array.However that section keeps giving me runtime error 201 using fpc.However when i use ideone.com it gives me what i want.I can't figure out.can it be a bug?Sorry for my English. program game; var number : array [1..4] of integer; z, i, j: integer; number_4digit: integer; begin readln(number_4digit); for i := 4 downto 1 do begin j := i; z := number_4digit; while z > 10 do begin z := z div 10; end; number[5-i] := z; repeat z := z * 10; j := j - 1; until j = 1;

Copy from Excel to Powerpoint error

三世轮回 提交于 2019-11-28 14:33:05
Again with the help of the kind resources around stackoverflow, I have been using the code below to copy information from Excel 2010 into Powerpoint 2010 slides. I repeat the code in the middle about 20 times for my slides. I start to get the message intermittently Run-time error -2147417851 (80010105) method 'pastespecial' of object 'shapes' failed on this line: Set ppShape = PPSlide.Shapes.PasteSpecial(DataType:=ppPasteOLEObject, Link:=msoFalse) Here is the rest of the code: Sub PPTReport() Dim PPApp As PowerPoint.Application Dim PPSlide As PowerPoint.Slide Dim PPPres As PowerPoint