Thursday, December 24, 2009

Sharepoint 2010 Training Videos

Sharepoint 2010 Getting Started Videos.

Following Videos are Good Sharepoint 2010 Training Material to Get Started

It contains Videos for Following Topics

Sharepoint 2010 Training Material for Free

Sharepoint 2010 Training Module 1: Videos for Sharepoint 2010 Web Part
  • Building Web Part in Sharepoint 2010
  • Standard Web Part
  • Development of Standard Web Part
  • Video for Understanding Visual Web Part
  • Visual Web Part in Action Video

Sharepoint 2010 Training Module 2: Videos on What Developer Must Know about Sharepoint 2010
  • Sharepoint for Developers
  • Types of Sharepoint Applications
  • Web Applications, Site Collections and Sites
  • Sharepoint 2010 Technology Stack
  • Sharepoint 2010 File System
  • How to build project items, Features and Solutions
  • Sharepoint Solutions in Visual Studio 2010
  • Sharepoint Solution deployment in Visual Studio 2010
  • Sharepoint 2010 Object Hierarchy
  • Sharepoint Farms

Sharepoint 2010 Training Module 3: Videos on Building Blocks for Web Part Development in Sharepoint 2010
  • Built-in Web Part
  • Built-in Sharepoint Controls
  • Web Part Building Blocks
  • Rendering data with Sharepoint Controls

Sharepoint 2010 Training Module 4: Videos on Accessing Sharepoint 2010 Data with Service-Side APIs
  • Accessing Sharepoint Data
  • Lists, List data and CAML
  • LINQ to Sharepoint
  • Document Libraries
  • What are content types?

Sharepoint 2010 Training Module 5: Videos on Accessing Sharepoint 2010 Data with Client-Side APIs
  • Consuming sharepoint data from Remote Applications
  • Using the client object model
  • Data and the client object model
  • Accessing Sharepoint data from a .Net Application
  • Silverlight Applications and the client object model
  • Silverlight Applications and CAML

Sharepoint 2010 Training Module 6: Videos on Accessing External Data with Business Connectivity Services in Sharepoint 2010
  • Overview of Business Connectivity Services
  • Business Connectivity Services Architecture
  • External Content Types and Business Connectivity Services
  • Developing for Business Connectivity Services

Sharepoint 2010 Training Module 7: Videos on Developing Business Processes with Sharepoint 2010 Workflows
  • Sharepoint Workflows
  • Creating Workflows in Sharepoint Designer
  • Creating Workflows in Visual Studio
  • Workflow Events
  • Creating Workflow Forms

Sharepoint 2010 Training Module 8: Videos on Creating Silverlight Interface for Sharepoint 2010 Solutions
  • Consuming Sharepoint objects and data in silverlight applications
  • Hosting Silverlight applications in Sharepoint
  • Building Silverlight Web Parts
  • Rendering Sharepoint data in Silverlight
  • Rendering Sharepoint Media files in Silverlight

Sharepoint 2010 Training Module 9: Videos on Sandboxed Solutions for Web Parts in Sharepoint 2010
  • Sandboxed Solutions in Sharepoint
  • Site Collections Solution Galleries
  • Capabilities and Elements in Sandboxed Solutions

Sharepoint 2010 Training Module 10: Videos on Creating Dialogs and Ribbon controls for Sharepoint 2010
  • New User Interfaces for Sharepoint 2010
  • Developing Ribbons controls
  • The Dialog Platform
  • Developing on the Dialog Platform

Sharepoint 2010 Tutorial

Sharepoint 2010 Tutorial


This evaluation guide is designed to give you an overview of the feature set and extensibility points for Microsoft SharePoint 2010 and an understanding of how the professional developer can use these features and extensibility points to create comprehensive solutions. This guide begins with an overview of the types of solutions that you can build by developing on SharePoint. It then addresses the developer tools for SharePoint 2010, the new platform features, and the solution deployment enhancements. The guide concludes with six walkthroughs that show example developer customizations in SharePoint 2010. The goal of this guide is to provide a framework for an effective evaluation of SharePoint 2010 as a solution creation platform. This guide is intended for the professional developer, development lead, and software architect. An evaluation guide focused on the SharePoint 2010 product and an evaluation guide for the IT Professional are also available.


Index of Sharepoint 2010 Tutorial
  • Introduction
  • What’s New in Sharepoint 2010
  • Building Applications on SharePoint
  • Business Collaborative Applications
  • Customizing Out-of-Box Workloads
  • One Web Part Solutions
  • Developer Tools
  • Visual Studio 2010 SharePoint tools
  • Sharepoint Development for Windows 7 and Win Vista
  • SharePoint tools
  • SharePoint Designer 2010
  • Workflow Design
  • Business Connectivity Services Design
  • Developer Dashboard
  • SharePoint 2010 Application Lifecycle Management
  • Better Solutions with Rich Platform Services
  • User Interface
  • Building User Interface
  • The SharePoint 2010 Ribbon
  • The SharePoint 2010 Dialog Framework
  • New Silverlight Web Part
  • Data and Programmability
  • SharePoint List Lookups and Relationships
  • Business Connectivity Services
  • LINQ to SharePoint
  • Performance Enhancements
  • Event Enhancements
  • Workflow Enhancements
  • Document Sets
  • SharePoint 2010 API Choices
  • Flexible Deployment
  • Sandboxed Solutions
  • SharePoint Online
  • Upgrading Solutions
  • SharePoint 2010 Developer Walkthroughs
  • Walkthrough 1: Using LINQ to SharePoint from within a Visual web part
  • Walkthrough 2: Building a Web Part for a Sandboxed Solution
  • Walkthrough 3: SharePoint Designer Workflows imported to Visual Studio 2010
  • Walkthrough 4: Accessing List Data using the JavaScript Client OM
  • Walkthrough 5: Creating and Using External Lists in SharePoint 2010
  • Walkthrough 6: Extending the SharePoint 2010 UI with Silverlight

Monday, November 23, 2009

Download Sharepoint 2010 and Office Professional 2010

Microsoft SharePoint Server 2010 provides an extensible solution platform to rapidly build solutions using familiar .NET technologies like Visual Studio 2010 and SharePoint Designer 2010. You'll find a rich set of out-of-the-box features such as Business Connectivity Services for read/write integration between application data, the Web, and Office 2010 client.

Office 2010 presents several exciting advances for developers by offering substantially expanded platform services, a big leap in tools productivity, and longer strides as an open/interoperable platform.

Tuesday, October 20, 2009

Sharepoint Conference Keynote Video

Watch Video of Sharepoint 2009 Conference

Steve Ballmer Keynote on Sharepoint 2010



Watch Video: Jeff Teper presentation on Sharepoint 2010

Sharepoint 2010 Video Tutorial

Video tutorial for sharepoint 2010.

Video for Create External Content Types using SharePoint Designer 2010
The External Content Types section within SharePoint Designer lets us define connections to Line of Business data that we have access to as a developer, designer or admin of that site. Once the connection is defined, business analysts can use that connection to create what’s called External Lists which shows the content of what the connection is attached to (for example a table in a database).

Video for Navigational components of SharePoint Designer 2010
SharePoint Designer 2010 is the premier tool to configure and customize SharePoint 2010. It has evolved from SharePoint Designer 2007 with a totally new look and feel to it. This video shows how you can navigate around the SPD 2010 environment.

Video for Creating SharePoint 2010 site components
This video shows how to create components of a SharePoint 2010 site such as Lists, Libraries and Subsites.

Video for Create and Manage SharePoint Content using SharePoint Designer 2010
Using SharePoint Designer 2010, it is very easy to create SharePoint 2010 components. This video shows how easy it is and how much faster you can create the objects in this environment compared to using the browser to manage your sites.

Video for What's new in InfoPath 2010 - Walkthrough
A walkthrough of what's new in Microsoft InfoPath 2010. Features such as Page and Section Layouts, Controls and the Ribbon interface are explored in tihs video.

Video for Configuring SharePoint security using SharePoint Designer 2010
SharePoint security can be managed easily using either the browser or SharePoint Designer. This video shows how you can manage it using SharePoint Designer 2010.

Video for Explore InfoPath 2010 Controls
This video explores the various controls which are present in InfoPath 2010. Many have been carried over from InfoPath 2007, but some are brand new in this version of InfoPath.

Video for XSLT List View web parts and Conditional Formatting
XSLT List View web part is a new type of web part that lets you manipulate data in a flexible manner using SharePoint Designer. A designer can easily connect to a variety of data sources to display data as needed and also setup any required conditional formatting of data. The best part about this setup is that a member of the site who is later using this data through the browser can easily interact with the views of this data or create additional views.

Video for Configuring Rules in InfoPath 2010
Use the Rules functionality in InfoPath 2010 to apply formatting, validate data, hide controls and also execute actions. Once a Rules is implemented, it can be easily copied and reused for other fields as well. Also, the Form Load event configuration is shown in this video.

Monday, October 19, 2009

Convert System.Drawing.Color to HTML color

Simple utility code syntax for converting System.Drawing.Color to HTML color

/*
Runtime whenever you are trying to access color, it is easy to assign known colors, but if you want to assign HTML Color name runtime you can use ColorTranslator.FromHtml method instead of Color.KnownColor name.
*/

tdRecord.BackColor = System.Drawing.Color.Yellow;
tdRecord.BackColor = System.Drawing.ColorTranslator.FromHtml("#ecf5f8");

Monday, October 12, 2009

SharePoint Development Virtual Lab

A SharePoint Developer Introduction - Page Branding


After completing this lab, you will be better able to work with masterpages, work with styles sheets, create themes, and utilize features and feature stapling.

Sunday, October 11, 2009

DataView.Table - Problem to Persist Sort or Filter View

I was trying to Sort data with DataView and was trying to convert Dataview to table. I have notice even though view is sorted, when you try to convert it to table it would return only default sort.


Example:
//I was trying to perform something as following
DataTable dtGrid = GetData();
DataView dvSort = new DataView(dtGrid);
dvSort.Sort = "CreationDate DESC";
dtGrid = dvSort.Table; //Will Not Persist Sort Order

In above example even though view is in sorted order, when i tried to convert it to table it would return only default view. In order to get Sorted view (Persist Sort order) instead of using DataView.Table you should use DataView.ToTable() method

So if you changed above code with following it would start working as expected.

DataTable dtGrid = GetData();
DataView dvSort = new DataView(dtGrid);
dvSort.Sort = "CreationDate DESC";
dtGrid = dvSort.ToTable(); //Persist Sort Order

Internal server error 500 while running asp.net application

I was getting "Internal server error 500" while running asp.net application.


Cause of Error Code 500
500 Internal Server Error is a general error code and does not reveal any informatino about the actual cause. You need to check the log files for more information i.e. (Event log - Eventviewer). You can also find more details for exact cause of error by disabling "Show friendly HTTP error messages" in your browser.

Solution of Error
Ones you have cause of error, solution would be simple. There could be different error for you, but for me this error was occurring because of following reason.

Event message: Unable to make the session state request to the session state server. Details: last phase='Sending request to the state server', error code=0x80072749, size of outgoing data=0

Exception type: HttpException
Exception message: Unable to make the session state request to the session state server. Please ensure that the ASP.NET State service is started and that the client and server ports are the same. If the server is on a remote machine, please ensure that it accepts remote requests by checking the value of HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\aspnet_state\Parameters\AllowRemoteConnection. If the server is on the local machine, and if the before mentioned registry value does not exist or is set to 0, then the state server connection string must use either 'localhost' or '127.0.0.1' as the server name.

Now,

After checking "Services" in Administrative tools of control panel I found that "Asp.net State Service" was not installed.

