The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,860 other subscribers

Archive for the ‘.NET’ Category

Some notes on tfpt.exe from Microsoft Visual Studio Team Foundation Server (2010/2013/2015) Power Tools extension

Posted by jpluimers on 2016/06/23

Some links.

First tfpt:

Old name: Microsoft Team Foundation Server 2010 Power Tools.

Then witAdmin:

With API:

 

–jeroen

via: Microsoft Visual Studio Team Foundation Server 2013 Power Tools extension.

Links to past posts about tfpt:

Posted in .NET, Development, Power User, PowerToys, Software Development, Source Code Management, TFS (Team Foundation System), Visual Studio and tools, Windows | Leave a Comment »

Writing tests for http / https request: Postman, SoapUI, Advanced REST client.

Posted by jpluimers on 2016/06/21

I’m using these Chrome Extensions for most of the http / https call mockups, and after that put them in SoapUI (which despite the name also does REST and has come a long way sinceSource: SoupUI – as sometimes that is the only thing that works):

You can get both Postman versions through GetPostman.com as well.

–jeroen

Posted in .NET, .NET 2.0, .NET 3.0, .NET 3.5, .NET 4.0, .NET 4.5, ASP.NET, C#, C# 3.0, C# 4.0, C# 5.0, Chrome, Communications Development, Development, Google, HTTP, Internet protocol suite, Power User, REST, Software Development, TCP | 1 Comment »

On Windows 7, Visual Studio 2015 wanted Internet Explorer 10… here are the direct links to download it

Posted by jpluimers on 2016/06/20

Boy, don’t you dislike how hard it is to find direct download links

Well, thanks to kenorb and jjlin (slightly edited):

Check: IE6, IE7, IE8, IE9, IE10, IE11 Offline Installers Download Links – kenorb Mar 20 ’15 at 13:39 – http://www.itechtics.com/download-internet-explorer-all-versions/ – note this does not provide hashes.

jjlin:

Try these Microsoft offline installer links:

These may refuse to work if you already have IE 11 installed, though. If it is refused, try this: http://stackoverflow.com/questions/20043971/how-to-downgrade-from-internet-explorer-11-to-internet-explorer-10

And in case these links ever stop working and you must obtain a copy from a non-Microsoft source, here are the SHA-512 hashes for posterity:

  • 32-bit: d89ba3f9978be428ac05b182481198ab0f7b0c0651e4716e63cd0cf907d739cbc30f44ec9c444da683869473a548cd99e5c396467b2898f7c382b6345b3e70d2
  • 64-bit: f1752bb6517fe15071e5f7a4fee4b8680da1bdad1df7054ab22bab78fe0f46aee177787f60ea2cfc86a2db2b08429e2cba3cfdd20ba6a2ab69e091c7784dfdae

Source: internet explorer 10 – Does Microsoft still have a link to download IE10 for Windows 7? – Super User

–jeroen

Posted in .NET, Development, Internet Explorer, Power User, Software Development, Visual Studio 2015, Visual Studio and tools, Web Browsers, Windows, Windows 7 | Leave a Comment »

When a fresh install of Bonobo Git Server on Windows 7 IIS 7 gives you a “HTTP Error 404.0 – Not Found”

Posted by jpluimers on 2016/06/16

HTTP Error 404.0 - Not Found

HTTP Error 404.0 – Not Found

Had this on a fresh Bonobo Git Server on a relatively fresh Windows 7 installation:

HTTP Error 404.0 – Not Found

At first I thought it was missing ASP because of the “StaticFile” in the error information, so I enabled it:

ASP is not enabled by default

ASP is not enabled by default

Enable ASP

Enable ASP

That didn’t help, so I searched for “MapRequestHandler” “HTTP Error 404.0 – Not Found” and found:

  1. HTTP Error 404.0 – Not Found (MapRequestHandler / StaticFile) when deploying WCF Web API on IIS 7.x | Alexander Zeitler
  2. aspnet_regiis.exe -i is still a solution : Fixing HTTP Error 404.0 – Not Found (MapRequestHandler / StaticFile) when deploying an application in IIS 7.x | Michael Hidalgo

Though ASP.NET was clearly enabled according to the Windows features, this was apparently for an old ASP.NET version so I manually re-registered ASP.NET (but now for Version 4: I had 4.6.1 installed):

C:\Windows\System32>%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -ir
Microsoft (R) ASP.NET RegIIS version 4.0.30319.0
Administration utility to install and uninstall ASP.NET on the local machine.
Copyright (C) Microsoft Corporation. All rights reserved.
Start installing ASP.NET (4.0.30319.0) without changing existing web applications to use this version of ASP.Net.
.....
Finished installing ASP.NET (4.0.30319.0) without changing existing web applications to use this version of ASP.Net.

Windows 7 is .NET 2.0 all over the place…

Then it still didn’t work, but the second tip above also mentioned the application pool. And since Bonobo insists installing in wwwwroot, it’s using the default application which on Windows 7 – surprise! – is ASP.NET 2.0:

Default Windows 7 application pool for wwwroot uses ASP.NET 2.0

Default Windows 7 application pool for wwwroot uses ASP.NET 2.0

ASP.NET 4.0 needs to be the default.

ASP.NET 4.0 needs to be the default.

Changing that to ASP.NET 4.0 made it all work.

Read the prerequisites

Too bad that ASP.NET registration part is only prominently visible in the readme.md on github, but not in the installation instructions of the web-site with a tiny link (overwhelmed by the screenshots) to prerequisites.

Same for the default credentials:

  • username admin
  • password admin

–jeroen

 

