Skip to main content

Posts

Showing posts from 2009

Missing Create or Extend Web Application in Central Administration

Recently I wanted to create a new web application in SharePoint and so I went to the Central Admin website to create one, but the option was missing. Even though I was logged in as the System Account, the farm administration account I couldn't see the link. If I navigated directly to /_admin/extendvs.aspx I got an access denied message and none of the accounts configured for SharePoint would allow me access. Use the link from Start Menu. As soon as I navigated from the start menu I realized that I was . using Windows Server 2008 and that Central Admin has to be run with administrator privileges. As soon as the browser opened the 'Create or Extend Web Application' link .

Custom Master Page (File Not Found Error) - MOSS 2007

Create a custom Master page and Page Layouts and install it as a Sharepoint feature in the site collection. The steps for creating a feature (MOSS) is mentioned by Heater Solomon http://www.heathersolomon.com/blog/articles/servermstpageforsitecollect_feature.aspx Problem Investigation: Upon applying my custom master page I got an unusal error File Not Found. I spent few hours identifying the problem and then realised that SPD (Sharepoint designer) changed the path inside the code Example Orginal Code Changed By SPD Lesson(s) Learnt: Do not open any files (Stored in file system) using Sharepoint Designer If the file is already stored in content database, then use Sharepoint designer to modify the code

How to rename the web site?

>>I have a new installation of Sharepoint. Before we start using it, I would like the site to be more meaningful than http://server08/site.>>I would like to change the name so that is is something like http://mysite/site . Answer: There are several ways of how to rename Web Site. You can use stsadm -o renameweb command. More details are in MSDN article . But this command does't help you if you want to rename the site with the port. For example if you have http://server08:88/site and want to rename it to new name with the default port then the best way is to create the new site, and then use stsadm -o export/import to move the content between sites. Example The following example uses the following site: http://server_name/sites/site_name/subsite_name. To rename a URL using the newname parameter, use the following syntax: stsadm -o renameweb -url http://server_name/sites/site_name/subsite_name -newname NewWeb The URL of the subsite would become http://server_name/sites/

Modifying the second level navigation arrow image

Open your master page. Switch to Code View. Search for "TopNavigationMenu". This should take you to the global navigation (top nav) instance of AspMenu. Using Intellisense in the code view, or using the Properties pane, add the following property to the AspMenu tag: DynamicPopOutImageUrl="insert image URL/path here"So your code should look like: Runat="server" DataSourceID="topSiteMap" DynamicPopOutImageUrl="/images/myimage.gif" >

Hiding the Quick Launch View All Site Content link

At this point you have two options: 1) hide the View All Site Content link for everyone or 2) hide the View All Site Content link for everyone who does not have Full Control to the site. I prefer the second option because it gives administrators the ability to still have access to the link. Option 1 – Hide View All Site Content for everyone: Click on the View All Site Content link in the Design view. This will select the Sharepoint:SPSecurityTrimmedControl. In the Tag Properties pane (typically located in the lower left), change the Visible Property to False Option 2 – Hide View All Site Content for anyone who does not have Full Control: Click on the View All Site Content link in the Design view. This will select the Sharepoint:SPSecurityTrimmedControl. In the Tag Properties pane (typically located in the lower left), PermissionsString="ViewFormPages" to PermissionsString="ManageWeb" Save the page and Check-in and publish

How to sending an email with Sharepoint 2007 (Moss)(Automated" email response )

Automated" email response to the applicant who sent their Comments OR Resume into our Job Site email address 1. Create a list with Name, Email, column 2. Open Sharepoint Designer to the site where list exists. 3. Create a New workflow from File->New->workflow. 4. Give the workflow a name 5. Decide if you want the workflow to Manually, Automatically, or whenever an item is changed. My suggestion is "Manually" while in development at the minimum. This will keep you from having to continuously upload new documents to test the workflow. You can upload one "test document" and keep using it, by manually starting the workflow on that document. If you want "Automatic" starting of the workflow, turn that on after you are done testing/building, if you'd like, but if you are building this workflow on an "already existing" document library, you don't want your workflow to inadvertently run while you are building it, should someone put a fi

A solution to "An unexpected error has occurred" in WSS v3

Debugging SharePoint can be problematic at times, it does like to hide debugging information from you. The bain of my life recently has been “An unexpected error has occurred” with nothing written to log files, trace or the event log. Normally I can debug the problem with a little commenting & narrowing down of the problem, but today I have managed to get rid of that error screen completely. The solution is to change a single entry in web.config, by modifying the line… SafeMode MaxControls=“200“ CallStack=“false“… to… SafeMode MaxControls=“200“ CallStack=“true“… You will also need to set custom errors to 'Off' . You will no longer see the “An unexpected error has occurred” error page and instead you get a lovely ’standard ASP.Net error page’ with the stack trace and everything…development has got that little bit easier

Steps to create Content page layout

From site protal . On the site actions menu point to site setting->Modify all site settings under galleries click on Site Content Types click create-> Enter the Name "****" in the Name textbox, from Select parent content type dropdown select page layout content Types and from parent content type dropdown select Aritcle Page, In Group create New Group "****" then click ok. Open the site in Sharepoint Designer 1. From File Menu point to New and then click on sharepoint Content 2. In New dialog box click on Sharepoint Publishing 3. Click on page layout 4. Under options, in the content Type Group list, click "****" 5. In the Content Type Name,Click "****" 6.In the URL Box type a name for the page layout as "****.aspx" 7. In the Title Box type a title for the page layout as "****" 8. Click Ok This layout page saves Automcalliy under _catalogs/Masterpage/