InfiniTec - Henning Krauses Blog

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

Permission Denied Error with XMLHTTP object

Affected products

  • Microsoft XML Parser 3.0
  • Microsoft XML Parser 3.0 Service Pack 1
  • Microsoft XML Parser 3.0 Service Pack 3

Summary

This article discusses some errors that are received when using the XmlHttp Object to access a secured url from an unsecured page.

Symptoms

When you attempt to access a secure URL by using the XMLHTTP request object from a script on a non-secure Web page, you may receive one of the following error messages:
Access is Denied
This problem only occurs if a non-secure page attempts to access a secure page. Accessing a secure page from another secure page does not generate an error.

Solution

Upgrade the MSXML 3 Parser to Service Pack 5.

References


Posted by Henning Krause on Thursday, January 6, 2005 5:59 PM, last modified on Thursday, January 6, 2005 6:16 PM
Permalink | Post RSSRSS comment feed

Mistaya

Posted under Mistaya | Comments (1)

Description

Figure 1 windowThe database of Microsoft Exchange 2000/2003 is called WebStorageSystem. This database can be accessed via WebDAV, a HTTP related protocol. Mistaya allows you to explore this database with an explorer-like interface. All you need is a connection via port 80 to the exchange server.

Features

  • View and modify properties of any item within the store
  • Exchange specific features:
  • Advanced Wizard to connect to available public folder hierachies and mailboxes within an Active Directory forest, even those not published on a virtual directory.
  • View and modify security settings for any public folder / mailbox / message Screenshot
  • View and manage Attachments Screenshot
  • View deleted but not yet permantely removed files and directories
  • Recover deleted elements and folder or destroy them permanently
  • Display the size of all elements within a folder, even if it exceeds 4GB
  • Translate most of the number-based MAPI properties to a human-readable format (currently, ca. 2500 properties are included)

ChangeLog

0.9.1697.18862
  • NEW: If the server sends an invalid certificate, the user is now prompted wheter he wants to proceed with the request or abort it.
  • NEW: Additional to basic and NTLM authentication, Digest and Kerberos authentication is now available.
  • NEW: The form-based authentication of Exchange 2003 is now supported.
  • NEW: A progressbar is shown whenever an element is refreshed.
  • NEW: Replaced the property grid with a listview.
  • NEW: It is now possible to choose how base64 decoded values are displayed: Hex, UTF-8, UTF-7, Unicode or ASCII
  • CHANGED: Property descriptions in translationtable.xml are not longer case-sensitive.
  • FIX: Properties of type mv.base64 are now properly decoded.
0.9.1640.30106
  • NEW: More than 1800 MAPI new properties in properties.xml
0.9.1637.39817
  • FIX: Folder and Items can now be renamed
  • FIX: Items with custom properties (Outlook custom properties) are now correctly displayed.
  • FIX: several minor fixes
0.9.1578.31532
  • NEW: Recover deleted elements or folder or destroy them permanently.
0.9.1568.19126
  • NEW: String properties can now be modified in an extra dialog. It is now possible to edit multi-line strings.
  • NEW: Deleted Items are now displayed in an extra pane below the items.
  • NEW: Item / Folder size is now displayed in listview. Should also work for (Exchange) folders with content > 4GB
  • NEW: An image is shown near elements containing one or more attachments.
  • CHANGED: Redesigned Connection dialog. Should be more intuitive now
  • CHANGED: Redesigned Aboutbox
  • FIXED: The "Send Bugreport" and "Send Featurerequest" should now work properly.
  • FIXED: "Object not set to an instance" error in connection wizard, when connecting to an AD in the current forest
  • FIXED: "Object not set to an instance" error after finishing the Connection wizard.
  • FIXED: Items can now be deleted from the items pane
  • FIXED: Connection dialog shows "Object not set to an instance" error.
  • CHANGED: Renamed translationtable.xml to properties.xml
0.9.1468.41438
  • NEW: Windows style dialog for managing security Permissions
  • NEW: Ability to show extra information on properties. Currently used to translate most of the numbered MAPI properties to clear names. Translations are stored in the file translationtable.xml and can be extended by the user. Currently has nearly 700 property descriptions, mostly taken from the MSDN documentation.
  • FIXED: Drag&Drop is now functioning properly
  • FIXED: Move or Copy folder via drag&drop overwrites destination folder
  • FIXED: Connection with integrated authentication displays error "Object not set to an instance"
0.9.1459.39400

Downloads

Mistaya published on 08/24/2004

