Hello
I am attempting to change the logging level on our server.
So I go to the logging page and change the level to debug and press the save button.
I am then presented with a prompt that says the session will be ended.
Pressing OK at this point gives a page error -
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Timestamp: Thu, 15 Sep 2011 07:25:00 UTC
Message: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled.
Details: Error parsing near '
<!DOCTYPE html'.
Line: 5
Char: 62099
Code: 0
URI: http://asluksqlsvr.avalonsciences.local ... fff9d85fa6
and I am not logged out.
Pressing OK again does log me out but the setting is unchanged
Is there another way to change the logging level?
Graham Labdon
Below is an extract from the log
----15/09/2011 08:28:45 admin--fe80::5c3:b174:fed1:213c%11(fe80::5c3:b174:fed1:213c%11)--SSL Disabled Login
----15/09/2011 08:29:03 sgvaultsystem--()--
System Started
Version 5.1.1.19216
Cache Level = 1
DataBase Buffer Size (KB) = 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 = 10080
SGVault Working Directory = C:\Windows\Temp
SGVault Server URL =
Identity = IIS APPPOOL\VaultAppPool
----15/09/2011 08:29:26 admin--fe80::5c3:b174:fed1:213c%11(fe80::5c3:b174:fed1:213c%11)--SSL Disabled Login
----15/09/2011 08:30:06 admin--fe80::5c3:b174:fed1:213c%11(fe80::5c3:b174:fed1:213c%11)--SSL Disabled Uncaught Exception: Exception of type 'System.Web.HttpUnhandledException' was thrown.
Inner Exception: Access to the path 'C:\inetpub\wwwroot\VaultPro\web.config' is denied.
----15/09/2011 08:30:06 admin--fe80::5c3:b174:fed1:213c%11(fe80::5c3:b174:fed1:213c%11)--SSL Disabled at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at ASP.admin_logging_aspx.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Inner Exeption Stack Trace: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at System.Xml.XmlDOMTextWriter..ctor(String filename, Encoding encoding)
at System.Xml.XmlDocument.Save(String filename)
at VaultServiceAPILib.VaultConfigReader.SetWebConfigSetting(Configuration webconfig, String strSection, String strValue)
at VaultServiceAPILib.VaultConfigReader.SetConfigSettings(Boolean bSaveToWebConfig, VaultServerOptions vOptions)
at VaultService.VaultAdminServiceSystem.SetServerOptions(VaultServerOptions vOptions)
at VaultService.Logging.Save(Boolean force)
at VaultService.Logging.ButtonOK_Click(Object sender, EventArgs e)
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
----15/09/2011 08:30:06 admin--fe80::5c3:b174:fed1:213c%11(fe80::5c3:b174:fed1:213c%11)--SSL Disabled System.UnauthorizedAccessException: Access to the path 'C:\inetpub\wwwroot\VaultPro\web.config' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at System.Xml.XmlDOMTextWriter..ctor(String filename, Encoding encoding)
at System.Xml.XmlDocument.Save(String filename)
at VaultServiceAPILib.VaultConfigReader.SetWebConfigSetting(Configuration webconfig, String strSection, String strValue)
at VaultServiceAPILib.VaultConfigReader.SetConfigSettings(Boolean bSaveToWebConfig, VaultServerOptions vOptions)
at VaultService.VaultAdminServiceSystem.SetServerOptions(VaultServerOptions vOptions)
at VaultService.Logging.Save(Boolean force)
at VaultService.Logging.ButtonOK_Click(Object sender, EventArgs e)
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at System.Xml.XmlDOMTextWriter..ctor(String filename, Encoding encoding)
at System.Xml.XmlDocument.Save(String filename)
at VaultServiceAPILib.VaultConfigReader.SetWebConfigSetting(Configuration webconfig, String strSection, String strValue)
at VaultServiceAPILib.VaultConfigReader.SetConfigSettings(Boolean bSaveToWebConfig, VaultServerOptions vOptions)
at VaultService.VaultAdminServiceSystem.SetServerOptions(VaultServerOptions vOptions)
at VaultService.Logging.Save(Boolean force)
at VaultService.Logging.ButtonOK_Click(Object sender, EventArgs e)
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
----15/09/2011 08:30:10 sgvaultsystem--()--
System Started
Version 5.1.1.19216
Cache Level = 1
DataBase Buffer Size (KB) = 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 = 10080
SGVault Working Directory = C:\Windows\Temp
SGVault Server URL =
Identity = IIS APPPOOL\VaultAppPool
Change logging level
Re: Change logging level
The issue lies in this part of your error: "Access to the path 'C:\inetpub\wwwroot\VaultPro\web.config' is denied." Go to that web.config and change the security level on it to allow whichever user Vault is running under to write to it. Common user accounts that need write access are Network Service and ASPNET.
You can also just edit the web.config. Look for an entry for logging. Turn logging to True and the key "ClassesToLog" to "all".
You can also just edit the web.config. Look for an entry for logging. Turn logging to True and the key "ClassesToLog" to "all".
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support