Monthly Archives: September 2011

Check out the Number of Sessions and Speakers for NextWeeks SOLD OUT SharePoint Conference 2011 Anaheim Convention CenterCalifornia

“Searching for Sarah” – Why Booz & Co. chose FAST Search 200
“We’re Going two-way Baby!” How Vancity Took its Intranet From Static to Social 200
36 Terabytes: How Microsoft IT Manages SharePoint in the Enterprise 200
A Closer Look at SQL and SharePoint: Tips and tricks from the field 300
Access & Office 365: Rapid Cloud App Development on Office 365 with Access Services 300
Access Services – Everything You Wanted to Know 300
Advanced BI Visualizations using Visio Services 300
Advanced Scorecarding and Dashboards with Excel, Visio and PerformancePoint Services 300
Advanced SharePoint Data Access with Silverlight 400
Advanced Windows PowerShell for SharePoint 2010 IT Professionals 300
Application Lifecycle Management: Automated builds and testing for SharePoint projects 300
Applying a Brand to your SharePoint Web Site 200
Architecting and Automating SharePoint Governance 200
Are Office Web Apps Enough? Architecting the best Office experience for your customers 300
Attractive Business Intelligence: Dashboards, Pivots, Scorecards, KPIs, and Reports Using Microsoft SharePoint 2010, Office 2010, PowerPivot, and SQL Server 2008 R2 200
Automating Business Processes with SharePoint 2010 (Part 1) – Using SharePoint Designer, InfoPath and Workflow 300
Automating Business Processes with SharePoint 2010 (Part 2) – Using BCS, Word Automation Services (and More Workflow) 300
Avanade: Unleashing Competitive Advantage through the use of Social Media and Collective Organizational Intelligence 200
AvePoint: Governance Enforcement with out of the box SharePoint and AvePoint’s DocAve Platform 200
BA Insight: Enterprise Search and the Cloud: Unifying Information across SharePoint, O365, LOB systems, and more 300
Backup and Recovery for SharePoint 2010 300
Best Practices Around SharePoint 2010 User Profiles 300
Best Practices for Building your Website for Scale with SharePoint 2010 300
Best Practices for Creating Publishing Page Layouts 300
Best Practices for Deploying Project Server 2010 on SharePoint Farm 300
Best Practices from the Field: Managing Corporate Metadata and Taxonomies with SharePoint 2010 200
Best Practices With jQuery and SharePoint 300
Beyond Ten Blue Links: Why Search-Driven Applications Matter to the Enterprise 200
Beyond the Basics: An Advanced Conversation on FAST Search for SharePoint 2010 300
Branding and Customizing My Sites with SharePoint 2010 300
Branding SharePoint Online Sites 200
Building Business Applications on Azure using Office365 and Windows Azure AppFabric 300
Building Custom In Place Records Management Solutions 300
Building integrated SharePoint 2010 and CRM Online solutions. 300
Building Language-Based SharePoint Internet Sites Using Variations 300
Building Office Solutions that Leverage Duet Enterprise 300
Building Self-Service BI Applications using PowerPivot v2 “Denali” for Excel 2010 and SharePoint 2010 300
Building Visually Compelling BI Experiences with PowerPivot 300
Business Intelligence Overall Architecture 300
Campaign and Experience Management on a SharePoint 2010 Website 200
CANCELLED – Visual ECM: Building Dashboards to Manage Content More Effectively 300
CANCELLED – Windows 8: Developing Metro Style Applications for SharePoint 300
Capacity Management for SharePoint 2010 300
Change Management: Preparing End Users for SharePoint 2010 200
Clearing away the Clouds: What’s Hype and What’s Real in Cloud Adoption, Today and Tomorrow 200
Cloud Packing: Preparing for the Move into SharePoint Online 300
CMIS Deep Dive and Roadmap 300
Collaborative Decision Making: How the Convergence of Collaboration Software and Business Intelligence can Optimize Decision Making in Your Organization 200
Communication and Collaboration across Baker Hughes 200
Content Acquisition for Search in SharePoint 2010 200
Content Query WebPart: A Deep Dive on SharePoint’s Swiss Army Knife WebPart 300
Content Targeting with the FAST Search Web Part 300
Creating a FAST Search Driven Windows Phone 7 Application for a SharePoint Internet Sites 300
Creating an Easy To Use File Plan Builder for Your SharePoint Records Center 300
Creating Awesome Dashboards with SharePoint 2010, Infopath 2010 and SharePoint Designer 200
Creating Beautiful and Engaging Web Sites with SharePoint 2010 200
Creating Vivid BI reports with “Project: Crescent” for SharePoint 200
Customer Spotlight: Reduce Costs and Increase Reliability by Migrating from a Legacy ECM System to SharePoint 2010 200
Customer Spotlight: Saying Goodbye to Paper – Building a Multi Million Document Repository to Save Time and Money 200
Customizing Content Publishing Approval Workflows 300
Data Access with Search and the KeywordQuery API 300
Deep Dive on Developing Custom Service Applications 400
Deep Dive on SharePoint Ribbon Development & Extensibility 400
Deep Dive: Excel Services and PerformancePoint Services Administration and Troubleshooting 400
Deep Dive: Implementing Kerberos for your BI Applications 400
Delivering Data as a Service using Azure platform and self service BI at Microsoft 200
Deployed SharePoint Search? What’s next? 200
Deploying SharePoint 2010 as a Mission Critical Application 300
Deploying SharePoint 2010 in Private, Public and Hybrid Cloud Architectures 200
Developing and Extending Enterprise Content Management features 400
Developing and Getting the Most from Sandboxed Solutions 300
Developing and Managing SharePoint Solutions with Visual Studio 200
Developing Cloud-Based Applications for SharePoint Online using Windows Azure 200
Developing LOB Connectors in SQL Azure and Business Connectivity Services 300
Developing SharePoint applications with HTML5 and JQuery 300
Developing Windows Phone 7 Applications for SharePoint 300
Document Management: Planning For Success 200
Documents are boring but document solutions are not!! 300
Drive Adoption and Get Users Excited About SharePoint 100
EMC Corporation: Proven Best Practices for Virtualized SharePoint and FAST Search 200
Enabling the new Self-Service Alerting with SQL Server “Denali” Reporting Services 300
End-to-end BI Security Implementation Best Practices 300
Enforce Governance by Automating Site Provisioning in SharePoint 2010 300
Enliven Customer Web Sites With Excel Services Web Parts and Embedding 200
Enterprise Deployment Considerations for the User Profile Service Application 400
Everything you Need to Know About Security and FAST Search for SharePoint 2010 300
Exploring the Office Developer Story in Microsoft Office 365 300
Extending SharePoint 2010 Health & Monitoring 300
Extending SharePoint 2010 to your customers and partners 300
Extending the reach of SharePoint in multi-vendor environments 200
FAST Search for SharePoint 2010 – Hello World 200
From Web Content Management to Customer Experience Management: How to Optimize External Web Sites and Deliver a Search-Driven Experience 200
Generating Business Documents using Word Automation Services and Open XML 300
GimmalSoft: Managing Electronic Records within SharePoint 2010, including DoD 5015.2 200
Got iPads, Android tablets, smart phones and Windows devices? Managing Office 2010 endpoints in an Interoperable and multi-device World 300
Hallmark Retail Connect ® – Connecting Hallmark Gold Crown Stores 200
Handling Explosive Content Growth: Advanced Strategies for Managing Retention and Disposition in SharePoint 400
harmon.ie: Bring SharePoint to Outlook and Lotus Notes 200
Hit The Ground Running with Claims Authentication in SharePoint 2010 300
How Del Monte Foods has kept things fresh through 4 versions of SharePoint 200
How eBay Successfully Upgraded their Intranet to SharePoint 2010 200
How FAST Search Empowers Information Discovery and Intranet Search at Microsoft 200
How Gaming Giant, EA Drove Culture Change with SharePoint 2010 100
How General Mills Made Enterprise Search Personal 200
How is Duet Enterprise helping customers in the real world? 200
How Microsoft Builds, Deploys and Runs SharePoint Online: A Peek Behind the Curtain 300
How Microsoft Built Academy, it’s Social Video Platform 300
How SharePoint is Being Used to Manage Content at the World’s Largest Airline 200
How to Effectively Deploy Updates in SharePoint 2010 300
How Turner Broadcasting System Turned On Employee Engagement With SharePoint 2010 200
How We Built Community Site NothingButSharepoint.com 300
HP: Private Cloud Collaboration with HP Enterprise Cloud Services 200
Identity in SharePoint Online 200
Implementing an OnPrem/Office365 Hybrid Architecture 200
Implementing FAST Search for SharePoint 2010 at the IMF 200
InfoPath + SharePoint Designer + Office 365 = Forms in the Cloud! 200
InfoPath 2010 – Best Practices for Design and Performance 200
InfoPedia: A High Performance, Self-Service knowledge sharing and Enterprise Content Management Solution 300
Instrumentation and Debugging on Premises and in the Cloud 300
Integrating and Synchronizing SharePoint Metadata with other Metadata Stores and Environments 400
Integrating Commerce Server with a SharePoint Internet Site 300
Integrating Microsoft Office 2010 and Windows Phone 7 300
Integrating Microsoft Visio Services with System Center for BI 300
Integrating SharePoint Social features into your Windows Phone 7 Application 300
Integrating Social Networking Sites with a SharePoint Internet Site 300
Introduction to SharePoint 2010 Development 200
IW (heart) Office. Helping Information Workers Love Office Even More 300
K2: Is Workflow and Process Automation the Key for Gaining More Value from SharePoint? 200
Knowledge Communities: Unlocking SharePoint 2010’s Hidden Value 200
KnowledgeLake: Getting Ready for the Cloud – Is your Content Strategy Partly Cloudy? 200
Landing SharePoint Data in Office Client Solutions 300
Leveraging AlwaysOn in SQL Server Denali with SharePoint 2010 200
Leveraging Project 2010 with Office 365 for Project Management Success 200
Localizing SharePoint Solutions/Lösungen/◊§◊™◊®◊ē◊†◊ē◊™/Ťß£ŚÜ≥śĖĻś°ą 300
Make Your Search Social with FAST Search! 200
Making Enterprise Search a Strategic Platform Within an Organization 200
Making SharePoint 2010 Collaboration Rock by Increasing Findability 200
Making the Most of Search in SharePoint Online 300
Making the Most of Your Content: Combining ECM and Enterprise Search 300
Making your SharePoint Websites Sing on Smartphones 300
Managing Innovation with SharePoint & Project Server 2010 300
Managing LOB Data with BCS & SharePoint Search 300
Measuring the Value of Your SharePoint 2010 Investments 200
Metalogix: At Last – Size Doesn’t Matter! Considerations for building a SharePoint ECM platform to accommodate TBs of Content 200
Microsoft Project and Project Server 2010 Overview 200
Microsoft’s Vision and Strategy for the Future of Business Intelligence 200
Migrating & Organizing Content: Unleashing the Value of Automatic Placement 300
Migrating from 2007 to SharePoint 2010 – How to do it “Search First” 200
More Than My: How Microsoft is Driving Social Adoption and Intranet Transformation 200
Moving beyond Service Applications to build a social ecosystem 300
Multi-Tenancy with SharePoint 2010 300
NetApp: Addressing the Challenges of SharePoint Data Management Efficiently 200
Neudesic: Space X Launches SharePoint 2010 with Neudesic Pulse for Out of this World Business Collaboration 200
Nintex: Nintex Workflow End-to-End Solutions: One Big Demo, Live Without a Net 100
Notes From the Field: Sizing and High Availability with FAST Search Server 2010 for SharePoint 300
One Content Library, Multiple Websites with SharePoint 2010 at D&M Holdings 200
OpenText: Connecting SharePoint to your Information Governance Strategy 100
Oranges, Rocket Ships and Six Pack Abs – What your SharePoint Corporate Portal is Lacking 200
Out of the Sandbox and into the cloud: Build your next SharePoint app on Azure 400
Overview – Enterprise Search in SharePoint 2010 200
Overview of Business Intelligence in Office and SharePoint 2010 200
Overview of Duet Enterprise for SharePoint 2010 and SAP 200
Overview of ECM in SharePoint 2010 200
Packaging SharePoint Branding Elements for Deployment 300
Performance Testing and Optimizing SharePoint Websites 300
Performance Tuning SharePoint 2010 300
Planning and Implementing SharePoint 2010 Upgrade and Migration 300
Planning and Managing Sandboxed Solutions and Services 300
Planning for the Lifecycle of Your SharePoint 2010 Website 200
Planning Your Approach to SharePoint ECM 200
Planning your SharePoint 2010 Topology 300
Practical Approach to SharePoint Governance: The Key to Successful SharePoint 2010 Solutions 200
Project 2010 and SharePoint 2010 Better Together 200
Project 2010 Development for SharePoint Developers 300
Putting Search on the Map with FAST Search For SharePoint 300
Quest Software: SharePoint Migration, Implementation and Customization Notes from the Field: Observations on What Not to Do 300
Real World Examples for Virtualization, Configuration, and Security with FAST Search 300
Relevance and Ranking in SharePoint Search 2010 200
Remote BLOB Storage with SharePoint Server 2010 Deep Dive 300
SAP: Bring the Power of SAP Applications to Microsoft SharePoint Platform 100
Scaling SharePoint Document and Records Centers to Terabytes and Beyond 300
Search Engine Optimization on a SharePoint 2010 Internet Site 300
Searching Video with FAST Search for SharePoint 2010 300
Security Design with Claims Based Authentication 400
Selecting a Records Management Strategy: What’s Best for You? 200
Service Application Federation with SharePoint 2010 300
Setting up and Configuring PowerPivot v2 for SharePoint in SQL Server 2008 R2 and “Denali” 300
Seven Habits of Highly Effective SharePoint Developers 200
SharePoint 2010 Planning and Adoption Framework 200
SharePoint 2010 Solutions for Public Sector 200
SharePoint 2010: Improving Productivity with Social 200
SharePoint and Friends: The Future of Productivity 100
SharePoint Designer 2010- A Tool for End Users? 200
SharePoint Infrastructure for Geographically Distributed Organizations 300
SharePoint Internet Sites that Integrate FAST Search 300
SharePoint Lifecycle Management Solution with Project Server 200
SharePoint Online Overview 200
SharePoint Workflow Best Practices 300
SharePoint, Azure and Claims Integration for Developers 400
Solving Agile and PMO Problems by Integrating Project Server 2010 with Team Foundation Server 2010 200
Solving Enterprise Search Challenges with SharePoint 2010 300
Solving Office Compatibility to accelerate Office deployments 200
Step-by-step: Building Search Driven Applications That Matter 300
Tackling the Challenges of a Multinational Organization with Collaboration 200
Taxonomy Based Content Targeting for a SharePoint Internet Site 300
TELUS Goes Social: How a Canadian Telecom Changed the Learning Model 200
The City of SharePoint: What SharePoint Planners Can Learn From City Planning 200
The Convergence of ECM and Knowledge Management: Strategies for Success 200
The End to End Guide to Upgrading Custom Code from 2007 to 2010 300
The Forrester Survey: Best Practices in SharePoint 2010 Adoption and Migration 200
The Inside Scoop: How Microsoft Architected an Enterprise Scale Records Management Solution 300
The Inside Scoop: How Microsoft BI Solutions are helping Seattle Public Schools 200
The Inside Scoop: How Microsoft Built a Scale Lab for 120 Million items 300
The Inside Scoop: How Microsoft IT Created their CIO Scorecard Using Self-Service BI 200
The Inside Scoop: How Microsoft IT Enables Information Discovery with Managed Metadata 300
The Inside Scoop: How the SharePoint BI platform was used to create stunning dashboards at the Cherwell District Council 200
The Inside Scoop: How the SharePoint Dev Team Troubleshoots Performance and Reliability 400
The Nuts and Bolts of Managing Enterprise Content Types At Scale 400
The Official Guide to Troubleshooting FAST Search for SharePoint 2010 300
Tips and Tricks: Configuring SQL Server 2008 R2 Reporting Services with SharePoint 2010 300
Tips and Tricks: Effectively manage your SharePoint Farm with BI 300
TITUS: Using Claims for Authorization in SharePoint 2010 300
True Business and IT Partnership: Best Buy Governance and SharePoint 2010 200
Understanding SharePoint Administration Part 1 200
Understanding SharePoint Administration Part 2 200
Upgrading SharePoint Solutions and Features – A Closer Look 300
Upgrading User Profiles and My Sites from SharePoint 2007 to SharePoint 2010 300
User-Centric Design for Deploying FAST Search Server 2010 for SharePoint 300
Using SharePoint to Drive Adoption of Records and Information Management – The Charter Communications Story 200
Using the Business Decision Appliance to Enable Self-Service BI in any Organization 200
Visio Services – Creating a No-Code Visio Services Dashboard using Office 365 200
What’s new for SQL Server “Denali” Analysis Services and PowerPivot v2 200
What’s new for SQL Server “Denali” Reporting Services 200
Why Your Next SharePoint Deployment Should be Virtualized 300
With SharePoint 2010 Your Extranet is Easy 200
Work Smarter, not Harder! Top Ten Tips for Improving Productivity with SharePoint 200

