Issue with SQL: the log for database ‘tempdb’ is not available

When working with AX error looks something like ” cannot select data for “/username” in sql” with select including tempdb.

When logging in into SQL following error appears :

trmpdb error

 

This issue can be solved by following method:

Check if log files exist using:

use tempdb
go
sp_helpfile
go

If they do exist, then simply restart sql server service, and it should work. Or at least it worked for me

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s