Recording with K26 keyboard

My computer is Dell XPS8500 using Win7 pack 1.The K26 is connected to the computer thru two 1/4 cables from Midi IN & OUT to a USB port in the computer. The audio is connected from K26 to the receiver to computer. When trying to record an error message appears “Error while opening sound device. Please check the input device settings & the project sample rate”. Since my input device is the K26 I contacted Kurzweil & they said that K26 has no settings to change. Will appreciate any help. Thanks

Audacity doesn’t accept MIDI, so it doesn’t make any difference what you do with those cables.

How, in detail did you connect the keyboard sound to your computer? Actually, it would be your entertainment amplifier to the computer. I assume you can hear the keyboard on your speakers, so that part would be working.

You can’t use the Mic-In on your Windows laptop. I thought we’d start there.