Wednesday, March 07, 2018

Windows 10 with Ubuntu: Install error CanonicalGroupLimited.UbuntuonWindows cannot be found or cannot be accessed

CanonicalGroupLimited.UbuntuonWindows error message

On Windows 10 Enterprise build 1709 I installed the Windows Subsystem for Linux. Next I open the Microsoft Store and did a search for Ubuntu. That gave me the option to Launch which then triggered the install. The last step was a shell prompt asking me to setup a user and passphrase. After that I could use the Ubuntu command line shell (bash).

Later on, something went wrong and I stopped being able to use Ubuntu. I cannot remember for sure but I think I wanted to uninstall and reinstall. I removed the Windows Subsystem for Linux (control panel>add remove features>turn windows features on or off>Windows Subsystem for Linux - unchecked the box, clicked ok, and rebooted when prompted). I then put back the subsystem by going back and checking the box.

 After than, I went to the MS Store and tried to launch Ubuntu. I started getting the error about unable to access ...CanonicalGroupLimited.UbuntuonWindows... from C:\Program Files\WindowsApps. I tried many different recommendations to resolve this issue. I finally found something that worked.

 For me, going to the Start Menu on Windows and right clicking the Ubuntu tile and choosing uninstall seemed to remove the bits that were causing this issue. After uninstalling Ubuntu from there (it is not listed in the add remove programs list) I was able to go back to the store, launch, and it reinstalled successfully. Many of the issues described in this thread (and proposed solutions) did not work for me but the above steps did. I did not know about the uninstall by right clicking the tile in the Start Menu. I had thought that maybe there were leftovers in the registry or file system that made Windows think Ubuntu was fully installed when it was not. By being able to trigger the uninstall, that allowed Windows to reinstall and thereby fix the issue. I wanted to share this potential solution as so many other attempted solutions did not work.

The above steps may also work for the other Linux distros in the Microsoft Store, or possibly other MS Store installed apps.

BTW - some people have success by using the diagnostic/repair tool http://aka.ms/diag_apps10
It appears some temp file paths get changed and cause a breakage.  For me the repair tool did not work.

Also, the repair tool insisted UAC needed to be enabled for Ubuntu to work but that is not the case. The UAC is not required.

Monday, October 03, 2016

Updating Offline Windows 10 with NTLite and enabling .Net 3.5

For imaging I use an extracted .ISO of Windows 10 Enterprise, apply updates using WHDownloader and NTLite, and make settings changes.

One thing missing that needs to be included is the Feature .Net 3.5.  Without this, problems will most likely occur down the road.  This is not listed as an option in NTLite.
But there is an easy solution.  Click on the Updates page of NTLite.  Now browse to your extracted ISO of Windows 10. Specifically to \Sources\SXS

Drag the Microsoft-windows-netfx3-ondemand-package.cab file and drop it on the Update page.  It will now get installed with the other updates you have selected into your updated install.wim.

Thursday, June 23, 2016

Visual Studio 2015 error mscorlib mismatch when Entity Framework runs transformation

I was following the instructions on this page Databinding with WPF when I ran into an issue at the Updating code generation for data binding step.  I was getting an mscorlib version mismatch error.  I could not compile the project.

I had noticed that changing ICollection<T> to ObservableCollection never did the regeneration of the entity code.  Running 'Run Custom Tool' on the .tt file also did not work.

After some searching I came across this page mscorlib mismatch when Entity Framework runs transformations.  I installed the vs14-kb3151378.exe updated mentioned in the comments section. After the install and reopening my solution in VS 2015, the mscorlib error was gone.  The project would successfully compile.

Some posted in the comments about changing the SQL server authentication off of Integrated but I know for many of us that is very much undesirable.

If you run into this issue and have not installed KB3151378, if you are a candidate for the install, I recommend it as it may solve the issue for you too.

Wednesday, April 13, 2016

Outlook error 0x8000ffff attempting to add data file (.pst)

I encountered this error using Office 2016 (32-bit)  on Windows 7 x64.  Logged on to the system as a User, I opened Control Panel>Mail>Data Files and attempted to add a new data file under my default Exchange account.  All efforts led to the Error code: 0x8000ffff.

This error apparently occurs due to the path I took to add the new data file.  To successfully add a new data file use this:

Open Outlook 2016
Click File>Account Settings (big button to the right)>when it drops down click Account Settings.
This will open the Account Settings for the account in the same view as going through the Control Panel, except now a data file can be added without error.

Click Data Files tab>Add>Select the location for the file, and type the name in the box>Click OK.
The file should successfully be added this time.

Friday, April 01, 2016

