InfiniTec - Henning Krauses Blog

Don't adjust your mind - it's reality that is malfunctioning

Office 365 and GMX

I’ve moved to Office 365 for my private mails a while ago and. Up to now, the provider hosting this website was responsible for the DNS entries. But now I moved the entire DNS authority to Microsoft for my primary domain. This lead to the unfortunate incident that I was unable to send mails to GMX (one of the largest free mailer in Germany). Thanks to a tip from Daniel Melanchthon I was able to resolve the issue fairly quickly.

The problem seems to be that GMX checks for the existence of a DNA A record on the sender domains. My primary domain is henningkrause.eu. When I send an email to GMX, they check for an A record for henningkrause.eu. I’m not sure why they do that - I know of no RFC which makes such a record mandatory. The A record is normally only used as a fallback method in case no MX record can be found. The solution was to create such a DNS record using the Office 365 DNS management interface:

Untitled

The entry in question is the one highlighted in red. The host name "@” specifies that the A record is to be created for the domain itself. The interesting thing is that it is not relevant to which IP address the A record points. It just needs to be there. If you experience the same issues and don’t have your own website, just point it to any IP address.

After I created the domain, I was able to send mails to GMX again almost immediately.


Tags:

Technorati:

Posted by Henning Krause on Monday, October 10, 2011 12:00 PM, last modified on Monday, October 10, 2011 12:00 PM
Permalink | Post RSSRSS comment feed

RSS feed registrations in Outlook 2007 disappear - the solution

If you have many RSS feed registrations in Outlook 2007, you may have noticed that at some point newly added RSS feeds start disappearing. They are added successfully, but on the next restart of Outlook, the registration is just gone.

You can work around this by setting the registry key DisableRoaming in HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\RSS to 1. If this key is not yet present, create it with a type of DWORD.

You'll have to restart Outlook for the change to take effect.

But be cautious: I don't know which side-effects this registry might have.


Technorati:

Posted by Henning Krause on Friday, July 13, 2007 12:00 AM, last modified on Friday, July 13, 2007 12:00 PM
Permalink | Post RSSRSS comment feed

Finalbuilder 5 crashing instantly when started

I got my copy of FinalBuilder a few days ago, and installed it right away. Unfortunately, it crashed the instant I ran it. Turns out, its the licensing scheme they are using. Its broken by the "Data Execution Prevention" feature in Vista which is supposed to protect one from buffer overflows. So you'll need to add the FinalBuilder executables to the exclusion list, like in this screenshot:


(click to enlarge)

Add the files ActionStudio.exe and FinalBuilder5.exe from the FinalBuilder program directory to the list.

I hope they fix this soon.


Technorati:

Posted by Henning Krause on Thursday, March 15, 2007 12:00 AM, last modified on Thursday, March 15, 2007 8:00 PM
Permalink | Post RSSRSS comment feed

Howto: Change the default download directory for Internet Explorer

Solution

The default download directory for Internet Explorer is the My Document folder. To change this location, follow these steps:

  1. Open the registry editor and navigate to HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer.
  2. Create a new value of type String and name it Download Directory
  3. Open the new value and enter the new directory.

The result should look like this:


Registy editor with changed default folder for the Internet Explorer (click to enlarge)


Technorati:

Posted by Henning Krause on Thursday, May 25, 2006 12:00 AM, last modified on Wednesday, August 30, 2006 12:00 PM
Permalink | Post RSSRSS comment feed

Vortrag in der .NET Usergroup in Paderborn vom 09.01.2006

Zusammenfassung

Am 09.01.2006 habe ich einen Vortrag in der .NET Usergroup Paderborn gehalten. Vorgestellt wurden einige ASP.NET Features und einige der neuen Security Features in .NET 2.0

Inhalt

Die folgenden Themen kommen in dem Vortrag vor:

  • ASP.NET Features
    • URL Rewriting
    • Eigene SitemapProvider
    • Caching
    • ObjectDatasource
    • XML Transformationen mit Extension Objekten
    • Mehrsprachigkeit
  • Security
    • SecureString
    • Sichere Passworteingabe
    • Passwörter speichern (ProtectedData, ProtectedMemory)

