SVC endpoint tells that DLL is missing despite it being in GAC

I have an custom service with one dll. Everything was working fine. However, I’ve decided to simply add one line to the code:

RequestFormat = WebMessageFormat.Json, 

Specifycing request format, nothing huge. I’ve published WSP package, deployed with -GacDeployment flag, and now I’m getting such an error in event log:

Exception: System.ServiceModel.ServiceActivationException: The service '/_vti_bin/XXX/XXX/XXX.svc' cannot be activated due to an exception during compilation.  The exception message is: Could not load file or assembly 'Microsoft.SharePoint.Client.ServerRuntime, Version=, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified 

I’ve checked GAC, and have both 15.0.0 and 16.0.0 versions of this dll present under folder:


Any ideas?

Applying a function on several columns od a dataset fails on Missing

Consider a dataset with missing values:

ds={<|"timestamp" ->  DateObject[{2000, 1, 1, 1, 0, 0}, "Instant", "Gregorian", 2.],  "BASCH" -> 108., "BONAP" -> Missing["Unrecognized", "n/d"],  "PA18" -> 65.,  "VERS" -> 47.|>, <|"timestamp" ->  DateObject[{2000, 1, 1, 2, 0, 0}, "Instant", "Gregorian", 2.],  "BASCH" -> 104., "BONAP" -> 60., "PA18" -> 77.,  "VERS" -> 42.|>, <|"timestamp" ->   DateObject[{2000, 1, 1, 3, 0, 0}, "Instant", "Gregorian", 2.],  "BASCH" -> 97., "BONAP" -> 58., "PA18" -> 73.,  "VERS" -> 34.|>, <|"timestamp" ->  DateObject[{2000, 1, 1, 4, 0, 0}, "Instant", "Gregorian", 2.],  "BASCH" -> 77., "BONAP" -> 52., "PA18" -> 57.,  "VERS" -> 29.|>, <|"timestamp" ->  DateObject[{2000, 1, 1, 5, 0, 0}, "Instant", "Gregorian", 2.],  "BASCH" -> 79., "BONAP" -> 52., "PA18" -> 64., "VERS" -> 28.|>} 

I can get the mean of a given key easily, even with missing values:

no2[Mean, "BONAP"] (*64.0017*) 

But if I try to apply Mean to 2 columns, the Missing values become a problem:

no2[Mean, {"BONAP", "PA18"}] 

This returns a dataset with missing values. I suspect that this is not the right syntax, since in the first case the result is numeric, while the second operation returns a dataset. How does one apply a function to several columns?


This works:

no2[Mean, #] & /@ {"BASCH", "BONAP", "PA18", "VERS"} 

But is not what I’m looking for. I’m looking for a way to do it within the framework of the dataset.

Error using MaTeX, MaTeX::texerr : LaTeX Error: Missing \begin{document}

I’ve managed to install MateX with all prerequisites. pdflatex and GhostScript paths are correctly specified. I am able to load it into Mathematica. However, a simple command such as MaTeX[x^2] gives me a MaTeX::texerr : LaTeX Error titled “Missing \begin{document}”.

Has anyone faced a similar issue? Any help would be much appreciated..!


Ethernet port missing in Jetson TX2

I have a Connect Tech Rudi TX2 device that came with Ubuntu 16.04 installed and it had two physical Ethernet ports eth0 and eth1 (they also worked).

After upgrading the Jetson platform to a newer version and flashing Connect Tech’s BSP there’s now only one Ethernet interface visible when I run ifconfig.

Is there a config file somewhere where you can enable or disable network interfaces?

Edit: The other Ethernet port is not enabled in the sense it seems to be completely dead, not just a /etc/network/interfaces thing.

Google Struct Data test Tool error:: Missing ‘}’ or object member name

