Re: Very strange SqlClient error in page code?

Tech-Archive recommends: Fix windows errors by optimizing your registry



Andy B. wrote:
I am using entity framework to create database data access code. For some wierd reason, I keep getting the following error but I don't even have an object in the database with the name the error claims is invalid. I used to have a database table with that name but since deleted it ages ago. Any way to fix the problem? I even went so far as to create a brand new web project and hand ported code over but the error keeps coming up. I can create and add new objects and delete objects but for some reason I can't update objects. Here is the error:

Well, there is something left in your code that uses the table. If you look in the call stack, the error occurs in this method:

Website.News.News.UpdateNews

It seems logical that a method named that way would try update the News table.


--
Göran Andersson
_____
http://www.guffa.com
.



Relevant Pages

  • compiler and metadata, request opinions...
    ... a lot of the upper/middle compiler machinery is still lacking (such as ... embed the metadata directly into the object modules (the reason being that ... request for a particular piece of information is embedded in a symbol (sort ... it will be loaded into an in-memory version of the database. ...
    (comp.compilers)
  • misc: compiler and metadata...
    ... a lot of the upper/middle compiler machinery is still lacking (such as ... embed the metadata directly into the object modules (the reason being that ... request for a particular piece of information is embedded in a symbol (sort ... it will be loaded into an in-memory version of the database. ...
    (comp.lang.misc)
  • RE: how to list LE options
    ... for whatever reason an applications programmer has to look at this ... curiousity and desire to expand their knowledge, there is no real reason ... LE options were copied to an application parmlib, ... There's no reason that Database, CICS and other groups can't maintain ...
    (bit.listserv.ibm-main)
  • RE: [dbi] RE: Accessing MS Access through the DBI ODBC
    ... reason for this issue is the mdb is on a mapped drive where the mapped driver ... > still getting 'Unable to connect to database'. ... > use DBI; ... Then it will simply display it and die since there ...
    (perl.dbi.users)
  • Re: Asynchronous Commit in Oracle Database 10g R2
    ... this running and the database goes down for some reason in the middle ... >> oracle would use DBMS_JOB instead of extproc. ... > The optimization is only a danger if there is a method ...
    (comp.databases.oracle.server)