Sample 2 – Silverlight Media Viewer Web Part

Oct 30, 2008 at 10:50 AM
hi ,
when i deployed Silverlight Media viewer web part
1. it showing me blank white screen

then i created my own silverlight webpart
and tried to access sharepoint data using HttpWebRequest
but when i deploy this web part it exist in application_exit.
is it any credential's issue?

please reply for handling this issue
Oct 30, 2008 at 10:54 AM
when i tried same code in aspx page and deployed in separate website its working fine
while when i deploy the aspx page under sharepoint site its giving me error :
Request for the permission of type 'System.Net.WebPermission, System, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

my scenario i want to create silverlight webpart having data from sharepoint list.
and whenever user access this webpart there may be server postback to get more data

please reply for handling this issue