Hello: I hope I am in the correct forum because I have been sent all over the place with this question and I am at my wits end. I am getting error ORA-12154: TNS could not resolve the connect identifier specified when trying to execute the following stored procedure.
- odataaccess.ExecuteSQL("VDEV", "ABCSETSCREEN.SetScreenStart", Command.StoredProcedure) in VB2010. I am using Windows XP and Oracle version 10.1.0. However, I do not get this error when I use VB2005. I have VB2010 target framework setup to .NET Framework 2.0. I have checked to make sure tnsnames.ora has the alias which in this case would be "VDEV" if I am correct and that tnsnames is in sqlnet.ora-(NAMES.DIRECTORY_PATH= (TNSNAMES). I am able to connect to VDEV thought PL/SQL Developer. What has me really confused is that the SP works in 05 but not VB2010 so I am thinking there must be some setting in VB2010 that must be changed. I am really stumped on this and have tried about everything. Any help would be greatly appreciated. If I can give you more info, please let me know. Thank you in advance.