Archive for the ‘Windows Vista’ category

SmarterMail on a 64 bit server with ASP.NET 2.0

December 11th, 2008
How To – SmarterMail on a 64 bit server with ASP.NET 2.0

Applies to: SmarterMail (all versions)

When the SmarterMail Service (mailservice.exe) is running in 64 bit mode, it is incompatible with IIS running in 32 bit mode. When running the webmail of SmarterMail under IIS a “Bad Data” exception may appear.

Bad Data.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Security.Cryptography.CryptographicException: Bad Data.

There are several options available to remedy this situation.

Option 1: Switch IIS to run in 64 bit mode

  1. Verify that the web site is running as an ASP.Net 2.0 web site by going to the properties for the site and clicking on the ASP.Net tab.
  2. Click Start, click Run, type cmd, and then click OK
  3. Type the following command on one line to disable the 32-bit mode:
cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 0
  1. Type the following command to install the version of ASP.NET 2.0 and to install the script maps at the IIS root and under:
%SYSTEMROOT%\Microsoft.NET\Framework64\v2.0.50727\aspnet_regiis.exe -i
  1. Make sure that the status of ASP.NET version 2.0.50727 is set to Allowed in the Web service extension list in Internet Information Services Manager.

Please note that performing these steps will result in IIS running in 64-bit mode.  If you have other ASP.Net sites running on the server, ensure that they are compatible with 64-bit mode and are not running ASP.Net 1.1 before making changes.

If you do have other ASP.NET 1.1 sites running, please view this KB Article for further options: http://support.smartertools.com/Customer/KBArticle.aspx?articleid=170

Option 2: Switching the SmarterMail service to run in 32 bit mode

  1. Download and install ASP.NET 2.0 SDKs (Software Developers Kit). It is available from http://www.asp.net/downloads/essential/
  2. Once the SDK has been installed, use the corflags.exe program to force the SmarterMail service to run in 32 bit mode. With the following command. Replace <executable> with the path to the mailservice.exe file.
corflags.exe <executable> /32BIT+

To reverse this operation, perform the following command. Once again, replace <executable> with the path to the mailservice.exe file.

corflags.exe <executable> /32BIT-

For more information on the CorFlags Conversion Tool visit the following page:
http://msdn2.microsoft.com/en-us/library/ms164699%28vs.80%29.aspx

Windows Mail Time Out Error 0×800CCC19

September 16th, 2008

Using Windows Mail in Vista for some time, when it suddenly started timing out while sending mail , although I could receive email just fine. The error message had the usual Port 25 Secure(SSL) 0×800CCC19. So I tried switching off the AV scanning and deleting Pop3uildl.dbx , but that didn’t work. I ended up searching regarding this error and end up finding that it’s an issue with Vista directly. Trying these steps will usually help resolve the issue;

1. Go to the Vista start menu and type cmd
2. The search results will display a program titled cmd
3. Right-click on the link and select “Run as administrator”
4. type “netsh interface tcp set global autotuning=disabled” without
the quotatioin marks
5. Test your POP account and see if you can now download your mail.
6. If nothing changes, re-enable the autotuning feature by typing
“netsh interface tcp set global autotuning=normal”

Hope this helps you.

How to disable User Account Control (UAC) on Windows Vista

August 1st, 2008

Taken from – http://www.petri.co.il/disable_uac_in_windows_vista.htm

Windows Vista has the built-in ability to automatically reduce the potential of security breeches in the system. It does that by automatically enabling a feature called User Account Control (or UAC for short). The UAC forces users that are part of the local administrators group to run like they were regular users with no administrative privileges.

Read more about UAC here: What’s User Account Control in Windows Vista?

Although UAC clearly improves the security on Windows Vista, under some scenarios you might want to disable it, for example when giving demos in front of an audience (demos that are not security related, for example). Some home users might be tempted to disable UAC because of the additional mouse clicking it brings into their system, however I urge them not to immediately do so, and try to get used to it instead.

Anyway, if required, you can disable UAC by using one of the following methods:

Method #1 – Using MSCONFIG

  1. Launch MSCONFIG by from the Run menu.

  2. Click on the Tools tab. Scroll down till you find “Disable UAC” . Click on that line.

  1. Press the Launch button.

  2. A CMD window will open. When the command is done, you can close the window.

  3. Close MSCONFIG. You need to reboot the computer for changes to apply.

Note that you can re-enable UAC by selecting the “Enable UAC” line and then clicking on the Launch button.

Method #2 – Using Regedit

  1. Open Registry Editor.

  2. In Registry Editor, navigate to the following registry key: