April 2006 Entries

Installing ASP.NET 2.0 Application -ensure that it runs ASP.Net 2.0

For my Web Setup (created by MS Visual Studio Setup Project) I wanted to ensure that a new web application runs ASP.Net 2.0. Pointed by this thread, I downloaded "IIS Chameleon". I've changed the assembly toDLL, excluded Non GUI classes, made ASPNetVersion,INETMGRHelper and CURRENT_RUNTIME_VERSION public and also changed definitions.xml to be embedded resource(may be not a good idea, because it will not allow to customize, but easier to distribute). I also changed GetAllASPNETVersions to read from ......

DotNetNuke error reporting requires improvement

I found that DotNetNuke code often doesn't report exceptions to user, but hides them.This style of error handling is natural for VB developers, who had the favorite comand “on error resume next”.(I hope that DNN developers are from different school). In some cases, exception are written it to EventLog table, but it is not always easy to access. E.g. if errors are occured during install and portal is not created yet, View log Web UI obviously is not available. I've posted the suggestion to DNN support.Below ......

Data change checking features in DotNetNuke pages.

I've used data change checking features described by Eric Woodruff in my ASP.NET application. When I converted the ASP.NET application to DotNetNuke, I still needed to have the same functionality. Unfortunately .Net doesn't allow multiple inheritanse, so I had to re-factor EWSoftware.Web.BasePage. I created an interface IDataChangeChecking, that described the public methods, relevant to data change checking://described in http://www.codeproject.com/... BypassPromptIdsbool ......

Function to Print DirectoryEntry properties

When I debugging function that retrieved active directory properties, Visual Studio 2005 debugger show them as a collection , but not as an individual values. So I wrote function, copied from GetPropertyList function from LDAP, IIS and WinNT Directory Services article written by klaus_salchner [Conditional("DEBUG")] public static void PrintDirectoryEntryProperti... entry, string sComment) { // loop through all the properties and get the key for each foreach ......

Visual Studio VS 2005 doesn't start debugging of Web Server.

A few times when I re-start debugging of my ASP.NET application from VS 2005 I received

"Unable to start debugging on the Web Server. The operation has timed out".

I had to restart IIS to fix the error. Not sure what causes this.

Setup of new version using .Net 2.0 causes System.BadImageFormatException

I had a .Net 1.1 application with Setup project and RemovePreviousVersions=true. After I converted it to .Net 2.0, I've tried to install it on machine where previous version was installed. It caused System.BadImageFormatException exception. I believe that new .Net 2.0 Setup failed to uninstall .Net 1.1 application due to .Net framework versions mismatch. I've desided to change UpgradeCode, that will be considered as new application, and it allowed me to install new version. Alternatively user can ......

Emailable DotNetNuke Module

I've used an e-Mailable ASP.Net web page described by Eric Woodruff in an ASP.NET application. When I converted the ASP.NET application to DotNetNuke, I still wanted to have the same functionality-ability to e-mail rendered content of the DotNetNuke module. I created the class EmailableModule based on DotNetNuke.Entities.Modules... and copied and paste the content of EMailPage class. There are a few places where I changed references to page to references to DNN module.I was able to ......

«April»
SunMonTueWedThuFriSat
2627282930311
2345678
9101112131415
16171819202122
23242526272829
30123456