How To Find Your SharePoint Error Logs

The SharePoint Error Logs can be an indispensible tool when you are having problems. However, they can be located in many different places.

To Find Where SharePoint Logs are Being Stored

  1. Go to Central Administration
  2. Click on Monitoring
  3. Under “Reporting” > Click on Configure Diagnostic Logging
  4. In the Trace Logs section of the page > Path

  1. The address here will tell you where on the server the logs are being kept but there is additional information available from the settings such as days of log storage, maximum storage space, etc. Changing the disk the logs are stored on assures your SharePoint application does not lose space to the logs and freeze up due to lack of space.
  2. To view logs, you can now go to the SharePoint server and travel to the location specified in Path – once here, ordering by date will help you find the most recent log
  3. If you have just received an error guide, search for it in the log – additional information about the error should be available here

Thanks to Emerson Bruce for this post.

How Do I Change the Default for Free & Busy in Outlook Calendar?

The default free/busy setting in Microsoft Outlook is changeable using an advanced feature in the program called forms. The status can be changed for new appointments so you don’t have to change it each time. This saves you time and hassle when entering many appointments. The default setting for most appointments is free, but can be set to out of office, tentative or free for all new appointments.

Instructions

Click “Start > All programs > Microsoft Office > Microsoft Outlook.” Open the calendar section from the task pane on the left.Click the “Tools” menu at the top, then select “Forms > Design a form.” Select “Appointment > Open.”

Next to “Show time as,” use the pull-down menu to change the status to what you want the default setting for new appointments to be. Click the “Publish form” button, which is a picture of a ruler, floppy disk and right angle.

Enter a name for this form and click “Publish.” Use the status as the file name, such as free, busy or out of office. Do not save changes to the form when prompted.

Right-click the name of your calendar from the “My calendars” list on the left and select “Properties.” Next to “When posting to this file use,” use the pull-down menu to change the option to the file name you used to save the form.

Click “OK.” The default status setting for new appointments is now set to the option you used.

Stop Hitting Snooze: Change the Default Reminder Time for Outlook Appointments

How many times has the Outlook reminder popped up on your screen only for you to hit the Snooze button to be reminded again in 5 minutes. How can you possibly be productive while hitting the snooze button repeatedly throughout the day?

 

This isn’t exactly an earth-shattering geek tip, in fact most of you likely already know how to change the default reminder time. I’m just really tired of getting this popup dialog on my screen, telling me that I have a meeting in 15 minutes… so it occurred to me that I’d be a lot more productive without this nuisance. (of course, I’d be even more productive if I didn’t have to waste my time at the boring meeting)

 

image

 

If you are setting up the boring meeting, you can change the reminder time when setting up a new appointment by checking the Options section on the ribbon.

 

 

To change the default across all appointments, open up Tools \ Options and change the Default reminder drop-down:

 

 

Change it to 5 minutes, and you don’t have to use Snooze ever again. Just click Dismiss, and go to your meeting. Try not to fall asleep, or at least learn to doze with your eyes open.

What is the Maximum upload size per file in sharepoint 2007?

The out of box setting is 50mb. This is for a single upload operation. That means – a single user performing an upload operation to SharePoint. The upload cannot exceed 50mb for that operation. This could be a single file of 50mb or 10 files of 5mb each. Again, this is per upload operation. Each user performing an upload is a seperate operation. The other part of this is the 2gb limit. This is for a single file. The largest single file that can be stored in SharePoint is 2bg, due to SQL Server limitations (at least in SQL 2005). A blob in SQL cannot be larger that 2gb. Each file is stored as a blob in the SQL Server content database for the site collection. This is changed, somewhat, with SQL 2008 and its ability to handle remote blob storage, thereby letting you handle files larger than 2gb.

So the maximum size of a single file upload is 50MB when using the default settings and the maximum size of a set of files is also 50MB when using the default settings.

These default settings can be amended. The hard limit is 2GB.

See http://wss.asaris.de/sites/walsh/Lists/WSSv3%20FAQ/DispForm.aspx?ID=731 for where to change the setting.

WSS V3 – Increasing the maximum upload limit on a Sharepoint Site

WSS v3 – default limit of 50mb today.  I asked him to quickly tap it into google as I figured there would be hundreds of posts out there on how to do it, but sadly almost all of them seem to be for WSS v2.

Fortunately most of the principles are still the same, except there are far less steps to do :

1.  Increase the Web Applications Upload limit.
2.  Increase the HTTP Timeout.
3.  Increase the Execution Timeout and MaxRequestLength in web.config

