"fatal error occurred, no output pdf produced"

I am trying to run my LaTeX file but it keeps coming up with the message above. All I tried to do was insert an equation and it all of a sudden happened. I haven't got the pdf open and my document starts like this:

\documentclass[12pt]{report}
\usepackage{a4,amsmath,amssymb,url}
\usepackage[active]{srcltx}
\usepackage{graphicx}
\usepackage{natbib}
\usepackage{mathrsfs}
\graphicspath{ {C:/Users/Edd/Documents/uni/uni maths/Year 3/investigatoin/} }
\usepackage[utf8]{inputenc}
\renewcommand{\thesection}{\arabic{section}}
\setlength{\parskip}{0.5cm}

\title{Computing and Computability}
\author{Edward J. Russell}
\begin{document}
\maketitle
\tableofcontents


and ends like this:

\bibliography{bibfile}
\bibliographystyle{plain}
\end{document}

• It would be more useful to show the part of the document that generates the error than the parts that don't. Or at least show the exact lines from the log file that show the error. Mar 18, 2015 at 20:53
• For what it's worth, spaces in your file paths could be a problem. You need to use quotes for these and/or see How to include graphics with spaces in their path?.
– Werner
Mar 18, 2015 at 21:30
• It was working fine without the quotes around the file path for my pictures. The errors it comes up with are the one in the title for line one and "I can't write on the file 'investigation.pdf'. Please type another file name for output" for line 15 which is the line \maketitle. Mar 19, 2015 at 9:14

"I can't write on the file 'investigation.pdf'.