Downloads

Usergroup Vortrag 2006-01-09.ppt (1,433,600 Bytes)
Der Vortrag als Powerpoint Datei
Beispiele.zip (60,673 Bytes)
Die Beispiele aus dem Vortrag

Technorati:

Posted by Henning Krause on Sunday, January 15, 2006 12:00 AM, last modified on Sunday, January 15, 2006 12:00 PM
Permalink | Post RSSRSS comment feed

Sentinel Protection Dongle wird über ein Netzwerk nicht gefunden

Symptome

Wird ein Sentinel Dongle über ein Netzwerk benutzt (insbesonders Dial-Up oder VPN Verbindungen), so kann es vorkommen das der Dongle von der Client Applikation nicht nich gefunden wird, obwohl der Dongle auf dem Server eingesteckt ist.

Ursache

Der Sentinel Protection Server bindet sich nicht auf die allgemeine IP Adresse (0.0.0.0/0), sondern explizit auf jede verfügbare IP Adresse und wartet auf UDP Port 6001 auf eingehende Verbindungen.

Ändert sich eine IP Adresse oder wird eine neue Verbindung aufgebaut (z.B. eine VPN Verbindung), bekommt der Sentinel Protection Server dies nicht mit.

Lösung

Bei jeder Änderung von IP Adressen muss der Dienst "Sentinel Protection Server" (SentinelProtectionServer) neu gestartet werden:

    1 net stop SentinelProtectionServer

    2 net start SentinelProtectionServer

Alternativ kann die angehängte Software benutzt werden. Es handelt sich dabei um einen Windows Dienst, der bei Änderungen an der Netzwerkkonfiguration (neue IP-Adresse oder Aufbau einer DFÜ Verbindung) den in der Konfigurations-Datei angegebenen Dienst neustartet. Um den Sentinel Protection Server neustarten zu lassen, tragen Sie den Dienstnamen "SentinelProtectionServer" in die Konfigurationsdatei NetworkAddressMonitorService.exe.config:

    1 <?xmlversion="1.0"encoding="utf-8" ?>

    2 <configuration>

    3     <configSections>

    4         <sectionGroupname="applicationSettings"type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >

    5             <sectionname="InfiniTec.NetworkAddressMonitorService.Properties.Settings"type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"requirePermission="false" />

    6         </sectionGroup>

    7     </configSections>

    8     <applicationSettings>

    9         <InfiniTec.NetworkAddressMonitorService.Properties.Settings>

   10             <settingname="ServiceToRestart"serializeAs="String">

   11               <value>SentinelProtectionServer</value>

   12             </setting>

   13         </InfiniTec.NetworkAddressMonitorService.Properties.Settings>

   14     </applicationSettings>

   15 </configuration>

Downloads

NetworkAddressChangeSericeSetup.exe (441,457 Bytes)
NetworkAddressMonitorService Setup
NetworkAddress Monitor Service.zip (17,003 Bytes)
Quellcode

Posted by Henning Krause on Wednesday, January 11, 2006 12:00 AM, last modified on Tuesday, June 7, 2011 8:56 PM
Permalink | Post RSSRSS comment feed

Scripts no longer function after you run an ASP.NET page which displays performance data

Symptoms

After you view an ASP.NET webpage which displays performance counter data via the PerformanceCounter class, scripts no longer function. This includes scripts launched from a command line as well as client-side scripts in any browser window that is opened after you viewed the original page. Scripts are working again after you have stopped the Word Wide Publishing service.

Cause

A deadlock occurs because of a bug in one of the WMI providers. An event tracing is done which calls the RegisterTraceGuids API which in turn calls into one of the WMI Service hosted within the Services.exe.

Resolution

A hotfix is available from Microsoft, at least in english and german.

