Welcome to Office & SharePoint Pro Sign in | Join | Help
in Search

SUBSCRIBE to Windows IT Pro Magazine & SAVE 30%      FREE Email Newsletters Vista UPDATE, Windows IT Pro UPDATE & More

In Wss 3.0, Unable to add selected web part(s). Cannot import WebPart1

Last post 04-16-2008, 9:23 PM by rewood. 1 replies.
Sort Posts: Previous Next
  •  02-27-2008, 9:41 AM 29331

    In Wss 3.0, Unable to add selected web part(s). Cannot import WebPart1

     Hi,

    I am new to WSS 3.0 but i worked in WSS 2.0. Created some basic web parts including connectable web parts.

    I created a simple "Hello World" web part. I created a Strong Key for that and compiled it. After that i copied that dll into "C:\Inetpub\wwwroot\bin\"  folder. I coiped that "WebPart1.webpart" file into "C:\Inetpub\wwwroot\wppack\"  folder. I have added the SafeControl Information with its public key. And opened the Sharepoint Site and try to see web part collections list. But it doen't show my web part. So i "Browse" the "WebPart1.webpart" file from my source page and try to import the web part at that time i am facing "Unable to add selected web part(s). Cannot import WebPart1" issue.

    After that i pasted the dll in "C:\Prog Files\Common Files\Microsoft Shared\Web Server Extensions\12\ISAPI" folder and try to pull the web part to my site. Eventhough i am facing the same issue.

    Now i registered the dll in "GACUTIL", but no use.

    I am using the below mentioned configuration.

    Windows Server 2003 Prof Edition.

    Visual Studion 2005.

    WSS 3.0

    Sql Server 2005 Management Studio.

    Config DB is in MS##EE

    Content Db is in SQLEXPRESS.

     

    Any one please help.

     

    Regards,

    B.N.Prabhu.

  •  04-16-2008, 9:23 PM 29543 in reply to 29331

    Re: In Wss 3.0, Unable to add selected web part(s). Cannot import WebPart1

    Hi,

    In WSS 3.0 , you can add web part without having to create *.webpart or *.dwp first. WSS 3.0 will do it for you on the fly. I saw some missing action from your steps,

     1. Deploy *.dll to bin of web directory (done)
     2. Add SafeControl to web.config of the web (done)
     3. Add web part to web part collection <=== (not done)
     4. Try to add web part to page <== error

    To add web part to web part collection you need go to "Site Action" | "All Site Settings". Then go to web part collection gallery. Or "**_catalogs/wp/Forms/AllItems.aspx" for your short cut. (replace ** with url of SharePoint site).

     Regards,

     Riwut Libinuko
    -htto://www.plasmedia.com-
    *please rate me, if this post is helpful


    Best Regards,

    -Riwut Libinuko-
    SharePoint Architect, Singapore
    cakriwut@gmail.com
    Filed under: ,
View as RSS news feed in XML
SPONSORED LINKS FEATURED LINKS

SharePoint Security SimplifiedHaving trouble with Permissions in your SharePoint environment? Check out USPM v2007® Order Your Fundamentals CD Today!Get up to speed quickly and learn how to uncover rich information management and deployment capabilities with this free SharePoint CD. Simplify Content Migration for SharePointEase the job of SharePoint migration and ongoing site maintenance. Michael Noel outlines your migration options in this white paper. Download today! Prepare Yourself for Exchange CatastropheRead this white paper to learn how you can keep Exchange server healthy, as well as predict and respond to server failure. Featured eBook - Fundamentals of Fax Server TechnologyTake advantage of the benefits of fax servers and find out how you can implement a solution that is easy to support, secure, and integrate. Dramatically Accelerate Microsoft SharePointDeliver unimpeded access to SharePoint - Learn how to fix more than just the symptoms of slow application delivery and poor performance. Protect Your Company’s Digital AssetsDo you know the risks of sending important files over email or FTP? Read this white paper to learn what you can do to safeguard your company’s data. Boost Customer Confidence and SatisfactionRead this eBook to learn how fax servers can ease communication with less computer-savvy customers while reducing your security, compliance, and support woes. Implement a Successful Archiving SolutionView this web seminar to learn the best practices for creating an email archive that is secure, compliant, and searchable.