Find me at SharePoint Conference

Hopefully your bags are packed and you are ready to head to the Anaheim for the sold out SharePoint Conference next week. I know I am excited. Quickly I wanted to give you a list of my sessions and other events where you can stop by to say hello or heckle (whichever you prefer) next week.

Sessions:

All three sessions will be a good old time. My partner in crime Todd Klindt and I will do our best to entertain and hopefully teach you something along the way.

  • Understanding SharePoint Administration Part 1 Monday 11 AM Marriott: Platinum Ballroom 1-5
  • Understanding SharePoint Administration Part 2 Monday 3:45 PM Marriott: Platinum Ballroom 1-5
  • Planning and Implementing SharePoint 2010 Upgrade and Migration Tuesday 3:15 PM Marriott: Platinum Ballroom 1-5

Post Conference:

No Todd just me but it is a special all day deep dive into SharePoint 2010 administration on Friday. Should be lots of fun. I plan to beat as much knowledge into your heads as possible. The post conference is an additional registration. For more info check out http://www.mssharepointconference.com/Pages/pre-post-conference-trainingpage.aspx#5

Free Books:

Who doesn’t love free books. Todd, Steve, and I will be signing our SharePoint 2010 admin book at a few different places during the week.

  • Monday between 6:30 and 8:30pm we will be at the ESPN Zone at the Idera party signing books.
  • Wednesday at 3 PM we will be at the Rackspace booth. They bought a lot so come get one.
  • Wednesday evening during the Reception in the Exhibit hall we will be signing a few more books at the Rackspace booth.

