This novel was clearly trying to pull from the goodwill Jurassic Park had generated. It starts with a scientist or engineer who is building some sort of dinosaur (maybe hologram or virtual reality). In the first chapter he is poisoned and imagines the dinosaurs are real as he starts to die. A detective comes in. He is led around the company by a female employee. He ultimately determines the murder was an accident and the female employee asks if all his cases end so stupidly. I read this in 94 or 95. It might be part of a series.
Could it be: Night of the Carnotaurus ? It is part of Dinosaur Detective series and it came out in 1995.
When Fenton Rumplemayer's father goes to Hollywood for a week as a technical consultant on a dinosaur film, Fenton accompanies him and discovers strange mistakes and accidents plaguing the movie studio.