Posted in .NET, ASP.NET, Development, DVCS - Distributed Version Control, git, Software Development, Source Code Management | Leave a Comment »

How to overcome “Stuck while installing Visual Studio 2015 (Update for Microsoft Windows (KB2999226))” via – Stack Overflow

Posted by jpluimers on 2016/06/15

Visual Studio 2015 install stuck on

Visual Studio 2015 install stuck on “acquiring” KB2999226

I had exactly the same when installing Visual Studio 2015 on a Windows 7 x64 system: stuck on “Acquiring” the “Update for Microsoft Windows (KB2999226)”.

So as mentioned in the StackOverflow answers for the below question, I manually downloaded “Update for Windows 7 for x64-based Systems (KB2999226)” which you can get directly at https://download.microsoft.com/download/1/1/5/11565A9A-EA09-4F0A-A57E-520D5D138140/Windows6.1-KB2999226-x64.msu.

Be sure to quit both the Visual Studio 2015 installation as well as any (“automagically interfering” background Windows Updates), as otherwise you get this error:

--------------------------- Windows Update Standalone Installer --------------------------- Only one instance of wusa.exe is allowed to run. --------------------------- OK ---------------------------

---------------------------
Windows Update Standalone Installer
---------------------------
Only one instance of wusa.exe is allowed to run.
---------------------------
OK
---------------------------

If you still get that error, then

  • try to stop/start the wuauserv service: usually it gets rid of the error.
  • When it still occurs, try a clean boot, then re-apply the KB.

Applying the KB can take a long while, even on fast hardware.

–jeroen

Source: Stuck while installing Visual Studio 2015 (Update for Microsoft Windows (KB2999226)) – Stack Overflow

Posted in .NET, Development, Software Development, Visual Studio 2015, Visual Studio and tools | Leave a Comment »

Visual Studio 2015 Update 2 ISO locations

Posted by jpluimers on 2016/06/14

Direct Microsoft download URLs for the various Visual Studio 2015 Update 2 ISO files.

I won’t even try myself finding them through the Microsoft sites any more given the trouble I had: How can I get Win10_1511_1_English_x64.iso or Win10_1511_1_EnglishInternational_x64.iso ? « The Wiert Corner – irregular stream of stuff

Posted in .NET, Development, Software Development, Visual Studio 2015, Visual Studio and tools | Leave a Comment »

Did you know… How to change the build order for your solution? – #333 – Sara Ford’s Weblog – Site Home – MSDN Blogs

Posted by jpluimers on 2016/06/08

Boy I wish I had known this earlier. Like years ago…

In the Solution Explorer:

  1. Right Click Project
  2. Project Build Oder.
  3. Use the dialog to change the build order

It is next to the “Project Dependencies” in this image from Sara Ford:

Sara Ford: change

Sara Ford: change “Project Build Order”

In the resulting dialog, you can change the build order within your solution.

This can be very useful when – for various reasons – you cannot have Project Level dependencies for an assembly, but have to have Assembly Reference dependencies for individual assemblies.

At a client I bumped into this, and this dialog was a life saver for us.

Others have used it because some Visual Studio versions miscalculate the dependencies.

–jeroen

Did you know… How to change the build order for your solution? – #333 – Sara Ford’s Weblog – Site Home – MSDN Blogs.

Posted in .NET, C#, C# 2.0, C# 3.0, C# 4.0, C# 5.0, C# 6 (Roslyn), Development, Software Development, Visual Studio 11, Visual Studio 2008, Visual Studio 2010, Visual Studio 2012, Visual Studio 2013, Visual Studio and tools | Leave a Comment »

You should not delete the folder C:\ProgramData\Package Cache\? – Super User

Posted by jpluimers on 2016/06/03

Do NOT delete the folder "C:\ProgramData\Package Cache".

But you can move it to another storage and link to it so when you change/update/remove Visual Studio 2012, you still have access to it.

More details at windows – Can I delete the the folder C:\ProgramData\Package Cache\? – Super User.

–jeroen

Posted in .NET, Development, Software Development, Visual Studio 2012, Visual Studio and tools | Leave a Comment »

SmartBear AQTime links

Posted by jpluimers on 2016/06/02

Since they’re hard to find on-line, and sometimes I need them when not having access to my collective browser or email history:

Notes:

  1. The AQTimeDemo.exe is the same as the latest AQTime###.exe (functionality depends in license).
  2. The installation from Windows Explorer sometimes fails with the below message. Installation from the command-prompt works, but you need to run it from an Administrator command-prompt:

---------------------------
E:\TEMP\AQtime824.exe
---------------------------
Windows cannot access the specified device, path, or file. You may not have the appropriate permissions to access the item.
---------------------------
OK
---------------------------

To get going for my special case, I watched some sample videos (which I did get to work in Internet Explorer but not in Chrome forty-something):

I needed it to do some profiling comparisons of services running under different configurations.

Read the rest of this entry »

Posted in .NET, Debugging, Delphi, Development, MAP Symbol Information, Profiling-Performance-Measurement, Software Development, TD32/TDS Symbol information, Visual Studio and tools | Leave a Comment »

Microsoft opened the source code of Xamarin.Forms. We couldn’t miss a chance to check it with PVS-Studio

Posted by jpluimers on 2016/05/31

For my link list as one day I will surely need a tool like this:

The project was checked using the PVS-Studio static code analyzer.

Source: Microsoft opened the source code of Xamarin.Forms. We couldn’t miss a chance to check it with PVS-Studio

Posted in .NET, C#, Development, Software Development, Static Code Analysis | Leave a Comment »