Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
195
XBAP
posted

Hi,

When i tried to display the Data in XBAP using XAMDATAGRID and LINQ there is a error message.Can anay one help

Thanks in advance 

PAGE.XAML.CS:

public Page1()

{

InitializeComponent();

 

}

public IEnumerable<Store> store()

{

DataClasses1DataContext dc = new DataClasses1DataContext();

var tmp = from title in dc.Stores

select title;return tmp;

}

private void Samp_Loaded(object sender, RoutedEventArgs e)

{

XamDataGrid1.DataSource = store();

}

 

PLATFORM VERSION INFO
 Windows    : 5.1.2600.131072 (Win32NT)
 Common Language Runtime  : 2.0.50727.1433
 System.Deployment.dll   : 2.0.50727.1433 (REDBITS.050727-1400)
 mscorwks.dll    : 2.0.50727.1433 (REDBITS.050727-1400)
 dfshim.dll    : 2.0.50727.1433 (REDBITS.050727-1400)

IDENTITIES
 Deployment Identity  : WpfBrowserApplication.xbap, Version=1.0.0.0, Culture=neutral, PublicKeyToken=716323d16ce7767d, processorArchitecture=msil
 Application Identity  : WpfBrowserApplication.exe, Version=1.0.0.0, Culture=neutral, PublicKeyToken=716323d16ce7767d, processorArchitecture=msil, type=win32

APPLICATION SUMMARY
 * Online only application.
 * Browser-hosted application.

ERROR SUMMARY
 Below is a summary of the errors, details of these errors are listed later in the log.
 * An exception occurred while downloading the application. Following failure messages were detected:
  + Application size exceeds the size limit for online semi-trust applications(131072000 bytes).

COMPONENT STORE TRANSACTION FAILURE SUMMARY
 No transaction error was detected.

WARNINGS
 There were no warnings during this operation.

OPERATION PROGRESS STATUS
 No phase information is available.

ERROR DETAILS
 Following errors were detected during this operation.
 * [6/18/2008 8:32:51 AM] System.Deployment.Application.DeploymentDownloadException (SizeLimitForPartialTrustOnlineAppExceeded)
  - Application size exceeds the size limit for online semi-trust applications(131072000 bytes).
  - Source: System.Deployment
  - Stack trace:
   at System.Deployment.Application.FileDownloader.CheckForSizeLimit(UInt64 bytesDownloaded, Boolean addToSize)
   at System.Deployment.Application.DownloadManager.DownloadDependencies(SubscriptionState subState, AssemblyManifest deployManifest, AssemblyManifest appManifest, Uri sourceUriBase, String targetDirectory, String group, IDownloadNotification notification, DownloadOptions options)
   at System.Deployment.Application.DeploymentManager.SynchronizeCore(Boolean blocking)
   at System.Deployment.Application.DeploymentManager.SynchronizeAsyncWorker()

COMPONENT STORE TRANSACTION DETAILS
 No transaction information is available.