December 2005 Entries

Build of DotNetNuke Custom Module and VS Setting "Only build startup projects and dependencies on Run"

When you are creating DotNetNuke Custom Module(Primary Assembly) in Visual Studio 2003, you are using BuildSupport project responsible for taking the DLL that is created by your project and adding it to the DotNetNuke solution's bin folder. At the same time for debugging you specify DotNetNuke as the StartUp project for the solution. Visual Studio has a “Build and Run Option“ -”Only build startup projects and dependencies on Run”. Ensure that is not ticked.(Unfortunetely the ......

DirectorySearcher.FindAll() -should have PageSize=1000

When you are calling DirectorySearcher.FindAll() and there is a chance to have more than 1000 records back, you must set PageSize to non-zero value, preferably 1000. Otherwise only the first 1000 records will be returned and other entries will be missed without any warning. The names of DirectorySearcher members and documentation is quite messy. FindAll() method should return ALL records, not the first 1000. Setting PageSize doesn't mean that you get back only single page, but triggers returning ......

COMException (0x80004005): Unspecified error] in DirectorySearcher.FindAll() means LDAP string is invalid.

I've got an error COMException (0x80004005) when called DirectorySearcher.FindAll() and had no idea, why it happened. Thanks to DirectorySearcher.FindAll() causes Unspecified Error in C# but not in VB.NET discussion I was pointed, that the error is shown if DirectorySearcher.SearchRoot path is not valid, e.g. it is “DomainName” instead of “LDAP://DomainName... I beleive MS could provide more clear error description ......

Resolved :.NET Runtime version 1.1.4322.2300- Setup Error: Failed to load resources from resource file

On a windows 2003 server (IIS6) from some time when I tried to open ASP.NET application I started to receive error: .NET Runtime version 1.1.4322.2300- Setup Error: Failed to load resources from resource file.Please check your Setup. and was unable to do anything. In the Sitem event log ther was related warning from W3SVC: A process serving application pool 'Pool1' terminated unexpectedly. The process id was '2648'. The process exit code was '0x800703e9'. The google shows many reports(e.g www.dotnet247.com/247refere... ......

One more Calendar Popup Custom Control.

I needed an Calendar Popup Control that is not cut off, if located near the the bottom of visible part of the browser window. See my implementation based on Matt Kruse JavaScript Calendar Popupcontrol (PLEASE SUPPORT HIS SITE) ......

«December»
SunMonTueWedThuFriSat
27282930123
45678910
11121314151617
18192021222324
25262728293031
1234567