I have tried to reinstall asp.net state service again using following command.

c:\Windows\Microsoft.NET\Framework64\v2.0.50727>aspnet_regiis -i

ones asp.net state service is installed you need to start the service and change the start up type option to automatic. Finally my asp.net application started working again.

More details for Win Vista Users

If you are running into above error, than try to check following.

1. Check whether IIS is Installed on your machine? (In Run dialogbox type: Inetmgr)

To Install IIS on Win Vista.

Control Panel > Programs and Features > Turns Windows features on or off

Select Ineternet Information Services from popup dialog and press ok button.

2. Open Services and check whether "Asp.net State Service" is installed? (In Run dialogbox type: services.msc)

To install asp.net state service. run following command from your command prompt and make sure that you are pointing to correct directory.

c:\Windows\Microsoft.NET\Framework64\v2.0.50727>aspnet_regiis -i


ones asp.net state service is installed you need to start the service and change the start up type option to automatic. Finally my asp.net application started working again.

Thursday, October 08, 2009

Restore failed for Server 'my-pc\sqlexpress'

Recently I have upgraded my laptop from 32 bit to 64 bit OS. Most of the thing work good except restoring of Database from my old laptop.


Following is Error I was receiving
===================================
Restore failed for Server 'my-pc\sqlexpress'. (Microsoft.SqlServer.Smo)
------------------------------
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=9.00.4035.00&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Restore+Server&LinkId=20476
------------------------------
Program Location:
at Microsoft.SqlServer.Management.Smo.Restore.SqlRestore(Server srv)
at Microsoft.SqlServer.Management.SqlManagerUI.SqlRestoreDatabaseOptions.RunRestore()
===================================

System.Data.SqlClient.SqlError: Directory lookup for the file "C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\dailyfreecode_DATA.mdf" failed with the operating system error 5(Access is denied.).

(Microsoft.SqlServer.Smo)
------------------------------
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=9.00.4035.00&LinkId=20476

------------------------------
Program Location:

at Microsoft.SqlServer.Management.Smo.ExecutionManager.ExecuteNonQueryWithMessage(StringCollection queries, ServerMessageEventHandler dbccMessageHandler, Boolean errorsAsMessages)
at Microsoft.SqlServer.Management.Smo.BackupRestoreBase.ExecuteSql(Server server, StringCollection queries)
at Microsoft.SqlServer.Management.Smo.Restore.SqlRestore(Server srv)

Cause of Error
When you switch from 32 bit to 64 bit, mostly your "Program Files" folder would get changed to "Program Files (x86)" so it is obvious that path of database on old pc doesn't match on new PC and so you would get access denied error. Error is specific to incorrect path while restoring.

Note: Incase if you are creating New database, it is very less likely that you would receive this error.


Solution
Change the path of following two files to appropriate path, while restoring.
1. dbname.mdf file
2. dbname_log.ldf file

More details
Generally you would find that your database files resides in following folder (i.e. Above 2 files)
C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data

But with new change i found that on my PC it was trying to store on following path
C:\Program Files (x86)\Microsoft SQL Server\MSSQL.3\MSSQL\Data

So after changing path appropriately i found that i could able to restore my database.

Sunday, September 20, 2009

Invalid viewstate - Unable to validate data Exception

I was receiving following error message constantly in my error log.


Invalid viewstate. Client IP: 127.0.0.1 Port: User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; GTB6; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.21022; FDM; .NET CLR 1.1.4322; .NET CLR 3.5.30729; .NET CLR 3.0.30729; 6696076703) ViewState: /wEPDwULLTE0NTg5OTI1MzJkGAEFHl9fQ29udHJvbHNSZXF1aXJlUG9zdEJhY2tLZXlfXxYCBRZjdGwwMCRDQyRjaGtSZW1lbWJlck1lBRZjdGwwMCRDQyRjaGtUZXJtc09mVXNl4IYD7Rs56CiQOVAEKcORk75X2xw= Referer: http://localhost:56095/HotLinks.aspx Path: /HotLinks.aspx

System.Web.HttpException: Unable to validate data. at System.Web.Configuration.MachineKeySection.GetDecodedData(Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Int32& dataLength) at System.Web.UI.ObjectStateFormatter.Deserialize(String inputString)


Cause of this error:
My web application has multiple forms, and from each form if user wants to post feedback and if he is anonymous user, he is redirected to login form.

To improve performance of web application i was using Server.Transfer to redirect anonymous user to login form.

As Server.Transfer don't change the url string, so even if user is on login form, it will still displays last url in browser, everything would be fine, until page is postback, if you do so than it would generate invalid viewstate error. As whenever you are doing page postback it needs to have correct url in order to post back to that page. But in this scenario, even though i am doing page postback on login form, its still assumes last page and so it end's up in above error message.

Work Around/Solution/Temporary Fix for Problem:
I couldn't able to find any good solution, but you can change your Server.Transfer call to Response.Redirect to fix the problem and move ahead.

I would update this post if i found any better solution to deal with this situation.

Wednesday, September 09, 2009

Patterns and practices Tutorial for SharePoint Applications

Patterns and practices Tutorial for SharePoint Applications

If it is not possible to read whole Patterns and Practise Tutorial, than you must read "Server Development" topic atleast which explains some of best practises to develop Sharepoint Applications which you can immediately apply in day to day development.

Best Practise and Considerations while developing Sharepoint Application

Wednesday, August 05, 2009

Download File Comparison Tool Free

Download Free File comparison tool.


Many times we want to compare two files, and to perform that we used file comparison tools like Beyond compare. But Beyond compare is not free. So Alternate for Beyond compare, which can perform file comparision like beyond compare and its free, than dowload Turtoise SVN Subversion

Turtoise SVN is Free and it can provide file comparison facility same as popular beyond compare tool.

Turtoise SVN is popular file versioning tool, but it can also be used for file comparison and its Free.

For example purpose i have created two sample file to compare.