Technorati:

Posted by Henning Krause on Sunday, January 2, 2005 5:24 PM, last modified on Sunday, January 2, 2005 6:28 PM
Permalink | Post RSSRSS comment feed

AssemblyAssimilator

Description

Figure 1 IntroAssembly Assimilator analyzes a given .NET assembly and combines all dependencies into one single assembly.

Features

  • Automatically analyze a given assembly for its dependencies Screenshot
  • Add any additional assemblies, such as dependenies in the Global Assembly Cache Screenshot
  • Create a strong-named output assembly. Even delay signing is possible.

Downloads


Technorati:

Posted by Henning Krause on Sunday, January 2, 2005 3:35 PM, last modified on Sunday, January 2, 2005 4:30 PM
Permalink | Post RSSRSS comment feed

WinZip Plugin

Posted under PE Builder | Comments (0)

Description

WinZIP is a very popular program to manage compressed files. You can get it from http://www.winzip.com.

Installation

  1. Install WinZIP if you have not already done this.
  2. Extract this plugin in a directory below the plugin folder of PEBuilder.
  3. Run the file setup.cmd from a command shell.
  4. If you have a valid license for WinZIP, you can add this information to the file winzip.inf:
    1. Open the file winzip.inf with a text editor.
    2. Remove the semicolons from the first three lines in the section [Default.AddReg].
    3. Enter your name in the field Name.
    4. Enter your serial number in the field SN.
    5. Save the changes.

Downloads


Technorati:

Posted by Henning Krause on Sunday, January 2, 2005 2:40 PM, last modified on Tuesday, January 4, 2005 10:28 PM
Permalink | Post RSSRSS comment feed

FreeAV Plugin

Posted under PE Builder | Comments (0)

Description

This plugin integrates the free anti-virus scanner FreeAV in Bart's PE Builder 3.xx.

Installation

  1. Extract the plugin into a directory below the PEBuilder plugin folder.
  2. Downlad the virus scanner from http://www.freeav.com.
  3. Extract the contents from the file avwinsfx.exe (zum Beispiel mit PowerArchiver)
  4. Execute the file setup.cmd from this plugin and supply the folder where you extracted the virusscanner as parameter.

Downloads


Technorati:

Posted by Henning Krause on Sunday, January 2, 2005 2:27 PM, last modified on Monday, November 29, 2010 8:12 AM
Permalink | Post RSSRSS comment feed

StableEvents

Posted under .NET Tools | Comments (0)

Description

The events within the .NET framework have a severe drawback: If multiple objects have subribed to an event and one subscriber throws an exception, all subsequent subribers are not notified of the event. This is especially true for events used within the remoting framework: If a connection is broken between a event provider and a subscriber, a TargetInvocationException is thrown when the event is invoked.
This class solves this problem by manually invoking each subscriber. All failed notifications are returned to the sender, which in turn can remove the failed subscribers from the list.

Downloads


Technorati:

Posted by Henning Krause on Sunday, January 2, 2005 2:10 PM, last modified on Sunday, January 2, 2005 2:20 PM
Permalink | Post RSSRSS comment feed

MagicPackets

Posted under .NET Tools | Comments (0)

Description

MagicPackets are special IP packets that are recognized by Wake-On-LAN capable network adapters. If such a packet is received by a network adapter, it will boot the computer.
The packet contains the MAC address of the destination computer and is sent either sent to the global broadcast address (255.255.255.255) or the broadcast address of the destination subnet (e.g. 192.168.1.255).

Downloads


Technorati:

Posted by Henning Krause on Sunday, January 2, 2005 1:45 PM, last modified on Sunday, January 2, 2005 1:53 PM
Permalink | Post RSSRSS comment feed

Advanced Thread Pool

Posted under .NET Tools | Comments (0)

Description

The existing threadpool class has several drawbacks:
One example for the latter point is the HttpWebRequest Class, which still goes further and throws an exception when less than two threads are available on the threadpool. (See my article HttpWebRequest fails when several connections are made concurrently).
These drawbacks are evaded with this implementation: Within one process more than one instance can be instantiated and the number of available threads can be adjusted per instances. Additionally, the number of used threads is dynamic, so unused threads will starver over time and will be recreated when load goes up.

Downloads

References

Some of the ideas for this implementation were taken from the CodeProject article Smart Thread Pool by Ami Bar.

Technorati:

Posted by Henning Krause on Sunday, January 2, 2005 12:47 PM, last modified on Sunday, January 2, 2005 1:23 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