You're facing Excel Interop limitations. Excel needs a logged-in user session. Use OpenXML or a server-safe export library instead.