Post installation problem, logging as an Admin!
Moderator: SourceGear
Post installation problem, logging as an Admin!
Hi,
The installation of Vault was very smooth and configuration was done successfully. Now, I am trying to use the admin tool to start discovering the product. I enter the admin login name 'admin' (no quotes), the password and finally the server and BANG, a dialog box show saying:
"The server returned an unknown status code ({0}).
Did anyone here experience the same? I will be grateful to hear from the gurus.
Cheers,
-alzogbi
The installation of Vault was very smooth and configuration was done successfully. Now, I am trying to use the admin tool to start discovering the product. I enter the admin login name 'admin' (no quotes), the password and finally the server and BANG, a dialog box show saying:
"The server returned an unknown status code ({0}).
Did anyone here experience the same? I will be grateful to hear from the gurus.
Cheers,
-alzogbi
Can you get to either of these pages?
http://servermachine/VaultService
or
http://servermachine/VaultService/VaultService.asmx
http://servermachine/VaultService
or
http://servermachine/VaultService/VaultService.asmx
The first yes, the second no ..
Hi Dan,
I can access the first page but not the second one. I get a .NET Exception thrown:
Error loading XML file c:\winnt\microsoft.net\framework\v1.0.3705\Config\machine.config Request for the permission of type System.Security.Permissions.StrongNameIdentityPermission, mscorlib, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed. (c:\winnt\microsoft.net\framework\v1.0.3705\Config\machine.config)
Thanks for your help.
-alzogbi
I can access the first page but not the second one. I get a .NET Exception thrown:
Error loading XML file c:\winnt\microsoft.net\framework\v1.0.3705\Config\machine.config Request for the permission of type System.Security.Permissions.StrongNameIdentityPermission, mscorlib, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed. (c:\winnt\microsoft.net\framework\v1.0.3705\Config\machine.config)
Thanks for your help.
-alzogbi
It looks like there's a problem with the .NET framework on the Vault server host. We recommend you use version 1.1 of the .NET framework (it appears that version 1.0 is being used), however the error appears to reference the machine-wide configuration file, which I haven't seen before. I'd suggest re-installing the .NET framework, version 1.1, on the server.
Shaw Terwilliger
SourceGear LLC
`echo sterwill5sourcegear6com | tr 56 @.`
SourceGear LLC
`echo sterwill5sourcegear6com | tr 56 @.`
Re-mapping with .NET 1.1
Shaw,
Thanks for the insight. I just re-mapped the VaultService application with .NET 1.1 and this was the trick. This server has both framework versions running with .NET 1.1 installe with noupgrade param.
Cheers,
Mazen
Thanks for the insight. I just re-mapped the VaultService application with .NET 1.1 and this was the trick. This server has both framework versions running with .NET 1.1 installe with noupgrade param.
Cheers,
Mazen
Same problem (sort of)
I get the same error message - The server returned an unknown status code ({0}).
However, I can successfully access both referenced pages. I'm runnin on Win2003 server with lockdown.
I'm trying to login as 'Admin'.
Any suggestions?
However, I can successfully access both referenced pages. I'm runnin on Win2003 server with lockdown.
I'm trying to login as 'Admin'.
Any suggestions?
GregM
More info
Event view posts nothing by successful audits in the security log.
Web log is
2004-04-15 12:49:03 192.168.2.104 POST /VaultService/VaultService.asmx - 80 - 192.168.2.104 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+1.1.4322.985) 500 0 0
2004-04-15 12:49:05 192.168.2.104 POST /VaultService/VaultService.asmx - 80 - 192.168.2.104 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+1.1.4322.985) 500 0 0
What next?
Web log is
2004-04-15 12:49:03 192.168.2.104 POST /VaultService/VaultService.asmx - 80 - 192.168.2.104 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+1.1.4322.985) 500 0 0
2004-04-15 12:49:05 192.168.2.104 POST /VaultService/VaultService.asmx - 80 - 192.168.2.104 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+1.1.4322.985) 500 0 0
What next?
GregM
when in doubt, consult the knowledge base.
what were the results from the suggestions on this kb article - http://support.sourcegear.com/viewtopic.php?t=736?
what were the results from the suggestions on this kb article - http://support.sourcegear.com/viewtopic.php?t=736?
Jeff Clausius
SourceGear
SourceGear
By "server log file" I meant the Vault server's log file, which is located in c:\windows\temp\sgvault by default. For some known issues with Windows 2003, see this KB article as well http://support.sourcegear.com/viewtopic.php?t=185
jclausius -
Post t=185
Verified IIS and ASP.NET configured correctly
Post t=736
Ran serverInstall.html and ValueService.asmx - they displayed correctly. This was from the server machine itself, and another machine on the network.
No proxy server.
Sql is on the server machine. How do I verify successful login.
jeremy_sg
There is no sgvalut directory or file in the c:\windows\temp directory. What is the default name of the log file itself?
Post t=185
Verified IIS and ASP.NET configured correctly
Post t=736
Ran serverInstall.html and ValueService.asmx - they displayed correctly. This was from the server machine itself, and another machine on the network.
No proxy server.
Sql is on the server machine. How do I verify successful login.
jeremy_sg
There is no sgvalut directory or file in the c:\windows\temp directory. What is the default name of the log file itself?
GregM
Something else that I'm sure is important.
I have MS SharePoint/BizTalk installed on the 2003 server. That gave me problems with my own .Net assembly because SharePoint changes the default trust level for .NET. In my assembly, I had to put a <trust level="full"../> in my web.config.
I tried the same with the web.config in the ...\VaultService directory. Same error.
I have MS SharePoint/BizTalk installed on the 2003 server. That gave me problems with my own .Net assembly because SharePoint changes the default trust level for .NET. In my assembly, I had to put a <trust level="full"../> in my web.config.
I tried the same with the web.config in the ...\VaultService directory. Same error.
GregM
Another thing to try.
From the server machine, go to http://localhost/VaultService/VaultService.asmx Scroll down until you see the Ping web service method. Click on it, and on the next page, click "Invoke".
All of this is just searching for a message detailing the true cause of the error. The lack of server log file means that the server never truely loaded. Could you verify that the account you're running as has access to write to c:\windows\temp? The server will create a directory there called sgvault, and in that sgvault directory will create a file called sgvault.log.
From the server machine, go to http://localhost/VaultService/VaultService.asmx Scroll down until you see the Ping web service method. Click on it, and on the next page, click "Invoke".
All of this is just searching for a message detailing the true cause of the error. The lack of server log file means that the server never truely loaded. Could you verify that the account you're running as has access to write to c:\windows\temp? The server will create a directory there called sgvault, and in that sgvault directory will create a file called sgvault.log.
Okay, the directory sgvault has appeared in the c:\windows\temp directory. Here it is (in it's entirety)
----4/19/2004 6:47:38 AM sgvaultsystem--()--
System Started
Version 2.0.2.2163
Cache Level = 1
DataBase Buffer Size = 256
LogFile Path = C:\WINDOWS\Temp\sgvault
Log Level = Quiet
Archive Log = Weekly
ReverseDNS Lookup = True
Maximum HTTP Request Length = 102400
Overwrite Log on Startup = False
Session Timeout = 4320
SGVault Working Directory = C:\WINDOWS\Temp
----4/19/2004 11:52:17 AM sgvaultsystem--()--
System Started
Version 2.0.2.2163
Cache Level = 1
DataBase Buffer Size = 256
LogFile Path = C:\WINDOWS\Temp\sgvault
Log Level = Quiet
Archive Log = Weekly
ReverseDNS Lookup = True
Maximum HTTP Request Length = 102400
Overwrite Log on Startup = False
Session Timeout = 4320
SGVault Working Directory = C:\WINDOWS\Temp
I tried the ping/invoke - had to run from the win2003 machine.
First thing that happened is IE popped up a security dialog. I had to add my own server to the trusted list? The response then came back as
<?xml version="1.0" encoding="utf-8" ?>
<int xmlns="http://www.sourcegear.com/schemas/vault">1</int>
For fun, I tried to login to the client (username of 'Admin'). Got the following:
SourceGear Vault
system.web.services.protocol.soapexception: server was unable to process request ->> system.nullreferenceexception:
object reference not set to an instance of an object.
at vaultserviceapilib.vaultserviceapisystem.dologin (boolean, httpapplicationstate, httpsessionstate, string,boolean, string, string)
at vaultserviceapilib.vaultserviceapisystem.login (string, string, string)
GregM
----4/19/2004 6:47:38 AM sgvaultsystem--()--
System Started
Version 2.0.2.2163
Cache Level = 1
DataBase Buffer Size = 256
LogFile Path = C:\WINDOWS\Temp\sgvault
Log Level = Quiet
Archive Log = Weekly
ReverseDNS Lookup = True
Maximum HTTP Request Length = 102400
Overwrite Log on Startup = False
Session Timeout = 4320
SGVault Working Directory = C:\WINDOWS\Temp
----4/19/2004 11:52:17 AM sgvaultsystem--()--
System Started
Version 2.0.2.2163
Cache Level = 1
DataBase Buffer Size = 256
LogFile Path = C:\WINDOWS\Temp\sgvault
Log Level = Quiet
Archive Log = Weekly
ReverseDNS Lookup = True
Maximum HTTP Request Length = 102400
Overwrite Log on Startup = False
Session Timeout = 4320
SGVault Working Directory = C:\WINDOWS\Temp
I tried the ping/invoke - had to run from the win2003 machine.
First thing that happened is IE popped up a security dialog. I had to add my own server to the trusted list? The response then came back as
<?xml version="1.0" encoding="utf-8" ?>
<int xmlns="http://www.sourcegear.com/schemas/vault">1</int>
For fun, I tried to login to the client (username of 'Admin'). Got the following:
SourceGear Vault
system.web.services.protocol.soapexception: server was unable to process request ->> system.nullreferenceexception:
object reference not set to an instance of an object.
at vaultserviceapilib.vaultserviceapisystem.dologin (boolean, httpapplicationstate, httpsessionstate, string,boolean, string, string)
at vaultserviceapilib.vaultserviceapisystem.login (string, string, string)
GregM
GregM