A Confused Programmer's Blog

This blog is dedicated to C# programming that I happen to do for living – with accent on curious cases and with sincere intent to make the world a better place as a result

Getting rid of Error 623 on logon in Windows 10

Since I upgraded my Windows 8 to Windows 10, I got a side effect of error 623 (“System could not find the phone book entry for this connection”) popping up on each logon. Search in the Internet for solution did not yield useful results for my condition, so, for a while, I resigned to live with this problem and closing this pesky popup every time I turn on my computer. I would like to share my fix, so maybe if  [ Read More ]

Continue

Bypassing EULA step for Virtual Appliances

We are working on automated testing of virtual appliance. This appliance has a EULA which blocks all services from starting before accepted at first. There are separate ways to solve or workaround this obstacle: Edit OVF and MF files to erase the EULA section and to update the signature. Redirect console output and input to the SSH session and to accept it with SSH client. Use 3rd party products, like OvfTool which can deploy appliance from command line with EULA acceptance. Implement  [ Read More ]

Continue

How I got rid of “Access to resource settings restricted…” error when deploying OVF

OVF is a VMware virtual appliance format which allows you to deploy VMs with custom settings and state. This solution replaces stand alone installation packages and becomes increasingly popular. I had to create support for automatically deploying one of such OVFs. Actually, I managed to get my hands on OVA and converted it into OVF, but I am not sure if this fact has too much relevance to the story. However, when I tried to deploy this OVF using both  [ Read More ]

Continue

My use-case of Perforce plugin failure

In my blog I am set on a mission to describe cases of severe code or environment dysfunction which wasn’t documented on forums and took me quite a while to figure out. The following case falls into the above category. I am working on integrating Jenkins as our CI environment and we use Perforce as source control. At first I have set up Windows node and utilized P4 plugin to manage the workspace and the update process. This went relatively  [ Read More ]

Continue

Connection to VIM API fails with ‘Insufficient permissions for setting the configuration’ error

I rarely post about the issues I am experiencing in this blog. This is mostly because most of the solutions are already there in the web. So, what pushed me to publish this post, is extremely rare scenario, that as I suspect might not be covered somewhere else. In our testing automation framework we make extensive use of virtual machines. Most of control messages are passed using vSphere API (VIM API). To my dismay, I discovered that some of previously  [ Read More ]

Continue

Configuring and debugging vCenter server appliance proxy settings

As a part of one of the projects I am currently working on, I was required to set up a new Vmware vCenter server instance. Until recently, I has been installing vCenter manually from scratch on Windows server machines. This time I was advised to try a vCenter server appliance (vCSA). The deployment of the new vCenter server instance is indeed quicker and smoother, but the fact that the operating system is Linux presents several little less documented challenges. For  [ Read More ]

Continue

How to fix BadImageFormatException on x64 platform

I run Windows7 x64 operating system and referencing some of the projects resulted in “BadImageFormatException: could not load file or assembly” error during the run-time. Microsoft has a knowledge base article explaining that the most likely cause for this error is platform incompatibility. This behavior will also occur if your application is compiled targeting the "AnyCPU" platform, and then is run an operating system whose platform differs than the assembly whose type you are trying to instantiate. For example, if  [ Read More ]

Continue

Selenium changes format of DateTime attribute

Recently I was assigned a task of writing automated tests for web based application. The testing framework that was chosen was Selenium v2.25. While this tool is quite powerful (for example, it will fail attempted interaction with element if this element is not accessible because it is hidden or currently blocked by another object), I ran into two issues. The first one is being slowness when it comes to retrieving data. I had a table consisting of ~100 cells. When  [ Read More ]

Continue

WCF asynchronous actions and connection limits

I ran into curious issue that took me a while to sort out. We are using WCF 3.5 for interconnection between modules. Some of the commands return AsyncResult in order to be executed concurrently. I needed to write a code that executes 11 concurrent actions using WCF. Strangely, last action hanged and never arrived to the recipient module. This looked like WCF (mis-)configuration issue, and indeed it was so. WCF asynchronous methods framework is a separate entity with complex logic  [ Read More ]

Continue

Preventing TCP packets from growing in size

Recently I was setting up environment with WAN emulation on ESX VMs. The basic setup contained Windows XP/7 VM connected to Windows server VM with WAN emulator in the middle (Ubuntu VM). Traffic sent from XP machine utilized the bandwidth set by the WAN emulator; however, traffic sent from Windows 7/2008 was really struggling to rise above 15KB/sec. After looking at sniffer’s traces I discovered that while XP client was continuously sending packets of 1514 bytes length: VMs with more  [ Read More ]

Continue

Subscribe to email feed

  • RSS
  • Delicious
  • Digg
  • Facebook
  • Twitter
  • Linkedin
  • Youtube

Getting rid of Error

Since I upgraded my Windows 8 to Windows 10, I ...

Bypassing EULA step

We are working on automated testing of virtual appliance. This appliance ...

How I got rid of "Ac

OVF is a VMware virtual appliance format which allows you ...

My use-case of Perfo

In my blog I am set on a mission to ...

Connection to VIM AP

I rarely post about the issues I am experiencing in ...

Twitter updates

RSS not configured