Re: Name change, can't find origin of error



1) You could run SQL Profiler to trace all queries sent to SQL Server when you perform this action through web app. You can take a look at the captured batches to see if any of those queries refer to the old table. There could be ad-hoc queries, views, UDFs, stored procs that may refer to the old table, you could take a look at the source code for those SPs, UDFs( sp_helptext on T-SQL stored procs). If there were any CLR stored procs / UDF's you need to take a look at the source code for those .NET classes to see if there were any ad-hoc calls to the old table

2) You can also set a break point in ASP.NET code
ST2allowed.RetrieveData(" ... and step into the code to analyze the rootcause of this exception


--
Thanks
Sethu Srinivasan, Software Design Engineer, SQL Server Manageability
--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm.





"Reeve" <jamesn@xxxxxxxxxxx> wrote in message news:1156946765.373052.150810@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I've recently made a name change on a few database tables. I thought I
got all the name changes done in the front end reference. However,
this one eludes me. I've checked all the classes listed in the error
trace. I've done full text searches across all the documents of the
project and I still can't find a reference to 'ACAllowedMarketCaps'
anywhere.

http://i13.photobucket.com/albums/a291/Reeve04/UnknownError.jpg

Are there any other techniques that people have used to troubleshoot a
problem like this? Or am I missing something in the info displayed on
the error page? Thanks in advance


.



Relevant Pages

  • Re: application slow
    ... Slow running queries may need to be either re-written of have indexes added to support them and therefore make them run faster. ... Could the cause be external to SQL Server? ... You might try the same trace without a filter during the problem period to see if you can spot unusual activity. ... The ClearTrace John mentioned ought to help categorize frequently run queries below the duration threshold of the filtered trace. ...
    (microsoft.public.sqlserver.server)
  • Re: The best elegant solution to override 65k rows limit in a sheet
    ... Access ships with MSDE.. ... >SQL Server Books Online (again-- Access ships with freeware SQL Server ... better ways to achieve their results through queries. ...
    (microsoft.public.excel)
  • Re: Official Status of SQLServer 2005 ADP
    ... solution might be to use ADP. ... With MDB and Linked tables, the only ways of accelerating things are the use ... of Views and the cumbersome use of SQL passthrough queries. ... > SQL Server, and carry on using Access like I aways had. ...
    (microsoft.public.access.adp.sqlserver)
  • Re: SQL Server 2000 and Latching problem
    ... While the way we indexed our tables and the way we wrote the queries etc ... "chances are you are getting latches because you are ... query on the results the query .. ... SQL Server 2000 and Latching problem ...
    (microsoft.public.sqlserver.connect)
  • Re: Sql server as back end
    ... There is an option in the Tools menu, Database Utilities, for Upsize to SQL Server. ... But after that, the queries should generally work, shouldn't they? ...
    (microsoft.public.access.tablesdbdesign)