Step 2: Choose Files to be compare. For this example i have created two sample text file.
Note: You can compare any two file it can be .doc file, .xls file, .xml file, .cs file or any.

Step 3: Select two file and press cntrl key and press right mouse click and choose "Diff" for finding difference between two files.

Step 4: Following screenshot shows difference between two files.

Step 5: You can replace text block and manipulate file as per your wish. Right click the text from file you would like to use, and choose option "Use this text block" in order to use that text block for both the files.

Saturday, July 25, 2009

Simple Sharepoint Tutorial from Microsoft

You can download simplest sharepoint tutorial from Microsoft website.


Sharepoint Developers Guide is a collection of Web-based tools and technologies built on Microsoft Office SharePoint Server 2007 that help you store, share, and manage digital information within your company. This white paper describes the customization (or extensibility) capabilities that are supported with the Standard offering of SharePoint Online.

1 Getting Started
1.1 Welcome to the Microsoft SharePoint Online Developer’s Guide
1.2 About SharePoint Online
1.3 How SharePoint Online Works
1.4 Features of SharePoint Online Comparison of SharePoint Online Standard and Dedicated Offerings
1.5 SharePoint Online Standard Features at a Glance
1.6 Capabilities and Limitations of SharePoint Online
1.6.1 Customization Capabilities
1.6.2 Customization Limitations
1.7 Solution Scenario
2 Creating SharePoint Online Sites
2.1 Introduction
2.2 Selecting a Default Site Template
2.2.1 Differences between SharePoint Online and Office SharePoint Server
2.2.2 Collaboration Site Templates
2.2.3 Meetings Workspaces
2.2.4 Application Templates
2.3 Creating a Site Collection from the Microsoft Online Services Administration Center (MOAC)
2.4 Creating a Custom Site Template
2.5 Installing a Site Template
2.6 Removing a Site Template
2.7 Creating a New Site Using a Site Template
2.8 Example: Creating a New Site when Initiating a New Project
2.9 Example: Creating Blogs for the Knowledge Base in the Portal
3 Customizing SharePoint Online Applications
3.1 About Customizing SharePoint Online Applications
3.2 Customizing Through the Browser
3.2.1 Applying Themes
3.3 Customizing Master Pages Using SharePoint Designer 2007
3.3.1 Creating a Minimal Master Page
3.3.2 Creating a Master Page from the Default Master
3.4 Customizing Page Layouts
3.4.1 Opening a Page Layout for Editing
3.4.2 Adding Custom Content to a Page Layout
3.4.3 Inserting a Content Field
3.5 Customizing Cascading Style Sheets
3.5.1 Applying a Custom Style Sheet to a SharePoint Online Site
3.5.2 Example: Changing the Background Color of the Page Using CSS Tools in SharePoint Designer 2007
3.6 Managing Site Navigation in SharePoint Online Site
3.6.1 Navigation Editing and Sorting
3.7 Example: Designing the Home Page
3.7.1 Example: Changing the Banner Image
3.7.2 Example: Customizing the Home Page Navigation Bar
3.7.3 Example: Adding Custom CSS to the Master Page
4 Using a Data Form Web Part in SharePoint Online Applications
4.1 About the Data Form Web Part
4.1.1 Creating a Data Form Web Part Using SharePoint Designer
4.2 Examples: Adding, Editing, Deleting, Sorting, and Filtering List Items Using the Data Form Web Part
4.3 Sorting and Grouping Data in a Data View
4.4 Applying Conditional Formatting to a Data View
4.5 Connecting Form Web Part to another Web part
4.6 Example: Integrating Microsoft Live Search Web Service Using the Form Web Part
4.7 Example: Adding Page Numbers to a Data Form Web Part
5 Using SharePoint Online Web Services
5.1 List of Available SharePoint Online Web Services
5.2 List of Unsupported SharePoint Online Web Services
5.3 Example: Displaying All List Names from a SharePoint Online Site Collection
5.4 Example: Fetching List Collection Data from an SharePoint Online Site
5.5 Example: Fetching List Items from a SharePoint Online Site
6 Integrating Microsoft Silverlight with a SharePoint Online Page
6.1 Example: Using Silverlight to Fetch Data from a SharePoint Online Site Using Web Services
7 Workflows Using SharePoint Designer
7.1 About Workflows
7.2 Creating a No-Code Workflow Using SharePoint Designer
7.3 Collecting Data from the User and Processing It in the Workflow
7.4 Example: Send a SOW Document to the Project Manager for Review

Download Sharepoint 2010

Download Sharepoint 2010 VPC Image would be available soon. If you are one who can't wait till that than you should download Sharepoint 2010 Technical Documentation.


  • how to Customizing the Ribbon in Windows SharePoint Services "14". The Ribbon is now included in the user interface for Windows SharePoint Services “14” and Microsoft SharePoint Server 2010.
  • This developer tutorial for sharepoint 2010 describes how developers extend it using a combination of XML and ECMAScript (JavaScript, JScript).
  • Customizations to the Ribbon in the included example are created using the Feature infrastructure, and can be deployed using a solution package (.wsp file). This tutorial for sharepoint 2010 is provided in both PDF and XPS format.
  • This compiled help (.chm) file contains reference topics focusing on types and members that are called by other Microsoft applications. This reference does not reflect the entirety of the SharePoint Products and Technologies 2010 managed object model.
  • The full SharePoint Products and Technologies 2010 SDK will accompany the public release of SharePoint 2010.
  • Download Sharepoint 2010 Technical Documentation

Sunday, July 19, 2009

Sharepoint 2010 Conference Information

Best way to learn sharepoint 2010 is to attend Sharepoint 2010 Conference in October 2009.


Sharepoint 2010 would be much easier than Sharepoint 2007 and its easy to understand.

9 Reasons to attend SharePoint 2010 Conference?

