Solved

Invalid Object Name

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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
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
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
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.

778 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