sharepoint

Using a ReceiveActivity in a Sharepoint Workflow

Hi, I've made my first little workflow in sharepoint and I am trying to access it from the outside using a ReceiveActivity. I have created a WCF svc file with <%@ ServiceHost Debug="true" Factory="System.ServiceModel.Activation.WorkflowServiceHostFactory" Service="SharePointWorkflow.MyWorkflow, SharePointWorkflow, Version=1.0...

Sharepoint create site navigation through programming

Hi All, I have a requirement in sharepoint where I want to Create the top link navigation based on excel file. Means The site navigation structure (along with parent site subsite under parent site) is mention in excel file. I need to read that structure and based on modify the navigation in sharepoint. Please can any one tell me is it ...

How to Check In Sharepoint Document without Adding Required fields using Web Services ?

I am trying to Update a document programatically where some of required fields are missing.(and we need to checkin document before updating) In order to checkIn document all required fields should be added. But problem here is that to add those required field i have to again Update the Document :( So is there any way: To CheckIn Docu...

Uploading Document in Chunks on SharePoint using Web Services with some MetaData

I want to Upload large file on Sharepoint.So i am uploading it in chunks. But i am unable to give meta information at the time of Uploading file. Is there any solution? ...

Implementing .NET Gridview with SqlDataSource - on edit exception

I'm trying to subclass the .NET 2.0 Gridview control and implement a custom Update to perform when "edit" is clicked; however I get the following cryptic error message: "An unexpected error has occurred." I'm trying to access our db logs to see if its failing there, but until i get access, i cannot debug the issue. Here are snippets of...

Correct way to enable autocomplete in SharePoint (Asp.Net) forms?

There is a problem in SharePoint (both WSS3 and WSS2) that item registration and edit forms do not have the "autocomplete" feature in Internet Explorer. That is, if you need the same value in some text field frequently, you have to type it manually. Internet Explorer does not provide you with drop-down list of values you have previously ...

Adding JavaScript, CSS and others to a WebPart using WSPBuilder

Hey there! So, I'm trying to do what I thought was a simple task... But I'm not getting anywhere... All I want to is to get some .js and .css files loaded by my WebPart. I'm using VS2008 + WSPBuilder. I've googled a lot about this but I couldn't find a decent answer. What I would like to know: Where in the directory structure should I...

Problem debugging web part on SharePoint 2010 beta and Visual Studio 2010 beta

I have created a "Hello World" web part. When I pressed F5 in Visual Studio 2010, I got the following error. I have already got Microsoft SharePoint Foundation User Code Service started. Can anyone shine some light on this? I do not see Microsoft SharePoint Sandboxed code service in my Central admin nor after running the powershell comm...

Error registering SharePoint WebDeleting event receiver in some environments

I am trying to register a WebDeleting event receiver within SharePoint. This works fine in my development environment, but not in several staging environments. The error I get back is "Value does not fall within the expected range.". Here is the code I use: SPSecurity.RunWithElevatedPrivileges(delegate() { using (SPSite elevatedS...

New sharepoint environment and data connection b/w sharepoint webpart does not work

I do not see any Connection Configure dialog popping up when I try connecting 2 webparts. I even tried using designer to connect webpart even though it gives me confirmation it does not appear to have been connected.... I am totally clueless. ...

How do create a Sharepoint 'Mash up' combining Document Library and Project Tasks?

I want to create a custom sharepoint site where I can use the 'Project Tasks' Template but additionally, allow users to attach documents to each task ah-la the Document Library template. How do I do this? do I need to use Sharepoint Designer? ...

Custom Terms of Use Page before login to SharePoint.

Hello I am using MOSS with ADS. I want to display Terms of Use page before the user can login into SharePoint with two button i.e. "Accept","Decline". If user select "Accept" he will be directed to sharepoint site, if not to our companies intranet front page. This will be applicable for the current session. ie. If the user has signed o...

crystal report not working in sharepoint

Hello all When i try to deploy crystal report application on sharepoint server i get the following error The vs2008 application works fine locally.But when it is deployed on sharepoint server it gives this type of error..Plz help Unknown Query Engine Error Error in File C:\WINDOWS\TEMP\EmpReport {C388758D-9AE2-4E60-A4D1-E18BFB6F3703}.rp...

Removing modifications from the web.config file with a path=configuration/system.web/compilation/assemblies

i did a feature that allow me to add and remove modifications to the web.config file. So i am able remove all modifications except those with a path equal to: configuration/system.web/compilation/assemblies and i don't know how to fix this. so any idea ...

WSS Web application and IIS Website differences

Can somebody explain briefly the differences between a "WSS Web Application" and a normal "IIS Website"? I have read that a WSS web application is a "special" IIS Website with WSS featured. I also know that the content of a web application is stored in an SQL Server Website(called the content database) whereas an IIS Website stores it on...

Sharepoint: Is there a maximum number of permission levels?

Hi, I get an error when trying to add a new permission level that due to a "contingency limit" I cannot add another permission level. I should delete an existing one and try again. (Sorry, no original error msg as this originates from a German WSS install, hence this is just a translation). There are about 1000 permission levels alread...

Sharepoint: Modify the versions of a file/item

Hi all Is it possible to manually add and modify the versions of a document using the object model? As example I want to be able to get the SPListItemVersion object of a document and modify its properties. It seems to me that all properties are read-only, so it is not possible to modify anything. Is there any workaround for this avail...

Testing Sharepoint 2010 Beta

Hi, I have a Virtual Machine with MOSS 2007 (Enterprise), VS2008 and SQL 2005. I want to start exploring 2010. I need to know what I need to get started. Can I donwload 2010 beta from Microsoft Site? Can I just install it without any conflicts with existing setup? Thanks. ...

Commonly Used Hidden Lists or Objects

What are few commonly used Hidden Lists and Objects that we should know of in Sharepoint? ...

Why do I need to create Mutiple SSPs

Why do I need to create Multiple SSPs in MOSS? My manager (sharepoint administrator) asked me to create another SSP which he wanted to use for TOP Management users. He didnt tell me what was the reason for it. I was wondering what all scenarios we need to create Multiple SSPs. Any ideas? ...