KreativeKai
Programmer
I have a windows form application written in VB.NET 2005 which opens Excel, imports a text file into a worksheet and e-mails it to the end-user.
Everything works fine when it is on my own system, but when I put the executable file on the server along with all the other files in the bin\release folder, I get the following error:
HPtoExcel has encountered a problem and needs to close. We are sorry for the inconvenience.
I had the following references in my program and it ran fine on my system:
Microsoft Excel 11.0 Object Library
Microsoft Office 11.0 Object Library
Microsoft Visual Basic for Applications Extensibility
I added the following references and still receive the error:
Microsoft.Office.Tools.Common
Microsoft.Office.Tools.Excel
Microsoft.VisualStudio.Tools.Applications.Runtime
OLE Automation
The server does not have Excel on it, but my system does. I'm double clicking on a shortcut on my desktop to the exe on the server. Is there a way to get around loading Excel on the server?
Any help is appreciated.
Lost in the vast sea of References
Lost in the Vast Sea of .NET
Everything works fine when it is on my own system, but when I put the executable file on the server along with all the other files in the bin\release folder, I get the following error:
HPtoExcel has encountered a problem and needs to close. We are sorry for the inconvenience.
I had the following references in my program and it ran fine on my system:
Microsoft Excel 11.0 Object Library
Microsoft Office 11.0 Object Library
Microsoft Visual Basic for Applications Extensibility
I added the following references and still receive the error:
Microsoft.Office.Tools.Common
Microsoft.Office.Tools.Excel
Microsoft.VisualStudio.Tools.Applications.Runtime
OLE Automation
The server does not have Excel on it, but my system does. I'm double clicking on a shortcut on my desktop to the exe on the server. Is there a way to get around loading Excel on the server?
Any help is appreciated.
Lost in the vast sea of References
Lost in the Vast Sea of .NET