Mircophone not recognized.

I have a Yoga FX-528 mic that im using through XLR - jack through the pink socket on my laptop. I also have an integrated mic on my laptop but the sound quality on that isn’t very good. When I plug my mic in, load Audacity, and try to record with it, it always brings up an error message saying ‘Error while opening sound device. Please check the input device settings and the project sample rate .’ I have checked the sample rate, and I think it is right at 44100. I have also checked to make sure the correct mic is selected, but it just wont record.

Many thanks
lcfcTom

Need to know which version of Audacity and what operating system you are using.