#1 Early Insight on SharePoint 2010?
The SharePoint Conference 2009 will be the first and the best conference to get in depth training on SharePoint 2010, from upgrade and migration to the business value of new platform features and functionality. Come and get early insight into what you’ll be able to do with SharePoint 2010 and how you’ll be able to get there.

#2 Are you a SharePoint developer?
SharePoint Conference 2009 will have more pure developer content than ever before, covering both current and future technology. Want to learn about Application Lifecycle Management? We’ll have it. Want to learn about coding best practices and tools? It’ll be here!

#3 Are you a SharePoint IT Professional or Architect?
You will discover what microsoft have done in SharePoint 2010 across the platform to address many of the areas you’ve told microsoft you wanted to improved or changed. Attend conference and find out how microsoft made your life easier and how you’ll save time and money.

#4 Are you an IT Decision Maker?
Want to know how SharePoint 2010 can deliver business value quickly? Attend conference and learn how microsoft lowered the barrier to entry on many end-user application scenarios while keeping IT firmly in control.

#5 Microsoft Certification
You will be able to get Microsoft certified at the conference.

#6 Reduce training cost, getting smarter?
Deciding on the right conference can be tough with a limited training budget. If a significant portion of your day job is SharePoint related then microsoft just made that decision a lot easier – no other conference will come close to delivering the quantity and quality of SharePoint content that you’ll find at the SharePoint Conference 2009.

#7 Ask Sharepoint Questions to Sharepoint Experts?
There will be no place on earth with more concentrated SharePoint expert knowledge in one place at one time. Network with your peers, talk to the experts and get your questions answered from the people that write the specifications and develop the software.

#8 SharePoint Server 2007 deployment issues and solutions?
The SharePoint Conference 2009 will showcase many examples of real world deployments and scenarios in sessions delivered by the most experienced SharePoint experts in the industry.

#9 Exhibition hall packed full of Microsoft Certified Partners solutions and services?
Microsoft will have more Partners at the conference than ever before with an exhibition floor packed full of the latest and greatest SharePoint solutions and services.

Conference date: October 19-22, 2009
Location: Las Vegas, NV (Mandalay Bay Hotel & Convention Center, Las Vegas, Nevada.)

What is Sharepoint 2010

What is Sharepoint 2010?
Sharepoint 2010 is the business Collaboration platform for the Enterprise and the web that enables you to connect and empower people through an integrated set of rich features. Whether deployed on-premises or as hosted services, Sharepoint 2010 helps you cut costs with a unified infrastructure while allowing you to rapidly respond to your business needs. To summarize it SharePoint 2010 is the next wave of SharePoint technology formerly codenamed SharePoint “14”.

Microsoft SharePoint 2010 will enter Beta in 2009 and is targeted for general availability in the first half of 2010.

  • Sharepoint 2010 Connect and Empower People
  • Sharepoint 2010 Cut costs with a unified infrastructure
  • Sharepoint 2010 is Rapidly Respond to Business Needs
  • Sharepoint 2010 would be browser independent.
Earlier versions of Sharepoint was heavily dependent on Internet Explorer browser. Sharepoint 2010 would allows you to browse sharepoint website across all popular browser. Sharepoint 2010 web portal can be viewed with Firefox, Safari browser... With this capability you would see new trend for developing website, wherein its easily to collaborate and socialize with other user's of website.

Sharepoint 2010 New Features

New Features in Sharepoint 2010.


Sharepoint 2010 has following new features
  • Better support for Internet facing sites
  • More security features & flexibility in managing permissions
  • Email management for users
  • Faster search
  • More storage options such as SAN, NAS, RAID etc. (currently only SQL)
  • Improved taxonomy management
  • Better Dashboards and reports
  • Records and archiving policies
  • Easy to use templates
  • More commands
  • Microsoft Groove is renamed as ‘SharePoint Workspace Manager’
  • Integration with other CMS products
  • Improved infopath form capabilities
  • More workflow types
  • Native support for Mozilla Firefox 3.0 and Opera
  • Better support for Mobile devices
  • Easy migration from SPS2003 and MOSS 2007
  • Snapshot backup and recovery
  • Granular recovery at item level

Following Areas of Improvement in Sharepoint 2010
From End Users Prospective
  1. Office Client Ribbon interface for in-place editing of SharePoint content on web
  2. Silverlight web parts and finer control on site Themes.
  3. Multiple Browser support – Internet Explorer, Firefox & Safari
  4. Business Connectivity Services (BCS) as the evolution of BDC. These services can now be consumed from Office client apps also.
  5. SharePoint Workspace (formerly called Groove): a smart client for SharePoint. Supports online, offline and Synchronization of data.

From Developers Prospective
  1. Streamlined Central Administration with Ribbon interface
  2. SharePoint best practices analyzer: Rule based engine for monitoring and self-healing.
  3. Resource Throttling controls: For large lists, a finer control on how many records can be displayed. This can be controlled per type of users and during particular time span of a day.
  4. Visual Studio 2010 SharePoint Tools: Designer for creating Web Parts visually and Business Connectivity Services Entities
  5. Client Object Model(OM): Client side libraries which can be used by custom clients to interact with SharePoint data. These can be called from JavaScript, .NET or Silverlight apps.

Thursday, July 16, 2009

Hardware Software Requirements Sharepoint 2010

Are you ready for Sharepoint 2010, if not start preparing. Following are list of Hardware and Software needs to upgrade in order to run Sharepoint 2010.


Upgrading Hardware/Software for Sharepoint 2010.
  • Plan for upgrading 32-bit hardware with 64-bit hardware, because SharePoint 2010 will only be available in a 64-bit version.
  • Upgrade your Windows Server Operating System to Windows Server 2008 64-bit or above, SharePoint 2010 will require Windows Server 2008 64-bit or above.
  • Upgrading currently running SQL Server storage for Sharepoint. SharePoint 2010 will require 64-bit SQL Server 2008 or 64-bit SQL Server 2005.

