Solved

Invalid Object Name

Posted on 2008-11-03
2
585 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
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.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

729 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