sharepoint2007

How can I automate the process of deploying an InfoPath Form to SharePoint Server 2007?

It is a real pain to deploy my InfoPath 2007 Forms from the designer into our development environment's SharePoint server. All of our forms require "full trust" since they include business logic written in C#. Here are the manual steps: 1) Run the "Publish Form" wizard in InfoPath, specifying the target site to publish to and location...

Using ASP.Net 3.5 SP1 Routing with SharePoint 2007

I'm trying to setup some friendly URLs on a SharePoint website. I know that I can do the ASP.Net 2.0 friendly URLs using RewritePath, but I was wondering if it was possible to make use of the System.Web.Routing that comes with ASP.NET 3.5 SP1. I think I've figured out how to get my route table loaded, but I'm not clear on what method t...

How can you hook a SharePoint 2007 feature into the Application_Start of a site?

Hello, I was wondering if there is a good way to hook into the Application_Start of a SharePoint 2007 site when developing a feature? I know I can directly edit the Global.asax file in the site root, but is there a way to do this so that it gets deployed with the feature? Thanks! ...

MOSS 2007 -- Invalid URL Exception SPSite.OpenWeb(...)

This may seem a bit trivial, but I have not been able to figure it out. I am opening up a SPSite and then trying to open up a SPWeb under that SPSite. This is working fine on the VPC, which has the same Site Collection/Site hierarchy, but on production, I get an exception telling me that the URL is invalid when I try the SPSite.OpenWeb...

Profile User DB error in WebPart

EDIT: Modified title and added update. UPDATE: We no longer believe this is a 64bit vs 32bit problem. We have found that the only people that were seeing this, were people that were set in the farm policy as "full control." (Not acting as System Account) Once we tested regular users, we found none had the problem. Removing the "probl...

MOSS 2007 Breadcrumb problem

I've got a page layout for a publishing site with an odd behaviour. Imagine a publishing site (site) with a subsite (subsite1) which has the following pages (page1 [default], page2, and page3) for page 2 and page three the breadcrumb renders correctly: site > subsite1 > page2 site > subsite1 > page3 however for the default page t...

Saving Word 2007 to MOSS gives never ending "Getting list of available content types..." dialog

We have a weird intermittent problem with saving from Word 2007 to our SharePoint 2007 (MOSS) document libraries that gives a dialog box that never goes away - it is titled "Content Types" and the message "Getting list of available content types..." with a green progress-type bar that keeps scrolling. It happens a lot on our training ser...

Is it possible to attach a workflow to a task list on MOSS 2007?

I have tried but for some reason the workflow is not triggered. ...

Migrating MOSS 2007 from SQL 2000 to SQL 2005

We have an installation of MOSS 2007 that is using MS SQL 2000 as the backend database. The web front end for MOSS is on one server and the database on a separate server. We would like to move the database to a MS SQL 2005 server. Is there a recommended approach for doing this? Does anyone know of any resources that offer tips, trick...

FileNotFoundException with the SPSite constructor. What's the problem?

I try to instantiate a instance of SPSite on the farm server in a custom software (MyApp.exe) and I give in parameter the whole website (http://mysite:80/). I also made sure that the account running MyApp.exe is Site Collection Administrator. However, I can't make an instance of SPSite whatever I am trying to do. I always gives back "Fi...

Communicate with Document Library Browser Web Part

Background My task is to, in SharePoint, show an image of a process map which should be clickable. Think of an imagemap in html. Some areas take you to other process map images and other brings up a pop-up window. "Connected" to each process map is a set of documents. These documents are stored in a document library. There are one proc...

How to move documents from SharePoint 2003 to SharePoint 2007 with versioning?

I'm desperately searching for a tool allowing me to copy documents with their old versions from a SharePoint 2003 to a SharePoint 2007 site. Do you know about any simple (and preferably free) tool which does this? ...

Sharepoint API - How to Upload files to Sharepoint Doc Library from ASP.NET Web Application

I am new to Sharepoint Server, Do we have any utility to upload files from ASP.NET application. Could you please provide your valuable answers? ...

Howto get SharePoint version using object model

With WSSv2 (SharePoint 2003) you could get the version of SharePoint you were working with e.g. SPGloablAdmin.Version gives you "12.0.0.6219" for WSSv3 SP1 However its now obsolete (although still works). Does anyone know the WSSv3 (SharePoint 2007) equivalent? You have things like SPWebService.ContentService.Version but that versio...

Whats the best way to create a Smart Part in SharePoint?

Hi, i kinda know how to create a Custom Web Part. But now i need to create a Smart Part. Any idea how it works or what a easy way is to create it? Maybe some nice links to articles? Please Help Regards Etienne ...

Is there any good replacement for SharePoint Designer?

If you've ever used SharePoint Designer, you'll know it's bad. Really bad. Is there any good replacement for that? Is there any consideration I must take account of if I want to build my own Visual Studio Add-in connector to connect to it? Anything you know that I should be aware of? I just hate the slowness and the way SPD (SharePoin...

Why Does the Infopath 2007 Form Shows Error Message When Saving Repeating Table With More Than 60 Records?

We are currently creating an InfoPath 2007 form is deployed in SharePoint 2007. In the form we populate the repeating tables with more than 60 records. However, when we're submitting the form, an error message appears. Does the number of records in the repeating table affects the submitting of the form? Also provide some workaround to re...

SharePoint - Custom Dataview - Link Rendering Issues

Hey All, I have a custom SharePoint page with several dataviews. The dataviews essentially filter documents matching a certain criteria from a document library and display a link to the document along with some other meta data. The problem I have is that when a document has a single quote in it's title, the character is being rendered ...

SharePoint Calendar List : Restrict entering second item with same From and To date

I want to restrict entry of new item into sharepoint calendar list with the same from and to dates for the same created user. Let me know this can done, accessing sharepoint object model with C#. Environment WSS3.0, MOSS 2007, C# Thanks ...

Testing Workflow History Autocleanup

I am facing a rather peculiar problem here. We have an OOTB approval workflow, which logs all the workflow history into a workflow history list. This list gets purged every 60 days. To increase this time period for which the workflow history is retained, I googled around and found that I have run this code: using (SPSite wfSite = new S...