admin tool: email settings -> crash
Moderator: SourceGear
admin tool: email settings -> crash
clicking on "email settings" button in admin tool/server options results in crash:
************** Exception Text **************
System.Web.Services.Protocols.SoapException: 1 : Failure
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at VaultClientNetLib.AdminService.VaultAdminService.ListServerEmailOptions(VaultServerEmailOptions& vOptions)
at VaultClientNetLib.VaultConnection.ListServerEmailOptions(VaultServerEmailOptions& vOptions)
at VaultAdmin.FormEmailOptions..ctor(AdminManager am)
at VaultAdmin.FormMain.buttonEmailOptions_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///f:/winnt/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
VaultAdmin
Assembly Version: 3.0.0.2752
Win32 Version: 3.0.0.2752
CodeBase: file:///F:/Program%20Files/SourceGear/Admin%20Tool/VaultAdmin.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///f:/winnt/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///f:/winnt/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
VaultPresentationLib
Assembly Version: 3.0.0.2752
Win32 Version: 3.0.0.2752
CodeBase: file:///F:/Program%20Files/SourceGear/Admin%20Tool/VaultPresentationLib.DLL
----------------------------------------
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///f:/winnt/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
VaultLib
Assembly Version: 3.0.0.2752
Win32 Version: 3.0.0.2752
CodeBase: file:///F:/Program%20Files/SourceGear/Admin%20Tool/VaultLib.DLL
----------------------------------------
VaultClientUILib
Assembly Version: 3.0.0.2752
Win32 Version: 3.0.0.2752
CodeBase: file:///F:/Program%20Files/SourceGear/Admin%20Tool/VaultClientUILib.DLL
----------------------------------------
VaultClientNetLib
Assembly Version: 3.0.0.2752
Win32 Version: 3.0.0.2752
CodeBase: file:///F:/Program%20Files/SourceGear/Admin%20Tool/VaultClientNetLib.DLL
----------------------------------------
System.Web.Services
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///f:/winnt/assembly/gac/system.web.services/1.0.5000.0__b03f5f7f11d50a3a/system.web.services.dll
----------------------------------------
VaultClientOperationsLib
Assembly Version: 3.0.0.2752
Win32 Version: 3.0.0.2752
CodeBase: file:///F:/Program%20Files/SourceGear/Admin%20Tool/VaultClientOperationsLib.DLL
----------------------------------------
System.Xml
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///f:/winnt/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
----------------------------------------
System.Web
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///f:/winnt/assembly/gac/system.web/1.0.5000.0__b03f5f7f11d50a3a/system.web.dll
----------------------------------------
_tfxyjox
Assembly Version: 0.0.0.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///f:/winnt/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
uqna4wox
Assembly Version: 0.0.0.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///f:/winnt/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
System.Management
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///f:/winnt/assembly/gac/system.management/1.0.5000.0__b03f5f7f11d50a3a/system.management.dll
----------------------------------------
vs
Assembly Version: 1.0.1787.31312
Win32 Version: 1.0.1787.31312
CodeBase: file:///F:/Program%20Files/SourceGear/Admin%20Tool/vs.DLL
----------------------------------------
************** Exception Text **************
System.Web.Services.Protocols.SoapException: 1 : Failure
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at VaultClientNetLib.AdminService.VaultAdminService.ListServerEmailOptions(VaultServerEmailOptions& vOptions)
at VaultClientNetLib.VaultConnection.ListServerEmailOptions(VaultServerEmailOptions& vOptions)
at VaultAdmin.FormEmailOptions..ctor(AdminManager am)
at VaultAdmin.FormMain.buttonEmailOptions_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///f:/winnt/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
VaultAdmin
Assembly Version: 3.0.0.2752
Win32 Version: 3.0.0.2752
CodeBase: file:///F:/Program%20Files/SourceGear/Admin%20Tool/VaultAdmin.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///f:/winnt/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///f:/winnt/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
VaultPresentationLib
Assembly Version: 3.0.0.2752
Win32 Version: 3.0.0.2752
CodeBase: file:///F:/Program%20Files/SourceGear/Admin%20Tool/VaultPresentationLib.DLL
----------------------------------------
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///f:/winnt/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
VaultLib
Assembly Version: 3.0.0.2752
Win32 Version: 3.0.0.2752
CodeBase: file:///F:/Program%20Files/SourceGear/Admin%20Tool/VaultLib.DLL
----------------------------------------
VaultClientUILib
Assembly Version: 3.0.0.2752
Win32 Version: 3.0.0.2752
CodeBase: file:///F:/Program%20Files/SourceGear/Admin%20Tool/VaultClientUILib.DLL
----------------------------------------
VaultClientNetLib
Assembly Version: 3.0.0.2752
Win32 Version: 3.0.0.2752
CodeBase: file:///F:/Program%20Files/SourceGear/Admin%20Tool/VaultClientNetLib.DLL
----------------------------------------
System.Web.Services
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///f:/winnt/assembly/gac/system.web.services/1.0.5000.0__b03f5f7f11d50a3a/system.web.services.dll
----------------------------------------
VaultClientOperationsLib
Assembly Version: 3.0.0.2752
Win32 Version: 3.0.0.2752
CodeBase: file:///F:/Program%20Files/SourceGear/Admin%20Tool/VaultClientOperationsLib.DLL
----------------------------------------
System.Xml
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///f:/winnt/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
----------------------------------------
System.Web
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///f:/winnt/assembly/gac/system.web/1.0.5000.0__b03f5f7f11d50a3a/system.web.dll
----------------------------------------
_tfxyjox
Assembly Version: 0.0.0.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///f:/winnt/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
uqna4wox
Assembly Version: 0.0.0.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///f:/winnt/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
System.Management
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///f:/winnt/assembly/gac/system.management/1.0.5000.0__b03f5f7f11d50a3a/system.management.dll
----------------------------------------
vs
Assembly Version: 1.0.1787.31312
Win32 Version: 1.0.1787.31312
CodeBase: file:///F:/Program%20Files/SourceGear/Admin%20Tool/vs.DLL
----------------------------------------
The server log file looks like the Vault server encountered a weird error around 1:06 PM, and restarted. Is this the time of the Admin Tool crash?
If so, can you examine your Windows Events for both Application / System. Is there anything in there related to .Net or ASP.Net that may indicate some sort of problem?
If so, can you examine your Windows Events for both Application / System. Is there anything in there related to .Net or ASP.Net that may indicate some sort of problem?
Jeff Clausius
SourceGear
SourceGear
after I reinstalled the server with impersonation (as in this article) , the crash did not happen. Not AD auth works.
In the email dialog, Help button did not work - Help viewer showed "this page cannot be displayed". The reason I was looking for Help was (1) to find out why would I need an email , and (2) what is "server URL" for, given that SMTP server was already specified.
BTW, when I specified the domain in the admin tool, it showed a warning with a link. The link was pointing to an article related to shadow folders, while I think that the article I referenced above is more relevant.
In the email dialog, Help button did not work - Help viewer showed "this page cannot be displayed". The reason I was looking for Help was (1) to find out why would I need an email , and (2) what is "server URL" for, given that SMTP server was already specified.
BTW, when I specified the domain in the admin tool, it showed a warning with a link. The link was pointing to an article related to shadow folders, while I think that the article I referenced above is more relevant.
Vadim Rapp
I'm a bit confused.
Can you explain your setup the first time around ( impersonation vs. ASP.Net process Account vs. Local System )? Did you change web.config to impersonate outside the installer?
Any additionaly information you can provide would be helpful in trying to determine what exactly happened here.
Also, you mention AD Auth. What was the problem there, as this thread was about the Email Settings.
----------
I'l log a bug about the Help button on the email dialog.
The email notification sends messages to registered users of any changes to the repository. The From address is the user the notification email will be from and the Server URL is the address to the Vault server ( ex: http://vaultserver.sourcegear.com/VaultService ).
This Server URL is used to provide links to the actual file within VaultWeb in case someone wants to "click" to view.
Can you explain your setup the first time around ( impersonation vs. ASP.Net process Account vs. Local System )? Did you change web.config to impersonate outside the installer?
Any additionaly information you can provide would be helpful in trying to determine what exactly happened here.
Also, you mention AD Auth. What was the problem there, as this thread was about the Email Settings.
----------
I'l log a bug about the Help button on the email dialog.
The email notification sends messages to registered users of any changes to the repository. The From address is the user the notification email will be from and the Server URL is the address to the Vault server ( ex: http://vaultserver.sourcegear.com/VaultService ).
This Server URL is used to provide links to the actual file within VaultWeb in case someone wants to "click" to view.
Jeff Clausius
SourceGear
SourceGear
At first I installed (or, rather, upgraded from 2.6) with all default settings, i.e. whatever was the 1st choice for the login in the setup dialog. That's when email button was crashing.Can you explain your setup the first time around ( impersonation vs. ASP.Net process Account vs. Local System )? Did you change web.config to impersonate outside the installer?
I also wanted domain auth, so I tried to make the impersonation "manually", i.e. by editing web.config; but then Vault did not work at all - probably I was doing something wrong.
Then I simply reinstalled Vault and specified "custom" during the setup, and after that I found both domain auth and email button working.
Here's a suggestion: currently, your KB articles = your posts in the forum. Make KB a separate entity.We're still trying to get the kb stuff set up
Vadim Rapp
That makes sense. One of my hopes for the future is to create an identity switcher that will set all of the right permissions on the folders and objects that are necessary, as well as make the needed change to the web.config.
With the KB stuff, with 3.0, we've put more dynamic links in the client error dialog to do an automatic search in a separate kb. The impersonation link is one of the few static ones, so it didn't get as much attention as the dynamic links. The goal with setting up the dynamic links using the forum for a backend was so that we could make sure that everyone at Sourcegear had access to edit them and keep them up to date. It's my mission to make sure that the dynamic links from the client don't result in stale information.
With the KB stuff, with 3.0, we've put more dynamic links in the client error dialog to do an automatic search in a separate kb. The impersonation link is one of the few static ones, so it didn't get as much attention as the dynamic links. The goal with setting up the dynamic links using the forum for a backend was so that we could make sure that everyone at Sourcegear had access to edit them and keep them up to date. It's my mission to make sure that the dynamic links from the client don't result in stale information.
That would explain things. If you take notice during installation, there is a dialog, which states certain NTFS permissions will be granted to some folders. By switching identities outside the installer, the permissions of the newly configured identity were not placed on all folders Vault requires to work correctly.vrapp wrote:I also wanted domain auth, so I tried to make the impersonation "manually"
Jeremy's suggestion of a "security permission checker" would be a welcome fix to the problem.
Jeff Clausius
SourceGear
SourceGear
No, I think the crash happened before I started playing with the identities.jclausius wrote:That would explain things. If you take notice during installation, there is a dialog, which states certain NTFS permissions will be granted to some folders. By switching identities outside the installer, the permissions of the newly configured identity were not placed on all folders Vault requires to work correctly.vrapp wrote:I also wanted domain auth, so I tried to make the impersonation "manually"