Hello,
I have copied the "sql.data.client.dll" to "C:\Program Files (x86)\Microsoft Dynamics NAV\71\RoleTailored Client" and have registered the dll.
However when I create a new codeunit and try declare a global variable of type DotNet, I can select "System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" but I cannot view the subtype System.Data.SqlClient.SqlConnection.
Any Idea on the above?
Thanks
0
Comments
I don't understand why you are copying and registering the dll. It's a system DLL and you should find it under .NET Assembly.
Just Navigate as -
Visible Name - System.DATA (System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)
Visible Name - System.Data.SqlClient.SqlConnection
As shown below -
Let me know if it helps.
Thanks & Regards,
Saurav Dhyani
Do you Know this About NAV?
Connect - Twitter | Facebook | Google + | YouTube
Follow - Blog | Facebook Page | Google + Page