Try making sure you've done these things:
-Retrieved the Ruby from Mt. Ember on One Island and given it to Celio
-Battled the Team Rocket members in Icefall Cave on Four Island and met up with Lorelei
Then I think you should be able to get into Dotted Hole.