<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8710859921935174834</id><updated>2011-11-27T15:52:11.491-08:00</updated><category term='Thoughts'/><category term='world'/><category term='Technology'/><category term='Sharepoint'/><category term='Economics'/><category term='Politics'/><category term='Cricket'/><title type='text'>Blog by Praful</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://prafulgoyal.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8710859921935174834/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://prafulgoyal.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Praful Goyal</name><uri>http://www.blogger.com/profile/15058503011193365048</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>11</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8710859921935174834.post-3560758671654540115</id><published>2010-02-23T20:39:00.000-08:00</published><updated>2010-02-23T20:42:12.726-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Technology'/><category scheme='http://www.blogger.com/atom/ns#' term='world'/><category scheme='http://www.blogger.com/atom/ns#' term='Thoughts'/><category scheme='http://www.blogger.com/atom/ns#' term='Economics'/><title type='text'></title><content type='html'>&lt;strong&gt;Five Myths About India&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;India's 7.9% economic growth in the third quarter of 2009 vividly illustrates a dramatic transformation in the country's image, from a land of elephants and snake charmers to that of an IT powerhouse and an emerging economic giant. While both sets of perceptions are valid, they hide far more than they reveal. Indeed, when it comes to the Indian economy, what most people believe to be true contains more fiction than fact. We highlight below five common myths about India and discuss why the reality on the ground is quite different.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Myth No.1: The information technology sector has been the primary driver of India's economic growth.&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;India is indeed a global powerhouse in information technology and IT-enabled services. Yet the IT sector is little more than a tiny, though highly visible, niche in the Indian economy. The total revenue of this sector added up to $72 billion in 2008. Translated into value-added terms, the IT sector contributed only about 4% to India's gross domestic product last year. Its contribution to employment is even smaller: About 2 million people are directly employed, and an additional 8 million jobs are created indirectly. Those are tiny numbers in a country with a labor pool of 700 million people.&lt;br /&gt;&lt;br /&gt;The fact that India's IT sector is just a niche is actually a blessing rather than a curse. Notwithstanding IT's annual growth rates of 25% or more, the bulk of the recent growth in India's economy has come from manufacturing and other services. Only the manufacturing sector has the scale to create jobs for hundreds of millions of people, most with relatively limited education. If India is to realize its potential as an economic superpower, it will have to keep following China's path by becoming one of the world's factories. The IT sector gives India a good brand image, but most Indian jobs will have to come from manufacturing.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Myth No.2: India is decades behind China.&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Most visitors to India and China form their impressions about these countries by comparing such cities as Mumbai, New Delhi, and Bangalore with Shanghai, Beijing, and Guangzhou. The difference between the two countries' urban centers is truly stark. China's top cities now look more modern and sleeker than New York or London. By contrast, India's premier cities are still vivid examples of the third world. Yet most people overlook the fact that, even though China is clearly ahead of India, the former looks stronger than it is while the latter is stronger than it looks.&lt;br /&gt;&lt;br /&gt;In 2008, China's GDP was just a bit more than three times that of India. If India's GDP grows at 8% to 9% a year over the next decade—a reasonable prediction based on analyses by Goldman Sachs (GS), the U.S. National Intelligence Council, and other analysts—India's GDP in 2020 will be almost the same as China's in 2008. Of course, China would have powered ahead by then, but the fact remains that India's economy is about 12 to 14 years, not decades, behind China's. This is exactly the difference from 1978, when Deng Xiaoping launched China's reforms, to 1991, when India jumped onto a similar train.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Myth No.3: India's democratic politics will prevent a rapid build-up of the country's infrastructure.&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Given its fiercely democratic political system, any Indian government will find it impossible to relocate quickly a few million people from a city's center to make way for gleaming office towers and elevated expressways. Note, however, that infrastructure consists of more than beautiful roads and buildings. It also includes ports, airports, power generation and transmission systems, telecommunications, airlines, and railways.&lt;br /&gt;&lt;br /&gt;The only aspect of infrastructure that India's democratic politics hinders in a major way is the beautification of cities. The number of people who need to be relocated to build interstate highways, intrastate expressways, and most other infrastructure components is minimal and thus largely unconstrained by democratic politics.&lt;br /&gt;&lt;br /&gt;From 1995 to 2007, China spent about 8.5% of GDP on infrastructure. During this period, India spent only about 4.2%. Today, though, the situation is radically different. India is currently spending about 8% of GDP on infrastructure and has plans to increase the figure to about 9%.&lt;br /&gt;&lt;br /&gt;Ugly and crowded cities, while an eyesore, are unlikely to derail the ongoing manufacturing revolution, which needs interstate highways and intrastate expressways far more than easy-to-navigate city centers. In short, given its political system, India is more likely to become a manufacturing power long before its cities begin to look modern.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Myth No.4: Uncontrolled population growth is a major burden for India.&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;China's one-child policy has clearly achieved a major reduction in birth rates and population growth. In contrast, when one thinks of India, the enduring picture is one of cities overflowing with poor and teeming masses. Hence the question on many people's minds: How can India sustain uncontrolled population growth?&lt;br /&gt;&lt;br /&gt;Notwithstanding the utter inability of India's democratic political system to impose any type of birth control policy, it is critical to remember that, as people become richer and better educated, they choose to have fewer children. Fertility rates (i.e., average births per woman) in India are declining rapidly—from 4.65 in 1980 to 3.25 in 2000, to 2.68 in 2007. A similar steep decline has occurred in the population growth rate—from 2.15% a year during the 1980s to 1.5% a year from 2000 to 2005 and 1.35% a year since then. If current trends continue, as is almost certain, fertility rates in India should drop to about 2.0 within the next 10 years, and the population's annual growth rate should fall to about 0.6% a year, similar to China's today.&lt;br /&gt;&lt;br /&gt;In short, population growth in India is a self-correcting problem that is getting addressed on its own at a rapid rate. In any case, in a democratic country such as India, it is far easier and wiser for the government to focus on how to make the economy grow at, say, a 9% rather than an 8% rate. Over 10 years, that can be as effective a mechanism for population control as any other.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Myth No.5: India's education system is world class.&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;In launching the "Race to the Top" fund for educational reform in the U.S., President Barack Obama encouraged schools to develop internationally competitive standards so that American students can take on "folks in Beijing and Bangalore." President Obama is right on the money in noting that, in today's era, labor markets are global and that kids in Los Angeles are competing against not just their peers in Chicago but also those in Beijing and Bangalore. It would, however, be incorrect to conclude that India's education system is anywhere close to world class.&lt;br /&gt;&lt;br /&gt;India is not just a large country but also one of the world's most diverse, with extremely high levels of income and educational disparities. The elite engineering and business schools (the Indian Institutes of Technology and the Indian Institutes of Management) are tougher to get into than Harvard or MIT and have produced a disproportionately large number of CEOs and senior executives for some of the world's biggest corporations.&lt;br /&gt;&lt;br /&gt;Yet one cannot overlook the fact that adult literacy in India runs at only about 61%, far below the 91% figure for China, the 90% figure for Indonesia, and the 89% figure for Brazil. During the past five decades, China has placed far greater emphasis on primary and secondary education. In contrast, India has placed far greater emphasis on tertiary education. The manufacturing revolution, which is now in full swing and must continue, will need high school graduates and vocationally trained people far more than highly trained engineers and scientists. As in the U.S., transformation of the educational system and rapid upgrading of the infrastructure will be two of the most desperate needs for India's economy over the coming decade.&lt;br /&gt;&lt;br /&gt;Courtesy to: Srini Pallia&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8710859921935174834-3560758671654540115?l=prafulgoyal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prafulgoyal.blogspot.com/feeds/3560758671654540115/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8710859921935174834&amp;postID=3560758671654540115' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8710859921935174834/posts/default/3560758671654540115'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8710859921935174834/posts/default/3560758671654540115'/><link rel='alternate' type='text/html' href='http://prafulgoyal.blogspot.com/2010/02/five-myths-about-india-indias-7.html' title=''/><author><name>Praful Goyal</name><uri>http://www.blogger.com/profile/15058503011193365048</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8710859921935174834.post-8746615105661946327</id><published>2010-01-08T08:43:00.000-08:00</published><updated>2010-01-08T09:01:13.655-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Cricket'/><title type='text'>Test Cricket is Still Alive</title><content type='html'>Since the T20 big shows i.e. ICL, IPL, Worldcup introduced to world cricket many cricketing fan including me would have saw end of Test cricket in few years time. T20 was short format and everyone started falling into it. After few months I started realising its not cricket which I had been following for 18 years. &lt;br /&gt;Even though longest version takes your valuable time but it has own beauty. Its not just playing few good shots and becoming hero or blowing fews overs. &lt;br /&gt;Recently finished two test matches caught my attention and again proved, why 5 days format of cricket called as toughest. First was Pak vs Aus.. Pak couldn't believe they are going to win test match in downunder and bundled in 4th inning. The reason was test matches is not only about your technical skills, it also checks your mental strength, your ability to be compose and concentrate on goal for 5 continous days. I tell you no other sports in this world demand such kind of ability from a sports person.&lt;br /&gt;Secondly I saw End vs SA.. each day of this match was bringing new excitment. SA was fighting to level home series and Eng was for clinching it. What else you can ask from a test match where result was not decided untill Styne bowled last delivery and Swann defended that to draw.&lt;br /&gt;I sure to see more such matches and keep enjoying it!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8710859921935174834-8746615105661946327?l=prafulgoyal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prafulgoyal.blogspot.com/feeds/8746615105661946327/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8710859921935174834&amp;postID=8746615105661946327' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8710859921935174834/posts/default/8746615105661946327'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8710859921935174834/posts/default/8746615105661946327'/><link rel='alternate' type='text/html' href='http://prafulgoyal.blogspot.com/2010/01/test-cricket-is-still-alive.html' title='Test Cricket is Still Alive'/><author><name>Praful Goyal</name><uri>http://www.blogger.com/profile/15058503011193365048</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8710859921935174834.post-5213012705905439927</id><published>2009-10-29T08:58:00.000-07:00</published><updated>2009-10-29T09:00:08.625-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Thoughts'/><title type='text'>"The Golf Balls" - Set priorities of life</title><content type='html'>When things in your life seem,  almost too much to handle,&lt;br /&gt;When 24 Hours in a day is not enough,&lt;br /&gt;Remember the mayonnaise jar and 2 cups of coffee.&lt;br /&gt;&lt;br /&gt;A professor stood before his philosophy class and had some  items in  front of him.&lt;br /&gt;When the class began, wordlessly,&lt;br /&gt;He picked up a very large and empty mayonnaise jar and proceeded to fill it with golf balls.&lt;br /&gt;&lt;br /&gt;He then asked the students, if the jar was full. They agreed that it was.&lt;br /&gt;&lt;br /&gt;The professor then picked up a box of pebbles and poured them into the jar.   He shook the jar lightly.&lt;br /&gt;The pebbles rolled into the open areas between the golf balls.&lt;br /&gt;&lt;br /&gt;He then asked the students again if the jar was full.  They agreed it was.&lt;br /&gt;&lt;br /&gt;The professor next picked up a box of sand and poured it into the jar.&lt;br /&gt;Of course, the sand filled up everything else.&lt;br /&gt;He asked once more if the jar was full. The students responded with a unanimous 'yes.'&lt;br /&gt;&lt;br /&gt;The professor then produced  two cups of coffee from under the table and poured the entire contents  into the jar, effectively filling the empty space between the sand.  The students laughed.&lt;br /&gt;&lt;br /&gt;'Now,' said the professor,   as the laughter subsided,&lt;br /&gt;'I want you to recognize that this jar represents your life.&lt;br /&gt;The golf balls are the important things - family, children, health, Friends, and Favorite passions – &lt;br /&gt;Things that if everything else was lost and only they remained, Your life would still be full.&lt;br /&gt;&lt;br /&gt;The pebbles are the other things that matter like your job, house, and  car.&lt;br /&gt;&lt;br /&gt;The sand is everything else --The small stuff.&lt;br /&gt;&lt;br /&gt;'If you put the sand into the jar first,'  He continued, 'there is no room for  the pebbles or the golf balls.&lt;br /&gt;The same goes for life.&lt;br /&gt;&lt;br /&gt;If you spend all your time and energy on the small stuff, You will never have room for the things that are important to you.&lt;br /&gt;&lt;br /&gt;So ... ...&lt;br /&gt;&lt;br /&gt;Pay attention to the things that are critical to your happiness.&lt;br /&gt;Play With your children.&lt;br /&gt;Take time to get medical checkups.&lt;br /&gt;Take your partner out to dinner.&lt;br /&gt;&lt;br /&gt;There will always be time to clean the house and fix the disposal.&lt;br /&gt;&lt;br /&gt;'Take care of the golf balls first --&lt;br /&gt;The things that really matter.&lt;br /&gt;Set your priorities. The rest is just sand.'&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8710859921935174834-5213012705905439927?l=prafulgoyal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prafulgoyal.blogspot.com/feeds/5213012705905439927/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8710859921935174834&amp;postID=5213012705905439927' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8710859921935174834/posts/default/5213012705905439927'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8710859921935174834/posts/default/5213012705905439927'/><link rel='alternate' type='text/html' href='http://prafulgoyal.blogspot.com/2009/10/golf-balls-set-priorities-of-life.html' title='&quot;The Golf Balls&quot; - Set priorities of life'/><author><name>Praful Goyal</name><uri>http://www.blogger.com/profile/15058503011193365048</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8710859921935174834.post-701042873903756191</id><published>2009-07-23T15:58:00.000-07:00</published><updated>2009-07-23T16:10:23.480-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='world'/><category scheme='http://www.blogger.com/atom/ns#' term='Economics'/><title type='text'>Economics: The Great Shift of 2009</title><content type='html'>I was thinking from while now to write something on so talked world economics, got some thing interesting. Every once in a while, we stumble upon a chart or table that says it all… here’s one hot off the press:&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_Ik5YudfYZHo/SmjrgGkDLlI/AAAAAAAAA4E/Q5rb-J2IKRk/s1600-h/untitled.bmp"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 286px; height: 320px;" src="http://2.bp.blogspot.com/_Ik5YudfYZHo/SmjrgGkDLlI/AAAAAAAAA4E/Q5rb-J2IKRk/s320/untitled.bmp" border="0" alt=""id="BLOGGER_PHOTO_ID_5361794293134732882" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Oh my, where do we begin? So many to talk, lets put in points&lt;br /&gt;&lt;br /&gt;1. Obviously, Wal-Mart is no longer No. 1. That title now goes to Royal Dutch Shell. The American consumer is out, and a global oil conglomerate is in… ’nuff said &lt;br /&gt;2. There’s a clear sea change in American business. AIG, Lehman and Bear Stearns fell off the list from 2008-2009. Nike, Google and Amazon moved up  &lt;br /&gt;3. The world is increasingly less Amero-centric. An American company is not No. 1 for the first time in over a decade. In the whole list for 2009, 140 companies are American, the lowest number on record &lt;br /&gt;4. The world is increasingly more Sino-centric. Look at China National Petroleum and Sinopec. Both Chinese companies are by far the biggest movers up from 2008-2009. Sinopec, an oil and gas company, also marks China’s first foray into Fortunes’ top 10. China now has 37 companies in the list of 500, its largest presence ever &lt;br /&gt;5. Oil is still where it’s at. In spite of all the price drama over the last year, seven of the top 10 firms are oil companies  &lt;br /&gt;6. In the face of the worst global economic environment of our lifetimes, the world’s biggest companies are still making lots of money. The 2008 top 25 pulled in $4.88 trillion in revenue. This year, they made $5.38 trillion  &lt;br /&gt;7. And GE… what a black box. The world’s producer of everything was one of very few companies to retain the same position from 2008-2009. And despite the infamous GE Capital, the finance arm that apparently threatened to torpedo the whole company, GE ended up increasing revenues by nearly $7 billion.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8710859921935174834-701042873903756191?l=prafulgoyal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prafulgoyal.blogspot.com/feeds/701042873903756191/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8710859921935174834&amp;postID=701042873903756191' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8710859921935174834/posts/default/701042873903756191'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8710859921935174834/posts/default/701042873903756191'/><link rel='alternate' type='text/html' href='http://prafulgoyal.blogspot.com/2009/07/economics-great-shift-of-2009.html' title='Economics: The Great Shift of 2009'/><author><name>Praful Goyal</name><uri>http://www.blogger.com/profile/15058503011193365048</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_Ik5YudfYZHo/SmjrgGkDLlI/AAAAAAAAA4E/Q5rb-J2IKRk/s72-c/untitled.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8710859921935174834.post-4824576861077227398</id><published>2009-04-15T19:47:00.000-07:00</published><updated>2009-04-15T20:17:36.033-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Politics'/><title type='text'>MMS... A Weak PM ??</title><content type='html'>Since the day Mr. ManMohan Singh become PM, a tag of "Weak PM" is following him. Opposition parties, specially BJP, keep targeting as an then but Mr. PM never respond until couple of days back. Why so late? Is he really weak? Was PMO driven from 10 Janpath? At some extend Yes.&lt;br /&gt;He is great economist no doubt about that but not a grt politician. During last 5 years, we hardly seen him standing solidly on any initiative always under Shadow of Mrs Gandhi. Does that looks strong? FYI.. Mr. Singh never contest any election so far, all the time he was member of upper house(I call that as back door entry to be in Govt.). Why don't he go in middle of people and face them. Unless you wont feel our real problems, you can not resolve.&lt;br /&gt;When asked why you not accepting Mr. Adwani's chellenge for open debate, he said I do not like to talk loud. Being citizen of India I like to see how my next PM will address the current issues, same way here in US how Obama n McCain did. Whats wrong in that.. again is this his weakness?&lt;br /&gt;You decide on this.....&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8710859921935174834-4824576861077227398?l=prafulgoyal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prafulgoyal.blogspot.com/feeds/4824576861077227398/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8710859921935174834&amp;postID=4824576861077227398' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8710859921935174834/posts/default/4824576861077227398'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8710859921935174834/posts/default/4824576861077227398'/><link rel='alternate' type='text/html' href='http://prafulgoyal.blogspot.com/2009/04/mms-weak-pm.html' title='MMS... A Weak PM ??'/><author><name>Praful Goyal</name><uri>http://www.blogger.com/profile/15058503011193365048</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8710859921935174834.post-7145200679035395503</id><published>2009-04-12T06:16:00.000-07:00</published><updated>2009-04-12T08:10:31.269-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Cricket'/><title type='text'>iND vs nZ 2009</title><content type='html'>A historic cricket tour it was!! Series win in both ODI n Test had never been easy task in Newzeland. Congrats Dhoni n team.... beginning of tour we lost T20 matches, was it over confidence, could be.. yes we are world champs but it doesn't mean we will play whatever way we want to be... Dhoni is a smart captain n he understood this very quickly... &lt;br /&gt;we played sensible and attacking cricket in ODIs, result was 3-1 series win. Sachin showed he has lot of cricket left in him with an inning of 163, tht was truly amazing; n another landmark record was Shewag's fastest century from India. Same time we again missed clean swipe, reason could be again over confidence. In this area Dhoni has to work on. &lt;br /&gt;Moving to Test matches without any practise match.. I was praying for team india.. it was first NZ tour for most of squad member including Skipper.. hats of team.. the way they played entire series. apart from couple of session each one in all three test were dominated by us. Again it was superb Sachin in 1st test. We saw another wall(Gambhir) in second test... wht was tht.. single handed he saved tht match. We again played excellent in 3rd match but i was disappoint with captaincy.. why 617 runs target.. in 125 year none of team ever chased 500. Dhoni was happy to win series by 1-0, he did same wht Dravid did in England test series.. we are still not mature enough to take high risks. End of day we won and that what important for every one.. me too happy. &lt;br /&gt;Both Delhites(viru n gauti) openers are key for India's success in all format.&lt;br /&gt;Sachin was undoubtly in grt touch, Dravid n laxman came with experience whn required most, harbhajan n zaher were impressive through out series.&lt;br /&gt;Series over.. lets get ready for Modi's IPL-2 saga&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8710859921935174834-7145200679035395503?l=prafulgoyal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prafulgoyal.blogspot.com/feeds/7145200679035395503/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8710859921935174834&amp;postID=7145200679035395503' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8710859921935174834/posts/default/7145200679035395503'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8710859921935174834/posts/default/7145200679035395503'/><link rel='alternate' type='text/html' href='http://prafulgoyal.blogspot.com/2009/04/ind-vs-nz-2009.html' title='iND vs nZ 2009'/><author><name>Praful Goyal</name><uri>http://www.blogger.com/profile/15058503011193365048</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8710859921935174834.post-9125411295702445072</id><published>2009-04-06T19:14:00.000-07:00</published><updated>2009-04-06T19:41:05.796-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Technology'/><title type='text'>XML transfer between two interface( like: Sharepoint to SAP )</title><content type='html'>Some time back, I got a requirement in my project. We need to send a xml file from sharepoint to SAP system and get response back from them. Note: This transaction can be done between any two application.&lt;br /&gt;I thought what would be easiest and best approach. Hmmm, lets try with basic HTTP Post/Get method to do that. As in sharepoint I can use compile .NET code so no problem for me to go for it.&lt;br /&gt;&lt;br /&gt;.NET Code to do that:&lt;br /&gt;&lt;br /&gt;WebRequest req = null;&lt;br /&gt;WebResponse rsp = null;&lt;br /&gt;try&lt;br /&gt;{&lt;br /&gt;string fileName = @"D:\Projects\abc.xml";&lt;br /&gt;string uri = "http://localhost/sap/test/test.htm";&lt;br /&gt;req = WebRequest.Create(uri);&lt;br /&gt;//req.Proxy = WebProxy.GetDefaultProxy(); // Enable if using proxy&lt;br /&gt;req.Method = "POST"; // Post method&lt;br /&gt;req.ContentType = "text/xml"; // content type&lt;br /&gt;//If end user doesnot has rights to update than pass required credential explicitly&lt;br /&gt;req.Credentials= CredentialCache.DefaultCredentials;&lt;br /&gt;req.Credentials = new NetworkCredential("abc", "xyz");&lt;br /&gt;// Wrap the request stream with a text-based writer&lt;br /&gt;StreamWriter writer = new StreamWriter(req.GetRequestStream());&lt;br /&gt;//read the xml file&lt;br /&gt;StreamReader reader = new StreamReader(fileName);&lt;br /&gt;string ret = reader.ReadToEnd();&lt;br /&gt;reader.Close();&lt;br /&gt;// Write the XML text into the stream&lt;br /&gt;writer.WriteLine(ret);&lt;br /&gt;writer.Close();&lt;br /&gt;// Send the data to the webserver&lt;br /&gt;rsp = req.GetResponse();&lt;br /&gt;&lt;br /&gt;//Get response from server; ex: two parameters is passed from receiving server&lt;br /&gt;string strContents, strContents1 = "";&lt;br /&gt;strmContents = rsp.Headers["test1"].ToString();&lt;br /&gt;strmContents1 = rsp.Headers["test2"].ToString();&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8710859921935174834-9125411295702445072?l=prafulgoyal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prafulgoyal.blogspot.com/feeds/9125411295702445072/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8710859921935174834&amp;postID=9125411295702445072' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8710859921935174834/posts/default/9125411295702445072'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8710859921935174834/posts/default/9125411295702445072'/><link rel='alternate' type='text/html' href='http://prafulgoyal.blogspot.com/2009/04/xml-transfer-between-two-interface-like.html' title='XML transfer between two interface( like: Sharepoint to SAP )'/><author><name>Praful Goyal</name><uri>http://www.blogger.com/profile/15058503011193365048</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8710859921935174834.post-8677768056083369054</id><published>2009-04-01T18:55:00.000-07:00</published><updated>2009-04-03T13:32:51.408-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Politics'/><title type='text'>Pre-Lok Sabha Election 2009</title><content type='html'>15th Lok Sabha(Indian parliament lower house) Elections are round the corner. All parties are geared up with full force. I always waited for this period and also enjoyed election time since childhood. Why?? Being related to a political family, I followed all the political development and saw the strategic discussion. I see this as a fascinating career field but yes with lot of ups n downs. Single statement can change your entire political career("Jinha was secular" and Adwani had to leave from post of party president).&lt;br /&gt;Lets talk about this election:&lt;br /&gt;&lt;br /&gt;Last day BJP announced its manifesto, as expected Ram mandir was there. You know many times I thought, once Ram Mandir will be built then what BJP will do. They will not be having any distinct issues. Apart from this, rest all points were hijacked from other manifesto.&lt;br /&gt;&lt;br /&gt;Congress looks confident to win majority, they should not forget what happen to NDA in last election with India Shining campaign. The major plus point with them is Sonia and Rahul. Both with clean image, its highly impressive the way both of them maintain their stature.&lt;br /&gt;&lt;br /&gt;Now King makers; SP, RJD, NCP, LJP, BSP, Left, TDP.... long list who are ready to wear the crown or have capability to change king. All are interesting characters, one best I like about them is: They never feel bad if some one tells bad words and you never know who is friend of whom. With "Dil Pe Mat Le Yaar" attitude, they are unavoidable elements of Indian politics.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;With my predication of Hung parliament this time... singing off.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8710859921935174834-8677768056083369054?l=prafulgoyal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prafulgoyal.blogspot.com/feeds/8677768056083369054/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8710859921935174834&amp;postID=8677768056083369054' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8710859921935174834/posts/default/8677768056083369054'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8710859921935174834/posts/default/8677768056083369054'/><link rel='alternate' type='text/html' href='http://prafulgoyal.blogspot.com/2009/04/pre-lok-sabha-election-2009.html' title='Pre-Lok Sabha Election 2009'/><author><name>Praful Goyal</name><uri>http://www.blogger.com/profile/15058503011193365048</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8710859921935174834.post-4272799105932488094</id><published>2008-07-08T03:05:00.000-07:00</published><updated>2009-04-01T19:09:55.716-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Technology'/><category scheme='http://www.blogger.com/atom/ns#' term='Sharepoint'/><title type='text'>To SHRINK the log file in SQL</title><content type='html'>&lt;p&gt;Your sql log file size are huge and you are sort of harddisk memory... &lt;/p&gt;&lt;p&gt;Just execute this command in sql browser, with replacing your DB name to "DBName" in below query:&lt;/p&gt;&lt;p&gt;DBCC SHRINKFILE(DBName_log, 5)&lt;br /&gt;BACKUP LOG DBName WITH TRUNCATE_ONLY DBCC SHRINKFILE(DBName_log, 5)&lt;/p&gt;&lt;p&gt;Here 5 is the reduced memory size, your log file will reduced to 5MB.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8710859921935174834-4272799105932488094?l=prafulgoyal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prafulgoyal.blogspot.com/feeds/4272799105932488094/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8710859921935174834&amp;postID=4272799105932488094' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8710859921935174834/posts/default/4272799105932488094'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8710859921935174834/posts/default/4272799105932488094'/><link rel='alternate' type='text/html' href='http://prafulgoyal.blogspot.com/2008/07/to-shrink-log-file-in-sql.html' title='To SHRINK the log file in SQL'/><author><name>Praful Goyal</name><uri>http://www.blogger.com/profile/15058503011193365048</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8710859921935174834.post-3647328137590920689</id><published>2008-07-08T02:54:00.000-07:00</published><updated>2009-04-01T19:10:18.847-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Technology'/><category scheme='http://www.blogger.com/atom/ns#' term='Sharepoint'/><title type='text'>How to find out w3wp process for the web application</title><content type='html'>Very general issue when two developers are working on same server, on different sites; they don't know which w3wp process is belong to their application for debugging. And for the solution they just add all the w3wp process whild debugging. with effect of this, other developer site also goes in debug mode. So whats solution... Here it is:&lt;br /&gt;1. go to command promt&lt;br /&gt;2. go to cd windows\system32&lt;br /&gt;3. Type cscript.exe iisapp.vbs&lt;br /&gt;All the w3wp process list will come with the web site... now you can see which PID is for your application....&lt;br /&gt;&lt;br /&gt;Now you can debug your application without disturbing other users on same server.&lt;br /&gt;&lt;br /&gt;Happy debugging :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8710859921935174834-3647328137590920689?l=prafulgoyal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prafulgoyal.blogspot.com/feeds/3647328137590920689/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8710859921935174834&amp;postID=3647328137590920689' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8710859921935174834/posts/default/3647328137590920689'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8710859921935174834/posts/default/3647328137590920689'/><link rel='alternate' type='text/html' href='http://prafulgoyal.blogspot.com/2008/07/how-to-find-out-w3wp-process-for-web.html' title='How to find out w3wp process for the web application'/><author><name>Praful Goyal</name><uri>http://www.blogger.com/profile/15058503011193365048</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8710859921935174834.post-6516294406991096648</id><published>2008-03-14T09:45:00.000-07:00</published><updated>2008-03-14T10:32:37.446-07:00</updated><title type='text'>Form Based Authentication in MOSS</title><content type='html'>&lt;a name="_Toc171944185"&gt;Introduction:&lt;/a&gt;&lt;br /&gt;Form Base Authentication (FBA) is a newly introduced feature in Microsoft Office Sharepoint Server (MOSS) 2007. It gives flexibility of using a Sharepoint Web Application (Site) from outside of your firewall. Same webapplication can be used by Company Employee via Intranet with their windows account and by Partners or Customers via Internet with their custom database account. Custom database source can be SQL Server or Lightweight Directory Access Protocol (LDAP).&lt;br /&gt;&lt;a name="_Toc171944186"&gt;Description and Implementation:&lt;/a&gt;&lt;br /&gt;          This section will describe about the implementation of FBA in real time scenario. I divided in to four section Database setup, FBA for WebApplication, creating user for FBA and FBA for MySite.  In this article I will explain using SQL Server database. Same we can do with LDAP also.&lt;br /&gt;&lt;a name="_Toc171944187"&gt;Section 1: Prepare database.&lt;/a&gt;&lt;br /&gt;            We can setup our custom database for Authentication. One important note is, this database should be in a predefine schema which can be recognize by sharepoint. Microsoft provides a utility to setup database.  Follow the below steps to create database:&lt;br /&gt;1.      Open a Command prompt, CD (change directory) to C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727.&lt;br /&gt;2.      Type aspnet_sql.exe and press Enter. This will open up ASP.NET SQL Server setup wizard.&lt;br /&gt;3.      On Next click, Choose Configure SQL Server for application services.&lt;br /&gt;4.      Enter SQL Server name and database name, if you do not have any specific requirement then create database name as ‘aspnetdb’.&lt;br /&gt;NOTE: Make sure User for which you are going to create the below site should have access on the database.&lt;br /&gt;&lt;br /&gt;&lt;a name="_Toc171944188"&gt;Section 2: Configure your web application to use Forms authentication&lt;/a&gt;&lt;br /&gt;            This section will tell you about converting web application authentication from Windows to Forms. Here I am converting my application to FormAuthentication. If you want to create separate application for Windows authentication and Form based authentication then you can extend this application in to intranet zone and keep the authentication mode as windows, which will be used for AD users in your domain and change default zone to Form Based Authentication as explained below&lt;br /&gt;NOTE: If you are going to use WSS or MOSS Search also in your Form Based Authenticated then you have to extend the FBA site in a zone (may be intranet) and login with your crawl search account. One more thing you need to add same user in Policy for Web Application section of Application management with at least full read access (see reference for more).&lt;br /&gt;1.      Open SharePoint Central administration site.&lt;br /&gt;2.      Create a web application (ex: - &lt;a href="http://124378m4/"&gt;http://124378m4&lt;/a&gt;) with required site collection.&lt;br /&gt;3.      Open web.config of your web application in a text editor (Notepad, or Visual Studio 2005).&lt;br /&gt;4.    Add connection string to point to the aspnetdb database. It is preferred that you add the string below   &lt;/configsections&gt;&lt;br /&gt;  &lt;/configsections&gt;&lt;br /&gt;  &lt;!-- Connection string starts --&gt;&lt;br /&gt;  &lt;connectionstrings&gt;&lt;br /&gt;    &lt;add&lt;br /&gt;    name="AspNetDbFBAConnectionString"&lt;br /&gt;    connectionString="Data Source=124378M1;Initial Catalog=aspnetdb;Integrated Security=True" /&gt;&lt;br /&gt;  &lt;/connectionstrings&gt;&lt;br /&gt;&lt;br /&gt;NOTE: You may change the yellow highlighted string based on your environment&lt;br /&gt;5.      Add membership provider, role manager name in web.config. It is preferred that you add the string below &lt;/authorization&gt;&lt;br /&gt;    &lt;authorization&gt;&lt;br /&gt;      &lt;deny users="?"&gt;&lt;br /&gt;    &lt;/authorization&gt;&lt;br /&gt;    &lt;!-- membership provider starts --&gt;&lt;br /&gt;    &lt;membership defaultprovider="FBADemoMember"&gt;&lt;br /&gt;      &lt;providers&gt;&lt;br /&gt;        &lt;add&lt;br /&gt;      connectionStringName="AspNetDbFBAConnectionString"&lt;br /&gt;      enablePasswordRetrieval="false"&lt;br /&gt;      enablePasswordReset="true"&lt;br /&gt;      requiresQuestionAndAnswer="false"&lt;br /&gt;      applicationName="mcc"&lt;br /&gt;      requiresUniqueEmail="false"&lt;br /&gt;      passwordFormat="Hashed"&lt;br /&gt;      maxInvalidPasswordAttempts="5"&lt;br /&gt;      minRequiredPasswordLength="1"&lt;br /&gt;      minRequiredNonalphanumericCharacters="0"&lt;br /&gt;      passwordAttemptWindow="10"&lt;br /&gt;      passwordStrengthRegularExpression=""&lt;br /&gt;      name="FBADemoMember"      type="System.Web.Security.SqlMembershipProvider,System.Web,Version=2.0.0.0,Culture=neutral,PublicKeyToken=b03f5f7f11d50a3a" /&gt;&lt;br /&gt;      &lt;/providers&gt;&lt;br /&gt;    &lt;/membership&gt;&lt;br /&gt;&lt;br /&gt;    &lt;!-- role provider starts --&gt;&lt;br /&gt;    &lt;rolemanager enabled="true" defaultprovider="FBADemoRole"&gt;&lt;br /&gt;      &lt;providers&gt;&lt;br /&gt;        &lt;add&lt;br /&gt;      connectionStringName="AspNetDbFBAConnectionString"&lt;br /&gt;      applicationName="mcc"&lt;br /&gt;      name="FBADemoRole"      type="System.Web.Security.SqlRoleProvider,System.Web,Version=2.0.0.0,Culture=neutral,PublicKeyToken=b03f5f7f11d50a3a" /&gt;&lt;br /&gt;      &lt;/providers&gt;&lt;br /&gt;    &lt;/rolemanager&gt;&lt;br /&gt;&lt;br /&gt;NOTE: Here applicationName section contains a name, by changing the applicationname you can differentiate the set of users in your aspnetdb database.  If you have only one site as FBA then you can write like that also applicationName=”/”.&lt;br /&gt;&lt;br /&gt;6.      Go to Application Management tab; click Application Providers (under Application Security).&lt;br /&gt;7.      Make sure that the current selected web application is the one you want to change to use Forms authentication, click Default (under Zone). If you extended the current site in intranet zone then you will find out one more zones. That time keep intranet zone in windows and change default zone as below.&lt;br /&gt;&lt;br /&gt;8.      Set Membership provider name, Role manager name as below:&lt;br /&gt;You can verify these name from web.config for your application.&lt;br /&gt;9.      Click OK to save the changes.&lt;br /&gt;&lt;br /&gt;Change the Central Administration web.config: &lt;br /&gt; After changing to Webapplication we need to change the CentralAdmin web.config also. This is required step because first time we have to enter one user by central admin only. &lt;br /&gt;NOTE:  Please take a backup of web.config for safety reason.&lt;br /&gt;10.  Open the web.config your SharePoint Central administration site in a text editor, and add same connection string:&lt;br /&gt;  &lt;/configsections&gt;&lt;br /&gt;&lt;br /&gt;  &lt;!-- Connection string starts --&gt;&lt;br /&gt;  &lt;connectionstrings&gt;&lt;br /&gt;    &lt;add&lt;br /&gt;    name="AspNetDbFBAConnectionString"&lt;br /&gt;    connectionString="Data Source=124378M1;Initial Catalog=aspnetdb;Integrated Security=True" /&gt;&lt;br /&gt;  &lt;/connectionstrings&gt;&lt;br /&gt;&lt;br /&gt;11.  Add membership name &amp;amp; role manager string:&lt;br /&gt;    &lt;authorization&gt;&lt;br /&gt;      &lt;deny users="?"&gt;&lt;br /&gt;    &lt;/authorization&gt;&lt;br /&gt;    &lt;!-- membership provider starts --&gt;&lt;br /&gt;    &lt;membership defaultprovider="FBADemoMember"&gt;&lt;br /&gt;      &lt;providers&gt;&lt;br /&gt;        &lt;add&lt;br /&gt;      connectionStringName="AspNetDbFBAConnectionString"&lt;br /&gt;      enablePasswordRetrieval="false"&lt;br /&gt;      enablePasswordReset="true"&lt;br /&gt;      requiresQuestionAndAnswer="false"&lt;br /&gt;      applicationName="mcc"&lt;br /&gt;      requiresUniqueEmail="false"&lt;br /&gt;      passwordFormat="Hashed"&lt;br /&gt;      maxInvalidPasswordAttempts="5"&lt;br /&gt;      minRequiredPasswordLength="1"&lt;br /&gt;      minRequiredNonalphanumericCharacters="0"&lt;br /&gt;      passwordAttemptWindow="10"&lt;br /&gt;      passwordStrengthRegularExpression=""&lt;br /&gt;      name="FBADemoMember"      type="System.Web.Security.SqlMembershipProvider,System.Web,Version=2.0.0.0,Culture=neutral,PublicKeyToken=b03f5f7f11d50a3a" /&gt;&lt;br /&gt;      &lt;/providers&gt;&lt;br /&gt;    &lt;/membership&gt;&lt;br /&gt;&lt;br /&gt;    &lt;!-- role provider starts --&gt;&lt;br /&gt;    &lt;rolemanager enabled="true" defaultprovider="AspNetWindowsTokenRoleProvider"&gt;&lt;br /&gt;      &lt;providers&gt;&lt;br /&gt;        &lt;add&lt;br /&gt;      connectionStringName="AspNetDbFBAConnectionString"&lt;br /&gt;      applicationName="mcc"&lt;br /&gt;      name="FBADemoRole"      type="System.Web.Security.SqlRoleProvider,System.Web,Version=2.0.0.0,Culture=neutral,PublicKeyToken=b03f5f7f11d50a3a" /&gt;&lt;br /&gt;      &lt;/providers&gt;&lt;br /&gt;    &lt;/rolemanager&gt;&lt;br /&gt;&lt;br /&gt;NOTE: The only thing here worth noticing here is that we need to ensure defaultProvider for roleManager is set to AspNetWindowsTokenRoleProvider. And here applicationName tag has same significance as explained in webapplication.&lt;br /&gt;12.  Save the changes.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a name="_Toc171944189"&gt;Section 3: Creating users and roles in database (aspnetdb)&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;            Here you can define your custom database users and also can define or create roles. These users and roles will be recognizing by sharepoint application. It is not necessary to create all users by this method but you have to create at least one user by this so that you can log in to FBA site first time.  Rest of users you can enter either by sql server or by creating a console application. Roles are very useful utility, you can create different role depend on your requirement and assign particular user to particular role. These roles you can use in giving different permission in sharepoint.&lt;br /&gt;Here are the steps:&lt;br /&gt;1.      Open Visual Studio 2005.&lt;br /&gt;2.      Click Open menu -&gt; Web site …&lt;br /&gt;3.      Click File System, and browse to the folder where your web application (which created above) web.config resides, and click Open. My application is under 81port so…&lt;br /&gt;4.      Click Web site menu -&gt; ASP.NET Configuration. This launches Web site administration tool in IE.&lt;br /&gt;5.      Click Security, and add roles &amp;amp; users as needed.&lt;br /&gt; &lt;a href="http://www.devcow.com/blogs/jdattis/images/SharePoint2007FormsAuthenticationandMySi_10652/ASP.NETWebSiteAdministrationToolSecu2.png" target="_new"&gt; &lt;/a&gt;&lt;br /&gt;6.      You can check the membership provider and role provider by clicking the provider tab.&lt;br /&gt;&lt;br /&gt;&lt;a name="_Toc171944190"&gt;Add first user for your Forms auth web application:&lt;/a&gt;&lt;br /&gt;1.      Open SharePoint Central administration site.&lt;br /&gt;2.      Go to Application Management tab. Under SharePoint Site Management, click Site collection administrators.&lt;br /&gt;3.      From the Site collection list, make sure that you have selected the site collection which you want to change.&lt;br /&gt;4.      In Primary / secondary site collection administrator, type in a Forms auth user, and click “Check Names” icon.&lt;br /&gt;5.      After it succeeds verifying the user, click OK.&lt;br /&gt;6.      Now the first Forms auth user is successfully added, you can use the user to login. As an alternative, you can also click Policy for web application (under Application Security) and define a Full Control policy to the web application for your Forms auth.  By doing this, you don’t have to set site collection administrator individually for each site collection in your web application.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a name="_Toc171944191"&gt;Section 4: Enable My Site for your Forms auth user&lt;/a&gt;&lt;br /&gt;&lt;a name="_Toc171944192"&gt;Step 1: Create a mapped web application for SSP admin site&lt;/a&gt;&lt;br /&gt;1.      Open SharePoint Central administration site.&lt;br /&gt;2.      Go to Application Management tab and click Create or extend Web application (under SharePoint Web Application Management).&lt;br /&gt;3.      Choose Extend an existing Web application.&lt;br /&gt;4.      From web application list, choose the web application hosting SSP admin site.&lt;br /&gt;5.      Set other parameters (i.e. port, zone etc.) as you feel needed, and click OK.&lt;br /&gt;6.      After you create the mapped web application, click Application Management -&gt; Authentication Providers (under Application Security).&lt;br /&gt;7.      Choose the web application hosting SSP admin site from the web application list.&lt;br /&gt;8.      Select the zone (set in step 5) which is for the mapped web app.&lt;br /&gt;9.      Set same Membership, Role manager name, and click OK.&lt;br /&gt;10.  Open the web.config for the mapped web application in a text editor, and add same connection string, membership, role manager string:&lt;br /&gt;  &lt;/configsections&gt;&lt;br /&gt;&lt;br /&gt;  &lt;!-- Connection string starts --&gt;&lt;br /&gt;  &lt;connectionstrings&gt;&lt;br /&gt;    &lt;add&lt;br /&gt;    name="AspNetDbFBAConnectionString"&lt;br /&gt;    connectionString="Data Source=124378M1;Initial Catalog=aspnetdb;Integrated Security=True" /&gt;&lt;br /&gt;  &lt;/connectionstrings&gt;&lt;br /&gt;&lt;br /&gt;…&lt;br /&gt;    &lt;authorization&gt;&lt;br /&gt;      &lt;deny users="?"&gt;&lt;br /&gt;    &lt;/authorization&gt;&lt;br /&gt;    &lt;!-- membership provider starts --&gt;&lt;br /&gt;    &lt;membership defaultprovider="FBADemoMember"&gt;&lt;br /&gt;      &lt;providers&gt;&lt;br /&gt;        &lt;add&lt;br /&gt;      connectionStringName="AspNetDbFBAConnectionString"&lt;br /&gt;      enablePasswordRetrieval="false"&lt;br /&gt;      enablePasswordReset="true"&lt;br /&gt;      requiresQuestionAndAnswer="false"&lt;br /&gt;      applicationName="mcc"&lt;br /&gt;      requiresUniqueEmail="false"&lt;br /&gt;      passwordFormat="Hashed"&lt;br /&gt;      maxInvalidPasswordAttempts="5"&lt;br /&gt;      minRequiredPasswordLength="1"&lt;br /&gt;      minRequiredNonalphanumericCharacters="0"&lt;br /&gt;      passwordAttemptWindow="10"&lt;br /&gt;      passwordStrengthRegularExpression=""&lt;br /&gt;      name="FBADemoMember"      type="System.Web.Security.SqlMembershipProvider,System.Web,Version=2.0.0.0,Culture=neutral,PublicKeyToken=b03f5f7f11d50a3a" /&gt;&lt;br /&gt;      &lt;/providers&gt;&lt;br /&gt;    &lt;/membership&gt;&lt;br /&gt;&lt;br /&gt;    &lt;!-- role provider starts --&gt;&lt;br /&gt;    &lt;rolemanager enabled="true" defaultprovider="FBADemoRole"&gt;&lt;br /&gt;      &lt;providers&gt;&lt;br /&gt;        &lt;add&lt;br /&gt;      connectionStringName="AspNetDbFBAConnectionString"&lt;br /&gt;      applicationName="mcc"&lt;br /&gt;      name="FBADemoRole"      type="System.Web.Security.SqlRoleProvider,System.Web,Version=2.0.0.0,Culture=neutral,PublicKeyToken=b03f5f7f11d50a3a" /&gt;&lt;br /&gt;      &lt;/providers&gt;&lt;br /&gt;    &lt;/rolemanager&gt;&lt;br /&gt;11.  Save the changes.&lt;br /&gt;&lt;br /&gt;&lt;a name="_Toc171944193"&gt;Step 2: Grant “Create My Site” permission to your forms auth users.&lt;/a&gt;&lt;br /&gt;1.      Open your SSP Admin site through the web application with Windows authentication.&lt;br /&gt;2.      Click Personalization services permissions (under User Profiles and My Sites).&lt;br /&gt;3.      Choose Add Users/Groups.&lt;br /&gt;4. Type in Forms auth user, and click Check Names.&lt;br /&gt;4.      Also check “Create personal site”, “User personal features” … which you see fits, and click Save.&lt;br /&gt;5.      The forms auth user should now see “My Site” link after he logins.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a name="_Toc171944194"&gt;Additional features in Form Based Authenticated webapplication:&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;1.      After changing the authentication to Forms, when you will access the site users will get the default login.aspx screen to login. In your application you may not want this default sharepoint screen.  I found some workaround to put our custom login screen instead of this.&lt;br /&gt;a.     Change the default location of login page in web.config file of webapplication.&lt;br /&gt;&lt;forms loginurl="/_layouts/login.aspx"&gt;  instead of this login page you can give your custom page url with session time out condition. Like:&lt;br /&gt; &lt;forms loginurl="/_layouts /memberLogin.aspx" name=".ASPXFORMSAUTH" protection="All" path="/" timeout="30"&gt;&lt;br /&gt;b.     After changing login page now you are thinking how to validate user to sharepoint from your custom page. For that I got some solution:&lt;br /&gt;if (Membership.ValidateUser(_username, _password) == true)&lt;br /&gt;     {&lt;br /&gt;     FormsAuthentication.RedirectFromLoginPage(_username, true);}&lt;br /&gt;You can use this code on sign in button click; here you need to pass your custom database username and password. Sharepoint will automatically authenticate user.&lt;br /&gt;&lt;br /&gt;&lt;a name="_Toc171944195"&gt;Business applicability:&lt;/a&gt;&lt;br /&gt;        This functionality can become very efficient in real time business scenario like:&lt;br /&gt;1.      While creating a Sharepoint portal if requirement for giving access to external users. Here an external user means the user which are not present in Active Directory or who are not employee of that particular organization.&lt;br /&gt;2.      Another case where you need to create MySite for your external user, that time FBA will help you to resolve. Here one interesting thing is you can retain same URL of your webapplication for MySite. Because by default your webapplication URL and MySite URL will be different.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a name="_Toc171944196"&gt;Conclusion:&lt;/a&gt;&lt;br /&gt;            FBA functionality in MOSS can take us at another level of development. By this we can effectively handle the situation of giving access to outside user.&lt;br /&gt;            We have certain advantage by using Form Based Authentication in compare to SPS 2003 functionality.&lt;br /&gt;1.      ISA server completely removed from the architecture as MOSS 2007 can directly authenticate against AD.&lt;br /&gt;2.     External users are authenticated against a different domain (in AD) from the Employees, so there is no security risk.&lt;br /&gt;3.     No need to create any dummy user IDs for giving access to other external users as it require in SPS 2003.&lt;br /&gt;4.     Clear separation of the Internet and Intranet traffic.&lt;br /&gt;5.     Latest features offered by MOSS 2007 incl. My Sites, Wiki, Blogs, Workflows etc. can be leveraged&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8710859921935174834-6516294406991096648?l=prafulgoyal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prafulgoyal.blogspot.com/feeds/6516294406991096648/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8710859921935174834&amp;postID=6516294406991096648' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8710859921935174834/posts/default/6516294406991096648'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8710859921935174834/posts/default/6516294406991096648'/><link rel='alternate' type='text/html' href='http://prafulgoyal.blogspot.com/2008/03/form-based-authentication.html' title='Form Based Authentication in MOSS'/><author><name>Praful Goyal</name><uri>http://www.blogger.com/profile/15058503011193365048</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
