profiler error message ...

Posted on 2014-08-13
Last Modified: 2014-08-25
Sometimes, in profiler, under the eventclass 'user error message', the textdata is

"Changed language setting to us_english."
"Changed database context to 'msdb'."

Why would be this a error message?
Question by:25112
    LVL 23

    Accepted Solution

    Well, it is an error message - more specifically, a "user" error message.  You would normally call this a PRINT statement.  In other words, this is a RAISERROR() with a an error level of 0.  PRINT is actually doing something client-side, not server side.  In order for SQL to send it to the user and have it *not* appear as data being SELECT()ed, it is sent as a very-low-level error.
    LVL 5

    Author Comment

    thank you.. so these are 'helpful' message more than 'error message' in reality, right?

    a)is it possible to tell sql to not count these as user error messages by any chance?
    b)the login who is reporting this is the service account. but on the other server, I don't see any message like this for the service account. why may it be so?
    LVL 23

    Expert Comment

    It depends... any chance you can post specific examples from the 2 hosts?  You can filter them out in SQL Profiler for sure, but I don't think that's what you're asking.

    Featured Post

    PRTG Network Monitor: Intuitive Network Monitoring

    Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

    Join & Write a Comment

    If you have heard of RFC822 date formats, they can be quite a challenge in SQL Server. RFC822 is an Internet standard format for email message headers, including all dates within those headers. The RFC822 protocols are available in detail at:   ht…
    Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    728 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

    19 Experts available now in Live!

    Get 1:1 Help Now