Couple of surprises here. Didn't know TV shows Lassie or My Three Sons ran for so long.

Ranked accordingly:

10: Knots Landing (1979-1993)
The show's premise centered on Gary Ewing (from Dallas) and his lovely bumpkin wife, Valene, who moved to California. Their neighbors included a host of dysfunctional families and through marriages, affairs, births, stolen babies, murders, novels, new business enterprises, and even a televangelist brother, this show kept viewers watching for 344 episodes.


9: Dallas (1978-1991)
For 357 episodes, Dallas revolved around the wealthy Ewing family -- oil baron and patriarch Jock Ewing; his wife, Miss Ellie; and their sons, JR, Bobby, and black sheep Gary.


8: My Three Sons (1960-1972)
For 380 episodes and 12 seasons, Americans stepped into the world of widower Steve Douglas and -- you guessed it -- his three sons: Mike, Robbie, and Chip.


7:
Law & Order (1990-2010)
With over 400 episodes under its belt since it premiered in 1990, the key to this show's success may lie in its ever-revolving cast. None of the original actors remained on the show, and most cast members only stuck around a couple of seasons. Still, the show went on.


6: The Simpsons (1989-????)
With more than 400 episodes (and counting), the most successful animated family in the history of TV has been going strong since 1989. Creator Matt Groening parodies the average (albeit dysfunctional) American family with buffoonish yet lovable Homer Simpson; his wife, Marge; their brilliant daughter, Lisa; bad-seed son, Bart; and baby, Maggie.


5: Bonanza (1959-1973)
Airing for 430 episodes, this Western was set in the mid-1800s on a Nevada ranch called "The Ponderosa." The show revolved around the life of Ben Cartwright and his sons, Adam, Hoss, and Little Joe (played by Michael Landon). Bonanza was the first series to tape all of its shows in color, and it held the number one spot on the Nielsen ratings chart from 1964 to 1967.


4: The Adventures of Ozzie and Harriet (1952-1966)
What began as a radio program in 1944 became a movie (Here Come the Nelsons) in 1952 and then a successful television program that ran for 435 episodes. In this wholesome show, the characters played themselves -- Ozzie and Harriet Nelson and their two sons, David and Ricky. Ozzie's roots were in music, so when Ricky's talent started to emerge, Ozzie wrote it into the story line, ending each show with a performance by his younger son.


3: Death Valley Days (1952-1970)
In 1952, Death Valley Days, which aired as a radio show from 1930 to 1945, evolved into a successful TV show that lasted 18 seasons. A host introduced each of the 451 episodes, which were based on actual pioneer stories that took place in southeastern California and western Nevada during the late 1800s. Future President Ronald Reagan and country singer Merle Haggard were among the hosts during the show's run.


2: Lassie (1954-1972)
Running for 588 episodes, Lassie centered around a loyal canine companion who rescued her human family from various predicaments. Over the years, Lassie was portrayed by nine different male dogs, all descendants of the original Lassie, whose real name was Pal. During the show's run, Lassie had various owners, most notably Timmy and Jeff. Only three dogs have a star on the Hollywood Walk of Fame -- Lassie, Rin Tin Tin, and Strongheart.


1:
Gunsmoke (1955-1975)
Gunsmoke tops the list as the longest-running dramatic series in network television history with 635 episodes. Set in Dodge City, Kansas, during the 1870s, Gunsmoke began as a radio program in 1952, switched to the land of visual entertainment in 1955, and finally ended its 20-year run in 1975.