Results 1 to 4 of 4

Thread: Silverlight Webpart: Unsafe error

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2009
    Posts
    2

    Red face Silverlight Webpart: Unsafe error

    Hi All,

    I followed the tutoiral on the forum and also made web.config entry but still facing the error saying "web part or web form control on this page cannot be displayed or imported .The type is not registered safe" Please help

    Thanks,
    Sharada

  2. #2
    Frenzied Member MattP's Avatar
    Join Date
    Dec 2008
    Location
    WY
    Posts
    1,227

    Re: Silverlight Webpart: Unsafe error

    Care to elaborate a little? Link to tutorial? Entry made to web.config?

    Using my crystal-ball I'm going to say you have a namespace issue.

  3. #3
    Frenzied Member
    Join Date
    Jul 2008
    Location
    Rep of Ireland
    Posts
    1,380

    Re: Silverlight Webpart: Unsafe error

    I would second that but I need the c0d!

  4. #4

    Thread Starter
    New Member
    Join Date
    Nov 2009
    Posts
    2

    Re: Silverlight Webpart: Unsafe error

    Hi Matt and Dean,

    Here the the link to the post i used to code http://www.vbforums.com/showthread.php?t=557072

    i am using VS 2008 and when i right click and say deploy it does deploy the webpart but does not make any entry in the web.config file.

    I did the step manually and here is my entry

    <SafeControl Assembly="SilverlightWebPart.VBNETExample.WebParts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=be1dea4626f9783c" Namespace="SilverlightWebPart.VBNETExample.SilverlightControls" TypeName="SilverlightControlPanel" Safe="True" />

    still no luck

    Thanks,
    Sharada

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width