Solved

sql server and asp.net give me error

Posted on 2011-02-10
2
565 Views
Last Modified: 2012-05-11
Logon failed for login 'shivadmin' due to trigger execution.
Changed database context to 'shivdiamond'.
Changed language setting to us_english.

lots of time i get this error i try every thing but not work.
0
Comment
Question by:ajaymaster143
2 Comments
 
LVL 39

Accepted Solution

by:
Pratima Pharande earned 500 total points
ID: 34868322
0
 
LVL 13

Expert Comment

by:geek_vj
ID: 34868807
This happens when you drop the database before the trigger is fired. As the database is dropped, you cannot login through the SQL management studio. So, you need to use DAC connection as below from cmd prompt:

sqlcmd -S LocalHost -d master -A

Drop Trigger <Triggername> On All Server

Please replace Localhost in the first query with your servername\Instancename if it is not the default instance.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

760 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now