Solved

Viewing Log Files - SQL Server Express 2005

Posted on 2008-10-16
9
2,433 Views
Last Modified: 2012-08-14
Hi Guys,
I have a SQL Sever Express 2005 database, im trying to access the log files listed under the management tree but they wont open?

 Ive tried to double clicking on the current log and the archive logs but nothing happens, how do i view the logs?

Thanks
Jay Eire
0
Comment
Question by:jay_eire
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
9 Comments
 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 22729421
are you connecting remotely? that could be an explanation.
otherwise, go in the file explorer into the LOG folder of the ms sql installation, the files are physically located there (ERRORLOG, ERRORLOG.1 etc )
0
 
LVL 7

Author Comment

by:jay_eire
ID: 22729452
im trying to view locally and via remote desktop in the management express studio
ive got mangament
      SQL Server Logs
            Current - 10/16/2008 11:33:00Am
            Archive 1 -
            Archive 2 -
            etc etc
can i not query the logs?
0
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 500 total points
ID: 22729487
>can i not query the logs?
short answer: no, it's physical files on the disk (please see my first comment).

long answer: as the files are on the disk, you could create a linked server to the text file (as it won't move), and query that...

see here how to do that in general:
http://weblogs.sqlteam.com/phils/archive/2006/04/28/9726.aspx
0
Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

 
LVL 7

Author Comment

by:jay_eire
ID: 22729553
is there no log file viewer? i found this link here..................
http://www.mssqltips.com/tip.asp?tip=1021
0
 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 22729650
it should be there...
under "Management", SQL Server Logs, and double-click on any of the log file entries...
0
 
LVL 7

Author Comment

by:jay_eire
ID: 22730118
thats what ive done but nothing happens when i double click on any of the logs.....
0
 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 22730179
I have not yet met that problem...
what service pack?
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

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.
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

738 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