sharepoint2007

SharePoint Console Output

I made a class library, and put it in GAC. It has one C# code file, and I put a Console.WriteLine() statement in. When I run the Feature, where would I see the output from this statement? ...

C# Read Sharepoint List - Without Automagic

I need to complete a very simple application. We want to archive some Sharepoint Lists at work to a SQL Server so that another application can run some analysis on them. However every tutorial I can find gives the Automagic "First connect by right clicking the references and selecting "Add web reference"... I can't use that method b...

Sharepoint: Site List not showing??

So I have site list on certain pages that basically just have links to other pages. I have a group that has contribute( Can view, add, update, and delete) access to the site and they can't see any of the links in my site list. They only are able to see the links when I give the group design( Can view, add, update, delete, approve, and cu...

SharePoint reversing output in log files

Is there a way to have the most recent entries on top of the file instead at the end of the file, like a descending order by timestamp? ...

SharePoint writing to log file

Should this be as easy as Trace.WriteInformation() in a C# file that is in a class library in the GAC? ...

Sharepoint: authenticating users via forms authentication

My problem is the following(sharepoint Newbie) , i want to change the default zone from being a Windows Authenticated Zone to a Forms Authenticated Zone ,thereby forcing the site collection administrator to log in via forms authentication and not windows also the sharepoint users will be accesing the site internally my goal is to effecti...

How to update Properties of Uploaded Documents on Sharepoint using Web Services ?

I am trying to Update/Edit Properties of Uploaded Document on Sharepoint 2007. My code: Lists listService = new Lists(); listService.PreAuthenticate = true; listService.Credentials = new NetworkCredential(username,password); listService.Url = "http://myserver/SiteName/_vti_bin/lists.asmx"; string strBatch = "<...

How to customize Export to Spreadsheet Sharepoint feature?

Does anyone know if it is possible to customize the Export to SpreadSheet feature in the Sharepoint 2007 lists? By customization I mean for example that defining the columns that should be included, or defining a custom template for the resulting excel file (by default it has blue background, how to make it red??). I know that an .iqy fi...

SQL Server - Timed Out Exception.

We are facing the SQL Timed out issue and I found that the Error event ID is either Event 5586 or 3355 (Unable to connect / Network Issue), also could see few other DB related error event ids (3351 & 3760 - Permission issues) reported at different times. what could be the reason? any help would be appreciated.. ...

Issue with SQL Stored procedure.

I could see the below entries in the ULS log 02/08/2010 14:36:46.12 w3wp.exe (0x15F4) 0x18A0 CMS Publishing 8x0a High AppDomainUnloadListener.RegisterSelf() entered lock(this=15368010) 02/08/2010 14:37:25.59 w3wp.exe (0x15F4) 0x1744 Win...

SharePoint site pages vs. application pages

I'm learning the difference between these to concepts. I want to build a public Sharepoint site, and is one better than the other for this use, or is it too general of a question? ...

SqlException & Timer Job.

I found the below ULS Log entries, Timer job (OWSTimer.EXE) is causing this however would like to know the name of the Timer-job, how can i achieve this? (without enabling verbose logging) System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The...

Sharepoint Lists.asmx: remove "ows_MetaInfo" field from GetListItems method response xml

Dear All, The following question was posted in other forum, but there was no response, I am facing the same problem and I think it will get some answers here : Question : I am making use of the SharePoint 2007 GetListItems web service to programatically retrieve all documents within a document library. However, my program is throwing ...

SharePoint 2007 - Current Timer jobs?

How to find the currently running SharePoint 2007 Timer jobs using STSADM? ...

SharePoint - Unable to complete this operation. Please contact your administrator

When I try and save something to my list in SharePoint I get the following error: Unable to complete this operation. Please contact your administrator. at Microsoft.SharePoint.Library.SPRequestInternalClass.PutFile(String bstrUrl, String bstrWebRelativeUrl, Object varFile, PutFileOpt PutFileOpt, String bstrCreatedBy, String bstrM...

Howto I get the user domain\username and Display name From SharePoint People Picker InternalId?

I have been trying to user sharepoint designer to retrieve the user's full name and even the domain\username from the people pucker field but the problem is I tend to get numbers. It looks like the intetrnal Id. In my case I am getting 14 instead of domain\username from the list form's field. Any idea on where I can get the dmain\userna...

Audience Targeting in FullTextSqlQuery

I am trying to perform a search for documents within a SharePoint site, but I need to apply audience targeting to the results before they are displayed to the user. I am however struggling to either (a) retrieve the target audience settings within the original query... using (SPSite site = new SPSite(SPContext.Current.Site.ID)) { u...

Can you open an SPSite object while being within a different site collection?

I'm working on creating a common navigation experience across two site collections in MOSS 2007. I've looked around for various solutions and haven't found anything that fits. Our navigation is dynamic and driven by a number of factors, including audience targeting. Most of what I've found relates to having static XML and that just wo...

Cannot debug when logged in as a user other than the administrator

Hi all I have acustom sharepoint page. on my machine I can debug the code normaly by attaching to the w3p process when I'm logged in as the administrator user. when I log in with another user and try to debug I always get access denied page in the sharepoint and the dubug exists. is there a way to debug the code while logged in with ...

Identify Sharepoint Site

How can we know that a site is a Sharepoint Site? ...