I am trying to deploy SharePoint web parts that are based on a SharePoint project developed beforehand. I deployed them using a .bat and .ps1 files, running the former from command prompt. I've been getting a few weird errors with this. The first time I deployed, it was a success. But when I couldn't find the web parts, I decided to redeploy and.....
- When I use command prompt, it tells me that the .wsp solution file was deployed. But when I double-click the .batch file, it says only a machine admin can run the cmdlets specified in the file.
- When I "run as admin", it complains that the batch is not pointing to a .wsp.
- A more consistent "error" is that the command prompt simply stops when it reaches the "Deploy Solution" command.
So if I can't find the web parts after deploying them, then what should I do? Continue hunting them? Redeploy? If the latter, then what should I do to avoid it freezing at the deploy command?
Note: After I change my .wsp solution file into a .cab file, I discovered only one of the webparts I made is in the solution. How do I get all of them in one solution?
Additional Note: I think one other problem is that the Feature is not installed. When I look at Central Administration, it says there is a feature, yet when I pour through the files in Web Server Extensions/14, I find nothing. What happened?