Random events:

  • Tuesday from 12 to 12:30 Todd and I will be at the Quest booth doing some crazy thing. Some game show. Should be fun and requires audience participation.

At the booth:

SharePoint911 will have a booth as always. Come say hello. We have a whole bunch of fun people to meet there. For more info or pretty pictures of the team click here.

  • Randy Drisgill – MVP
  • Phil Jirsa
  • Todd Klindt – MVP
  • Jennifer Mason
  • Jonathan Mast
  • Raymond Mitchell
  • Larry Riemann
  • Laura Rogers – MVP
  • John Ross – MVP
  • Nicola Young
  • Shane Young ‚Äď MVP

Even more important? At the booth we will be giving away stress reliever Cows, and two new mystery animals. J Very exciting. Be sure to Moo at anyone in the booth to get the mystery animals.

See ya there!

Shane ‚Äď SharePoint Consulting

[Expired] 3x 50GB Binverse Usenet Accounts

Windows Guides has teamed up with Binverse to provide 50 GB Premium Usenet accounts three (3) Windows Guides readers. If you’d like to find out more about Binverse, please head to their homepage: Binverse. They offer¬†free trials if you want to test out their service. What is Usenet? If you’re unfamiliar with Usenet, here’s a […]

[Competition] 3x 50GB Binverse Usenet Accounts

