sharepoint2007

MOSS 2007 central administration - cannot connect to the configuration database

I am unable to access Sharepoint Central Administration. I installed MOSS 2007 successfully on Windows Server 2008 (IIS7 and SQL Server 2005), I launched the admin and got "Cannot connect to the configuration database" error. Application pool is using NetworkService account which has access to SQL Server. I can access the configura...

Using Custom HttpHandler to redirect users in Sharepoint

Hi all: I need to redirect a user to a different page if they visit a certain set of pages in a web. There is one condition: I'm not allowed to touch the IIS. I have googled around and found a thing called the custom HttpHandler for WSS 3.0. It sounded like something that I can use to capture the URL the user enters (the most malicio...

Guide me for sharepoint development

Hi, I have 5 years of work experience in developing WEB and WIN application using c# and .net. Now, I need to switch to Sharepoint development. Can you guide me as to where to start from and resources to be studied or any other related help. Thanks ...

Cannot create new Web Application in Sharepoint 2007

Hi all, I'm a Sharepoint Beginner and i have a question : I setup a Develop machine with there step : IIS, VS 2008, MOSS 2007. At first, it works, but i have realized that, i cannot create a new web application : From Sharepoint Site Administrator/Application Manager/ Create or extend ... It says that the Web application created success...

Using a Calendar in a SharePoint Publishing Site?

I've set up a publishing site for a project, but the calendar isn't available to me. Anbody know how to make the default SP calendar available? ...

Fuzzy match in sharepoint search engine?

In sharepoint 2007 sites, we can search for people or other contents. Is the search engine able to do fuzzy match so that "Micheal" can be corrected to "Michael"? If it's possible, does it need extra configuration? I am also writing a custom webpart that uses sharepoint search service, a web service that has url like "http://site/_vti_b...

SharePoint SiteMapProvider - Help

I have a sharepoint portal with a root site and 3 subsites, to implement the horizontal menu of the portal i use the GlobalNavSiteMapProvider. For the breadcrumb i chose to use the CurrentNavSiteMapProviderNoEncode. In the subsites navegation, i select the options "Show Pages" (if i dont check this options the breacrumb did not show the...

Dynamically invoke a dll in sharepoint

How to invoke a dll that is dynamically created (during runtime) in a sharepoint site? i am recieving an error that i dont have the load permissions. Any help on this will be grateful. ...

Temporary "Backup" of SharePoint Content During Feature and Solution Deployment

I need to decide on a method for storing a subset of the content in a SharePoint site, so that when I delete and recreate certain lists as part of a feature activation, I can re-insert all of this content back where it should belong. I have an idea myself, but I don't know if it's the only method and more importantly, the right method. ...

Use SharePoint Search to crawl Project Server project metadata?

Our environment consists of Project Server 2007 and MOSS 2007. We have around 750 projects and lots of "Enterprise Custom Fields" set up to track all of the metadata associated with a project. Our main requirement is to be able to search/filter/group/sort all of these projects by metadata in SharePoint. Our current process involves sync...

FBA site owner encounter access deny in sharepoint 2007

I created a sharepoint 2007 publishing site first using windows authentication, then extended it to another site using FBA. I created a FBA user and set it as site collection admin as well as top site owner. I also make application pool which the FBA site is running in to run with a user account which is within administrator group. But ...

FBA and audience targeting in sharepoint 2007

I want to use audience targeting feature for webpart with FBA. I tried to add FBA user directly in sharepoint group or added the user to a asp.net role and then added the role to sharepoint group, but both failed. My observation is that all FBA users can see the webpart content no matter whether they are specified in audience targeting o...

Updating of a SharePoint Web URL via Name does not change its lists' urls

Hi all: I want to ask is it possible to update a Sharepoint web's lists and all its items' URLs if I call an update on the web's url? If so, how can I do so? e.g. web.Name = "newWebName"; web.Update(); The above only changed the base web's url. But the url of its lists remain unchanged. Thanks. ...

Exception from HRESULT: 0x80020009 (DISP_E_EXCEPTION)) in SharePoint

Hi all: After googling for many hours for a solution for the above Sharepoint exception, I have come to SO for help on this one... I believe the cause of me getting the above exception is because of the following code: try { using (SPSite site = new SPSite(siteId, spUserToken)) { using (SPWeb web = site.OpenWeb(webId))...

Customise Sharepoint QuickLaunch menu per subsite page

Hi, Is there a way I can have a custom quick launch menu on a particular page on a MOSS subsite. I have tried detaching the page layout on on the page this works fine and copys the master page layout code into the aspx file. But it does not copy the code for the Quick launch menu. I know I can change the Quick Launch items per site b...

Sharepoint: Add Calendar Event

I am creating a booking module using MOSS 2007. What I would like to know is that is it possible to create a webpart that will show only the Daily view, which will be connected to the central Calendar.. Basically what I'm trying to achieve is this. Each Room must have its own webpart that shows the bookings only associated with that roo...

How do I distinguish a SharePoint file update as being from a file upload?

In SharePoint, when an item is first added to a document library, it fires the ItemAdded and ItemAdding events as expected. And if you upload the same filename to update the existing file, it will fire off ItemUpdated and ItemUpdating events, likewise as expected. However, I have been unsuccessful at determining whether this kind of acti...

SharePoint Governance

I have been search about SharePoint Governance for past few days, the more I search, more confused I am getting about this Topic. Could anyone just explain in brief? What you know about it or are you using/implementing it? ...

Get a reference to current Listitem from within custom SPField

I've successfully created a custom field inheriting from SPFieldText and happily have complete control over rendering it on the input form as a control. Problem: I have a need to create a link to a popup with the ListId and ListitemID in the querystring when rendering the field using GetFieldValueAsHtml(). Something like this: public...

Sharepoint 2007: Disabling Edit/Read Only mode?

If I open a doc in read only mode I'm able to press save and then it opens up a save as box and the default directory is the directory on the sharepoint server and if you press save you save it to the server. This actually makes the whole process not really "read only" mode since I could actually update the document. Is there a way t...