Solved

Invalid Object Name

Posted on 2008-11-03
2
579 Views
Last Modified: 2008-11-04
Experts,

I've inherited a VB.NET application that is bombing on a line where it refers to a local database table I'm trying to access.  The error is "Invalid Object Name".

Initially, I thought the problem was that the previous programmer's credentials were in the webconfig file, so I changed them to mine.  Then I realize that I didn't have permissions on the database in question, so I added myself.  Yet I still get the error.

Ideas?
0
Comment
Question by:NigelRocks
2 Comments
 
LVL 60

Expert Comment

by:chapmandew
ID: 22867654
post your query...you may be running it in the wrong db context.
0
 
LVL 13

Accepted Solution

by:
TechTiger007 earned 500 total points
ID: 22867741
Check if the application is connecting to correct database and the table / view that you are connecting to exist. Try the query in sql plus or toad to make sure that there is no problem with query
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now