Solved

Viewing Log Files - SQL Server Express 2005

Posted on 2008-10-16
9
2,431 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
Free eBook: Backup on AWS

Everything you need to know about backup and disaster recovery with AWS, for FREE!

 
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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SQL query for highest sequence 4 61
SQL convert varchar to INT 17 31
Using datetime as triggers 2 18
Delete old Sharepoint backups 2 16
Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

762 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