Sites to share from posts off the site https://www.quora.com

  1. Quora
  2. Coursera.com
  3. Khan Academy
  4. Computational Knowledge Engine
  5. Nanodegree Programs
  6. Learn to code
  7. edX
  8. Every child deserves opportunity
  9. Stack Overflow
  10. Google Scholar
  11. Play online, learn online and feed the hungry | Freerice.com
  12. Learn to code and help nonprofits
  13. TED: Ideas worth spreading
  14. Lifehacker - Tips and downloads for getting things done
  15. StumbleUpon
  16. Learn to Code by Doing - Code School
  17. thenewboston.org
  18. MakeUseOf - Technology, Simplified
  19. The Next Web - International technology news, business and culture
  20. Learn Spanish, French, German, Portuguese, Italian and English for free
  21. HSW
  22. No Excuse List
  23. DIY How To Make Instructions
  24. Fresh hacks every day
  25. clear answers for common questions
  26. 750+ Free Online Courses from the Best Colleges | AcademicEarth.org
  27. Computation Meets Knowledge
  28. Mashable
  29. AddictiveTips
  30. Free Online Course Materials
  31. Scribd - Read Unlimited Books
  32. CoinDesk Bitcoin and Blockchain News
  33. Cooking For Engineers
  34. Grow Your Skills with Online Video Lessons
  35. GeekWire
  36. Difference Between Similar Terms and Things
  37. Dictionary and Thesaurus | Merriam-Webster
  38. Wonder How To " Show & Tell for Creators & Doers
  39. Buying Guides, Tips,  How to Advice on the PC Ecosystem
  40. Grow Your Skills with Online Video Lessons
  41. The Verge
  42. Brain Games & Brain Training
  43. Highbrow
  44. Share What You Know! | Learnist
  45. Brain Pump - Learn something new
  46. Gadget Guide, Technology & Electronics, News & Reviews
  47. Free code format online
  48. stepjumpr.com
  49. Random, Interesting, Amazing Facts - Fun Quizzes and Trivia | Mental Floss
  50. Page on nseindia.com
  51. Instead of TV, you should watch...
  52. lifehackninja.com
  53. Launch School (formerly Tealeaf Academy)
  54. Eloquent JavaScript
  55. Learn Enough to Be Dangerous
  56. Learn Ruby The Hard Way
  57. screenr.com– record movies of your desktop and send them straight to YouTube
  58. bounceapp.com– for capturing full length screenshots of web pages
  59. goo.gl– shorten long URLs and convert URLs into QR codes
  60. untiny.me– find the original URLs that’s hiding behind a short URLs
  61. localti.me– know more than just the local time of a city
  62. copypastecharacter.com– copy special characters that aren’t on your keyboard
  63. topsy.com– a better search engine for twitter
  64. fb.me/AppStore– search iOS app without launching iTunes
  65. iconfinder.com– the best place to find icons of all sizes
  66. office.com– download templates, clipart and images for your Office documents
  67. woorank.com– everything you wanted to know about a website
  68. virustotal.com– scan any suspicious file or email attachment for viruses
  69. wolframalpha.com– gets answers directly without searching – more wolfram tips
  70. printwhatyoulike.com– print web pages without the clutter
  71. joliprint.com– reformats news articles and blog content as a newspaper
  72. isnsfw.com– when you wish to share a NSFW page but with a warning
  73. e.ggtimer.com– a simple online timer for your daily needs
  74. random.org– pick random numbers, flip coins, and more
  75. mywot.com– check the trust level of any website – example
  76. viewer.zoho.com– Preview PDFs and Presentations directly in the browser
  77. tubemogul.com– simultaneously upload videos to YouTube and other video sites
  78. truveo.com– the best place for searching web videos
  79. scr.im– share you email address online without worrying about spam
  80. spypig.com– now get read receipts for your email
  81. sizeasy.com– visualize and compare the size of any product
  82. whatfontis.com– quickly determine the font name from an image
  83. fontsquirrel.com– a good collection of fonts – free for personal and commercial use
  84. regex.info– find data hidden in your photographs – see more EXIF tools
  85. tineye.com– this is like an online version of Google Googles
  86. iwantmyname.com– helps you search domains across all TLDs
  87. tabbloid.com– your favorite blogs delivered as PDFs
  88. join.me– share you screen with anyone over the web
  89. onlineocr.net– recognize text from scanned PDFs and images – other OCR tools
  90. flightstats.com– Track flight status at airports worldwide
  91. wetransfer.com– for sharing really big files online
  92. pastebin.com– a temporary online clipboard for your text and code snippets
  93. polishmywriting.com– check your writing for spelling or grammatical errors
  94. awesomehighlighter.com– easily highlight the important parts of a web page
  95. typewith.me– work on the same document with multiple people
  96. whichdateworks.com– planning an event? find a date that works for all
  97. everytimezone.com– a less confusing view of the world time zones
  98. warrick.cs.odu.edu– you’ll need this when your bookmarked web pages are deleted
  99. gtmetrix.com– the perfect tool for measuring your site performance online
  100. imo.im– chat with your buddies on from one place
  101. translate.google.com– translate web pages, PDFs and Office documents
  102. youtube.com/leanback– enjoy a never ending stream of YouTube videos
  103. similarsites.com– discover new sites that are similar to what you like already
  104. wordle.net– quick summarize long pieces of text with tag clouds
  105. bubbl.us– create mind-maps, brainstorm ideas in the browser
  106. kuler.adobe.com– get color ideas, also extract colors from photographs
  107. followupthen.com– setup quick reminders via email itself
  108. lmgtfy.com– when your friends are too lazy to use Google on their own
  109. tempalias.com– generate temporary email aliases, better than disposable email
  110. pdfescape.com– lets you can quickly edit PDFs in the browser itself
  111. faxzero.com– send an online fax for free – see more fax services
  112. feedmyinbox.com– get RSS feeds as an email newsletter
  113. isendr.com– transfer files without uploading to a server
  114. tinychat.com– setup a private chat room in micro-seconds
  115. privnote.com– create text notes that will self-destruct after being read
  116. flightaware.com– live flight tracking service for airports worldwide
  117. boxoh.com– track the status of any shipment on Google Maps –alternative
  118. chipin.com– when you need to raise funds online for an event or a cause
  119. downforeveryoneorjustme.com– find if your favorite website is offline or not?
  120. example.com– this website can be used as an example in documentation
  121. whoishostingthis.com– find the web host of any website
  122. google.com/history– found something on Google but can’t remember it now?
  123. errorlevelanalysis.com– find whether a photo is real or a photoshopped one
  124. google.com/dictionary– get word meanings, pronunciations and usage examples
  125. urbandictionary.com– find definitions of slangs and informal words
  126. seatguru.com– consult this site before choosing a seat for your next flight
  127. sxc.hu– download stock images absolutely free
  128. imo.im– chat with your buddies from one place
  129. wobzip.org– unzip your compressed files online
  130. vocaroo.com– record your voice with a click
  131. scribblemaps.com– create custom Google Maps easily
  132. buzzfeed.com– never miss another Internet meme or viral video
  133. alertful.com– quickly setup email reminders for important events
  134. encrypted.google.com– prevent your ISP and boss from reading your search queries
  135. formspring.me– you can ask or answer personal questions here
  136. snopes.com– find if that email offer you received is real or just another scam
  137. typingweb.com– master touch-typing with these practice sessions
  138. mailvu.com– send video emails to anyone using your web cam
  139. ge.tt– quickly send a file to someone, they can even preview it before downloading
  140. timerime.com– create timelines with audio, video and images
  141. stupeflix.com– make a movie out of your images, audio and video clips
  142. aviary.com/myna– an online audio editor that lets record, and remix audio clips
  143. noteflight.com– print music sheets, write your own music online (review)
  144. disposablewebpage.com– create a temporary web page that self-destruct
  145. namemytune.com– when you need to find the name of a song
  146. homestyler.com– design from scratch or re-model your home in 3d
  147. snapask.com– use email on your phone to find sports scores, read Wikipedia, etc
  148. teuxdeux.com– a beautiful to-do app that looks like your paper dairy
  149. livestream.com– broadcast events live over the web, including your desktop screen
  150. bing.com/images– automatically find perfectly-sized wallpapers for mobiles
  151. historio.us– preserve complete web pages with all the formatting
  152. dabbleboard.com– your virtual whiteboard
  153. whisperbot.com– send an email without using your own account
  154. sumopaint.com– an excellent layer-based online image editor
  155. lovelycharts.com– create flowcharts, network diagrams, sitemaps, etc
  156. nutshellmail.com– Get your Facebook and Twitter streams in your inbox.

