Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

sql server and asp.net give me error

Posted on 2011-02-10
2
Medium Priority
?
578 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 2000 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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
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…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …

971 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