Cleaning up log messages for Geo IP Location

Starting with Sitecore 8.1 Geo IP lookup services come pre-installed and configured. All a site owner than need to do is log into the App Center and purchase the service. This is great from an implementer standpoint this is great as it’s one less configuration step that we have to take.

On the downside, if the site owners never purchase the lookup service the log will quickly clutter with ERROR messages.

ManagedPoolThread #12 16:01:15 ERROR Failed to perform GeoIp lookup for dd4795c0-1dca-ea8d-93c4-06d7f7aa5063
Exception: System.Net.WebException
Message: The remote name could not be resolved: ‘discovery-ces.cloud.sitecore.net’
Source: System
at System.Net.HttpWebRequest.GetResponse()
at Sitecore.CES.Client.WebClient.ExecuteRequest(String requestUri)
at Sitecore.CES.Client.ResourceConnector`1.Request(String endpoint, Object[] parameters)
at Sitecore.CES.Discovery.EndpointSource.GetEndpoint(String serviceName)
at Sitecore.CES.GeoIp.SitecoreProvider.GetInformationByIp(String ip)
at Sitecore.Analytics.Lookups.GeoIpManager.GetDataFromLookupProvider(GeoIpHandle geoIpHandle)

The Fix

The fix isn’t hard; all it requires is a simple patch config to disable the lookup service.

<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/">
    <sitecore>
        <settings>
            <setting name="Analytics.PerformLookup">
                <patch:attribute name="value">false</patch:attribute>
            </setting>
        </settings>
    </sitecore>
</configuration>

For the full details on the lookup service checkout the full documentation at https://doc.sitecore.net/sitecore_experience_platform/setting_up__maintaining/ip_geolocation/setting_up_sitecore_ip_geolocation.

Advertisements

Some Links for Mid-Week

It has been a few weeks since I provided you with a series of links. Partially because I have been busy getting end of year projects wrapped up and I haven’t seen any real good links worth sharing. Since you’ve been starved of such links now, I thought it would be a good idea to share some new links.

Here is a few links to help feed that Microsoft technology hunger. Enjoy!

Microsoft SharePoint 2010 Administrator\’s Companion

Get comprehensive information to plan, deploy, administer, and support SharePoint 2010. With this ADMINISTRATOR’S COMPANION, you get mission-critical information from leading SharePoint experts and MVPs—in a single volume.

Deep Dive – Microsoft Virtualization Best Practices for SharePoint 2010

Virtualizing business-critical applications can deliver significant customer benefits, including cost savings, enhanced business continuity, and an agile and efficient management solution. In this webcast, we discuss virtualizing Microsoft SharePoint 2010..

Course 10514: Monitoring Operations in Microsoft SharePoint 2010

This two-hour course provides you with the knowledge and skills required to monitor SharePoint 2010 solutions for potential configuration, performance, and usage issues.This course covers the following topics:
– Health monitoring in SharePoint 2010
– Usage Data Logging and Monitoring Reports
– Configuring Diagnostic Logging
– Resource throttling in SharePoint 2010
This course helps you prepare for the Exam 70-667 TS: Microsoft SharePoint 2010, Configuring. The prerequisites for this course…

A Side of Microsoft with your Turkey

I figured this week was not a week to miss, as we all need something new to listen to or read during the holidays. It gives you reason to not have to wash the dishes, or keep control of the stereo as you drive to family and friends to celebrate.

Today, is a mixture of links from the Microsoft Broadcaster as well as a few blog articles I have stumbled upon and found useful.

Web Designers vs. Web Developers

This is a hilarious info graphic showing the differences between a web designer and a web developer. Which side do you identify with?

October CU for SharePoint 2010 Rereleased

You may have heard that the October Cumulative Update for SharePoint Server 2010 was pulled because it would not always complete the update process. As of Thursday, November 18, an updated version has been posted. The following blog post from Stefan Gossner (Senior Escalation Engineer for SharePoint and MCMS) has posted about the release. http://blogs.technet.com/b/stefan_gossner/archive/2010/11/18/october-cu-for-sharepoint-2010-has-been-rereleased.aspx

Bridging the Architectural Chasm When Modernizing Legacy Code to .NET

Older technologies and impending shortages of legacy programming skills are driving many organizations to modernize legacy IT applications into newer development environments like Microsoft .NET. A key challenge is to restructure applications to be…

County Government Cuts Costs 91 Percent with Mainframe-to-.NET Migration

The mainframe for the property tax system in Marin County, California, was outdated, expensive to maintain, and tough to integrate with other systems. So, the county migrated its existing COBOL code to an environment running Windows Server…

The Mid Week Microsoft Fix

It is a Wednesday, though late morning I felt it was important to get out the latest collection of links for your reading and listening pleasure. It is always nice to have something new to review during that sluggish Wednesday afternoon. The Microsoft Broadcaster was lacking this week in anything exciting so here are a few links to some articles and blogs which I have found insightful.

Application Lifesycle Management in Microsoft SharePoint 2010

This is a link to a super intense, but very helpful article posted to the Microsoft SharePoint Developer Documentation Team Blog explaining the different approaches and steps to developing for SharePoint 2010. In this article, they explain the different setup options for development, QA/Testing, and deployment. They even explain how SharePoint Designer fits into the application lifecycle and code tracking. The second half of the article gives a detailed explanation of how feature version and solution version can allow for different upgrade and deployment management in a farm. This is a must read for any shop looking to get involved with performing SharePoint customizations. If you read only one thing this week this should be it!

SharePoint in Pictures

I like diagrams and pictures a lot, hence why my How-Tos contain a lot of them. I find it is the fastest way to understand a new complex concept or understand what needs to happen during a step. For this reason I have found the newest Microsoft SharePoint blog, SharePoint in Pictures, fascinating. Every couple of weeks the post a series of diagrams explaining some aspect of SharePoint 2010. These diagrams have been very helpful to me in explaining different SharePoint concept to users.

Tech Ed Europe 2010 SharePoint Videos

I wasn’t at Tech Ed Europe this year, but no fear, a number of the talks have been video d and posted for viewing. This is a link to all of the videos that were associated with Office and SharePoint.

Mid Week Microsoft Fix

Wednesday is here already, which only means one thing can be true. You are reading through the Mid-Week Microsoft fix.

With that mini intro, I’ll let you get to the goods.

Communities in SharePoint Server 2010: How Do I: Using Social Capabilities in SharePoint 2010 (Part 1)

This module concentrates on communities in SharePoint 2010. There are numerous great improvements and enhancements available to utilize in deployments. Understand the new social feedback, social network, user participation, and people and expertise…

Collection 10276: Microsoft SharePoint 2010, Application Development

The courses in this collection teach existing ASP.NET developers how to develop solutions on the SharePoint 2010 development platform.

Deep Dive – Microsoft Virtualization Best Practices for SharePoint 2010

Virtualizing business-critical applications can deliver significant customer benefits, including cost savings, enhanced business continuity, and an agile and efficient management solution. In this webcast, we discuss virtualizing Microsoft SharePoint 2010.

Your Mid-Week Microsoft Fix

Welcome to the first mid-week of November. That’s right it is November, before we know it the new year will be upon us. If your company is anything like some of my clients, things really begin to slow down as people are in and out using up their vacation time or sick. Which means project work might not move as quickly as the rest of the year, and provides an excellent period of time to learn about some of the latest technologies as well as to polish our knowledge on already familiar technologies.

With this in mind readers, I would like to make a deal with you, to take some time to learn something new or extend our knowledge between now and January 1, 2011. (Life coaches say the best way to achieve goals is when someone is holding you accountable.)

My goal is to pass Exam 70-667 – Microsoft SharePoint 2010, Configuring (http://www.microsoft.com/learning/en/us/exam.aspx?ID=70-667&locale=en-us). Leave in the comments what your goal is. Maybe it is to read that book on design patterns, pass a certification exam, attend/view some training, or something else.

To give you some thoughts as to what to learn here is this weeks broadcaster links.

Course 10517: Introduction to the Microsoft SharePoint 2010 Development Platform

This course introduces existing ASP.NET developers to the SharePoint 2010 development platform.

The course covers the following topics.
– SharePoint 2010 as a Development Platform
– Introducing SharePoint 2010 Object Hierarchy
– Developing SharePoint Solutions by Using Visual Studio 2010
– Packaging and Deploying SharePoint 2010 Solutions

This course prepares you for the exam 70-573: TS: Microsoft SharePoint 2010, Application Development.

Course 10518: Developing Web Parts for Accessing Microsoft SharePoint 2010 Data

This course teaches developer how to develop Web Parts that access SharePoint data by using the server-side object model.

The course covers the following topics.
– Creating Standard Web Parts
– Creating Connected Web Parts
– Creating Visual Web Parts
– Working with SharePoint Sites Programmatically

This course prepares you for the exam 70-573: TS: Microsoft SharePoint 2010, Application Development.

How Do I: Create Visual Web Parts for SharePoint 2010 in Visual Studio 2010?

Visual Web Parts allow developers to build Microsoft SharePoint 2010 Web Parts using a design surface in Microsoft Visual Studio 2010. This allows for drag and drop of user controls from the Toolbox to build the visual web part’s user interface.

Core Architecture of SharePoint 2010: How Do I: Understanding SharePoint 2010 Topology (Part 1)

This module concentrates on the key architectural changes in SharePoint 2010. We’ll cover the different topology options available and also the changes in the service application architecture. There are also new capabilities available for business…

Your Mid-Week Microsoft Fix

It’s hump day, and what better way to make it through the mid week point then to engage in a little mid-week education.

Before we get to this weeks links, let me point out that the Microsoft Professional Developer conference will be starting on Thursday, October 28 on the Microsoft Campus in Redmond. If your October schedule is as busy as mine, getting to Redmond wasn’t an option, we are in luck. They will be live web casting all of the sessions. You can check it out at Microsoft PDC.

And now back to your mid-week fix.

Course 10522: Developing Rich User Interfaces for Microsoft SharePoint 2010

This course teaches developers how to develop solutions that use the new user interface platforms for SharePoint 2010.

The course covers the following topics.
– Building Ribbon Controls and Custom Actions
– Developing on the Dialog Platform
– Developing Silverlight Applications by Using the Client Object Model
– Deploying and Debugging Silverlight Applications for SharePoint 2010

This course prepares you for the exam 70-573: TS: Microsoft SharePoint 2010, Application Development.

Course 10521: Developing Solutions Using the Microsoft SharePoint 2010 Client Object Model

This course teaches developers how to develop solutions that use the new client object model provided by SharePoint 2010.

The course covers the following topics.
– Overview of the SharePoint 2010 Client Object Model
– Types of Solutions that Can Use the SharePoint 2010 Client Object Model
– Remote Client Types
– Working with the Client Object Model for .NET Applications

This course prepares you for the exam 70-573: TS: Microsoft SharePoint 2010, Application Development.

Upgrading to SharePoint 2010: How Do I: Preparing to Upgrade to SharePoint 2010 (Part 2)

This module concentrates on upgrade considerations. What are the practices and actions to perform when you upgrade your previous SharePoint versions to SharePoint 2010. Understand different methods and practices to follow before the actual upgrade is…