CSP not working on IIS7 (Windows Server 2008 64bit), Cache 2008.2.1.902.0

1,002 views
Skip to first unread message

Reeve

unread,
Feb 10, 2009, 4:25:25 PM2/10/09
to intersystems.public.cache
I can not get IIS7 to serve CSP's. Have to use built-in Apache
server.
In the system log there is this entry:

The Module DLL 'C:\Inetpub\CSPGateway\CSPms.dll' could not be loaded
due to a configuration problem.
The current configuration only supports loading images built for a
x86 processor architecture.
The data field contains the error number. To learn more about this
issue,
including how to troubleshooting this kind of processor architecture
mismatch error, see http://go.microsoft.com/fwlink/?LinkId=29349.

The error code is: c1000000

The CSP.log from the CSPGateway directory has this entry:

>>> Time: Tue Feb 10 12:13:56 2009; RT Build: 802.1054a (win64/iis); Log-Level: 0; Thread-Id: 2112
Initialization
The CSP Gateway module 'C:\Inetpub\CSPGateway\CSPms.dll' is
loaded (MAX_CONNECTIONS=32768; MAX_SERVERS=128; MAX_APPLICATIONS=128)
>>> Time: Tue Feb 10 12:13:56 2009; SM Build: 802.1054a (win64/iis); Log-Level: 0; Thread-Id: 2112
cspSHMinit : Startup error
Unable to create a handle to a shared memory block - code: 5 -
Access is denied.

There are hundreds of entries like this in the log file.

Anyone have any ideas? Do I have the wrong version of CSPms.dll?
???

Thanks,
Reevan

Fernando Telesca

unread,
Feb 11, 2009, 11:01:51 AM2/11/09
to intersystems.public.cache
Reevan,

Does your IIS user have read permissions on 'C:\Inetpub\CSPGateway
\CSPms.dll' ?

Rgds,

Fernando

On 10 fev, 19:25, Reeve <hcb1...@gmail.com> wrote:
> I can not get IIS7 to serve CSP's.  Have to use built-in Apache
> server.
> In the system log there is this entry:
>
> The Module DLL 'C:\Inetpub\CSPGateway\CSPms.dll' could not be loaded
> due to a configuration problem.
>  The current configuration only supports loading images built for a
> x86 processor architecture.
>  The data field contains the error number. To learn more about this
> issue,
>  including how to troubleshooting this kind of processor architecture
> mismatch error, seehttp://go.microsoft.com/fwlink/?LinkId=29349.

arroju....@gmail.com

unread,
Mar 27, 2014, 6:44:24 AM3/27/14
to intersystems...@googlegroups.com
Hi all,

I got the same issue. Issue I fixed as follows.

Before that take the backup of applicationHost.config file in %windir%\system32\inetsrv\config\ then change it.
Go to %windir%\system32\inetsrv\config\ and Open applicationHost.config file and remove all entries relate to CSPms. save the config file and reset IIS .
This worked for me .

Open 

Steve Guidos

unread,
Apr 19, 2015, 2:16:56 PM4/19/15
to intersystems...@googlegroups.com
A simpler solution that worked for me:

In the applicationHost.config file mentioned in the previous post (located at C:\Windows\System32\inetsrv\config on my machine),

set enable32BitAppOnWin64="false"

Steve Guidos


Tony

unread,
Apr 20, 2015, 4:57:02 PM4/20/15
to intersystems...@googlegroups.com
Hi Reevan - you should be able to add an 'Application Pool' to IIS 7.5 and associate this with your application path and as others have said you need set the 'Enable 32-Bit Applications' property (for the 'CSPms.dll’ and ‘CSPmsSys.dll' modules); I hope that helps and good luck.  /Tony

# Application pool
Create new application pool called 'CacheSys' and modify the following attributes.
1. Prevent worker process idle timeout (Idle Time-Out=0)
2. Prevent worker process recycling (Regular Time Interval=0)
3. Allow worker process to run 32-bit applications (Enable 32-Bit Applications=True)

Reply all
Reply to author
Forward
0 new messages