Spire.XLS is a professional Excel API that enables developers to create, manage, manipulate, convert and print Excel worksheets. Get free and professional technical support for Spire.XLS for .NET, Java, Android, C++, Python.

Fri Mar 06, 2020 7:11 am

Hi,

I am trying to rename worksheet and delete first row in excel and code runs fine in my local machine but when I call it as an exe it throws error saying

system.io.filenotfoundexception could not load file or assembly spire.xls Version=7.4.12.55040.

creminjuse1009
 
Posts: 4
Joined: Fri Mar 06, 2020 7:05 am

Fri Mar 06, 2020 7:59 am

Hi,

Thanks for your inquiry.
Please make sure you have removed all old dlls and referenced correct version in your project. Below is the dlls information in the latest Spire.XLS Pack(Hotfix) Version:10.3.0 for checking.
Spire.License.dll V1.3.8
Spire.Common.dll V3.2.11
Spire.Xls.dll V10.3.0
Spire.Pdf.dll V6.2.6

And when calling the exe, please make sure all Spire dlls can be found. If you still have the issue, please provide a project along with the exe for testing.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Mon Mar 16, 2020 9:54 am

Hello,

Hope you are doing well.
Has your issue been resolved? Could you please give us some feedback at your convenience?
Thanks in advance.

Sincerely,
Rachel
E-iceblue support team
User avatar

rachel.lei
 
Posts: 1571
Joined: Tue Jul 09, 2019 2:22 am

Tue Apr 21, 2020 10:08 pm

Hi,

Thanks for reaching out. my issue got resolved.

I was calling the .exe file for the windows application from SSIS Package. The problem i ran into is i was only moving the .exe file to my shared location and calling the .exe in my ssis package.
so it was complaining about the dll's missing. so once i moved all the files present in my release folder of my windows application it worked fine.

creminjuse1009
 
Posts: 4
Joined: Fri Mar 06, 2020 7:05 am

Wed Apr 22, 2020 2:10 am

Hello,

Glad to hear that!
If you encounter any question related to our product in the future, welcome to contact us.
Have a nice day!

Sincerely,
Rachel
E-iceblue support team
User avatar

rachel.lei
 
Posts: 1571
Joined: Tue Jul 09, 2019 2:22 am

Return to Spire.XLS