Visual Studio 2005 Add-Ins and Tools That I Use

I am right now in the middle (about 20% and 18K lines of code through) a pretty substantial Windows Forms project using Visual Studio 2005 (C#). Here are some of the add-ins that I have been using (ranked in order of essential to useful):
(more…)

Transitioning from Web Apps to Desktop Development

For the past 2+ years I have been working with different aspects of Web Application design, primarily using ASP.net 1.1 and SQL Server 2000. I have been involved in different parts of the process: Documentation, User Interface Design, System Architecture, Coding, Testing, QA, Release. Worked on a few internal products for my old company (ranging from 1-10,000+ users).

Now for the first time I will be working in Desktop development. My old company wants to upgrade their old desktop software to bring it up to date (it was written in VB6 about 10 years ago). The good part about it is that the program is basically going to be a desktop version of the web application we released earlier this year (that is the 10,000+ user webapp that I spoke about before). Using the .Net Framework 2.0 with C#. Similar spec, look & feel, user experience. Of all the people on the team, I probably have the most domain knowledge relating to the intricacies of the web application, user experience, and the way that the Desktop will work.

However, in some other aspects this is going to be a pretty complex program. Here are some of the messier requirements:

  • Synchronization of information (for authorized users) between the web application and the desktop application
  • Support different user modes (with different levels of functionality for different types of users, as well as different sections of the program)
  • Use a Vector Graphing tool to provide custom on-the-spot graphics for use throughout the program. (This has to work perfectly, as one of the graphs in question is the main feature of the program)
  • Support exports to image formats, RTF, PDF
  • Allow different types of imports and exports, covering different generations of formats, making sure that the data stays secure and is mapped over properly from old formats to new (and vice versa)
  • Kind of complex UI: 4-5 main panes, each with its own specific functionality, all of which must interact together
  • User authentication, for both online and offline users

So, its going to be fun.

I am right now in the middle of writing the scope and functional specification documents (yup, I am doing that as well). Over the next 6-12 months (projected duration of the project, as of now) I hope to provide updates on how things are going, specifically focusing on the transition from developing ASP.net web apps to Windows Forms apps in C#.

Technorati Tags: , , , , ,

The Server Failed to Load Application

Due to some bad problems with my main machine, I have been in the process of bringing my backup laptop (Inspiron 5150, 768mb RAM, almost three years old, recently reformatted) up to speed for my development needs. This included installing Crystal Advanced Developer 10 (required for one of the ASP.net webapps that I am doing maintenance on).

So I installed it, as I have done on a number of computers in the past. I then went and tried to run browse the webapp in question (using http://localhost/appName) and received an HTTP 500 error (IE7 politely told me that this indicated a server error, and that the website might be under maintenance).

I tried loading a totally different webapp that had nothing to do with Crystal. Same error. Reboot, same error. Not good.

So I looked in the System Event Viewer, and saw a bunch of the following warnings:

The server failed to load application ‘/LM/W3SVC/1/Root/appName’. The error was ‘General access denied error’

OK. What is that supposed to mean? And why was it killing all of my webapps?

After a little bit of Googling, I found a page by Brett Hill in IIS Insider (March 2005), with one of the subsections titled: Resolving the Error: The server failed to load application…

The most likely cause of this problem is that the DTC coordinator service has not started. If it has started, then look in the Event Viewer for a message regarding a failed logon for the IWAM_servername account.

So I went into Services, and the Distributed Transaction Coordinator service was running. I stopped the service and restarted it, and voila, all of my sites would run again. Hopefully this situation will continue after my next reboot. If it does, the above article has some more advice on ways around this.

I have installed this program a number of times already on other machines without experiencing this error. Anyone know what may have caused it.