Tablet not recognised by Windows 8.1

Hi there,
I have Asus Nexus 7 Tablet, when I connect my device with my Dell Latitude Laptop running on windows 8.1 the Tablet is not recognized and it is not charging at all, when I switch it off and connect it, it is recognized as a USB device and it starts to charge, what could be the problem? How do I get this Tablet working well?
