Hello,
I've tried to install vault 3.5.2 on 64bit windows 2003 server. When I tried to access the webservice following error was displayed:
Server Error in '/VaultService' Application.
--------------------------------------------------------------------------------
is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.BadImageFormatException: is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)
-----
The problem is probably linked to the mmsseclib.dll file. When this file is removed from the /VaultService/bin/ folder no error is displayed.
I'd like to ask two questions:
- Is it safe to run Vault server without mmsseclib.dll? What functionality will be affected?
- is it possible to obtain version of mmsseclib.dll which will work on 64bit Windows2003 server?
Best regards,
Martin Vobr,
www.rebex.net
Vault 3.5.2: crash on Win2003 64bit - BadImageFormatExceptio
Moderator: SourceGear
-
- Posts: 2
- Joined: Tue May 08, 2007 6:57 am
This .dll is used to set directory permissions for Vault during the installation. You don't need it for Vault Server operations, though you may need it if you ever uninstall Vault.- Is it safe to run Vault server without mmsseclib.dll? What functionality will be affected?
You can delete the file, or rename it to mmsseclib.old
Another option that may work:
In the web.config file in the Vault Service directory, uncomment this line:
<trust level="Full" originUrl=""/>
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
-
- Posts: 2
- Joined: Tue May 08, 2007 6:57 am
This is the same error that you get when IIS is configured to use ASP.NET in 64bit mode. AFAIK, vault server only supports the 32bit version, so standard IIS config on a 64bit machine is wrong.
See here how to switch it to 32bit ASP.NET:
http://support.microsoft.com/kb/894435
Basically it boils down to these 2 commands you need to run:
cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 1
and
%SYSTEMROOT%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i
Cheers,
Kasti.
P.S.: Take care if you got other 64bit ASP apps running on the same IIS.
See here how to switch it to 32bit ASP.NET:
http://support.microsoft.com/kb/894435
Basically it boils down to these 2 commands you need to run:
cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 1
and
%SYSTEMROOT%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i
Cheers,
Kasti.
P.S.: Take care if you got other 64bit ASP apps running on the same IIS.