【发布时间】:2011-09-26 05:35:42
【问题描述】:
您好,我正在使用http://silverlightpdf.codeplex.com/ 代码从托管在 Windows Azure 中的 silverlight 应用程序打印 pdf。
我可以从本地/开发 pc 保存 pdf,但是当我尝试从 Azure 服务器保存 pdf 时,出现以下错误。
网页错误详情
用户代理:Mozilla/4.0(兼容;MSIE 8.0;Windows NT 6.1;Trident/4.0;GTB7.0;EasyBits GO v1.0;SLCC2;.NET CLR 2.0.50727;.NET CLR 3.5.30729;. NET CLR 3.0.30729;媒体中心 PC 6.0;InfoPath.2;.NET4.0C;.NET4.0E;OfficeLiveConnector.1.5;OfficeLivePatch.1.3;FDM) 时间戳:2011 年 8 月 19 日星期五 04:24:34 UTC
消息:Silverlight 应用程序中出现未处理错误远程服务器返回错误:NotFound。在 System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod,对象状态) 在 System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult asyncResult) 在 InspireED.StudentHome.View.NotesTab.Notes.PrintGetResponse(IAsyncResult asynchronousResult) 在 System.Net.Browser.BrowserHttpWebRequest.c_DisplayClassd.b_b(Object state2) 在 System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(对象状态) 在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext,ContextCallback 回调,对象状态,布尔 ignoreSyncCtx) 在 System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() 在 System.Threading.ThreadPoolWorkQueue.Dispatch() 在 System.Threading._ThreadPoolWaitCallback.PerformWaitCallback() 线路:1 字符:1 代码:0 网址:http://mystorageaccount.cloudapp.net/somappname.studenttestpage.aspx
【问题讨论】: