Deependra Kushwah
Deependra Kushwah

Reputation: 71

The system cannot execute the specified program

I have Developed one console application for generating report in excel file format, in my machine it is working fine but when i am deploying it on server its showing

The system cannot execute the specified program

Please give me the solution.

Upvotes: 0

Views: 2251

Answers (3)

Deependra Kushwah
Deependra Kushwah

Reputation: 71

Some tag was missing in the App.Config file, Placing proper tag works fine.

Upvotes: 0

USER_NAME
USER_NAME

Reputation: 1037

There May be two following reasons of failure

  1. As Kamil said - Missing Dot net framework or
  2. your program is failing to add OLE object as MS office is unavailable.

Check these first and if it doesnt help then post the code.

Upvotes: 1

Kamil
Kamil

Reputation: 13941

Looks like .NET Framework is missing.

Upvotes: 1

Related Questions