Featured Quote

In 1913, Henry Ford wrote the following as the directors had been reaping the rewards of profits - "The wages we pay are too small in comparison with our profits. I think we should raise our minimum pay rate".
Showing posts with label Technical. Show all posts
Showing posts with label Technical. Show all posts

Friday, August 15, 2014

My Visual Studio Project Disappeared!

I worked on a Visual Studio 2012 project pretty much all day yesterday.  It was a Visual Basic .Net project.
I saved frequently.  I debugged.  I ran the project.

Overnight, windows updates (I am assuming) rebooted the system and, this morning - no more project. Gone.  Nowhere (normal) to be seen.  Apparently, I did not "save all" or save the project itself.  So all that work and testing disappeared.

I googled.  Nothing I found turned out to be helpful or if it seemed helpful, turned out to be untrue.  I panicked!  All that work gone - I saved!!!  What the Funk!?!?!

http://blogs.msdn.com/b/zainnab/archive/2010/06/30/autorecover-vstipenv0019.aspx <-- No help.
http://msdn.microsoft.com/en-us/library/windows/desktop/hh848072(v=vs.85).aspx <-- No help.
https://www.piriform.com/recuva/download <-- No help.
http://blogs.msdn.com/b/saraford/archive/2008/02/14/did-you-know-where-visual-studio-saves-auto-recovered-files-in-the-case-of-an-unexpected-shutdown-151.aspx <-- No help!!

"C:\Users\MyUserID\Documents\Visual Studio 2012\Backup Files"  had MyProject folder.  It was empty.

I cursed and searched, and cursed and searched... and then I found it:

"\\localhost\c$\Users\MyUserID\AppData\Local\Temporary Projects\MyProject" - it was all there!

I copied the folder to my documents.  Then I copied the folder to my visual basic projects folder and opened the solution file.  It is all there!  Whew!

Why the \\localhost\c$ ?  Well, I am on windows 8.1 and the "Previous Versions" tab is gone from File Explorer, but you can get to it using UNC to your own machine.  Silly, I know.

I hope this helps someone else find their hard work that a stupid thing from Microsoft caused them to loose.

Wednesday, October 9, 2013

Windows 8 Network Connection

So, I just updated my workstation to Windows 8.  We have a SAN - well, it was a SAN now its a NAS, but we still use the old name to get to everything since that was easier than changing every shortcut that went to it.

Anyway!  I could not get to our SAN - or very many network computers - after I finished my update.

The Solution - which I could not find and hopefully you have - is setting a registry value and adding a DWord value.  As below:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters]
"ServiceDllUnloadOnStop"=dword:00000001
"RequireSecuritySignature"=dword:00000000
"EnableSecuritySignature"=dword:00000001
"EnablePlainTextPassword"=dword:00000000
"OtherDomains"=hex(7):37,00,00,00
"RequireSecureNegotiate"=dword:00000000
Edit the Other Domains value to be 7
Add "RequireSecureNegotiate" and it should default to 0 (zero).

That fixes it all.

While we are on the subject of Windows 8 - some have complained that they can't run File Explorer as an admin.  Here is the fix for that :

Create new shortcut on the desktop...  right click in an open area and  select "new" and select "shortcut."

For the location, type "explorer.exe" and click "Next."

Type a name in - like "File Explorer (Admin)" and click "Finish."

Right click on the new shortcut and select "properties."  Click "Advanced."

Put a check mark in "run as administrator" and click "OK" until you are back at the desktop.

Presto! You can now browse as an admin!