Discussion Locked
0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
One of my developers has a file (sql.log) on his c: drive that is 3GB. We are trying to get rid of this file, because it is taking up so much space. When I try to delete the file it says Access denied and when I try to open it in wordpad or notepad it either hangs or says the file is too large. Any suggestions on how to get rid of this file?
7 replies
by jmorris
If it's a developer, good chance is they have the local version of SQL server called MSDE running on the system. Try and open up a SQL manager connection to the local computer and or stop the MSSQLSERVER service in service manager. That should unlog the log to delete.
by moushie_23
Poster rated this answer.
by jmorris
If it's a developer, good chance is they have the local version of SQL server called MSDE running on the system. Try and open up a SQL manager connection to the local computer and or stop the MSSQLSERVER service in service manager. That should unlog the log to delete.
by moushie_23
Poster rated this answer.
by griffida
First back up the database.
In Enterprise Manager right click for properties, click transaction log and delete. Restrict file growth if you want to keep future files smaller.
If that doesn't work:
Shutdown the processes for SQL after you shut down the server,agent ect.. delete log.
by moushie_23
Poster rated this answer.
by moushie_23
This question was closed by the author
This discussion is closed to new replies.
Trending Web Development posts
Sort by Trending
Discussion Locked
What Makes a Business Website Effective in 2026
2 helpful
10 replies
Question
Windows and macOS computers becoming slow or unstable after updates - what should I check first
0 helpful
1 reply
1 helpful
3 replies
Discussion
Optimizing WordPress widgets and DOM size
0 helpful
3 replies
Discussion Locked
Best Ways to Improve Website Visibility
0 helpful
5 replies