Solved

Invalid Object Name

Posted on 2008-11-03
2
582 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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
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.

789 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