.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
Sharon Maxwell
Post New Web Links

How to debug silverlight webpart in sharepoint 2010.?

Posted By:      Posted Date: September 03, 2010    Points: 0   Category :SharePoint
 
Can i debug the zap in sharepoint.?


View Complete Post


More Related Resource Links

Secure Sharepoint 2010 with Silverlight Webpart not communicating with CRM.

  

We have a SharePoint 2010 Enterprise site using SSL. I have modified a webpart that uses Silverlight to connect to crm and output data from there.

The project works when I debug the Silverlight project. This was only after I implemented a clientaccesspolicy.xml on the CRM site. The problem I have is that when I try moving it to the SharePoint site or debugging the project that wraps the webpart, I get the same cross domain error. The error is as follows.

Unhandled Error in Silverlight 2 Application An exception occurred during the operation, making the result invalid.  Check InnerException for exception details.   at System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary()
   at CRMSLParts.CrmSdk.ExecuteCompletedEventArgs.get_Result()
   at CRMSLParts.AccountManager.service_ExecuteCompleted(Object sender, ExecuteCompletedEventArgs e)
   at CRMSLParts.CrmSdk.CrmServiceSoapClient.OnExecuteCompleted(Object state)
<my site here>
Line 0

This error when debugged in Visual Studio 2010 is as follows.

An error occurred while trying to make a request to URI 'http://<myCRMsiteHere>/MSCrmServices/2007/CrmService.asmx'. This could be due to attempting to access a service in a cross-domain way without a proper cross-domain policy in place, or a policy that is

how do i create a webpart for sharepoint 2010 that allows users to create their own subsite..

  

hi!

how do i create a webpart for sharepoint 2010 that allows users to create their own subsite..

for e.g..

i create a webpage in vs 2010 which allows users to create their account by specifying username and password..and make it a webpart and after that for that user a subsite should be created under sharepoint 2010 top level site.....how could i achieve that..


Quick Note: Create Silverlight Applications to Access SharePoint 2010 Data

  
In this exercise, you will learn how to create Silverlight applications to display SharePoint 2010 lists inside DataGrid controls.

Quick Note: Create Silverlight Graphs with SharePoint 2010 Data by Using LINQ

  
In this exercise, you will learn how to create Silverlight applications to retrieve SharePoint 2010 list data using LINQ.

Creating Custom SharePoint 2010 Field Types and Controls with Visual Studio 2010 and Silverlight 3

  
Learn how developers can create rich experiences in SharePoint Server 2010 publishing sites using Microsoft Silverlight 3.

Video: SharePoint 2010: Silverlight Client Object Model

  
In this video you will learn how to use the SharePoint client object model to program a Silverlight application against SharePoint data. (Length: 9:03)

Module 8: Creating Silverlight User Interfaces for SharePoint 2010 Solutions

  
SharePoint 2010 integrates closely with Microsoft Silverlight to enable you to build compelling user interfaces that interact with SharePoint data.

Video: Consuming SharePoint 2010 Objects and Data in Silverlight Applications

  
This video provides an overview of how to build Silverlight applications that access SharePoint data. (Length: 3:50)

Video: Hosting Silverlight Applications in SharePoint 2010

  
This demonstration shows how to host a Silverlight Application in a Web Part. (Length: 4:17)

Video: Building Silverlight Web Parts from SharePoint 2010

  
This demonstration illustrates how to pass parameters from SharePoint to a Silverlight application hosted in a Web Part. (Length: 6:35)

Video: Rendering SharePoint 2010 Data in Silverlight

  
This demonstration shows how to render file data from SharePoint in a Silverlight application. (Length: 6:12)

Video: Rendering SharePoint 2010 Media Files in Silverlight

  
This demonstration illustrates how to render SharePoint media files in a Silverlight application. (Length: 11:28)

Video: Developing Silverlight Applications by Using the SharePoint 2010 Client Object Model

  
This demonstration shows how to use the client object model from a Silverlight application. (Length: 11:15)

Video: Accessing SharePoint 2010 Data in Silverlight by Using CAML

  
This demonstration shows how to use the client object model and CAML to access SharePoint data in Silverlight applications. (Length: 6:39)

the problem of silverlight sildeshow webpart in sharepoint

  

I added this silverlight sildeshow webpart (http://www.sharepointevolved.com/blog/Lists/Posts/Post.aspx?List=0586f39d%2Dc3f2%2D4f6c%2Db61f%2D2a33a3fcd95c&ID=27) which  customized a SharePoint data form web part with XML and XSLT to my sharepoint site which uses Active Directory authentication. it looks great (I published the webpage). but after I logout the system account, and login as my regular account with Read permission. the silverlight webpart can't show up. I check the permission of the Picture Library. there is no problem. I can see the pictures in the Picture Library with my regular account.
Anybody has the same problem? how to fix it?

Thanks
Sean


the problem silverlight sildeshow webpart in sharepoint

  

I added this silverlight sildeshow webpart (http://www.sharepointevolved.com/blog/Lists/Posts/Post.aspx?List=0586f39d%2Dc3f2%2D4f6c%2Db61f%2D2a33a3fcd95c&ID=27) which  customized a SharePoint data form web part with XML and XSLT to my sharepoint site which uses Active Directory authentication. it looks great (I published the webpage). but after I logout the system account, and login as my regular account with Read permission. the silverlight webpart can't show up. I check the permission of the Picture Library. there is no problem. I can see the pictures in the Picture Library with my regular account.
Anybody has the same problem? how to fix it?

Thanks
Sean


silverlight sildeshow webpart in sharepoint

  

I added this silverlight sildeshow webpart (http://www.sharepointevolved.com/blog/Lists/Posts/Post.aspx?List=0586f39d%2Dc3f2%2D4f6c%2Db61f%2D2a33a3fcd95c&ID=27) which  customized a SharePoint data form web part with XML and XSLT to my sharepoint site which uses Active Directory authentication. it looks great (I published the webpage). but after I logout the system account, and login as my regular account with Read permission. the silverlight webpart can't show up. I check the permission of the Picture Library. there is no problem. I can see the pictures in the Picture Library with my regular account.
Anybody has the same problem? how to fix it?

Thanks
Sean


Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend