Re: Very strange SqlClient error in page code?
- From: Göran Andersson <guffa@xxxxxxxxx>
- Date: Tue, 10 Feb 2009 00:13:46 +0100
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
.
- Follow-Ups:
- Re: Very strange SqlClient error in page code?
- From: Andy B.
- Re: Very strange SqlClient error in page code?
- References:
- Very strange SqlClient error in page code?
- From: Andy B.
- Very strange SqlClient error in page code?
- Prev by Date: Re: How do I? Stupid newbie question I'm sure...
- Next by Date: Multiple code behind files per aspx page.
- Previous by thread: Very strange SqlClient error in page code?
- Next by thread: Re: Very strange SqlClient error in page code?
- Index(es):
Relevant Pages
|