Typically step 1 should only be necessary on an Intranet environment, but steps 2 and 3 should only be necessary if you are on a slow connection, or getting timeout errors when attempting to upload large files.

The instructions for each step are below :

1.  Open Central Administration. Go to “Application Management”, then “Web Application General Settings”.  Ensure you are on the correct web application and modify the “Maximum Upload Size” field.

2.  Open IIS, find the appropriate website and open its properties.  The timeout setting is on the Website tab and in the connections setting under “Http Connection Timeout”.  I’d probably consider adding 120 seconds per extra 50 mb, more or less depending on your connection.

3.  Edit C:Program FilesCommon FilesMicrosoft SharedWeb server extensions12TEMPLATELAYOUTSweb.config

From : 

  <location path=”upload.aspx”>
    <system.web>
      <httpRuntime maxRequestLength=”2097151″ />
    </system.web>
  </location>

To : 

  <location path=”upload.aspx”>
    <system.web>
      <httpRuntime maxRequestLength=”2097151″ executionTimeout=”999999″/>
    </system.web>
  </location>

Edit the web.config in the home directory of the IIS Site of your web application.

From :

<httpRuntime maxRequestLength=”51200″ />

To :

<httpRuntime maxRequestLength=”51200″ executionTimeout=”999999″ />

Kerberos V NTLM

NTLM is only allow 1-hop solutions because it is transferring user credentials to the first server – in most cases it is IIS on your SharePoint Front End Server. If you want to get some data from a SharePoint server code (WebPart etc) and ask another server for data (it could be external back-end system you want to integrate to), you can’t pass user context to that 2nd hop. So only impersonation is the option. Kerberos allow to set up trust between servers so you can pass User context to that back-end server and got security-trimmed (or audience-targeted) data for the User.

NTLM is a properitary AuthN protocol invented by Microsoft whereas Kerberos is a standard protocol.

The big difference is how the two protocols handle the authentication: NTLM uses a three-way handshake between the client and server and Kerberos uses a two-way handshake using a ticket granting service (key distribution center). In Kerberos the client must have access to a domain controller (which issues the tickets) whereas in NTLM the client contacts the server which contacts the domain controller.

The performance benefits due to the minimized amount of AuthN traffic between servers, client and DCs.

Also Kerberos are considered to be more secure than NTLM.

CV Maker – The handy CV builder.

The next time you find yourself needing to hit the pavement in hunt of a new job, leave the resume sprucing to the CV Maker.

The web tool is an easy-to-use system that lets users input job experience, contact info, education all in a few simple clicks. The CV Maker then arranges the content in one of four different polished and professional designs.

SharePoint – How To: Dynamically convert youtube URLs into embed videos

Ok, so the scenario is simple. You have a SharePoint page, a WIKI, a Blog, or a publishing page and you decided to add YouTube video links to it. Links are great, but you want to display embeds. You probably don’t want your users messing with the HTML to try getting the embed code right. Not only that, but on many SharePoint site templates, say blog template, SharePoint automatically strips any script tags from the post.

The easiest solution is to use jQuery in your masterpage which will parse all links according to a regular expression and convert YouTube links to embeds.

Here is how to do it quickly in SharePoint designer:
1. Open your site in SharePoint designer and get to the masterpage
2. Add the following code in to the <head> section of the page:


< script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js" type="text/javascript"></script>
< script language="javascript" type="text/javascript">
$(document).ready(function(){
$('a').each(function() {

var yturl= /(?:https?:\/\/)?(?:www\.)?(?:youtube\.com|youtu\.be)\/(?:watch\?v=)?([\w\-]{10,12})(?:&feature=related)?(?:[\w\-]{0})?/g;
var ytplayer= ‘‘;

var url = $(this).attr(‘href’);
if (url != null)
{
var matches = url.match(yturl);
if (matches)
{
var embed = $(this).attr(‘href’).replace(yturl, ytplayer);
var iframe = $(embed);

iframe.insertAfter(this);
$(this).remove();
}
}
});
});
< /script>

If you like to change the dimensions of the embed, you can do so in the ytplayer variable above.

Sharepoint – Approval Workflows.

I have a link for you that discusses the Approval workflows in greater detail:
http://office.microsoft.com/en-us/office365-sharepoint-online-enterprise-help/all-about-approval-workflows-HA102280698.aspx#ReassignTask

As well as a link with information regarding three-state workflows:
http://office.microsoft.com/en-us/sharepoint-help/use-a-three-state-workflow-HA102771430.aspx?CTT=1