我无法启动Azure诊断监视器
我正在尝试使用单个asp.net应用程序在云解决方案中测试Azue诊断监视器。
每次尝试启动诊断监视器时都会出现异常:
CloudStorageAccount account = CloudStorageAccount.Parse("UseDevelopmentStorage=true");
Write(account.TableEndpoint.AbsoluteUri);
// Get default initial configuration.
var config = DiagnosticMonitor.GetDefaultInitialConfiguration();
config.Logs.ScheduledTransferLogLevelFilter = LogLevel.Undefined;
config.Logs.ScheduledTransferPeriod = TimeSpan.FromSeconds(5);
// Start the diagnostic monitor with the modified configuration.
DiagnosticMonitor.Start(account, config); // Exception
例外说:
System.ArgumentException was unhandled by user code
Message=Directory C:UsersMeDocumentsVisual Studio 2010ProjectsCloudDebuggingTestCloudDebuggingTestbinDebugCloudDebuggingTest.csxrolesCloudDebuggingTest.Webdiagnosticsx64monitor does not exist.
Source=Microsoft.WindowsAzure.Diagnostics
StackTrace:
at Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitor.ValidateStartupInfo(DiagnosticMonitorStartupInfo startupInfo) in :line 0
at Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitor.StartWithExplicitConfiguration(DiagnosticMonitorStartupInfo startupInfo, DiagnosticMonitorConfiguration initialConfiguration) in :line 0
at Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitor.Start(CloudStorageAccount storageAccount, DiagnosticMonitorConfiguration initialConfiguration) in :line 0
at CloudDebuggingTest.Web._Default.StartDiagnostics() in C:UsersMeDocumentsVisual Studio 2010ProjectsCloudDebuggingTestCloudDebuggingTest.WebDefault.aspx.cs:line 48
at CloudDebuggingTest.Web._Default.Page_Load(Object sender, EventArgs e) in C:UsersMeDocumentsVisual Studio 2010ProjectsCloudDebuggingTestCloudDebuggingTest.WebDefault.aspx.cs:line 19
at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
InnerException:
我不知道我错过了什么,我一直在检查一些链接,他们正是这样做的。任何的想法?
干杯。
没有找到相关结果
已邀请:
3 个回复
味芯憨
然后它的工作正常@。@ 当我进入一篇谈论路径长度限制的文章时,我偶然发现了解决方案。 http://markegilbert.wordpress.com/2010/11/05/i-just-hit-my-head-on-a-cloud-microsoft-azure-and-full-path-limits/ 我也打了我的脑袋:(
浩挎
犀寺扦