Deployment and missing files

D

doofy

I've got a vb.net app that I wrote on my laptop with VS 2008, then moved
to a server, which doesn't have a full version of VS installed (just the
minimalist version that comes with Sql Server). It bombed. Couldn't
find the Microsoft.Office.Interop.Excel file.

I then "discovered" deployment. I created a deployment file, moved that
to the server, ran it, and several hours later it was done.

This morning I ran the app, and it still can't find the Interop.Excel
file. I even moved the files over manually, but perhaps not in the
right subdirectory.

I looked in the assembly info to see if something was hard-coded there
for the location of the files, but didn't see anything.

Where should I put these files for my app to work, or what process do I
need to go through?
 
A

Anand Mukundan

Usually files in the path of the application are loaded first. So you can put
the Dll in the application directory and try. The other thing is that this is
just a bridge Dll to the Excel app. Do you have excel installed on the server?
 
D

doofy

Anand said:
Usually files in the path of the application are loaded first. So you can put
the Dll in the application directory and try. The other thing is that this is
just a bridge Dll to the Excel app. Do you have excel installed on the server?

Just checked. No, it's not there. I'll work on that.
 
D

doofy

Anand said:
Usually files in the path of the application are loaded first. So you can put
the Dll in the application directory and try. The other thing is that this is
just a bridge Dll to the Excel app. Do you have excel installed on the server?

I loaded the files up like you said, then got a new error message, which
I assume is relating to Excel (based on not being up there, as you said.


Retrieving the COM class factory for component with CLSID
{00024500-0000-0000-C000-000000000046} failed due to the following
error: 80040154.
 
F

Family Tree Mike

doofy said:
I loaded the files up like you said, then got a new error message, which
I assume is relating to Excel (based on not being up there, as you said.


Retrieving the COM class factory for component with CLSID
{00024500-0000-0000-C000-000000000046} failed due to the following
error: 80040154.

That is the CLSID for Excel. You need to install Office to interact with
Office objects.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top