2011-09-26 83 views
0

您好我正在使用http://silverlightpdf.codeplex.com/代碼來打印來自Windows Azure託管的Silverlight應用程序的pdf。從Windows Azure保存Silverlight的pdf問題

我能夠從本地/開發電腦保存PDF,但是當我嘗試從Azure服務器保存PDF時,它會給出以下錯誤。

網頁錯誤的詳細信息

用戶代理:Mozilla的/ 4.0(兼容; MSIE 8.0; Windows NT的6.1;三叉戟/ 4.0; GTB7.0; EasyBits GO 1.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; .NET4.0C; .NET4.0E; OfficeLiveConnector.1.5; OfficeLivePatch.1.3; FDM) 時間戳:Fri,8月19日2011 04:24:34 UTC

消息:Silverlight應用程序中未處理的錯誤遠程服務器返回錯誤:NotFound。在System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod,對象狀態) 在System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult的asyncResult) 在InspirED.StudentHome.View.NotesTab.Notes.PrintGetResponse(IAsyncResult的asynchronousResult) 在System.Net.Browser.BrowserHttpWebRequest。 <> C_ DisplayClassd.b _b在System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(對象狀態) (對象STATE2) 在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

回答

0

既然你沒有發佈任何代碼,我只能猜測問題是什麼。但根據this頁面可能是由於。

When a container is deleted, a container with the same name cannot be created for at least 30 seconds; the container may not be available for more than 30 seconds if the service is still processing the request. While the container is being deleted, attempts to create a container of the same name will fail with status code 409 (Conflict), with the service returning additional error information indicating that the container is being deleted. All other operations, including operations on any blobs under the container, will fail with status code 404 (Not Found) while the container is being deleted.

如果不是,請發佈您的代碼樣本。