To resolve this problem, contact Microsoft Product Support Services to obtain the hotfix for KB834010. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site: http://support.microsoft.com/default.aspx?scid=fh;[LN];CNTACTMS

Status

This problem was first corrected in Microsoft Windows XP Service Pack 2

Steps to reproduce the problem

  1. Create a new ASP.NET web application
  2. Add a label control to the page
  3. Add this code to the Page_Load event:
  4.     1 using (PerformanceCounter counter = new PerformanceCounter())

        2 {

        3     counter.CategoryName = "Memory";

        4     counter.CounterName = "Available MBytes";

        5     Label1.Text = counter.NextValue().ToString();

        6 }

  5. Compile the application
  6. Open the webform with Internet Explorer

  7. Now, open any website which has client-side scripting

References

See KB Article 834010 for more information

Posted by Henning Krause on Tuesday, May 31, 2005 9:46 PM, last modified on Tuesday, July 26, 2011 9:57 PM
Permalink | Post RSSRSS comment feed

Repair a corrupted MDAC installation

Affected products

  • Windows XP
  • Windows 2003
  • MDAC 2.71
  • MDAC 2.8

Summary

The MDAC component is a set of components that allow uniform data access to various data sources. These components can become corrupted. This article outline a way to manually repair the MDAC components.

Symptoms

If a program that accesses databases via ADO (ActiveX Data Objects) or similar displays the error message
The specified Procedure was not found
this indicates, that the MDAC installation is damaged.
Additionally, a new installation of the MDAC components does not solve the solution.

Solution

If a reinstallation of the MDAC components does not solve the problem, try the following steps to manually repair the MDAC components:
  1. Download the MDAC setup suite in the version that is already installed on your system. It can be found on the Microsoft Download website.
  2. Open a command prompt and change to the directory where you saved the file.
  3. Type
    MDAC_TYP /c /t:<myfolder>
    where <myfolder> is a folder on your harddisk, e.g. c:\temp\mdac
  4. Change the current folder to <myfolder> and type the following:
    md temp
    expand mdacxpak.cab temp -f:*.*
  5. Cut-and-paste the following code snippet into a text editor and save it as makedirs.cmd in the <myfolder>\temp directory:
    @echo off
    md ADO
    copy /b MSADER15.DLL ADO
    copy /b MSADO15.DLL ADO
    copy /b MSADO20.TLB ADO
    copy /b MSADO21.TLB ADO
    copy /b MSADOMD.DLL ADO
    copy /b MSADOR15.DLL ADO
    copy /b MSADOX.DLL ADO
    copy /b MSADRH15.DLL ADO
    copy /b MSJRO.DLL ADO
    md MSADC
    copy /b MSADCE.DLL MSADC
    copy /b MSADCER.DLL MSADC
    copy /b MSADCF.DLL MSADC
    copy /b MSADCFR.DLL MSADC
    copy /b MSADCO.DLL MSADC
    copy /b MSADCOR.DLL MSADC
    copy /b MSADCS.DLL MSADC
    copy /b MSADDS.DLL MSADC
    copy /b MSADDSR.DLL MSADC
    copy /b MSDAPRSR.DLL MSADC
    copy /b MSDAPRST.DLL MSADC
    copy /b MSDAREM.DLL MSADC
    copy /b MSDAREMR.DLL MSADC
    copy /b MSDFMAP.DLL MSADC
    md "OLE DB"
    copy /b MSDADC.DLL "OLE DB"
    copy /b MSDAENUM.DLL "OLE DB"
    copy /b MSDAER.DLL "OLE DB"
    copy /b MSDAORA.DLL "OLE DB"
    copy /b MSDAOSP.DLL "OLE DB"
    copy /b MSDAPS.DLL "OLE DB"
    copy /b MSDASC.DLL "OLE DB"
    copy /b MSDASQL.DLL "OLE DB"
    copy /b MSDASQLR.DLL "OLE DB"
    copy /b MSDATL2.DLL "OLE DB"
    copy /b MSDATT.DLL "OLE DB"
    copy /b MSDAURL.DLL "OLE DB"
    copy /b MSXACTPS.DLL "OLE DB"
    copy /b OLEDB32.DLL "OLE DB"
    copy /b OLEDB32R.DLL "OLE DB"
    copy /b OLEDB32X.DLL "OLE DB"
    echo.
    echo Finished !!
    :eof
  6. In your command prompt window, change to the directory where you extracted the cab file.
  7. Start the above file by typing
    makedirs.cmd
  8. The above batch file has now created three directories within the current directory, , MSADC and OLE DB. These three directories must now be placed under the %CommonProgramFiles%\system directory.
  9. Now, cut-and-paste the following snippet into a text editor and save it as RegFiles.cmd in the %CommonProgramFiles%\system directory:
    @echo off
    echo Unregistering DLLs...
    for %%a in (ado\*.dll msadc\*.dll "ole db"\*.dll) do regsvr32 /u /s %%a
    echo Finished.
    echo Reregistering DLLs...
    for %%a in (ado\*.dll msadc\*.dll "ole db"\*.dll) do regsvr32 /s %%a
    echo Finished.
  10. Within your command prompt, change the current directory to %CommonProgramFiles%\system and type the following:
    RegFiles.cmd
    This will de-register the MDAC components and the re-registers them.

References

This solution was taken from the newsgroup microsoft.public.data.ado. The name of the thread was Repair a corrupted MDAC 2.71 installation - the Solution. Many thanks to the author Jens Geyer

Posted by Henning Krause on Friday, December 31, 2004 3:13 PM, last modified on Sunday, November 28, 2010 7:38 PM
Permalink | Post RSSRSS comment feed

100% CPU-Auslastung durch den CSRSS Prozess, und Untermenüs öffnen erst nach einigen Sekunden

Affected products

  • Windows 2003
  • Tweak UI for Windows XP/2003
Symptoms
The CSRSS process consumes about 100% of the cpu under certain circumstances, such as opening an Outlook mail folder. Additionally, cascading menus open only with a significant delay.

Solution

One possible cause for this is the Tweak UI tool from Microsoft. This tool exposes a bug in that it sets the MenuShowDelay to zero. In fact, the lowest valid value for this setting is one. To correct this, follow these steps:
  1. Open the registry editor.
  2. Navigate to the HKEY_CURRENT_USER\Control Panel\Desktop node.
  3. Double-Click the MenuShowDelay entry.
  4. Set the value of this entry to 1.
  5. Close the registry editor.
    The changes are loaded the next time you log on to your computer.

More informations

The Tweak-UI tool from Microsoft is a tool to configure several aspects of the user interface from Windows. One of these settings is the delay for cascading menus.

Status

The status of this problem is unknown.

Posted by Henning Krause on Friday, December 31, 2004 2:49 PM, last modified on Friday, December 31, 2004 2:49 PM
Permalink | Post RSSRSS comment feed

Radeon 9000 Driver under Windows 2003 produces STOP 50 (PAGEFAULT_IN_NONPAGED_AREA)

Affected products

  • Windows 2003
  • ATI Radeon/FireGL 9000

Symptoms

When the Radeon/FireGL 9000 drivers are installed under Windows 2003, the system produces a STOP 50 (PAGE_FAULT_IN_NON_PAGED_AREA) every time it is restarted.

Workaround

To work around this problem, restart the system in safe mode and remove the video driver. Also, you can use the last good known configuration. After the removal of the driver, restart the system and then set the hardware acceleration of the video adapter to full. To do this, follow these steps:
  1. Right-click the desktop and select Properties.
  2. Select the Settings tab.
  3. Click Advanced.
  4. Select the Troubleshoot tab.
  5. Move the Hardware acceleration slieder to maximum.
    The drivers can now be safely reinstalled.

Status

The status of this problem is unknown, but it seems to be solved in the current driver release.

Posted by Henning Krause on Friday, December 31, 2004 2:36 PM, last modified on Friday, December 31, 2004 2:38 PM
Permalink | Post RSSRSS comment feed