Windows Guides has teamed up with Binverse to provide 50 GB Premium Usenet accounts three (3) Windows Guides readers. If you’d like to find out more about Binverse, please head to their homepage: Binverse. They offer¬†free trials if you want to test out their service. What is Usenet? If you’re unfamiliar with Usenet, here’s a […]

[Expired] 3x 50GB Binverse Usenet Accounts

Windows Guides has teamed up with Binverse to provide 50 GB Premium Usenet accounts three (3) Windows Guides readers. If you’d like to find out more about Binverse, please head to their homepage: Binverse. They offer¬†free trials if you want to test out their service. What is Usenet? If you’re unfamiliar with Usenet, here’s a […]

[Competition] 3x 50GB Binverse Usenet Accounts

Windows Guides has teamed up with Binverse to provide 50 GB Premium Usenet accounts three (3) Windows Guides readers. If you’d like to find out more about Binverse, please head to their homepage: Binverse. They offer¬†free trials if you want to test out their service. What is Usenet? If you’re unfamiliar with Usenet, here’s a […]

Future mocking revisited

Previously , I have posted how it is possible to mock a method without passing the dependency through a constructor / calling method. This is something true for third party controls and tools where we have little control over how its created.

You can find more on that in the following post:

http://weblogs.asp.net/mehfuzh/archive/2011/07/21/fake-a-member-without-worrying-about-passing-the-dependency.aspx

 

Now the feature that lets you mock  members without passing the dependency, we call it Future mocking. However it does not mean that Justmock ignores the instance completely but rather there is a workflow where it checks if there is no match for instance (of course it is a profiler intensive feature) and mocked within current context it tries to match any setup that is meant for.

One of the best example that I recently encountered through a community feedback that describes a UI case where based on some action against the form, raises an event which needs to be handled in a specific way in the unit test to assert the expected value.

