@bobnoordam

Month: January 2020

Styling your dropdownlist and dropdownlist items in ASP.NET

Dropdownlists are a much used component in ASP.NET web development. While styling the dropdownlist in it’s default state is intuitive, styling the list items themselves is not. First things first, we will use the following CSS for the styling: .DropDownListStyle { margin-top: 8px; } .DropDownListItemStyle { background-color: #eee; margin: 8px; padding: 8px; } As you […]

Getting an environment variable

_dupenv_s will return a pointer to an allocated buffer that contains the value of the environment variable, which makes the most basic usage form: char* buffer; size_t bsize; _dupenv_s(&buffer, &bsize, “USERDOMAIN”); printf(buffer); free(buffer); The function is capable to return an error code if something goes horribly wrong. Note that a “not found” condition is NOT […]

IIS fails to load application pool after removing exchange

After decomissioning Exchange server you cannot run other applications on IIS, and application pools fail with the following message in the logfiles: Het DLL-bestand C:\Program Files\Microsoft\Exchange Server\V14\Bin\kerbauth.dll van de module is niet geladen. Het gegevensveld bevat het foutnummer. Resolution: Stop the IIS Service Navigate to c:\windows\system32\intesrv\config and edit the file applicationhost.config Remove the line outlined […]

Next Page » « Previous Page