2011-05-18 54 views
2

我嘗試TP使Silverlight項目它在我的本地PC的工作,但是當我發佈該項目,以我的FTP和去後ADRESS它給像Silverlight的WebConfig錯誤

分析器錯誤消息的錯誤:無法識別屬性'targetFramework'。請注意,屬性名稱區分大小寫。

源錯誤:

Line 16:    <add name="DomainServiceModule" type="System.ServiceModel.DomainServices.Hosting.DomainServiceHttpModule, System.ServiceModel.DomainServices.Hosting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /> 
Line 17:   </httpModules> 
Line 18:   <compilation debug="true" targetFramework="4.0"><assemblies><add assembly="System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /></assemblies></compilation> 
Line 19:  </system.web> 
Line 20: 

回答

0

然後,您需要確保將4.0 Framework安裝在您的項目所在的服務器上。