Need help installing

Sep 21, 2010 at 8:40 PM

I'm fairly new to Sharepoint administration (I'm an IT Manager, not a Sharepoint specialist) and am working on a project in Sharepoint. Sorry if this is a silly quesiton! This search web part seems exactly what I'm looking for, but I'm having trouble figuring out how to install it. I first didn't see the setup.bat download and used stsadm to add and deploy the solution globally. I couldn't figure out how to add the web part to my page, though. I then saw the setup.bat file and downloaded and ran it first with /uninstall, then with /install. I got the following:

Validating the content of solution AMFilteredSearch.wsp ...

Adding solution AMFilteredSearch.wsp to the SharePoint ...

Operation completed successfully.

Deploying solution AMFilteredSearch.wsp ...

The Web application at http://localhost could not be found. Verify that you have
 typed the URL correctly. If the URL should be serving existing content, the sys
tem administrator may need to add a new request URL mapping to the intended appl

Activating feature AMFilteredSearch ...

Feature '0baaa6fa-4f6f-411e-9b70-db6e3893ac37' is not installed in this farm, an
d can not be added to this scope.

Hit enter key to quit.

I hit enter and checked in Central Admin and the solution was added, but not deployed. I manually deployed it again, this time only to the site I wanted. I still can't figure out how to add the web part to my page. I'm sure this is something simple that I just am missing. Can you help?

Sep 22, 2010 at 5:38 AM


Hmm. Not sure whether the problem you're seeing is related to the prior attempt to use stsadmn or not. The Setup batch file just automates the use of STSADM anyway. You can change the site URL in the batch file, but I've never needed to. You can also use the options /siteurl and /weburl to override them (open a command prompt window and just type "setup /help" to get a list of command line options).

If you are sitting on the SharePoint server machine, what happens when you bring up a browser and point it at "http://localhost"? Do you get your default root site of your site collection?

If the web part has been successfully deployed to a particular site, it should be in the list of web parts you get when you edit page -> Add a Web Part (to a zone). It should appear under "All Web Parts" and a subcategory of "Angry Man Software".

Sometimes in the past when things have gone wrong (because I didn't know what I was doing) I've had to manually remove the assembly from the GAC (if it part-installs - SP doesn't think it's installed so can't remove it, but it exists in the GAC so there's a conflict if you try to re-install it). I would try to uninstall it as completely as you can, then check the GAC (it's likely to be in C:\Windows\Assembly\GAC_MSIL\AMFilteredSearch) - note that you can't get to the GAC using File Explorer. Use a command prompt to get to it.

Let me know how you go





Sep 22, 2010 at 3:20 PM

Thanks for the quick response! This helped. Although going to http://localhost did take me to my default site, I had to modify the setup.bat file and replace localhost with the path of my default site. Once I did that and uninstalled and reinstalled, I now see it as a web part.

Sep 22, 2010 at 10:34 PM

Excellent - good news.

Don't forget to post with any feedback you might have about the web part!