NEW YORK — NBA Commissioner David Stern canceled the first two weeks of the season Monday after owners and players were unable to reach a new labor deal and end the lockout.

Top negotiators for both sides met for more than seven hours Monday, returning to bargaining about 14 hours after ending talks Sunday night.

Stern said both sides are “very far apart on virtually all issues. … We just have a gulf that separates us.”

The cancellation includes all games scheduled to be played through Nov. 14.

“Despite extensive efforts, we have not been able to reach a new agreement with the players’ union that allows all 30 teams to be able to compete for a championship while fairly compensating our players,” NBA Deputy Commissioner Adam Silver said in a statement.

The decision to postpone the first two weeks of the regular season wipes out eight Golden State Warriors games — four home games and four road games.

The Warriors games canceled include the season opener at Oracle Arena against Kobe Bryant and the Los Angeles Lakers, scheduled for Nov. 2. Golden State’s other home games canceled are against Sacramento (Nov. 4), San Antonio (Nov. 7) and Detroit (Nov. 9).

Warriors road games eliminated were at Denver (Nov. 5), at New Orleans (Nov. 11), at Houston (Nov. 12) and at defending NBA champion Dallas (Nov. 14).

With another work stoppage, the NBA risks alienating a fan base that sent the league’s revenues and TV ratings soaring during the 2010-11 season. And the loss of the first two weeks of games — will hurt workers with jobs dependent on pro basketball’s six-month-plus season. A few teams have already trimmed their staffs and more layoffs could be forthcoming.

Then there are those who don’t work directly for an NBA team but who still depend on the excitement the league brings to town. Ushers, security personnel, parking lot attendants, concession workers, restaurant employees and others all stand to have their hours cut or join the country’s 14 million unemployed.

The success of last season, on the court, at the box office and in the headlines, convinced many that the sides would never reach this point.

But small-market owners were hardened after watching LeBron James leave Cleveland for Miami, Amare Stoudemire bolt Phoenix for New York, and Carmelo Anthony later use his impending free agency as leverage to secure a trade from Denver to the Knicks. They wanted changes that would allow them to hold onto their superstars and compete for titles with the big-spending teams from Los Angeles, Boston and Dallas who have gobbled up the last four championships.

Owners locked out the players July 1 when they couldn’t reach a deal before the expiration of the old collective bargaining agreement. Opening night was scheduled for Nov. 1.

As the lockout drags on, Stern’s legacy as one of sports’ best commissioners is weakened. He turned 69 last month, and although he hasn’t said when he will retire, he did say this will be his last CBA negotiation after nearly 28 years running the league.

He has insisted all along he wouldn’t worry about the damage to his reputation and that his only concern would be getting the deal his owners need.

It’s uncertain when that will be. The sides didn’t agree until Jan. 6 in 1999, just before the deadline for canceling that entire season. The league ended up with a 50-game schedule, often plagued by poor play as teams were forced to fit too many games into too small of a window.

They could keep meeting now and agree to a deal much sooner this time. Or perhaps the divide is still too great and they will decide there’s no reason to rush back to the table.

On Monday Stern, Silver, owners Peter Holt of San Antonio, Glen Taylor of Minnesota and James Dolan of New York, and senior vice president and deputy general counsel Dan Rube met with union executive director Billy Hunter, president Derek Fisher of the Lakers and vice president Maurice Evans of the Wizards, and attorneys Jeffrey Kessler and Ron Klempner.

Though both sides have said they believe bargaining is the only route to a deal, the process could end up in the courts. Each brought an unfair labor practice charge against the other with the National Labor Relations Board, and the league also filed a federal lawsuit against the union attempting to block it from decertifying.

Union officials thus far have been opposed to decertification, a route the NFL players initially chose during their lockout. But Hunter has said it might eventually be considered.

Players say they have prepared for a shortened season for a couple of years, knowing it could be the inevitable outcome of a difficult negotiation. The owners’ initial proposal in early 2010 for a new CBA, calling for salary reductions and rollbacks, shorter contracts and a hard cap of $45 million, got the process off to a tense start.

When the sides couldn’t agree to a new deal before the old one expired on July 1, Hunter said it had been difficult for the players to overcome the setback the initial proposal caused.