Therefore, we have a Form class where the constructor looks something like:

 

  1.  
  2. public Form2()
  3. {
  4.     InitializeComponent();
  5.  
  6.     this.service = new EntryService();
  7.  
  8.     service.Saved += new EventHandler<EntrySavedEventArgs>(service_Saved);
  9. }            

 

We have a SaveToDatabase method that on the other hand invokes the Save method in EntryService and finally raise an event when successfully saved.

 

  1. public void SaveToDatabase(string value)
  2.     {
  3.         try
  4.         {
  5.             this.service.Save(value);
  6.         }
  7.         catch (DuplicateEntryException ex)
  8.         {
  9.             MessageBox.Show("Entry Duplicated " + ex.DuplicatedValue);
  10.         }
  11.         catch (ArgumentNullException)
  12.         {
  13.             this.label1.Text = "Valeur manquante";
  14.         }
  15.     }

 

Here  for now lets consider our event target will have just the following block:

 

  1. void service_Saved(object sender, EntrySavedEventArgs e)
  2. {
  3.     this.label1.Text = "Saved string : " + e.EntryValue;
  4. }

 

In the first snippet we can see that EntryService is created in  the constructor of Form2 class and therefore not injected via some external class/agent. The thing that the particular user wanted to do is to raise the target event with the expected EntryValue that is passed during SaveToDatabase call. So the specification for it that verifies such follows:

 

  1. [Subject(typeof(Form2))]
  2. public class when_save_to_database_is_invoked_on_form
  3. {
  4.     Establish context = () =>
  5.     {
  6.         IEntryService serviceMock = Mock.Create<EntryService>();
  7.         Mock.Arrange(() => serviceMock.Save(valueToSave)).Raises(() => serviceMock.Saved += null, new EntrySavedEventArgs(valueToSave));
  8.         sut = new Form2();         
  9.     };
  10.  
  11.     private Because of = () =>
  12.     {
  13.         sut.SaveToDatabase(valueToSave);
  14.     };
  15.  
  16.     private It should_assert_that_label_contains_expected_valueToSave = () =>
  17.         sut.label1.Text.ShouldEqual("Saved string : " + valueToSave);
  18.  
  19.  
  20.     static Form2 sut;
  21.     const string valueToSave = "Raise Event";
  22. }

Here we can see that although no instance is supplied to the target UI class JM picks up the intended setup from the context. Needless to mention that in code there are smells like labe1 is private and is accessed by specifying InternalsVIsibleTo  for specification assembly but rather it should be implemented using MVVM and {Binding Label1 } way. But that is out of the scope of this post and leave that to the reader. I would further thank Vincent Grondin for the project and you can try this out with the latest release as of today.

You can further download the sample project here:

 

Finally, hope this has given you an idea on getting started with future mocking.

Thanks

Data Protection Manager und System State Sicherung‚ÄďReplica Inconsistent

Ich falle selber jedesmal wieder darauf herein…


Wenn ich mit dem Microsoft System Center Data Protection Manager (DPM) 2010 eine Sicherung des System State eines Servers machen möchte und dazu eine neue Protection Group anlege, schlägt der Sicherungsvorgang fehl.


The replica of System Protection on lysithea.wellington-muc.de is inconsistent with the protected data source. All protection activities for this data source will fail until the replica is synchronized with consistency check.

DPM failed to create the backup. If you are backing up only System State, verify if there is enough free space on the protected computer to store the System State backup. On protected computers running Windows Server 2008, verify that Windows Server Backup (WSB) is installed and that it is not performing any other backup or recovery task.


Die Lösung ist eigentlich recht simpel, man muss nur genau lesen…: “verify that Windows Server Backup (WSB) is installed”


Ok, dazu auf dem zu sichernden Server den Servermanager starten und über Features “Windows Server Backup Features” installieren. Und schon klappt es auch mit der System State-Sicherung. Natürlich könnte auch fehlender Speicherplatz auf dem zu sichernden Server die Ursache sein, aber das ist eigentlich zu Offensichtlich.


Warum benötigt DPM ein lokal installiertes Windows Backup? DPM ist ja eine Backup Lösung. Ganz einfach: DPM kann von sich aus keinen System State sichern und startet daher am Zielserver das windowseigene Backupprogramm, macht damit eine Sicherung und kopiert dann die Sicherungsdatei auf den DPM. Bei der Wiederherstellung läuft es genau andersherum.


Ich hoffe, ich kann mir das irgendwann mal merken…;-)


Viele Grüße
Dieter


Dieter Rauscher
MVP Forefront

Dell Venue Pro Not Ready for Mango!

All right, mine is an open-market (pure Dell factory unlocked, no hacks/workarounds) Dell Venue Pro Windows Phone purchased in India. As excited as others, I thought I would update my device too to the latest greatest Mango RTM version. Since Microsoft didn’t say DVP is not ready for Mango in its International Phone Update site (the US version does say Mango update not available for DVP) and the build number is different for international update (7.1.7720), I believed it would play well and ventured ahead to force update my device. After roughly an hour, every phone update symptom was positive: the device threw a successful update message, Zune showed the new Mango build from my device and the new default wallpaper on the phone was also changed to a mango pile photo. I was so excited and was just a touch away (well, six touches ‚Äď SIM PIN) from diving into the Mango world!! After a second I touched the first digit, gosh‚Ķ the DVP restarted itself!! Well, waited for it to come back to the SIM PIN number pad, tried again touching it ‚Äď well, it restarted again. Thinking I messed up the update, I reverted to previous version via restoring in Zune. After consciously watching for about an hour and made sure the update went into the device well, I again touched the screen ‚Äď huh, the device pressed itself for restart. Well, even third time was not a charm for me and finally I stayed with the old version itself (7.0.x).


