sharepoint2007

SharePoint Content Database Showing Old Content...

So, I copied a content database from our production server to our test server. Then went into Central Admin on the test server and removed the existing content database. I then went to the database server and restored the newly copied production backup of the content database. Finally, I ran stsadm to reassociate the content database bac...

SharePoint 2007 Site Template Content Types

I am new to SharePoint development. We have created a base site template and have used that template to start new sites in other locations on the same server. This works fine but the newly created site seems to "flatten" the custom content types created in the original site. I would think there would be a way to keep the original cont...

Sharepoint DB Server Rename

Hi Guys i have one application server and one DB server i have installed MOSS on App server and its content DB is on the DB server. due to policy reasons i had to rename the Sharepoint database server now the problem is MOSS is not working. So how do i make it work thier is stsadm command renameserver but that is to change the host ...

Good beginning CAML tutorials?

Hi there, right now I'm trying to get CAML down pat in SharePoint, where is the best place to start for this? The MSDN content doesn't impress me much as being somewhat cryptic, though the Wikipedia entry was rather good for starting out. Thoughts? Thanks! EDIT: Everyone below has great links, but alas I can only pick one answer... ...

Moss Farm Issue (Front End) Web Application Service Won't Start...

So, I have three servers in my moss farm. A database server and two front-end servers... On server 1 I am able to access my web application just fine and the services are running fine. However, on server 2 I am unable to start the Web Application service; I receive a error message on the screen stating "Check the server event logs for a...

Sharepoint and custom login maybe FBA

We have a moss internet facing publishing site, we need to restrict access to this web site to people who have come from another specific web site (using the http header referrer property). This has to be an automatic process (the user should not have to click ‘login’ or anything like that). How to do this? Any advice greatly apprecia...

How to limit the number of major versions to maintain on a document library list definition?

I have 2 question here, Scenario: I have created a document library with my own list definition, having the default document library settings. There are quite number of document libraries created using my definition. Now I wanna change the version settings to limit number of major versions to 5. I came across "MajorVersionLimit" List e...

Complete MOSS 2007 Migration

Hi! The situation at the moment is that we have a sharepoint server which started out as a pilot but now actually runs as the production environment. The server on which sharepoint runs is an old machine which does not conforms the standard requirements so I want to move the current environment to the shiny new server. I've red a lot a...

Problem with Authorization and variations in Sharepoint?

Hello i have a website in Sharepoint that is using variations. I have for sites with variation: ES, CA, EU, EN. I use authorization with roles and i put restrictions in the location tag in web.config. This is not working. Everybody can enter es/admin. <location path="es/admin"> <system.web> <authorization> <allow role...

Sharepoint Doc Lib Content Types

Hey, So I would like it when a user creates a new folder in my sharepoint document library that 4 template documents also get added inside the new folder. I get that the user could just click on the document template for each template individual but I want them added all the time. There doesn't seem to be an option to add template d...

Reporting on Workflows in SharePoint

Is there a way to create a report in SharePoint where i can view all my current workflows and the status of each workflow? Edit: I need to be able to have a List or something where i can view all my Workflows with the status and so on in my SharePoint site. ...

SharePoint - How can I customize NewForm.aspx in custom feature?

I have created a custom list in a SharePoint site and generated a Visual Studio 2008 project using SharePoint Solution Generator. I can package this as a feature and install it. It runs fine on my server. After testing this out, I've been able to add a custom masterpage to the feature which is deployed to the _catalogs/masterpage folder...

Migrating MOSS 2007 from SQL 2000 to SQL 2005 - Addendum

This is a continuation of an earlier question I had about moving the databases for a MOSS 2007 installation from SQL 2000 to SQL 2005. Here's the URL for the original question: http://stackoverflow.com/questions/254517/migrating-moss-2007-from-sql-2000-to-sql-2005 In my test environment, I've successfully moved the databases to the SQ...

Install order: Sharepoint ajax and .NET 3.5 ajax

As far as I know Sharepoint 2007 uses ASP.NET Ajax 1.0 with System.Web.Extensions 1.0 while I'm creating webparts with VS2008 SP1 and .NET 3.5 SP1 which includes System.Web.Extensions 3.5. So what is the order of installation and how do you install to get both versions working? ...

Auto Number Column in SharePoint List with Link to Item

There was a similar question posted regarding the same topic, but I'm adding to the question and the previous discussion was resolved. Here is the link to the original question: http://stackoverflow.com/questions/72537/auto-number-column-in-sharepoint-list/606872#606872 I'm now trying to find out if in a Custom List in MOSS SharePoint...

SharePoint Registration Form - How to Hide Fields

I created a basic registration form using a SharePoint 2007 custom list where users complete fields on the form. I created an 'Approver' field that I'm trying to hide from customers so that only the form's approver will edit that field (approve the request - Customers tend to approve their own request). How can I hide this approval field...

Sharepoint Workflow Fails When First Run But Succeeds When Run Manually

We are using an infopath form that when submitted is supposed to fire off a custom .NET workflow. Basically, the information within the form is used to create a new sharepoint site. What I am seeing happen is that the first time the workflow runs (which is automatic after the form is submitted), the workflow errors out. When I run the wo...

Customize accessdenied.aspx in Sharepoint

I have a web in Sharepoint 2007. I have sites with permission for certain roles. When a user with a role that has not got permission to enter the site, Sharepoint redirects him/her to accessdenied.aspx which has Sharepoint design. How can I change this redirection so that it goes to a customized one? I don't know if the server will be sh...

How to provision a custom page without using the _layouts directory

I need to provision a custom aspx page which does some work and then redirects to another page. Using a _layouts page , AKA an application page won't work since I only want this page accessible to one site collection. I looked at using pattern #4 from this blog post. It feels pretty hacky, It asks you to drop the dll drop it into th...

Implement votes for a page in a Sharepoint 2007 web?

I develop a website in Sharepoint 2007. I have pages that have a richhtmlfield with content. I need to add the possibility to add comments by any user and the option to rate the page with a dropdownlist with values from 1-5, then sum all the votes and show a global rate for the page. i don't know how to do this in Sharepoint or what are ...