Showing posts with label error. Show all posts
Showing posts with label error. Show all posts

Friday, January 8, 2010

How to install SQLXML 3 on IIS 7 (Windows Server 2008 64 Bit)

The release notes of SQLXML 4.1 state, that if you need SQLXML with ISAPI (Internet Information Server) support, the latest version for you is SQLXML 3 SP3.

If you try to install it on a Windows Server 2008 R2 64Bit you might see 2 issues with that:

After installing you click "Start - SQLXML 3.0 - Configure IIS Support"

If you get the error

"An error occurred connecting to 'server'. This server does not exist or is unavailable."

apply the following solution

Click "Start - Administrative Tools - Server Manager"

in the Server Manager go to

"Roles - Webserver (IIS)"

Go to section "Role Services"

verify that all of "IIS 6 Management Compatibilty" packages are installed.

After I installed the IIS 6 compatibility packages the SQLXML 3 snapin starts and connects just fine.

The second error can occur if you attempt to call one of the xml templates and IIS just gives a 500 error 0x800700c1. Permissions and all appear correct. The IIS Virtual Direcotry Manager for SQLXML 3.0 throws an error when I attempt to Restart Application DLL "Error occurred unloading the application".

Then apply the following solution:

1. Open IIS Manager, Select Application Pools.

2. Under Actions pane, Select 'Set Application Pool Defaults'.

3. Set 'Enable 32-bit Applications' to 'True'. (Solution found here)

Friday, September 4, 2009

How to fix: "shared heap exhausted or damaged"

The error can occur because your desktop heap is too small. This happened to me especially after opening a large number of windows.

Nview then filled up the application log with the error message:

"NVIEW : Explorer: shared heap exhausted or damaged"

Quick Solution:

1.) Start Regedit:

2.) Browse to

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\SubSystems

3.) Open the "Windows" key

In the string you find a section like

....Windows SharedSection=1024,4096,512....

Edit the second value e.g.

Windows SharedSection=1024,8192,512


Click OK

4.) Restart Windows

To verify this solution is the correct one for you can:

1. ) Download dheapmon

2.) Open a command shell (Start - Run - "CMD")

3.) Change your directory to the location of the executables (e.g. C:\kktools\dheapmon8.1\x86)

4.) Type: dheapinst.exe -y srv*http://msdl.microsoft.com/download/symbols

5.) Type: dheapmon -l

6.) Type: dheapmon

Now you see:


If you see a high utilization of the "WinSta0\Default " session e.g.:


WinStation\Desktop Heap Size(KB) Used Rate(%)
---------------------------------------------
WinSta0\Default 4096 95,6

then the above solution will do the job for you because:

"
The second SharedSection value (3072) is the size of the desktop heap for each desktop that is associated with the "interactive" window station WinSta0. User objects like hooks, menus, strings, and windows consume memory in this desktop heap."

Warning

As always be careful with what you do. Modifying your registry has the potential to render your system useless.