Planning to upgrade your laptop? Following is considerably smart choice.
Dell Inspiron 1545 Intel® Core 2 Duo Processor P8600
It comes up with
  • Processor Speed - 2.4 GHZ
  • Level 2 Cache - 3MB Level 2 Cache
  • Data Bus Speed - 1066MHz Frontside Bus
  • RAM Installed - 4GB DDR2 (Upgradable to 8 GB)
  • Hard Drive - 500GB Hard Drive
  • Option for 32-bit and 64-bit.

Questions and Answers why the best?
Q: Laptop with Quad Computing Processor are availables, than why should i choose Core 2 Duo? Quad Computing Vs Dual Processing. (4 Processor Vs 2 Processor)
A:
  • Price Factor (Spending like extra $300 -$600).
  • Most of Softwares are not taking Full Advantage of Quad Computing, so practically you will observe same speed as you are getting on your Core 2 Duo Laptop.
  • Quad Processor has heating problem.
  • To my forecast situation would be same with softwares for coming 2 years, and it would hardly take any advantage of that. After 2 years Price would fall and eventually you have better choice at that moment, which might have resolution for heating problem.

Tuesday, July 14, 2009

Sharepoint Videos Part 2


Sales and Inventory Tracking Application Comparison Demo
This click-through flash demo shows a custom suite of Lotus Domino applications developed for a sales organization, and compares that with a Microsoft Office SharePoint Server 2007 sales and inventory tracking application with the same functionality, while highlighting the integrated capabilities of the Microsoft platform using SharePoint Server 2007, Microsoft SQL Server, and Microsoft Office InfoPath 2007.

Project Tracking Application Template Comparison Demo
This click-through flash demo compares the two out-of-the-box project tracking template applications from Lotus Domino and Microsoft Windows SharePoint Services 3.0, and shows how the integrated platform of SharePoint Server 2007 and Microsoft Office system can create a more streamlined project management process.

Workflow Application Migration and Comparison Demo
This click-through flash demo shows a typical Lotus Domino workflow application and how SharePoint Server 2007 and Office InfoPath 2007 can be used to provide the same functionality. The demo also highlights the ease of creating a workflow enabled process using Microsoft Office SharePoint Designer.

Business Process and Forms Overview Demo
Get a first-hand look at how to fill out Microsoft Office InfoPath forms within the browser. This demo shows how InfoPath Forms Services help users fill out and submit InfoPath forms in a variety of browsers. You'll also see how InfoPath Forms Services help manage a variety of InfoPath forms solutions.

Microsoft Business Intelligence demo
This demo shows how a sales person uses Business Intelligence in their daily work to analyze and act on sales pipeline information.

Video: Introduction to Microsoft Business Intelligence
Watch this video to learn more about Microsoft BI and how it can help your organization.

Demo: Business Intelligence recorded demo
View this product demonstration to see Microsoft Business Intelligence in action.

Demo: Business Scorecard Manager 2005
Test-drive the scorecard application that can help your people align actions and decisions with company strategy.

Video series on getting the most out of SharePoint Designer 2007 - Powerful user interface and design tools
Office SharePoint Designer 2007 has a user interface that should look familiar to anyone who has used Microsoft Office products in the past. However, one of the noticeable changes from other Microsoft Office applications is the extensive use of task panes. Task panes allow users easy access to the tools that are most relevant for their current task. Watch this training for an overview of Office SharePoint Designer 2007 and how it provides tools to create no-code applications on the SharePoint platform.

Video series on getting the most out of SharePoint Designer 2007 - Customize SP sites
Office SharePoint Designer 2007 provides an intuitive what-you-see-is-what-you-get (WYSIWYG) environment for creating and customizing SharePoint sites and applications using Master Page and CSS technologies. You can take advantage of the power of ASP.NET as well as industry standard Extensible Hypertext Markup Language (XHTML) code and cascading style sheets (CSS) to build SharePoint sites that meet your needs and that meet industry standards for browser compatibility and accessibility. Watch this training to learn how.

Look also Sharepoint Videos Part 1

Video series on getting the most out of SharePoint Designer 2007 - Create and Modify layout pages
Office SharePoint Designer 2007 has all the tools to help designers create ASP.NET master page layouts. Using master pages, you can create a single page template and then use that template as the basis for multiple pages in an application, instead of having to build each new page from scratch. With page layouts in Office SharePoint Server 2007, designers create the look and feel for a type of page, without worry about non-designers will break the brand or flow of the site. Get started building master pages right away with this training.

Video series on getting the most out of SharePoint Designer 2007 - Create and modify rules-based workflow applications
Office SharePoint Designer 2007 allows you to design workflows that add no-code application logic to SharePoint sites and applications. Using the Workflow Designer, you create rules that associate conditions and actions with items in SharePoint lists and libraries. Changes to items in lists or libraries trigger actions in the workflow. Watch this training and see how two common workflows are created using tools in Office SharePoint Designer 2007.

Video series on getting the most out of SharePoint Designer 2007 - Build composite no-code SharePoint applications
With Office SharePoint Designer 2007 no-code features, solution creators need not be solution developers. Designers can build sophisticated, collaborative, no-code tracking, reporting, and data-management solutions quickly and easily. Watch this training to see how to build a SharePoint composite application that provides a view of a company's products and its product categories. Update the site using simple form technology.

Video series on getting the most out of SharePoint Designer 2007 - Visual Studio Integration
With Office SharePoint Designer 2007, the end-to-end developer can use sophisticated design tools. Seamless integration with Microsoft Visual Studio allows for simple creation of Web parts, site features, and custom site definitions. Watch this training to learn how Office SharePoint Designer 2007 and Visual Studio Visual Studio extensions for WSPPS can be used together to build a site definition from scratch.

Streamline business processes with forms and workflows
In this demo, you'll see how employees at a fictitious company called Adventure Works use Office InfoPath 2007 forms and the built-in Approval workflow available in Office SharePoint Server 2007 to streamline their expense reporting process.


