Posts Tagged Software

The customHostSpecified attribute is not supported for Windows Forms applications.

Last night we worked on ClickOnce deploying an application. The application is a connector between two standard systems, one for economics and the other is RemoteX Applications. In essence it means that our customers will be able to update their integration with the economic system by ClickOnce.

It is an application because the economic system is designed for small scale enterprises and doesn’t have a server component.

Anyway as we were working on the ClickOnce deployment, and as usual we get a deployment error. This however was a new one:

The customHostSpecified attribute is not supported for Windows Forms applications.

The problem is that the application was compiled for x86 platforms, switching it to all platforms resolves the deployment error. Switching to All Platforms isn’t an issue for us, but I can imagine it becoming a problem if you need to specify the platform.

In that case you would have to look into the mage commands reference:

http://msdn.microsoft.com/en-us/library/acz3y3te.aspx

and work with the -p parameter for specifying the processor.

, , ,

3 Comments

Performance monitoring of a deployed application

I had an idea today while working with a performance issue on the REST-service of RemoteX Applications.

In theory having a performance counter with the average execution time of SQL-queries over time. Will allow monitoring of system wide average cost for queries in the system.

That means that overtime its possible to track the changes of the execution times as they grow or shrink during normal production environment conditions. The cost for calculating the average could be relatively cheap to calculate compared to the round trip to the servers, and also the calculation could be threaded of to a different thread, so as not to disturb the worker thread that handles the request to the web server to begin with.

The idea is to examine the changes of the average query time over time, to see if performance of data access is changed between version upgrades, or hardware upgrades for that matter. There are some performance counters built into MSSql that can give data that is somewhat like this. However most of the require heavy load to see any performance upgrade or downgrade. This instead logs an average of the actual execution time for the application.

A benefit with this is that the performance is individual per application, but the actual code or counter could be reused between different applications.

, , , ,

No Comments

Languages in software

This is getting out of hand. More and more companies are assuming, that just because I live in Sweden I want to have Swedish localization in my apps.

Sure I do want the date format and the currency format. But I really do not want Swedish words in exceptions, menus or any message delivered to me by software.

I don’t want Swedish to be the primary language on google. I don’t want to have all the exception messages in .Net to be in Swedish (impossible to understand, and the documentation in Swedish is nothing compared to the documentation available in English).

Now when I select where to download IE8, I select Sweden since I assume its the closest download site. However when I do that I’m being punished by Microsoft which insist on sending me a Swedish version of IE8.

Please let language selection be based on user input. If a user says sure I want this in Swedish, its one thing. But just because my closest download site is Sweden? Just because I live in Sweden? Language should be select by the user, and it should be apparent to the user that it is language their selecting, not which country they live in.

Just to be clear, I’m not even Swedish, I just live here.

No Comments