How to integrate sharepoint web part? - sharepoint-2010

I am new to SharePoint development.
I have download a '.wsp' file which resides in C:\SlideShow.wsp I want to use this file in my site as web part. I searched over the internet to integrate it and found many solution to do so through power shell script using the command.. Add-SPSolution -LiteralPath but it is not working in my case.
I executed this commannd `Add-SPSolution -LiteralPath "C:\SlideShow.wsp" but it gives error..
How do I integrate it?
Please help.

Go under the Page where you want to add it: Settings->Site Settings->Solutions->Upload Solution
Or with Powershell
Make sure:
Started SharePoint 2010 Manangement Console
Started it as Administrator
For Farm solutions use:
Add-SPSolution C:\SlideShow.wsp
For Sandbox solutions use:
Add-SPUserSolution C:\SlideShow.wsp

As Mark says you have to enable web part from Site collection Features , But it should be automatically enabled , FYI whenever creating a web part in VS2010 please check that you are referencing your web part to SP2010 site other wise SP will not consider it in its trusted zone(Safe Control) , If you are still unable to locate your web part register your DLL in GAC . Sharepoint will consider it as a Safe control .
--Sorry for short answer ,,Please let me know if it works .

Related

Move Access Web Database to Another Sharepoint Site

I have an Access web database (the out-of-the-box Project one) and plan to move to another Sharepoint site (a test server). I have done lots of googling and nothing comes up. Any pointers will be greatly appreciated.
Thanks.
After some trials and errors, I figured out how to do that. First open the Access web db in Access client. Then go to Publish & Save, where you should see an option Save As Local Database. Then open the local database, again go to Publish & Save, you can choose to Publish to Access Services. A pane will appear to let you enter the URL of Sharepoint server and site name. If you have customizations or lots of lookups, there's a good possibility it will not publish. If that's the case, you just need to fix all the errors reported.
I was able to move my Access 2016 app to a new Sharepoint Site by saving it as a .app and uploading it to the new site.
I found this link to Microsoft's site helpful: Create an Access app package

sharepoint workflow solution not working

i have made a sequential workflow in visual studio 2010.
the workflow is working fine on me local machine. i have packaged it to a solution and uploaded it to our intranet. using site settings solution and then add solution and activate it. when i go to site features i don't see me solution and it's not working on the list i have made it for. anyone knows how to fix this ? i'm using sharepoint2010 foundation.
the language i have made it in is english and the site where im trying to install it is Dutch.
thanks in advance.
Check that the workflow is published.
This link may also be of help. There is a slight chance your problem might have to do with localization issues.

Why can not I create a Sharepoint project without a local URL?

I'm trying to create a EventReceiver project in Sharepoint 2010 Templates, but VS always ask me to pass a valid local URL of a Sharepoint Site. Without a Sharepoint Site the project is not created. Why?
Why if I want to create the project and use it direct in production without local tests?
This is a requirement of VS development for share point -- you need a local install of the sharepoint foundation server. It is a free download.
But if you question is more along the lines of "Why make this a requirement", I don't know ;). You can still have a sandbox server to deploy to.

sandboxed web parts inside SharePoint 2010

Is it possible to develop a web-part in ASP.NET (framework > 2.0), to have a sandbox architecture, and deploy those web parts inside Share Point 2010 and/or MOSS 2007
we donot want to use any SharePoint dll reference with web parts we develop.
we refer to the url, section at http://msdn.microsoft.com/en-us/library/ee539417.aspx (section Web Parts in Sandboxed Solutions)
i referred the following How Tos, hope it helps some one ..
http://blah.winsmarts.com/2009-12-SharePoint_2010_Sandboxed_Solutions__The_basics.aspx
_http://www.sharepointdevwiki.com/display/sp2010/SharePoint+Sandboxed+Solutions
_http://www.endusersharepoint.com/EUSP2010/2010/04/05/introduction-to-sharepoint-2010-sandbox-solutions-for-site-collection-owners
I've just hit this problem - looks like it's not meant to be possible which is really annoying.
See: http://msdn.microsoft.com/en-us/library/gg615454.aspx
Specifically:
Application pages, mobile pages, and user controls (.ascx files) cannot be deployed in a sandboxed solution.
However, there is a workaround (hackaround!) here:
http://stefan-stanev-sharepoint-blog.blogspot.com/2010/02/visual-sandbox-web-parts-possible-after.html
I'd love to have a better way!

RIA: "Use local IIS Web server"

I know I've had this problem when I started working with Silverlight, but I can't for the life of me remember how to fix it.
I created a new RIA service application using the standard tutorial, added a table from the database and added a grid to display the results. Works great. Now I pull open the Web properties and change the web project to "use local IIS Web server". Suddenly the application will load up and give me the friendly "NotFound" error.
Please, someone remind me what I'm missing here.
I ran into this problem recently, and resolved it with help from this post on the silverlight.net forums.
Basically, I had Windows authentication and annonymous access enabled at the same time, and I need to disable windows authentication and restart IIS.
John
Not sure what the missing part is but I always start with Fiddler as will show the messages going across the wire. The actual messages can contains far more useful that the browser is hiding from the Silverlight plugin