ORA-12154 could not resolve the connect identifier specified

I have switched over to the 64bit Windows 7 and created a simple web app to test the connection to the database. I am using VS 2010 – plain asp.net web project and I am running the application from within VS.

I am getting this error: “ORA-12154 could not resolve the connect identifier specified”

I also have a sample console application that tests the connection to the database, and it works fine.

After googling it some, I found that a lot of posts online refered to permissions so I set my C:/Oracle permissions to read/write/execute for my ASP.net account, NETWORK SERVICE, COMPUTER NAME. That still won’t solve the issue. I checked that my web app runs under my domain\username account and that this account that the rights to read/write/execute to the C:\Oracle folder.

I even re-installed my VS to make sure that it is in C:\Program Files rather than C:\Program Files(x86)

Any ideas to why my web app doesn’t see the connection string? (while the console app does) Not sure what else I can do.

Leave a Comment