sharepoint2007

Retrieve Details of Deployed Solutions in SharePoint using PowerShell

Hi, I need to retrieve the details of all deployed SharePoint solutions, as are displayed in the Central Administration > Operations > Solution Management (AKA the Solution Store), using a PowerShell script (v2.0). Can anyone offer any guidance on how to retrieve this information from the SharePoint solution store via the SharePoint AP...

Microsoft not disposing of their own objects?

EDIT: Server is MOSS 2007 Enterprise, running SP1 and all patches up to, but not including, SP2. SP2 is coming soon. In one of my SharePoint apps, I am getting this warning & stacktrace over and over (with different GUIDS): since it's only one of my apps, I assume there's something in my project's code, but SPDisposeCheck returns cle...

DNS and Http HOST header issue

Hello everyone, I am using SharePoint Server 2007 Enterprise with Windows Server 2008 Enterprise. And I am using publishing portal template. I have a physical server with a single IP address, and I have set in DNS to map two domain names (server1.mycorp.com and server2.mycorp.com) to the same server/IP address. My question is how to se...

MOSS 2007 Create Lookup Column but list is not in dropdown

I have create a list in sharepoitn and I am trying to add a column whih is a look up to another list. The list that I am trying to look up is a parent site to the site I a currentley on. I do not see the list that I wish to add in the drop down. Any ideas why this list is not apearing? ...

General Sharepoint Development Question

My company is rolling out Sharepoint 2007 Enterprise. I will not have admin access to the server. I will be given an account to use so I may make my departments website. Will I be able to use all of Sharepoint's features (workflow, searching, content management, developer level modifications) in the website I am building. Put another way...

Create Folder() Showing "<Result/>".But Folder are not getting created on Sharepoint.

Hi, i would like to create a folder in Shareopoint 2007 with c#. Using DWS Web Service. Code: dwsFolder.CreateFolder(@"Test_FormLib/myNewFolder"); If I use the program for the first time, i get the message: (No Error) the Second time, i get the message: AlreadyExists But i do not see the folder on my website!? What am I doing wro...

user profile issue with Forms Authentication and SharePoint

Hello everyone, I am using SharePoint Server 2007 Enterprise with Windows Server 2008 Enterprise. And I am using publishing portal. And I am using a custom Forms authentication solution -- I store user name and password in a custom (schema) SQL Server database. The database stores user profile information. I am developing using VSTS 200...

Adding html to CreateChildControls() method

I'm using MOSS 2007 in my webpart within my CreateChildControls() method I have the code below: protected override void CreateChildControls() { base.CreateChildControls(); Panel myPanel = new Panel(); myPanel.ID = "SelectionPanel"; this.Controls.Add(myPanel); this.myGridView = new G...

DWS CreateFolder() files are getting created on shareppoint "Style Library"

Hi, I am Creating folder on Sharepoint as: Dws ds = new Dws(); ds.Credentials = new NetworkCredential(Login,Password); ds.Url = "http://myservername/_vti_bin/DWS.asmx"; ds.PreAuthenticate = true; string strResult = ""; strResult = ds.CreateFolder("SiteName/Documents/NewFolderName"); I am getting strResult value as "RESULT" . Here Fo...

SharePoint Web part Shared settings

I am creating a webpart that connects to another server in order retrieve data. This webpart has some settings that are the same for all instances i.e. Username, Password, Url ... Is it possible to store those values in a common place so that I can change them in the future and every instances should be affected? It is important that the...

Error on AddWebPart (Sharepoint 2007)

Hi, I am trying to use the AddWebPartToZone web service call within Sharepoint 2007 to add a webpart programmatically to a webpart page. We get a soap exception (Microsoft.Sharepoint.SoapServer.SoapServerException). The webpart i am trying to add is the original version of the Chatterbox app found on codeplex. When i try and add a con...

Removing a moss 2007 sub-menu option

I'm trying to remove a drop down sub-menu option from the page editing menu in moss 2007. I'm using the following xml in my customeditingmenu.xml located in the masterpage gallery > Editing Menu. <?xml version="1.0" encoding="utf-8" ?> <Console> <structure > <ConsoleNode ConfigMenu="Delete" ChangedNodeID="saCancelAppro...

How do you add a Document programatically to a List in SharePoint?

I am using SharePoint 3.0 and I have an XML document that I am using in my application and I want to keep a history of the document so naturally I want to use a SharePoint Document List. How do I add the document diagrammatically to a List? Also Can I set permissions on it so that only admins can view/edit the document? ...

Is calling the SharePoint Web Services from a Silverlight application secure?

In a public internet scenario, is it possible to call the SharePoint Web Services from within a Silverlight application (hosted in the same site)? Is this secure? The SharePoint site is a public-facing one. ...

Accessing sharepoint web services in Silverlight app Error

I am currently trying to host my silverlight app on sharepoint in a content editor webpart. But keep getting the error "The remote server returned an error: NotFound". Is this a problem with the SL app not having access to the web service or something else? I have added the clientaccesspolicy.xml file on the root of the site using Share...

How to create folder in Sharepoint on specified url using web services?

Hi, Currently i am using DWS CreateFolder function to create folder on Sharepoint (using C#). But problem i am facing is that: As per CreateFolder Defination: http://msdn.microsoft.com/en-us/library/ms774480.aspx (Def: Creates a subfolder in the document library of the current Document Workspace site) It is creating folder in curren...

Nested MasterPage in SharePoint not working

I have a SharePoint 2007 Server and want to create a site with a nested Master Page. I created a new Master Page, test.master: <%@ Master MasterPageFile="~masterurl/default.master" %> <asp:Content ID="Content1" ContentPlaceHolderID="PlaceHolderMain" runat="server"> Test123 <b> <asp:ContentPlaceHolder runat="server" ID="Test...

SharePoint : the template you have choosen is invalid or cannot be found.

Hi, I have saved my site as a template in source site and uploaded it into the destination site. But when I go to create a site in the destination site using the uploaded site template, I get the error:the template you have choosen is invalid or cannot be found.Moreover i am not using any customized templates. Any help is appreciated...

Simplest way to Upload a document to sharepoint using web services

Hi, I want to upload to a Selected Document (from my system.I am having it's path with me). To a destination path on Sharepoint ( may be list or folder ). I am accessing sharepoint remotely using web services (C#). I read various solutions like by using CopyIntoItems method. But not getting proper example for it ( unable to pass parame...

Use PowerShell to Compare SharePoint User Meta Data in User Profile and User Information List

Hi, I came across a request on LinkedIn for a PowerShell script that was required to: Retrieve all users from the given SharePoint site-collection For each user, the script must retrieve the properties are common between "User Profile" and "User Information List" If any of the common fields between the two are different, the user name...