(1) Explain your problem, don't simply post "This isn't working". What were you doing when you faced the problem? What have you tried to resolve - did you look for a solution using "Search" ? Has it happened just once or several times?
(2) It's also good to get feedback when a solution is found, return to the original post to explain how it was resolved so that more people can also use the results.
Higher version of P6 is no longer supported by SDK, therefore if you upgraded your P6 version, your SDK will no longer working. The only option is connect it to ODBC using SQL server instead of Primavera SDK.