Bottom-line ‚Äď Dell Venue Pro is not ready for the latest Mango update yet!! It just doesn’t like your touch yet! :-) I do not know if there was any success story yet! Please leave a comment if you know about one!


When Dell said they would support Mango later this Fall, I didn’t realize they literally meant it!

Empty groups not being expanded in a combobox for a TFS work item

A common work item type (WIT) edit in TFS is to limit the list of names shown in a combo to the users assigned to the project i.e. the members of the Team Projects Contributors and Project Administrators groups.

This is done by editing the WIT either via your favourite XML editor or the Process Template Editor (part of the power tools). You edit the Allowedvalues for the field you wish to limit such as the Assigned To as shown below,

image

Which gives the following XML behind the scenes (for those using XML editors)

<ListRule filteritems="excludegroups">
  <LISTITEM value="[Project]Contributors" />
  <LISTITEM value="[Project]Project Administrators" />
  <LISTITEM value="Unassigned" />
</ListRule>

Notice that Expand Items and Exclude Groups are checked. This means that the first two lines in the list will be expanded to contain the names in the groups, not the group names themselves.

A small gotcha here is that if either of the groups are empty you do see the group name in the combobox list, even with the Exclude Groups checked. Team Explorer does not expand an empty list to be a list with no entries, it show the group name. So you would see in the combo something like

  • [MyProject]Contributors
  • John
  • Fred
  • Unassigned

where John and Fred as project administrators and the [MyProject]Contributors group is empty.

This should not be a serious issue as in most cases why would you have a Team Project with no contributors or administrators? However it is conceivable with more complex security models you might see this issue. if so make sure each group in the list has at least one member, again if it does not have any members do you really need it?

VB Quark #5: C is for Char

Can you pick the problem with this code ? :

      Dim currentChar As Char

      For i = 0 To
largenumber
         currentChar = getChar(i)
        
If currentChar = "a" Then
            count += 1
        
End If
     
Next

 

The answer of course is the literal ‚Äúa‚ÄĚ is of type string, not of type Char. Hence currentChar gets implicitly widened to a String to make the expression a string comparison expression. This means a new string is created with the contents of currentChar on each iteration, and the comparison is a string comparison which checks for null strings and empty strings and then does a compare ordinal etc. This is incredibly inefficient.

If ‚Äúa‚ÄĚ was typed as Char, then the comparison is a simple low level IL compare of the underlying values (int16‚Äôs).

You can use CChar, as in CChar(‚Äúa‚ÄĚ), but it‚Äôs a lot easier just to add the type literal suffix c, eg ‚Äúa‚ÄĚc

      Dim currentChar As Char

      For i = 0 To
largenumber
         currentChar = getChar(i)
        
If currentChar = "a"c Then
            count += 1
        
End If
     
Next

The change in this code is about 20 fold performance improvement (run as release build outside of Visual Studio). That’s a 20 fold increase just by typing one extra letter !!

This example was based on real sample code where a massive file was being parsed char by char.  There too, attention to the fine detail showed a massive performance improvement over the original code. It‚Äôs often the little things that can make a huge difference.

 

This VB quark was brought to you by the type literal ‚Äúc‚ÄĚ

Converting a .NET DateTime object to a JavaScript Date object

When using a WCF or ASMX web service in ASP.NET, you might find the need to pass back a DateTime object via JSON. However, what you might not realize is that by passing a .NET DateTime object back to JavaScript, you‚Äôd receive an ‚ÄúInvalid date‚ÄĚ script exception. The data being passed back to JavaScript may resemble the following:

/Date(1315938182867-0400)/

The reason that the date is formatted in this way is that JavaScript uses Unix Epoch as the base date and time. This value is 1/1/1970 at 12:00:00 AM. JavaScript tracks dates as the number of milliseconds from the Unix Epoch value to the date submitted.


To assist in the JavaScript date conversion, I have added an extension method for the DateTime object that resembles the following:

private static readonly long UnixEpochTicks = (new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc)).Ticks; 
        
public static long? ToJsonTicks(this DateTime? value)
{
    return value == null ? (long?)null : (value.Value.ToUniversalTime().Ticks - UnixEpochTicks) / 10000;
}

public static long ToJsonTicks(this DateTime value)
{
    return (value.ToUniversalTime().Ticks - UnixEpochTicks) / 10000;
}

In JavaScript, I can now pass this value into a Date() object and get the correct DateTime value for my locale.


Feel free to use this method in your applications. I offer no warranties or guarantees with the code above.

Tempted by the new Kindle?

I am back on the should I buy a Kindle train of thought. Todays announcements are certainly interesting, I am not talking so much about the new Kindle Fire, but the new entry level version and the Touch. For me the tempting feature is still the E-Ink and battery life.

The point is I have got used to reading on my phone, a Kindle might be easier on the eye, but it is more kit to carry, and I just don’t think I want to carry any more things.

Metro Style app development.

Con la intención de ir abriendo camino, me complace compartir un enlace que os mantendrá entretenidos algunas horas J


Os estaréis preguntando de que estoy hablando… pues bien: creo que habla sobre “Como no perder tu estilo en el metro mientras intentas aprender development” esto último desconozco de lo que se trata. Jajaja Broma!!


Sin duda se trata de un valioso recurso para introducirnos haz clik en :


Metro style app development 