enter image description hereI am deeply under qualified for this stuff, but (Along the lines of getting it right, means …. grabbing a shovel & rolling up your sleeves) I have been looking at all the other schema posts on here and trying to understand the big picture / cloning parts / nudging thing around, but I keep getting an error (Missing ‘}’ or object member name.) after “about” line ? + I have seen (what appears to be) instances of Google green lighting schema, but if it isn’t done according to the best practices of accepted standards, somewhere within the magic formula Google seems to ignore / degrade it, so: wandering if packing all of this into one script is the best strategy + How to fix my error. In all humbleness. Thank you for any help / insight.

 <script type="application/ld+json"> {    "@context" : "",    "@type":"WebSite",    "name":"Old Bull Lee",    "url":"https:\/\/",    "about":"The Finest men's Shorts, Shirts & Board shorts",     }    {     "@context" : "",     "@type":"brand,     "url":"https:\/\/",     "name":"Old Bull Lee",     "description":"The Finest Men's Shorts, Shirts & Board shorts. Made In America. Free Shipping.",     "contactPoint": [{     "@type": "ContactPoint",     "telephone": "310-802-0246",     "email":""     "contactType": "customer service"   }]   "sameAs":[       "",       "",       "",       "",       ""   ]   "image":"","url":"" } </script> 

SP Search — Managed property missing value

We have SharePoint On Premise. We use managed property to return results for a multi select look up column.

The results are returned with expected values, except for the default pages of the site. For all other content types the managed property has values as expected, as well as for pages other than the default pages of the site.

Any ideas would be greatly appreciated.

How can i fix the error “bootmgr missing” from ubuntu?

I can’t use windows 7 anymore due to that error. The thing is, i don’t have any installation disc or bootable USB, not even any license. I was trying to just copy that missing file into “system reserved” using an ubuntu bootable USB, but i can’t access that partition, the error i get when trying to enter is the following:

Error mounting /dev/sda1 at /media/ubuntu/Reservado para el sistema: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=999,gid=999" "/dev/sda1" "/media/ubuntu/Reservado para el sistema"' exited with non-zero exit status 13: ntfs_mst_post_read_fixup_warn: magic: 0x48cd8b49  size: 4096   usa_ofs: 27785  usa_count: 10275: Invalid argument Actual VCN (0x1bf41ffff) of index buffer is different from expected VCN (0x0). Failed to mount '/dev/sda1': Input/output error NTFS is either inconsistent, or there is a hardware fault, or it's a SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows then reboot into Windows twice. The usage of the /f parameter is very important! If the device is a SoftRAID/FakeRAID then first activate it and mount a different device under the /dev/mapper/ directory, (e.g. /dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation for more details.  

I hope you can help me, i really don’t wanna buy an installation windows 7 CD or a bootable USB (i really don’t know how to make them and i don’t have the money to afford multiple USB’s for trial and error)

sed, get only strings in links from html, some are missing


I have html file and with sed I would like to get all links from document, with page number, as csv. All is ok, but when are for example 2 <a hrefs on one line, it takes only 1, others are missing. Why?


Input file file.html.

...  <p style="position:absolute;top:1063px;left:30px;white-space:nowrap" class="ft28360"><a href="344608,1290">344608</a></p> <p style="position:absolute;top:1123px;left:30px;white-space:nowrap" class="ft28360"><a href="344611,2190">344611</a></p> <!-- Page 29 --> <p style="position:absolute;top:550px;left:623px;white-space:nowrap" class="ft29372"><a href="343579,399">343579</a></p> <p style="position:absolute;top:532px;left:25px;white-space:nowrap" class="ft29372"><a href="339908,899">339908</a></p> <p style="position:absolute;top:702px;left:25px;white-space:nowrap" class="ft29372"><a href="339910,899">339910</a></p> <p style="position:absolute;top:516px;left:323px;white-space:nowrap" class="ft29372"><a href="342102,1990">342102&#160;</a><a href="342103,1990">|&#160;342103</a></p> <p style="position:absolute;top:21px;left:306px;white-space:nowrap" class="ft29410"><b>899,-&#160;</b>|&#160;<a href="323649,899">323649</a></p> <p style="position:absolute;top:21px;left:738px;white-space:nowrap" class="ft29410"><b>1&#160;290,-&#160;</b>|&#160;<a href="323766,1290">323766</a></p> <p style="position:absolute;top:122px;left:102px;white-space:nowrap" class="ft29372"><a href="323648,399">323648</a></p> <p style="position:absolute;top:119px;left:135px;white-space:nowrap" class="ft29374"><a href="323648,399"><b>&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;&#160;</b></a></p> <p style="position:absolute;top:137px;left:488px;white-space:nowrap" class="ft29410"><b>1&#160;590,-&#160;</b>|&#160;<a href="323767,1590">323767</a></p> <!-- Page 30 --> <p style="position:absolute;top:903px;left:332px;white-space:nowrap" class="ft30416"><a href="315157,990">315157</a></p>  ... 


grep '<\!-- Page\|href=' file.html | awk '/Page/ {h=$  3} /-- Page 1 --/ {h="Titulka"} /href/ && h {split($  0,a,"\"");print h","a[6]}' 

Output (value 29,323649,899 from line 7 is missing).

...  28,344608,1290 28,344611,2190 29,343579,399 29,339908,899 29,339910,899 29,342102,1990 29,323649,899 29,323766,1290 29,323648,399 29,323648,399 29,323767,1590 30,315157,990  ... 

Expected output (with value 29,323649,899).

...  28,344608,1290 28,344611,2190 29,343579,399 29,339908,899 29,339910,899 29,342102,1990 29,342103,1990 29,323649,899 29,323766,1290 29,323648,399 29,323648,399 29,323767,1590 30,315157,990  ... 

I tried place line separator \n with sed when </a> is present, but still didn’t work.

sed -i "s/<\/a>/<\/a>\n/g" file.html 


<p style="position:absolute;top:702px;left:25px;white-space:nowrap" class="ft29372"><a href="339910,899">339910</a> </p> <p style="position:absolute;top:516px;left:323px;white-space:nowrap" class="ft29372"><a href="342102,1990">342102&#160;</a> <a href="342103,1990">|&#160;342103</a> </p>