The Routing and Remote Access service failed to start because it encountered an error while loading a vendor's administration or security DLL.
The most common reasons for this error are:
The path for the DLL is improperly specified in the registry.
The DLL does not implement the functions required by the service.
The DLL implemented the required functions, but one of the functions failed.
The server cannot run the DLL in Windows NT mode.
The specified DLL is not a valid application.
Sample Event #1: Cannot load the Security host module component. The following erroroccurred: %1
Sample Event #2: Cannot load the RAS third party administration DLL component.The following error occurred: %1
Sample Event #3: Cannot load the Security host module component. The following erroroccurred: %1 is not a valid win32 application.
Sample Event #4: Cannot load the RAS third party administration DLL component.The following error occurred: %1 is not a valid win32 application.
Open Registry Editor, and
verify that the path to the administration DLL is spelled correctly in the value for: HKEY_LOCAL_MACHINE\Microsoft\RAS\AdminDll\DllPath
Verify that path to the security DLL is spelled correctly in the value for the HKEY_LOCAL_MACHINE\Microsoft\RAS\SecurityHost\DllPath registry key. If a path to a DLL contains any environmental variables (such as %systemroot%), verify that the variables are valid for the operating system. Environmental variables might need to be expanded.
Verify whether the SYSTEM account has read/write permissions for the key. To check the permissions:
Right-click the registry key, and click Permissions.
Verify whether the SYSTEM account has read/write permissions for the key. If not, add them.
Check with the DLL vendor to see whether the security DLL implements the following functions:
RasSecurityDialogBegin
RasSecurityDialogEnd
Check with the DLL vendor to see whether the administration DLL implements the following functions:
At least one of the following functions:
MprAdminAcceptNewConnection
MprAdminAcceptNewConnection2
MprAdminAcceptNewLink
At least one of the following functions:
MprAdminConnectionHangupNotification
MprAdminConnectionHangupNotification2
MprAdminLinkHangupNotification
Either both or neither of the following functions:
MprAdminGetIpAddressForUser
MprAdminReleaseIpAddress
Microsoft Corporation, all rights reserved
Target | AP.Remote.Access.Class.VPNServer |
Category | EventCollection |
Enabled | True |
Event Source | RemoteAccess |
Alert Generate | False |
Remotable | True |
Event Log | System |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.Windows.EventProvider | Default |
WriteToDB | WriteAction | Microsoft.SystemCenter.CollectEvent | Default |
<Rule ID="Loading_3rd_party_dll_failure_1_Rule" Enabled="true" Target="AP.Remote.Access.Class.VPNServer" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>System</LogName>
<Expression>
<And>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>^(20092|20113|20203|20204)$</Pattern>
</RegExExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">RemoteAccess</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SystemCenter!Microsoft.SystemCenter.CollectEvent"/>
</WriteActions>
</Rule>