-
When building an ASPapplication that generates Word documents, it was working fine on the local machine. A windows XP installation with Office 2007. When we deployed it to windows 2008 (64 bit) and Word 2007 we saw that Documents.Open returned null. Other than this, there are no exceptions. The code...
-
When installing SQL Server 2008 R2 on a Windows XP development machine that has been around for quite some time, I got an error stating an unhandled exception occured in the application (see image). The error showed up directly upon startup and read: An error occurred creating the configuration section...
-
When writing WCF services, most of us find ourselves writing quick test applications. To give you more time to do what a developer should be doing (adding business value to the project) the Visual Studio team added a WCF test client that can help you reach goals faster. This is not a very difficult application...
-
Saving a file from Silverlight using the SaveFileDialog , added in Silverlight 3, is easy. If you’re used to desktop development however, you might find yourself getting a SecurityException with the message ‘File operation not permitted. Access to path 'xxx' is denied.’. Here’s why: In desktop...
-
Although the feature has been around since ASP.NET 2.0, I still meet people that don't know and/or use app_offline.htm. Do you know (and use) the feature...? When working on an ASP.NET web application, you should notify your visitors in a decent way that your application is down. There's a nice...
-
Because we were still using an old Visual Studio 2005 solution which included a Web Site project, it was time to upgrade. We upgraded our Visual Studio 2005 solution to Visual Studio 2010 (and .NET 4.0), converted the Web Site Project to a Web Application Project and then, of course, the AjaxControlToolkit...
-
I just read an interesting article on Bertrand Le Roy's blog. The most important information: It so happens that the menu control is making a bad assumption on what the default value for z-index should be. We debated this at length with the IE team, but it became clear as we did so that they were...
-
When trying to pass some command line arguments to a Console Application, I got the following message: "The current project settings specify that the project will be debugged with specific security permissions. In this mode, command line arguments will not be passed to the executable. Do you want...
-
Scott Guthrie posted about a cool new ASP.NET server control: Chart. It can be used for free with ASP.NET 3.5 to enable rich browser-based charting scenarios. Read more over here: http://weblogs.asp.net/scottgu/archive/2008/11/24/new-asp-net-charting-control-lt-asp-chart-runat-quot-server-quot-gt.aspx
-
While developing a page that was to be used through an inline wrapper, I got an error: "Validation of viewstate MAC failed". This error can usually be resolved by disabling event validation , viewstate encryption or viewstate for the MAC . In my case these solutions did not resolve the issue...
-
We developed an ASP.NET page (A) to be wrapped in an existing PHP page (B) using an inline wrapper. After a few days in which both pages displayed nicely, our page (A) suddenly got displayed twice inside the existing page (B). And even weirder was that the postbacks of the first occurrence didn...
-
StyleCop version 4.3 was released last tuesday. A short summary of what version 4.3 brings us: Various bugfixes, including fixes for VS integration issues Rules documentation is included and integrated into VS "Show Error Help" New rules, see blogpost for the rules Branding change from Source...
-
Disclaimer: I'm no MS/.Net evangelist. I'm just a computer software developer that wants to share his experience working on a weekend project (actually 3 weekends...) As a bet between me and my wife, I took the challenge of developing grid computing software over the weekend. The aim is to basically...
-
My previous employer used a tool to attach databases that were located on a substituted path. I needed this conversion logic in another kind of environment and used the almighty google. So I hit an article on Avner Kashtan 's blog titled Query SUBST information . His code sample proved very usefull but...
-
Today I had a very annoying issue. I was debugging an application on an VS2005 instance of a computer that I did not prepare / installed myself. I wanted the "break on all exceptions" behaviour in the debugger. Normally you just go to the menu and select Debug -> Exceptions . But I was quite surprised...