Deploying the Return of the SmartPart

To deploy the Return of the SmartPart to your SharePoint 2007 environment, you have two possibilities:

  • Automatic deployment using the SharePoint Solutions Framework
  • Manual deployment by copying and editing a couple of files

Deploying using the SharePoint Solutions Framework is probably the best thing to do, taken into account scalability and manageability. You can find the complete installation guide in the redistributable which you can download from the GotDotNet workspace (in the Releases section).

You can also watch a screencast which shows you both installation methods:

18 Comments

  • Dear Sir,

    It is a very nice idea and I hope it is very useful.

    Yours faithfully, SeyedMohammadHossein Mayboudi

  • I'd like to use a smart part to load an object. Can your smart part do this? The specific object is the OWC version 11. With ordinary web parts, i'd load the object like so response.write("<object clsid... however that object is disabled in sharepoint. I'm looking for a solution to this.

  • Can you please tell me where can i find the resource for hosting an usercontrol on sharepoint using your control which has a code behind file.

  • Why are you doing the return of smartpart with the son of smart part doesnt work?

  • Thanks for the screen cast, very useful!

  • @Natha,

    This tripped me up too, but you need to deploy a folder called "UserControls" to the base wwwroot folder of your sharepoint site (where the web.config lives). once there the WP will read from that location and list any User Controls (ascx) files in the folder.

  • I just wanted to thank all the folks that worked on SmartPart as well as the AJAX SmartPart. Jan this must have been a lot of work so thanks again for shring this great piece of work with us!

  • Our server admin (with admin rights on the server) cannot drag and drop the ReturnOfSmartPart.dll into the GAC, or run the GACUTIL. THe Assembly directory appears to be marked as ReadOnly. We can "uncheck" the ReadOnly attribute, but it resets itself. Anyone run across or solve this?

  • It looks like GotDotNet workspace is going out of business. Does anyone know where I can download a copy of the Return of the SmartPart?

  • I have it long ago. I can send it to u, if u still need it.
    I have a question here: I need to use the smartpart to embed an InfoPath 2007 form. Any idea how to do that???????

  • I am interested in testing this as well but GotDotNet no longer
    has it. Can someone email me a copy please?

    ultragc@hotmail.com.

    Thanks in advance.


  • I am getting an error that someone else asked about earlier.

    "I am getting this Error once i deployed the Return of smartpart
    Error: unable to load ~\/UserControls\HelloSmartPart.ascx
    Details: The file /UserControls/HelloSmartPart.ascx does not exist.

    I do have the Dll registered to GAC and Created a folder "UserControls"."

    Has anyone figured this out or know how I can fix this?


  • > I am getting an error that someone else asked about earlier.
    > "I am getting this Error once i deployed the Return of smartpart
    > Error: unable to load ~\/UserControls\HelloSmartPart.ascx
    > Details: The file /UserControls/HelloSmartPart.ascx does not exist.

    > I do have the Dll registered to GAC and Created a folder "UserControls"."

    > Has anyone figured this out or know how I can fix this?

    I had the same problem and solved this through the SharePoint Central Administration by Retracting the solution and then Deploying it again.
    (Operations --> Solution Management --> returnofsmartpartv1_2.wsp : Retract Solution and Deploy)
    No "real" solution, but it worked for me.

  • It looks like GotDotNet workspace is going out of business. Does anyone know where I can download a copy of the Return of the SmartPart?

    email address is vic3_success@yahoo.com
    vic3_logic@hotmail.com

    Please, kindly help if any one has it

  • I'm having the same problem: Error: unable to load ~\/UserControls\HelloSmartPart.ascx

    I've tried retracting/removing the solution and starting over again but no luck. I would seem this "/UserControls" location isn't getting created. I'd simply make this location but I don't know if it is supposed to be a virtual directory, WSS list, or a folder in the file system. Any thoughts folks?

  • anyone got a solution for the unable to load ~\/UserControls\BasicDemo.ascx issue yet

  • You style of instruction was very easy to follow and at a nice pace. I'm in the process of testing it right now.

  • anyone got a solution for the unable to load ~\/UserControls\BasicDemo.ascx issue yet?

    I have copied the dll to the bin directory and i have the ascx files in the User Control folder. It is still not working.

Comments have been disabled for this content.