Browse by Tags

All Tags » .Net (RSS)

Ajax Control Toolkit Calendar doesn't close when clicking outside the calendar

Just a quick one: if you have a textbox with a Calendar (extender) from the Ajax Control Toolkit and an associated PopupButtonID which is an image, the calendar won't close when you click outside the popup. Use an input type="image"or an...

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

The Visual Studio 2010 Test Client for WCF services

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

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

“The project location is not trusted”

After installing Windows 7 and Visual Studio 2010 on my laptop, I ran into the well-known message “The project location is not trusted”. I thought all I had to do was follow the instructions in this MSDN article to get my development share to be trusted...

Fix available for IE8 asp:menu problem

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

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

HowTo: Add a body onload script to a page that uses a MasterPage

When you use a MasterPage to define the design of your website, you might come across the problem that there is no body element in a web content form. This can be a problem when you want to add an onload script to a specific page. You could of course...
Posted by Rick van den Bosch | 1 comment(s)
Filed under: ,

Nice new addition to ASP.NET

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...
More Posts Next page »