2013-03-12 87 views
0

我在Silverlight中爲其中一個用戶收到以下錯誤。目標運行時爲4.1.10329.0,應用程序使用Silverlight 4構建。我不知道可能是什麼問題。看起來它是試圖加載LoadComponent上的東西,並失敗:Silverlight未處理錯誤

Message: Unhandled Error in Silverlight Application 
Parser_CreateFromValue_CannotConvertInitializationText] 
Arguments: PropertyChanged,System.Windows.Data.UpdateSourceTrigger 
Debugging resource strings are unavailable. Often the key and arguments provide 
sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/? 
linkid=106663&Version=4.1.10329.0&File=System.Windows.dll&Key= 
Parser_CreateFromValue_Cannot ConvertInitializationText 
[Line: 582 Position: 273] at  
System.Windows.Application.LoadComponent(Object component, Uri resourceLocator) 
at Samplexxx.MainPage.InitializeComponent() 
at Samplexxx.MainPage..ctor() 
at Samplexxx.App.Application_Startup(Object sender, StartupEventArgs e) 
at MS.Internal.CoreInvokeHandler.InvokeEventHandler(Int32 typeIndex, Delegate 
handlerDelegate, Object sender, Object args) 
at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, 
Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName) 

任何想法可能是什麼問題?

回答

0

在服務器上打開IIS,去HTTP頭,單擊MIME類型,點擊「新增」,並添加以下內容:

擴展 - Mime類型 的.xaml - 應用程序/ XAML + XML 的.xap - application/x-silverlight-app .xbap - application/x-ms-xbap