RE: cannot delete a record in sql server 2005 through asp program



Hi all,

Thanks for your input. Mark helped me to find the issue.
Using trace script he provided and trace file created by the script. I was
able to locate the issue.

It's really my fault. I include a file to point to test database I want to
run against and it has the stored procedure. But somehow another include file
which points to the production database was included unintentionally later
on. It caused all the issues since the program somehow is running against
production database which doesn't have the stored procedure I am working on.

Sincerely
--
Betty


"Mark Han[MSFT]" wrote:

Hi Betty

Thank you for using Microsoft MSDN Managed Newsgroup. This is Mark Han,
again. I am glad to work with you on this issue.

From your description, I understand that you fail to delete a record in the
SQL Server database by the asp application. If I have misunderstood, please
let me know.

To make the issue clear, i would like to explain my understanding and
troubleshooting logic for you.
1 Based on your description, since the record is able to be deleted by the
same user and same command which you use in asp application, the issue
might not a permission problem

2 to furhter narrow down the issue, firstly we need to verify if the
request(delete) has been applied to the SQL Server by capture the SQL
Server Profiler Trace

if he request(delete) has been applied to the SQL Server, we need to check
if the command is blocked

if he request(delete) is not able to be applied to the SQL Server, we need
to check the application.

in order to help you to resolve the issue, I have made a templete of the
SQl Server Profiler trace. if it is convenient to you, please send me an
email so that I can send the templete to you. My email address is
v-fathan@xxxxxxxxxxxxxxxxxxxx (please remove online)

If there is anything unclear, please do not hesitate to let me know.

I look forward to your reply

Best regards,
Mark Han
Microsoft Online Community Support
===========================================================
Delighting our customers is our #1 priority. We welcome your
comments and suggestions about how we can improve the
support we provide to you. Please feel free to let my manager
know what you think of the level of service provided. You can
send feedback directly to my manager at: msdnmg@xxxxxxxxxxxxxx
===========================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or
a Microsoft Support Engineer within 2 business day is acceptable. Please
note that each follow up response may take approximately
2 business days as the support professional working with you may need
further investigation to reach the most efficient resolution.
The offering is not appropriate for situations that require urgent,
real-time or phone-based interactions. Issues of this nature are
best handled working with a dedicated Microsoft Support Engineer by
contacting Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/en-us/subscriptions/aa948874.aspx

============================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
=========================================================


.



Relevant Pages

  • Re: enumerating Sql Servers is wrong on some systems
    ... How do we get the correct enumeration? ... I know that you install a SQL Server named ... Microsoft Online Community Support ... a Microsoft Support Engineer within 2 business day is acceptable. ...
    (microsoft.public.sqlserver.setup)
  • Re: multithreaded tcp/ip server large page file
    ... Part of the processing being done by each thread is contacting a sql server and if the sql server is having problems processing by this program backs up and I've seen it with over 100 threads open before. ... It handles it fine as the sql request time out this program returns and error response to the TCP/IP client that the thread is handling and the sub/tread ends. ... The MSDN Managed Newsgroup support offering is for non-urgent issues where an initial response from the community or a Microsoft Support Engineer within 1 business day is acceptable. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: multithreaded tcp/ip server large page file
    ... Part of the processing being done by each thread is contacting a sql server and if the sql server is having problems processing by this program backs up and I've seen it with over 100 threads open before. ... It handles it fine as the sql request time out this program returns and error response to the TCP/IP client that the thread is handling and the sub/tread ends. ... The MSDN Managed Newsgroup support offering is for non-urgent issues where an initial response from the community or a Microsoft Support Engineer within 1 business day is acceptable. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Howto troubleshoot login failure - State 11?
    ... It belongs to a Windows ... group which is granted access to your SQL Server. ... Microsoft Online Community Support ... or a Microsoft Support Engineer within 1 business day is acceptable. ...
    (microsoft.public.sqlserver.security)
  • Re: multithreaded tcp/ip server large page file
    ... Part of the processing being done by each thread is contacting a sql server and if the sql server is having problems processing by this program backs up and I've seen it with over 100 threads open before. ... It handles it fine as the sql request time out this program returns and error response to the TCP/IP client that the thread is handling and the sub/tread ends. ... The MSDN Managed Newsgroup support offering is for non-urgent issues where an initial response from the community or a Microsoft Support Engineer within 1 business day is acceptable. ...
    (microsoft.public.dotnet.languages.vb)