Saturday, March 26, 2016

Follow up to Drobo 5N issue and fix

In the previous post I wrote about finding the issue by doing a slot flush on each drive.  When I reached the 4th drive the slot flush did not work, and the Drobo exhibited the same pattern I saw when attempting to boot it.

Having no other answers to what I was seeing I made the assumption that drive 4 was bad.  I went to the store and bought an identical drive of same size and speed.  With the Drobo powered off, I removed the old drive in slot 4 and inserted the new drive.  I also verified that all 5 drives were securely locked in.

I powered on the Drobo and within a relatively short period of time was able to once again gain access to it through the Drobo Dashboard software.  It showed me that Data Protection was running and estimated (way too high) how long until the new drive would be rebuilt.

I do have a 64GB m-SATA drive (accelerator) in the slot on the bottom of the Drobo 5N.  I'm not sure if this made a difference but aside from what the Dashboard reported as the amount of time to for data protection to restore the new drive, the actual time ended up being about 11 hours.  This is on a unit with a total of 20TB of drive space, and about 14.9TB usable.  I had used 80% so this device was close to full.  The Dashboard started off saying it would be 93 hours to restore.  That estimate went down over time but still remained higher than the actual time.

I am not sure if the m-SATA helped speed things up, or if the fact I use 7200RPM drives helped, but I wanted to let others know the restore can happen relatively quickly.  I have read where other's have taken days.

