Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7029235
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T00:30:43+00:00 2026-05-28T00:30:43+00:00

I am working on visual web parts. I created a sharepoint project in VS2010

  • 0

I am working on visual web parts. I created a sharepoint project in VS2010 and added one visual web part to it.Built this and deployed.I am able to see the web part added and I can drag that to any page on site.

Now I created a new solution redirecting to same site (site to which first solution was pointing). Added one visual web part to it.Built this and deployed too.now when I see the site though I can add this new webpart to the page but the webpart added from previous solution are throwing error.

Web Part Error: A Web Part or Web Form Control on this Page cannot be displayed or imported. The type TestWebPart1.Testwebpart.Testwebpart, TestWebPart1, Version=1.0.0.0, Culture=neutral, PublicKeyToken=02dc69d4b9065085 could not be found or it is not registered as safe.

Looks Like I can not work with more than one solution for a single site. May I get the reason for this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T00:30:44+00:00Added an answer on May 28, 2026 at 12:30 am

    This usually means your webparts assembly isn’t registered among the safecontrols in the sharepoint web.config OR that you didn’t create a strongly typed assembly

    To register in safecontrols

    To fix open your web.config located in the iis root site of your sharepoint server, usual path is something like

    c:\inetpub\wwwroot\wss\VirtualDirectories\80\web.config

    Add the following in the <SafeControls> section

     <SafeControl Assembly="TestWebPart1.Testwebpart.Testwebpart, TestWebPart1, Version=1.0.0.0, Culture=neutral, PublicKeyToken=02dc69d4b9065085" Namespace="TestWebPart1" TypeName="*" Safe="True" AllowRemoteDesigner="True" />
    

    Signing assemblies

    http://msdn.microsoft.com/en-us/library/ms247123(v=vs.80).aspx

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am working on sharepoint 2010. I have created a simple visual web part
I've created a working Visual Studio 2008 web setup project that builds an MSI
I am working in a Web Project in Visual Studio 2008. When I hit
I am using sharepoint 2010 and developing a visual web part. I had javascript
I search the web a lot when writing code. When working in Visual Studio
I'm working on a Web Application in Visual Studio 2008. For some reason the
I'm working on an old web application in Visual Studio .Net 2003 (yeeich) and
I'm currently working on a small web application using Visual Studio 2008 Express. I'm
When working with Visual Studio and adding a reference to a project you are
I'm working in Visual Studio 2005 and have added a text file that needs

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.