SELECTserver Gateway will verify but not start


  
 Applies To 
  
 Product(s):SELECTserver Gateway
 Version(s):N\A
 Environment: N\A
 Area: License Management
 Subarea: N\A
 Original Author:James White, Bentley Technical Support Group
  

Problem

Gateway will verify but not start.

GATEWAY LOG ERROR:

05-05-09 11:43:33 ERROR - Gateway - Gateway startup failed:
System.Web.Services.Protocols.SoapException: Server was unable to proces
s request. ---> System.Security.Cryptography.CryptographicException: An internal error occurred. at
Bentley.SelectServer.WebServices.GatewayWS.GetGatewayLicense(String
GatewayKey, String[] GatewaySiteKeys, String ComputerName, String
SSHostName)
--- End of inner exception stack trace ---

EVENT VIEWER INFORMTION:
aspnet_wp.exe (PID: 5696) stopped unexpectedly
<(>&<)> EventType clr20r3, P1 aspnet_wp.exe, P2 2.0.50727.832, P3
461ef1db, P4 mscorlib, P5 2.0.0.0, P6 461eee3d, P7 4c53, P8 6, P9
udta330idobh2roz2ayvlcelag5agtls, P10 NIL. .

Solution

The server is having problems with the System.Security.Cryptography.CryptographicException. The application might be trying to write to the following folder path:

C:\Documents and Settings\All Users\Application Data\Microsoft\Crypto\RSA\MachineKeys

If we are using impersonation or using the IUSR_MACHINENAME user, then
configure the MachineKeys folder sercurities and give the user Read & Execute, List Folder Contents, Read, Write. If that doesn't work, try giving the Everyone user the same permissions.

See Also