I wanted to make sure nothing attempted to write to the device during the restore so I disabled anything I use that might have tried to write to the Drobo during the restore.  One thing that is incredibly nice was I had access to my data during the restore process.

I hope this additional information answers some questions others may have if they go through the same experience I did.

Saturday, March 19, 2016

My Drobo 5N nightmare (it didn't tell me I lost a drive)

I have a Drobo 5N with (5) x 4TB Hard drives in it.  It also has a 64GB m-SATA accelerator drive.  The Drobo was working Wednesday night and Thursday when I woke up it had no lights except a solid orange power light.  I did troubleshooting the first day but made no progress.

Here is what I saw:
  1. Power on, drive lights all solid orange, power light green, cycling quickly through colors.  
  2. Next, side drive lights all go out, power light flashes green, blue lights move from sides to center
  3. Power light continues to flash green, blue led's at bottom move from left to right stopping on third light from left, the moving on to right.  In the end I would end up with this:
    1. 00X0000XXX (x is a illuminated blue led).
  4. Power light would continue to flash green, and eventually turn orange and blue led's would all go out.  It would sit with solid orange power light for a while and then restart the whole process over.
The next day I tried contacting Drobo and as usual (support in general) I got waived off unless I wanted to purchase a one time support ticket.  In my email to them I listed everything I had tried, everything I had observed.  The response, as usual, appeared they didn't read a word of it as it told me to do all that I had already done.

I was concerned that a drive had failed, but I had no indication.  I had a working email notification system configured on the unit and had never received a message.  No drive light indicated an error drive.  In panic, I ordered a new Drobo 5N but wanted to leave it as a last resort.

I reached the last resort stage, and after following all preparation instructions, finally moved my drives to the new Drobo.  It displayed the exact same boot sequence (and loop).

I came across some discussion of slot flushing, and I had not performed this step.  I put the drives back into my original Drobo, and step by step did a slot flush on each drive.  Each flush worked as documented.  But when I reached the 4th drive, it did not.  I actually exhibited the sequence I had been seeing all along, eventually turning to a solid orange power light.  

This made me believe I had to have a faulty drive.  So a quick trip to the store and came back with a replacement drive of same size and spec.  Having successfully slot flushed the other four drives, and with the device powered down, I inserted the new drive, made sure all were secure in their slots and powered up.  

Finally a normal boot.  Finally the Drobo Dashboard software saw my Drobo.  I should note that was another symptom.  No access to the device using the dashboard unless I removed all drives and directory connected the network cable to my laptop.  

Now the dashboard is reporting 93 hours to restore.  But as the documentation states, I can already access the data stored on the Drobo, I just cannot write to it (and that is fine).  I have a feeling the actual restoration of the new drive will take less time but I really don't care because I have my data back.  

For a while there I was not happy with Drobo.  The whole reason for this large investment was to protect my data, and now I was in a state of no access to my data, and no help from them at all.  Even though I had registered my Drobo after purchase it was out of warranty and I guess they don't care to read what someone writes and instead just send back boilerplate 'make sure you drives are all connected' type stuff.

I had never found an exact description and solution to the problem I experienced when searching, so I wanted to document it in case anyone else runs into the same situation as myself.

I wish I knew why I was not given any indication I had a bad drive.  That would have saved an enormous amount of time and money.  

Be cautious whenever troubleshooting your Drobo.  The last thing you want to do is mistakenly do something that will cause it to wipe your data.

Here is an example of the slot flush procedure.  I am not saying 'do it' but since it gave me the clue to the solution I would like to offer a link:

Windows 10 with Ubuntu: Install error CanonicalGroupLimited.UbuntuonWindows cannot be found or cannot be accessed

On Windows 10 Enterprise build 1709 I installed the Windows Subsystem for Linux. Next I open the Microsoft Store and did a search for Ub...