The Wiert Corner – irregular stream of stuff

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

  • My badges

  • Twitter Updates

  • Pages

  • All categories

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

    Join 1,854 other subscribers

SoupUI – as sometimes that is the only thing that works (via: SmartBear Forum • View topic – The JVM could not be started – Soap UI)

Posted by jpluimers on 2012/05/17

When trying to dissect .NET 1.1 web services from their .asmx and WSDL, you need some tooling.

You’d think the WCF Test Client works, but it only partially generates the calls; it gets the methods OK, but not the parameters.

Importing the .NET WebService in Visual Studio is another option, but not for a “quick play around with the calls”.

For that, Soap UI seems a good option.

If you know better tools, please let me know in the comments.

It works, and when you get it to work it is dead slow (it keeps one core running at 50%).

Getting it to work gives many people this kind of error message: Read the rest of this entry »

Posted in .NET, C#, Development, SOAP/WebServices, Software Development | Leave a Comment »

Adding a “Reverse Assignment” to CodeRush for Visual Studio .NET (via: Q35048 – DevExpress Support Center, Knowledge Base, Code Samples)

Posted by jpluimers on 2012/05/16

As a Delphi user, I’m missing the “Reverse Assignment” feature in the Visual Studio version of CodeRush.

Since CodeRush is very extendable (Mark is still explaining to people how the idea for that came from Delphi Packages back in the mid 90s), you can add this one yourself, as the a answer to this DevExpress support issue shows:

Q:

Is there a quick way to reverse the assignment in CodeRush?  For example:

FROM:
Field[“test1”] = edTest1.Value;
Field[“test2”] = edTest2.Value;

TO:
edTest1.Value = Field[“test1”];
edTest2.Value = Field[“test2”];

I know Delphi had this capability in its refactoring, does CodeRush for Visual Studio?

Thanks

Daniel Schipper


Read the rest of this entry »

Posted in .NET, C#, C# 2.0, C# 3.0, C# 4.0, Development, Software Development, Visual Studio 2005, Visual Studio 2008, Visual Studio 2010, Visual Studio and tools | Leave a Comment »

Some research links on “change assemblyversion during checkin ccnet” – via Google Search

Posted by jpluimers on 2012/05/15

(Thanks to a “Missed Post” problem on WordPress.com, this one didn’t get posted on the scheduled date. Sorry for any inconvenience)

One of the next steps in the automated build process I’m setting up is increasing AssemblyVersion values after succesful builds.

It is is in a CCnet / TFS2010 / VS2010 environment.

Some links:

–jeroen

via: change assemblyversion during checkin ccnet – Google Search.

Posted in .NET, C#, Continuous Integration, CruiseControl.net, Development, Missed Schedule, SocialMedia, Software Development, Source Code Management, TFS (Team Foundation System), WordPress | Leave a Comment »

“Missed schedule” on post « WordPress.com Forums

Posted by jpluimers on 2012/05/15

Just checked my post history (as most posts are scheduled months in advance) just to see a bunch marked “Missed Schedule“:

20 user Inbound TCP connection limit in Windows 7 – Super User

Power UserWindows,Windows 7 21 hours ago
Missed schedule
On the research list: Kidi.Net: Kinderen VEILIG op het Net via Giovanni Praet (giovannipraet) on Twitter.

AboutPersonalPower User 2012/05/14
Missed schedule
How to Fix Temporary Profile in Windows 7

Power UserWindows,Windows 7 2012/05/11
Missed schedule

I tried this trick, but it didn’t help:

wget http://www.domain.com/wp-cron.php

Anyone who knows how to work around this?

Edit: posted on the forum, and contacted staff. But any ideas are still welcome.

–jeroen

via:

Posted in Missed Schedule, Power User, SocialMedia, WordPress | 2 Comments »

Checking which applications have a TCP connection to SQL Server (DTAP)

Posted by jpluimers on 2012/05/15

When in a DTAP environment, you cannot always have complete clean boundaries. Issues in production don’t reproduce in acceptance, you cannot develop in production, etc.

So sometimes you have to simulate or connect to Test or Acceptance Database Servers from a Develop workstation.

There it can get hairy to keep track of which applications connect to which database server.

That’s where the below batch file comes in handy: it scans your systems on connections to common TCP ports used by SQL server, then for each connection give you some process details (or – if you add a commandline parameter – all details that TLINK can get).