Que la lectura os sea agradable y aprendais que es “Metro Style”.
PepLluis,

Desktop Wallpaper: 800 High-resolution Wallpapers for Windows, Linux, Mac [Set 3]

Over the last 16 weeks, we’ve released 16 wallpaper packs‚ÄĒeach with up to 50 wallpapers*. In this post, we recap these collections and provide links to them all. Have fun finding a new desktop wallpaper! *One of the wallpaper sites we usually link to has changed its design and is now riddled with ads.¬†Because¬†of this, […]

Desktop Wallpaper: 800 High-resolution Wallpapers for Windows, Linux, Mac [Set 3]

Over the last 16 weeks, we’ve released 16 wallpaper packs‚ÄĒeach with up to 50 wallpapers*. In this post, we recap these collections and provide links to them all. Have fun finding a new desktop wallpaper! *One of the wallpaper sites we usually link to has changed its design and is now riddled with ads.¬†Because¬†of this, […]

[ConfigMgr 2007] Failed to Run Task Sequence – An error occurred while starting the task sequence (0x80070032)

I‚Äôm trying to build a Windows XP machine under ConfigMgr 2007. I boot off my boot USB stick and it runs the Task Sequence Wizard. I choose the Task Sequence…(read more

Enviando un correo al jefe inmediato en un flujo de trabajo SharePoint Designer 2010

From: Haarón González [mailto:haarongonzalez@mvps.org]
Sent: Tuesday, September 27, 2011 8:16 AM
To: Privado
Subject: RE: Consulta

Estimado Privado, tanto SharePoint 2007 como 2010 cuentan con una aplicaci√≥n espec√≠fica para personalizar el producto, se llama SharePoint Designer 2007 o 2010, en ambos casos es sin costo y la peudes descargar desde aqui. Con esta herramienta podemos personalizar el comportamiento de nuestros sitios SharePoint sin codificar o instalar alg√ļn otro componente. Claro que tiene sus ventajas y desventajas pero aqu√≠ puedes encontrar m√°s informaci√≥n al respecto.

Dentro de las características de este producto existe el Workflow Designer. Básicamente cargamos SharePoint Designer 2010 y abrimos el sitio que deseamos personalizar. Navegamos en la sección de Site Object para elegir Workflow. Esto carga el Ribbon específico para flujos de trabajo y muestra los tipos de flujo que se pueden crear y algunos existentes.

image

De acuerdo a tu pregunta y en tu caso muy particular estaremos creando un List Workflow donde deber√°s elegir a que lista o biblioteca de documentos deseas personalizar.

image

Deberás especificar el nombre y descripción de tu flujo de trabajo y al dar Ok, se cargara a Workflow Designer y sus correspondientes opciones dentro del Ribbon.

image

La naturaleza de construcción de un flujo de trabajo radica en la noción de:

  • Steps (Pasos del flujo de trabajo):
  • Conditions (Condiciones que eval√ļan algo)
  • Actions (Acciones que se ejecutan cuando estas condiciones se cumplen)

La manera en la que esto funciona es que un paso (Step) agrupa una serie de condiciones (Conditions) y acciones (Actions) que se ejecutan en un determinado momento, es posible crear m√°s de un paso y ejecutarlos en paralelo, sin embargo, en este momento no es tu caso. Dentro del bloque de Step 1 agregamos una o m√°s condiciones usando el Ribbon. SharePoint Designer 2010 nos permite utilizar las condiciones pre fabricadas en el producto.

image

Sin embargo, como programador tu puedes crear las tuyas propias utilizando algunas de las clases de Workflow Foundation ver WebCast Construyendo Flujos de Trabajo en SharePoint 2010 utilizando SharePoint Designer 2010.

Claro que el Step no necesariamente requiere una condición para ejecutarse.

A continuación una vez que agregamos las condiciones que requerimos evaluar, procedemos a agregar las acciones que básicamente reflejan las reglas de negocio que necesitamos contemplar en nuestra lista o biblioteca. Aquí lo interesante es que también se muestran todas las acciones disponibles en SharePoint 2010 y categorizadas por el tipo de acción.

image

Aquí quiero hacer notar que existe una acción llamada Lookup Manager of a User que obtiene al usuario que se tiene configurado como jefe directo en el directorio activo. Por lo tanto, creo que es muy factible la construcción de tu flujo de trabajo que mencionas en tu correo.

B√°sicamente lo que har√°s es invocar la acci√≥n Lookup Manager of a User configurando la propiedad ‚Äúthis user‚ÄĚ para que obtenga el correo electr√≥nico del usuario que registro o inicio el flujo. En este caso ese dato existe en los campos (fields) del elemento actual (Current Item) que representa el documento o elemento de lista en cuesti√≥n. Es importante mencionar que el resultado de la acci√≥n es guardado en la variable Manager que posteriormente otra actividad puede utilizar.

image

Después agregas otra actividad llamada Send Email y configuras a quien se le mandara el correo electrónico. En este caso usaremos la variable Manager que contiene el correo electrónico que la acción FInd Manager genero con base el usuario en cuestión.

image

Das clic en Ok y capturas el título y cuerpo del correo electrónico que requieres enviar al jefe.

image

Después das clic en Ok y guardas el flujo de trabajo. Seleccionas Publish y listo ya puedes probar el comportamiento de tu flujo de trabajo.

Mucho más detalle aquí: http://office.microsoft.com/en-us/sharepoint-designer-help/workflow-conditions-in-sharepoint-designer-2010-a-quick-reference-guide-HA010376962.aspx

Bien espero que encuentres la solución a tu escenario y a tus órdenes cualquier pregunta que tengas.

Saludos

 

HG

 

De: Privado
Enviado: lunes, 26 de septiembre de 2011 09:44 a.m.
Para: Haaron Gonzalez
Asunto: Consulta

Hola buenos días desde Colombia..

Haaron quería preguntarte algo, estoy haciendo un flujo de trabajo con SharePoint 2010 pero requiero que dependiendo de la persona que ejecute el flujo de trabajo le envié un correo al el jefe inmediato.

Por ejemplo el empleado 1 tiene como jefe a Jefe 1

Y empleado 2 tiene como jefe el jefe 2

Entonces si el empleado 1 ejecuta el flujo, le debe enviar un correo a el jefe 1, de igual manera

Si el empleado 2 ejecuta el flujo, le debe enviar un correo a el jefe 2.

Esto no sé cómo hacer pues SharePoint le envía un mensaje a alguien puntual.. puedo hacer esto??

Gracias por tu respuesta

Ejemplo C#, Explicit Interface Implementation

Un nuevo ejemplo para darle seguimiento al  Webcast del 17 de Septiembre, en esta ocación hablaremos de  Explicit Interface Implementation.


 


Les dejo a mas detalle el ejemplo con una explicación mas factible y que lo puedan correr en su Visual Studio:


 


interface IDimensions


{


   float Length();


   float Width();


}


 


class Box : IDimensions


{


   float lengthInches;


   float widthInches;


 


   public Box(float length, float width)


   {


      lengthInches = length;


      widthInches = width;


   }


   // Implementación de miembro explicito de la interface


   float IDimensions.Length()


   {


      return lengthInches;


   }


   // Implementación de miembro explicito de la interface:


   float IDimensions.Width()


   {


      return widthInches;     


   }


 


   public static void Main()


   {


      // Declarar una instancia de la clase “myBox”


      Box myBox = new Box(30.0f, 20.0f);


      // Declarar una instancia de la interface, “myDimensions”:


      IDimensions myDimensions = (IDimensions) myBox;


      // Imprime las dimensiones de la caja o “Box”:


*/


      //System.Console.WriteLine(“Length: {0}”, myBox.Length());


      //System.Console.WriteLine(“Width: {0}”, myBox.Width());         


*/


      System.Console.WriteLine(“Length: {0}”, myDimensions.Length());


      System.Console.WriteLine(“Width: {0}”, myDimensions.Width());


   }


}


 


 


Saludos,


 


Luis Antonio Alfaro 


follow me: http://twitter.com/lalfarod



 

¿Cuál es la primer lección de un administrador SharePoint 2010?

Por ah√≠ un compa√Īero me coment√≥ que ten√≠a el siguiente error cada que intentaba agregar una soluci√≥n SharePoint 2010 en su granja de desarrollo.

El error era:

Insufficient SQL database permissions for user ‘Name: DOMAINspadmin SID: S-1-5-21-1455513522-927615373-1062434389-54912302 ImpersonationLevel: None’ in database ‘DEV_SharePoint_Config’ on SQL Server instance ‘SPMACHINE’. Additional error information from SQL Server is included below.

The EXECUTE permission was denied on the object ‘proc_putObject’, database ‘DEV_SharePoint_Config’, schema ‘dbo’.

Y bueno, al averiguar c√≥mo estaba haciendo el deploy me d√≠ cuenta que estaba trabajando con stsadm.exe ‚Äďo addsolution sobre SharePoint 2010, este comando se sigue soportando y sin duda alguna es de mucha utilidad para aquellos administradores que gestionaban granjas de SharePoint 2007.

Se supone que en SharePoint 2010 la manera m√°s adecuada de realizar este tipo de operaciones es usando Power Shell ya que el Snap In de SharePoint se encarga de otorgar los permisos necesarios a la cuenta en cuesti√≥n para ejecutar comandos sobre los objetos de base de datos requeridos, como por ejemplo el rol ‚ÄúSharePoint_Shell_Access‚ÄĚ sobre la base de datos de configuraci√≥n de la granja como se especifica aqui http://technet.microsoft.com/en-us/library/ee806878.aspx.

Ante este escenario tenemos varias opciones.

Opción 1: Hacer el deploy usando SharePoint 2010 Management Shell

Aquí se indica como hacer deploy usando Power Shell. http://technet.microsoft.com/en-us/library/cc262995.aspx#Importing el cual al cargar el Snap In de SharePoint sobre la consola de Power Shell de forma automática establece los permisos requeridos para ejecutar operaciones de configuración.

Opción 2: Asignar el rol requerido en SQL Server

1. Acceder a SQL Server Management Studio

2. Expandir el árbol para buscar la carpeta de Security y después Logins

3. Acceder a las Properties de la cuenta con la cual estamos haciendo el deploy

4. Elegir User Mappings

5. Elegir la base de datos de configuración de la granja SharePonit_Config

6. Elegir de los roles que se tienen en la base de datos el de SharePoint Shell Access y dar clic en Ok.

image

7. Ejecutar el deploy usando la consola de Windows y ejecutando el comando stsadm.exe ‚Äďo addsolution ‚Äďfilename ‚Äúpath del wsp‚ÄĚ

Opción 3: ejecutar el comando stsadm.exe usando la consola SharePoint 2010 Management Shell

La primer lección que un administrador SharePoint 2010 debe aprender es siempre utilizar SharePoint 2010 Management Shell como su principal herramienta de adminsitración SharePoint. :)

image

HG
SharePoint Developer! :)

Recent Comments

Archives

ÔĽŅ