Connect people to information with portals
With Microsoft Office SharePoint Server 2007, organizations can easily create portal sites that connect individual sites across an organization and consolidate access to existing business applications. Teams and individuals in an organization can use a portal site to work collaboratively and access the people, information, and business applications they need to do their jobs. Office SharePoint Server 2007 also includes features that organizations can use to personalize the experience of a portal site for individual users. In this demo, you'll see how employees at a fictitious company called Adventure Works use their company's intranet portal site to find information and perform their jobs more efficiently.

Enterprise Content Management with SharePoint Server 2007
In this demo, you'll learn how a fictitious company called Adventure Works uses Office SharePoint Server 2007 to publish Web pages, archive and audit records, and manage documents. The demo specifically shows how the Technical Documentation team at Adventure Works uses a Document Center site as a centralized repository to create, organize, edit, and review all customer-facing external publications, such as user manuals and product specification sheets. This site uses document management features such as required check-out, major and minor versions, and content types. The writers at Adventure Works also use workflows on the content in the Document Center to manage the review and editing process for the documents that they create.

Sharepoint Videos Part 1


This Video provides you basic understanding of Sharepoint 2007. See Microsoft Office SharePoint Server 2007 in action. Find out how this integrated suite of server capabilities can help your organization by providing comprehensive content management and enterprise search, accelerating shared business processes, and facilitating information-sharing across boundaries for better business insight.

Search for information on a SharePoint site
When you use a Microsoft Office SharePoint Server 2007 site, you can use the search feature to help you find information, files, Web sites, and people. In this demo, you will see how an employee at a fictitious company called Adventure Works uses search to locate information on a SharePoint site and complete job-related tasks.

Demo: Configure a SharePoint Server 2007 site to receive e-mail
By configuring your Microsoft Office SharePoint Server 2007 site to receive e-mail messages, you can enable team members to use e-mail to send information, messages, and files directly to different areas of the site. For example, users can send announcements directly to the home page or send documents as e-mail attachments directly to document libraries.


Demo: Deploy an administrator-approved form template
This demo steps through the process an IT Administrator can use to verify, upload, and activate an administrator-approved form template on a Microsoft Office SharePoint Server 2007 site.


Demo: Add a library to a Records Center site
The Records Center site template in Microsoft Office SharePoint Server 2007 is designed to help organizations implement their records management and retention programs. In this demo, you'll see the process for adding a library to an existing Record Center site, applying policies to the library, and configuring the site so that submitted documents are routed to the right library.

Demo: Enable Excel Services and data connections for a SharePoint team site
This demo shows you the basic steps for enabling Excel Services for a document library, such as adding the document and data connection libraries to the list of trusted file locations, and creating a data connection to a data provider in Excel Services.

Different ways to check documents in and out of a SharePoint site
In this demo, you'll learn how a fictitious company called Adventure Works uses Office SharePoint Server 2007 to publish Web pages, archive and audit records, and manage documents. The demo specifically shows how the Technical Documentation team at Adventure Works uses a Document Center site as a centralized repository to create, organize, edit, and review all customer-facing external publications, such as user manuals and product specification
sheets. This site uses document management features such as required check-out, major and minor versions, and content types. The writers at Adventure Works also use workflows on the content in the Document Center to manage the review and editing process for the documents that they create.

Look also Sharepoint Videos Part 2

Tour of My Site
With Microsoft Office SharePoint Server 2007, your My Site becomes a dedicated location where you can store, present, show, and manage content and information. Take a tour of My Site where you can see how to store documents that everyone or just you and your manager can see. Watch how you can configure your public site to show information to selected people.

Use Word 2007 to post to a SharePoint blog
In this demo, I'll show you how to use Word 2007 to create a post for a SharePoint blog, check spelling, format text, insert hyperlinks, insert images, and publish the post to the blog. I hope you find it helpful.

Video series on getting the most out of SharePoint Designer 2007
This six-part training demo series provides information on how power users can get the most from Office SharePoint Designer 2007 to create and customize SharePoint sites, rules-based workflow applications, and build composite no-code applications on the SharePoint platform.

Collaboratively Developing and Releasing New Products Demo
This click-through demo shows how improved collaboration will deliver the speed that a design process needs to release new products, while better project management will help to reduce the overall costs of development. Solutions based on Office SharePoint Server 2007 and other 2007 Office system products deliver a rich set of capabilities that enhance structured and ad-hoc collaboration, and offer enterprise-grade project and portfolio management tools to efficiently manage the development process.

Sunday, July 05, 2009

The process cannot access the file because it is being used by another process

Error you might receive while doing File Operation, specially File.Move Operation.

Error:The process cannot access the file because it is being used by another process.

Source: mscorlib

Stack Trace: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.__Error.WinIOError() at System.IO.File.Move(String sourceFileName, String destFileName)

Solution for Error The process cannot access the file because it is being used by another process.

This error might occurs whenever you are trying to upload file, without explicitly removing it from memory.

So ones you remove it from memory possibly this error will get resolved.

File Upload Method 1
protected void btnUploadImages_Click(object sender, EventArgs e)
{
//Get the File Name.
string strPostedFileName = FileUploadImages.PostedFile.FileName;

//Exit if No File Name was entered.
//If file is Zero Length, it is empty or doesn't exist
if (strPostedFileName != string.Empty && FileUploadImages.PostedFile.ContentLength != 0)
{
//Delete Old file before uploading new file.
if (System.IO.File.Exists(strFilePath))
{
System.IO.File.Delete(strFilePath);
}

//Save-Upload File to server.
FileUploadImages.PostedFile.SaveAs(strFilePath);

//Release File from Memory after uploading
FileUploadImages.FileContent.Dispose();
}
}

File Upload Method 2
If you are trying to do something like this
Image bmp = Bitmap.FromFile("c:\Temp\Logo.bmp");
bmp.Save("c:\Temp\Logo.bmp");

