sharepoint

Is it possible to allow users of a SharePoint blog to comment, but not create posts?

By exploring the permissions, there seems to be no distinction between a comment and a blog post. I can set users as contributers which allows them to comment and means their posts require apporval. But I would like to stop them from being able to create a post even as draft. Many thanks ...

Windows Identity Foundation in SharePoint 2007

Hi, I've been reading about SharePoint 2010's Claims based authentication support. At this point, my shop has several clients who may not upgrade for a while, however. In making our other services claims compatible, we're wondering if claims based authentication is realistic without a great deal of reworking of existing code in our 20...

Add new Css Style in SharePoint Designer

I am trying to customize one field of a discussion forum in SharePoint, basically i want to resize (maker bigger) the body Field. I think this can be done applying a new css specific to that field but i am not sure how to do this, becuase it's seem that some other css are overlapping the one that i created and that’s why mine is not a...

Problem extending webapplication sharepoint

I have extended a webapplication in a farm. main server vsmoss1 where i did vsmoss1 ->webapplication(80) vm.com -> extended web app(of above one)anonymous WFE server name vsmoss2 WFE server name vsmoss3 i have load balanced it to go to vsmoss2 and vsmoss3 when someone hits vm.com when i hit vm.com it works fine without authenticati...

How to detect which Windows account is running a .net application?

Hi, I'm writing a sharepoint web part. It writes logs into a file (by using StreamWriter). However, logs are written only for users whose accounts are administrators on the server hosting the web part. I want to detect which account (probably not by using SPUser) is executing web part's code, so that I can have logs generated for less pr...

Authenticated user cannot log in, "The user does not exist or is not unique."

This is a weird one. I have a WSS3 site, no MOSS, with a custom membership and role provider that authenticates against CRM. All the users have also been added to the site user list so once logged in they have correct display names. On dev and stage everything works fine, but on UAT the users can't get past the login screen. The login ...

SharePoint: Can't Connect to a Configuration Database When Using Configuration Wizard

Hello everyone. I wonder if you could help me with the following problem: We have a SharePoint farm consisted of two servers with an NLB (a load balancer), a database server and an index server (4 servers in total). The issues initially appeared when we were trying to change Search settings via Shared services provider and an error was ...

Getting the GUID for any given path to sharepoint.

Hey, I'm trying to get the GUID of a given sharepoint URL. I don't mind using the API or the webservices or Sharepoint's database. if i were to write a function, it's signature would be: //get a GUID from path. string GetGuidFromPath(string path){} I had a lead: SPContentMapProvider but it doesn't seem to get the right info. Thank yo...

SharePoint SLK and T-SQL xp_cmdshell safety

I am looking into a TSQL command called "xp_cmdshell" to use to monitor a change to a the SLK (SharePoint Learning Kit) database and then execute a batch or PowerShell script that will trigger some events that I need. (It is bad practice to modify SharePoint's database directly, so I will be using its API) I have been reading on variou...

How to get Date and current time from the Date/Time column in SharePoint Custom list

I have column called "Date Submitted" as Date/time in one of the Custom list in sharepoint 2007. it always set to today's date and 12AM time instead of that I want to display today's date with current time hh:mm:ss. I tried creating calculated column TestDate and formula is : =TEXT(([Date Submitted]),"mm dd yyyy h:MM:SS") result is 04...

Sharepoint with Team Server Task States

Hi all, i wish to add a series of task states to sharepoint w/ team server, however i cannot seem to find the screen to do so. Any help would be great! Thanks! ...

Hyperlink to Document Library by Id?

In Sharepoint 2007, when linking to a folder or file in a Document Library, the url is long and cumbersome. Is it possible to link by the ID field? e.g., http://domain/path/doclib/Forms/AllItems.aspx?ID=275 ...

Sharepoint Reports in Sharepoint Designer - Do stats include sites below the selected one?

I am looking at Reports in Sharepoint Designer, and I cannot seem to find information on whether the top-level report contains usage information for all its sub-sites, or just the site itself? TLDR; does Sharepoint Designer Reports data show information for all sub-sites as well? ...

problem with pagestate when two links in aspx page

I have two links in my aspx page. one link "A" when i click it ...it is downloading some document when i click it other link "B" when I click it ....it redirects me to some other page. Both links triggers function from code behind. Both links works fine when i first come onto page but when i click A it shows me message to download it "...

Remove the blank item from ListBox

Hi all The ListBox/Dropdown list use a external datasource(sharepoint list) as a datasource to populate the items. But there is one problem, the first item is a blank item, can we remove it? Best Regards, ...

QuestionAdding a 'Flag as Inappropriate' flag to comments on a SharePoint blog

Hi All, I am sorry if this has been asked before, but a google search of stackoverflow didn't find anything relevant. We are about to pilot blogging within our organisation and as part of compliance we require every comment left on a blog to have a link associated with it for users to flag the comment as inappropriate. My thinking is ...

Sharepoint Sites

Hello, Is it possible to make a site "Home" in MOSS2007? For example, when i enter my Sharepoint portal, i see two tabs on top: Home | Just a Site I want to delete the site under Home and set "Just a site" as default site (or Home?). Thanks. ...

Strange behavoir of RunWithElevatedPrivileges in Console Aplication with FBA

Hi 1. I have a named site collection where FBA is on und i use ActiveDirectoryMembershipProvider. 2. We have a farm administrator domain\administrator. He is not explicitly sitecollection administrator. I created a sample console application that I run under the domain\administrator account. In the code is something like that: ...

Uploading file with metadata

Hi Could you help me for how to adding a file to the sharepoint document library? I found some articles in net. but i didn't get the complete concept of the same. Now i uploaded a file without metadata by using this code. if (fuDocument.PostedFile != null) { if (fuDocument.PostedFile.ContentLength > ...

problem in sending document when I click cancel

I have a link in aspx page and when i click on it,it shows a popup: open,save,cancel but when i click cancel on that aspx page no other link works on that page. code so far: protected void method1() { byte[] byterendered = _Filename.OpenBinary(); Response.Clear(); Response.ClearHeaders(); ...