Browse by Tags

All Tags » Error (RSS)

Documents.Open returns null, running Word automation under ASP.NET on x64

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...

Unhandled exception installing SQL Server 2008 R2 on a Windows XP machine

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:...
Posted by Rick van den Bosch | with no comments
Filed under: , , , ,

Error installing the Windows Azure AppFabric Tools for Visual Studio (CTP)

When installing the Windows Azure AppFabric Tools for Visual Studio (found here ), you might get the error message shown on the right, stating that Windows Server AppFabric is installed and that it is not compatible with this release of Windows Azure...

HowTo: Save a file from Silverlight using the SaveFileDialog

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...

'Cannot find entry to delete' deleting files from a Zip with (SL) SharpZipLib

For a project I’ll probably dedicate a post on this blog to in the future, I needed a ZIP library for Silverlight. After asking around on twitter ( @rickvdbosch ) I was pointed towards the SharpZipLib port on Codeplex, found on http://slsharpziplib.codeplex...
Posted by Rick van den Bosch | with no comments
Filed under: , ,

Using Crystal Reports in ASP.NET on a 64 bit machine

The above scenario gave me the well-known could not load file or assembly error message. The assembly that couldn’t be found was  ‘log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521e1304’. Or one of its dependencies of course...
Posted by Rick van den Bosch | 5 comment(s)
Filed under: , ,

Little-heard-of ASP.NET feature: app_offline.htm

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...

"AjaxControlToolkit is undefined"

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...

In this mode, command line arguments will not be passed to the executable

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...

Clicking 'Choose items' on the toolbox crashes Visual Studio 2008

I've had my current installation for a few months now, and I've used it for development purposes. Today I suddenly encountered an error when trying to add items to the Toolbox. Visual Studio 2008 simply disappeared... No errors, no warnings, it...

Inline wrappers & Response.Redirect() == Error

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...
Posted by Rick van den Bosch | with no comments
Filed under: , ,

Ajax Control Toolkit controls don't show up in Visual Studio toolbar

Because I stopped working at Avanade and started my own company (this web site is under construction and in Dutch), I had to buy and install a new laptop. Everything went great and I was up and running in half a day. Or should I say half an evening.....

An inline wrapper and having too much on your head

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...
Posted by Rick van den Bosch | with no comments
Filed under: , ,

iTunes 8 translation glitch

I installed iTunes 8 on our laptop, and connected an iPod to check if all worked accordingly. The iTunes was installed in Dutch, so the displayed information was also. Apparently, when you're Dutch, you get some extra capacity on your iPod, free of...
Posted by Rick van den Bosch | 1 comment(s)
Filed under: ,

Running code analysis on a custom stsadm command gives errors CA0052 and CA0055

When you want to implement a custom stsadm for SharePoint, all you realy have to do is implement the Microsoft.SharePoint.StsAdmin.ISPStsadmCommand interface. Because I develop on a machine with no SharePoint installed, I (only) copy the assemblies I...
More Posts Next page »