Switch can not connext to pc via UMS

Hello guy!
I am having a v2 switch which can not connect to pc.the switch can be charged and docked proberly . i have checked the usb port and D- D+ always presented. I even changed the port to make sure but the problem persist. Do any one know about this one please help me. Thank in advance.