Than, replace that with following
Image bmp = Bitmap.FromFile("c:\Temp\Logo.bmp");
bmp.Save("c:\Temp\Logo.bmp");
bmp.Dispose();


File Upload Method 3
FileStream fs = new FileStream(FilePath, FileMode.Create, FileAccess.Write);
fs.Close();
fs.Dispose();

FileStream fs2 = new FileStream(FilePath, FileMode.Open);
fs2.Close();
fs2.Dispose();

Thursday, June 25, 2009

Create PDF Document on Fly in C# using iTextSharp

Create PDF Document on Fly in C# and VB.Net using iTextSharp

Step 1: Download iTextSharp DLL Files

Step 2: Follow instruction from article which explains step by step approach to create PDF Document on Fly in C#.

Tuesday, June 23, 2009

Remove HTML from string (Remove Manoli Code Format)

Earlier I have write blog post on how to format code and convert it into Html


This post will explain you How to remove HTML from String.

To Remove HTML from String you can make use of following function.


public string RemoveHTML(string strSource)
{
//Here strSource is string containing HTML Code
return Server.HtmlDecode(Regex.Replace(strSource, "<(.|\n)*?>", ""));
}

Wednesday, June 10, 2009

Steps for Session InProc Mode to Session StateServer

Many articles are discussing about advantages of using Session StateServer or SQLServer over InProc Mode.  One basic reason why I choose StateServer Mode is when your website is running on Third Party Hosting than you will notice that Session Timeout can occur anytime depends on load of traffic on your server.


If your website has large number of visitors and session timeout can cause problem, It is better to change Session Mode Session="InProc" to Session="StateServer".

Main Advantage of Session StateServer (Best to choose while hosting on third party server)
1.  Session is persistent and reliable.
2. Avoid Session Timeout due to Memory shortage on server (IIS Setting).

Main Disadvantage
1. Poor Performance compare to Session="InProc"
2. Session_End Event would not fire.

Now lets understand 
Steps for changing Session InProc Mode to Session StateServer Mode.

Step 1:  Start Asp.net State Servcie
1. Go to Control Panel > Administrative Tools > Services 
2. Select Asp.Net State Service.
3. Right Click on Asp.net State Service and choose start from popup menu.




If you forget to Start Service you will receive following error.

Server Error in '/' Application.

Unable to make the session state request to the session state server. Please ensure that the ASP.NET State service is started and that the client and server ports are the same.  If the server is on a remote machine, please ensure that it accepts remote requests by checking the value of HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\aspnet_state\Parameters\AllowRemoteConnection.  If the server is on the local machine, and if the before mentioned registry value does not exist or is set to 0, then the state server connection string must use either 'localhost' or '127.0.0.1' as the server name.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.Web.HttpException: Unable to make the session state request to the session state server. Please ensure that the ASP.NET State service is started and that the client and server ports are the same.  If the server is on a remote machine, please ensure that it accepts remote requests by checking the value of HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\aspnet_state\Parameters\AllowRemoteConnection.  If the server is on the local machine, and if the before mentioned registry value does not exist or is set to 0, then the state server connection string must use either 'localhost' or '127.0.0.1' as the server name.




Step 2:  Change Session Mode in Web.Config File
<sessionState mode="StateServer"
            stateConnectionString="tcpip=127.0.0.1:42424"
            cookieless="false"
            timeout="120"/>
Note: You can adjust timeout minutes based on your requirement.  Let the tcpip server to be localhost i.e. 127.0.0.1.  Most webhosting company uses these settings unless you have different IP for StateServer and  You are not required to change Port Number.


Step 3: Make All Object Serializable
You should make all object in your website to serializable.
Note: To take advantage of Session StateServer or SQLServer or Custom Mode, object needs to be serialized.

Example:  If your project contains class files for creating DAL (Data Access Layer), you should append Serializable to every class definition in order to make class Serializable.


[Serializable]
Class Department
{
        long   _deptId;
        string _deptName;
        
        public long DeptId
        {
               get {   return _deptId; }
               set {  _deptId = value; }                  
         }

        public string DeptName
        {
               get {   return _deptName; }
               set {  _deptName = value; }                  
         }
}

IMPORTANT While doing Serialization
Remember SQLConnection cannot be serialized.

You might receive following error if you don't handle this situation.

Unable to serialize the session state. In 'StateServer' and 'SQLServer' mode, ASP.NET will serialize the session state objects, and as a result non-serializable objects or MarshalByRef objects are not permitted. The same restriction applies if similar serialization is done by the custom session state store in 'Custom' mode.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.Web.HttpException: Unable to serialize the session state. In 'StateServer' and 'SQLServer' mode, ASP.NET will serialize the session state objects, and as a result non-serializable objects or MarshalByRef objects are not permitted. The same restriction applies if similar serialization is done by the custom session state store in 'Custom' mode.



So to handle this situation you need to do following thing.

1. Mark SQLConnection Object as NonSerialized
[NonSerialized] protected SqlConnection _mainConnection;

2. Mark your Class as Serializable and derive from IDeserializationCallback
Example:
[Serializable]
Class Department: IDeserializationCallback
{
        long   _deptId;
        string _deptName;
        
        public long DeptId
        {
               get {   return _deptId; }
               set {  _deptId = value; }                  
         }

        public string DeptName
        {
               get {   return _deptName; }
               set {  _deptName = value; }                  
         }

        //Create this Method Inside your Class
       void IDeserializationCallback.OnDeserialization(object sender)
        {
            //Recreate your connection here
            _mainConnection = new SqlConnection();
            _mainConnection.ConnectionString =
                    ConfigurationSettings.AppSettings["connStr"].ToString();           
        }
}

Most Recent Post

Subscribe Blog via Email

Enter your email address:



Disclaimers:We have tried hard to provide accurate information, as a user, you agree that you bear sole responsibility for your own decisions to use any programs, documents, source code, tips, articles or any other information provided on this Blog.
Page copy protected against web site content infringement by Copyscape