The batch file uses the built in tools tasklist, netstat, find and sc (the latter to show information on the local running SQL Services).

It also uses TLIST, which can be a bit awkward to get.

Read the rest of this entry »

Posted in .NET, Batch-Files, CSV, Database Development, Development, Scripting, Software Development, SQL, SQL Server, SQL Server 2000, SQL Server 2005, SQL Server 2008, SQL Server 2008 R2, SQL Server 2012, SQL Server 7 | Leave a Comment »

20 user Inbound TCP connection limit in Windows 7 – Super User

Posted by jpluimers on 2012/05/14

(Thanks to a “Missed Post” problem on WordPress.com, this one didn’t get posted on the scheduled date. Sorry for any inconvenience)

You need to be administrator to see the output of the “net config server” command.

The inbound/outbound limit is 20:

Running ‘net config server’ at the command-line suggests that Windows 7 can support up to 20 inbound / 20 outbound incomplete connections.

–jeroen

via: Inbound TCP connection limit in Windows 7 – Super User.

Posted in Missed Schedule, Power User, SocialMedia, Windows, Windows 7, WordPress | Leave a Comment »

Mac & Windows – How to prevent screensaver from kicking in

Posted by jpluimers on 2012/05/14

A few tools to prevent your screensaver to run:

Windows (most seem to work with Windows 7 too)

Note: on Windows 7 this will not prevent the inactivity timer on an RDP connection!

Mac OS X

–jeroen

via: windows xp – How to prevent screensaver – Super User.

Note: no need to write it yourself :)

Posted in Apple, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, Power User, Windows, Windows 7, Windows 8, Windows Vista, Windows XP | Leave a Comment »

On the research list: Kidi.Net: Kinderen VEILIG op het Net via Giovanni Praet (giovannipraet) on Twitter.

Posted by jpluimers on 2012/05/14

(Thanks to a “Missed Post” problem on WordPress.com, this one didn’t get posted on the scheduled date. Sorry for any inconvenience)

I must try to see if this is going to work with my mentally retarted brother: Kidi.Net: Kinderen VEILIG op het Net.

–jeroen

via: Giovanni Praet (giovannipraet) on Twitter.

Posted in About, Missed Schedule, Personal, Power User, SocialMedia, WordPress | Leave a Comment »

How to Fix Temporary Profile in Windows 7

Posted by jpluimers on 2012/05/11

(Thanks to a “Missed Post” problem on WordPress.com, this one didn’t get posted on the scheduled date. Sorry for any inconvenience)

You can fix the “temporary profile” in Windows 7 if you have access to the registry.

So it totally depends on how tight security at your clients is, and how fast their alternative processes are…

–jeroen

via: How to Fix Temporary Profile in Windows 7.

Posted in Missed Schedule, Power User, SocialMedia, Windows, Windows 7, WordPress | Leave a Comment »

The meaning of “On-link” in the IPv4 result of the “route print” command (Windows 7, 2008, Vista; via: Super User)

Posted by jpluimers on 2012/05/11

The “route print” command in Windows will show you some “On-link” entries in the gateway column. This is from Windows Vista and up. Before that, you would see “127.0.0.1”.

While creating Windows Vista and Windows Server 2008, Microsoft built a “Next Generation TCP/IP Stack” (Wikipedia link) that – apart from adding IPv6 – added many new features and performance improvements.

Since traffic routable through the local machine can have multiple IPv4 and IPv6 addresses, it is not called ” 127.0.0.1″ any more, but “On-link” as the answers to the windows 7 – What does “On-link” mean on the result of “rout print” command? on SuperUser nicely point out:

They are addresses that can be resolved locally. They don’t need a gateway because they dont need to be routed.

and this:

Yep, the other three answers are correct: it’s just a route thats directly reachable the NIC is in direct contact with it; on the same subnet. To explain a little further though: by contrast, the routes that have a gateway IP listed must be contacted through that gateway.

Note that sometimes the new TCP/IP stack needs some arm wrestling in order to have it do what you want (for instance to have it honour TCP metrics).

Note that the “default gateway” line is also missing, as it is in the 0.0.0.0 network destination.

A few examples of what route print shows: Read the rest of this entry »

Posted in Power User, Windows, Windows 7, Windows 8, Windows Vista, Windows XP | Leave a Comment »