File '\\Servername\F$\MSSQL\DBA\TRACE_FILES\test_servername_TRACE_200803181159.trc' either does not exist or is not a recognizable trace file. Or there was an error opening the file.

  • Hi,

    Can anyone tell me why i am getting this error msg? I am running this trace file through stored procedures, not through profiler.

    If anyone has a solution to this, please let me know.

    Thanks

    Pri

  • Priya20001mu (3/19/2008)


    Hi,

    Can anyone tell me why i am getting this error msg? I am running this trace file through stored procedures, not through profiler.

    If anyone has a solution to this, please let me know.

    Thanks

    Pri

    Do you have proper domain permissions to read this file on other server? Are you trying to run this trace using sql account or domain account? Else just copy that trace file to your server and then run it.

    SQL DBA.

  • just my 2ct (without seeing the actual sql you submit or the actual errormessage )

    Does the sqlserver service account have auth to write to the folder/file you have supplied ?

    Johan

    Learn to play, play to learn !

    Dont drive faster than your guardian angel can fly ...
    but keeping both feet on the ground wont get you anywhere :w00t:

    - How to post Performance Problems
    - How to post data/code to get the best help[/url]

    - How to prevent a sore throat after hours of presenting ppt

    press F1 for solution, press shift+F1 for urgent solution 😀

    Need a bit of Powershell? How about this

    Who am I ? Sometimes this is me but most of the time this is me

  • This error msg occurs only intermitently. So i don't think it has soemthing to do with permissions etc. I Have 4 jobs running this, sometimes all the 4 run, sometimes only 1 etc.

  • Do you have any file backup process running for drive where you store your trace file? something like TSM. Such error is expected in that case.

    [font="Verdana"]--www.sqlvillage.com[/size][/font]

  • No there isn't. As i told you this is intermittent. So we really do not understand why it fails one time, and runs the other time?

    Do you think the trace file does not exist and that why if fails?

    Can you please let me know all the possibilities you can think of.

    Thanks

  • If you are storing your file on same machine then there is definetely a process running that locks that file (as stated in earlier post) which leads file not being accessible by Trace process for time being.

    [font="Verdana"]--www.sqlvillage.com[/size][/font]

Viewing 7 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic. Login to reply