Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / December 2004

Tip: Looking for answers? Try searching our database.

problem moving console appliation to send email to server

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Howard - 09 Dec 2004 19:16 GMT
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
Chris, Master of All Things Insignificant - 09 Dec 2004 22:00 GMT
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

>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
[quoted text clipped - 44 lines]
> LOG: Attempting download of new URL
> file:///E:/batch/Interop.CDO/Interop.CDO.EXE

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.