visual-studio-2010designerwindows-forms-designerora-12560

"ORA-12560: TNS:protocol adapter error" VS designer


I'm trying to view/edit a Form through Visual Studio Designer and am getting a the following error:

   ORA-12560: TNS:protocol adapter error     

How do I set up my form to display within the designer or development machine show intelligent error messages.

Thanks.


Solution

  • Could be a variety of things. I'm assuming that you can already connect to your database from your development machine? If not, how about starting with that. Make sure your TNSNAMES.ora is setup properly and that you're calling the correct service in the same way the database is defined. Are you using OleDB to make the connection to Oracle? Maybe an update with more information like your connect string and tnsnames entry.