problem moving console appliation to send email to server

G

Guest

I created a console application using .net to email information out on a
monthly basis. My problem is this. It works from my pc and anyone else with
the visual studio .net, but not from the web server. Was i supposed to do
anything else other than build my solution and copy my exe to that server.

When they double click on the exe they get the following error message.
What else should be down there other than the framework. CDOSYS.DLL is on
the machine

Microsoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.

U:\>E:\batch\TESTApp.exe

Unhandled Exception: System.IO.FileNotFoundException: File or assembly name
Inte
rop.CDO, or one of its dependencies, was not found.
File name: "Interop.CDO"
at ConsoleApplication1.Module1.Main()

=== Pre-bind state information ===
LOG: DisplayName = Interop.CDO, Version=1.0.0.0, Culture=neutral,
PublicKeyToken
=null
(Fully-specified)
LOG: Appbase = E:\batch\
LOG: Initial PrivatePath = NULL
Calling assembly : ConsoleApplication1, Version=1.0.1803.26418,
Culture=neutral,
PublicKeyToken=null.
===

LOG: Policy not being applied to reference at this time (private, custom,
partia
l, or location-based assembly bind).
LOG: Post-policy reference: Interop.CDO, Version=1.0.0.0, Culture=neutral,
Publi
cKeyToken=null
LOG: Attempting download of new URL file:///E:/batch/Interop.CDO.DLL.
LOG: Attempting download of new URL
file:///E:/batch/Interop.CDO/Interop.CDO.DLL
..
LOG: Attempting download of new URL file:///E:/batch/Interop.CDO.EXE.
LOG: Attempting download of new URL
file:///E:/batch/Interop.CDO/Interop.CDO.EXE
 
C

Chris, Master of All Things Insignificant

It looks to me like it is looking for a file called CDO.DLL not CDOSYS.DLL.
Having not done very much interop I'm not the best person, but might be
something.

A second thing to look at, do you need to copy over those interop files that
get created in the bin when you do interop?

Chris
 

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