Solved

Viewing Log Files - SQL Server Express 2005

Posted on 2008-10-16
9
2,419 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
  • 4
  • 3
9 Comments
 
LVL 142

Expert Comment

by:Guy Hengel [angelIII / a3]
Comment Utility
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
Comment Utility
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 142

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 500 total points
Comment Utility
>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 Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

 
LVL 7

Author Comment

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

Expert Comment

by:Guy Hengel [angelIII / a3]
Comment Utility
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
Comment Utility
thats what ive done but nothing happens when i double click on any of the logs.....
0
 
LVL 142

Expert Comment

by:Guy Hengel [angelIII / a3]
Comment Utility
I have not yet met that problem...
what service pack?
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

Title # Comments Views Activity
Full Text Search string 5 32
SQL server 2008 SP4 29 31
MS SQL Pagination for Complex Query 5 31
Convert int to military time 8 20
Nowadays, some of developer are too much worried about data. Who is using data, who is updating it etc. etc. Because, data is more costlier in term of money and information. So security of data is focusing concern in days. Lets' understand the Au…
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
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.

771 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

10 Experts available now in Live!

Get 1:1 Help Now