Solved

Minimum requirements for running a vb.net application - including email and excel

Posted on 2004-08-23
13
637 Views
Last Modified: 2008-03-17
I have an application that was created in vb.net and will be put on multiple client computers.  The application uses both SMTP for e-mail and Microsoft Excel.  I can get the program to run on all computers, but the email and Excel parts of the program do not work on all PC's.  Can someone tell me what needs to be installed on the client computers to allow the email and excel aspects to work?

Thank you.
0
Comment
Question by:toddpotter
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 6
13 Comments
 
LVL 3

Expert Comment

by:DJ_Back-Q
ID: 11869902
You will need IIS installed to operate your own SMTP,

And you will need the Excel object installed to operate you Excel features.


Andre,
MCSD
0
 

Author Comment

by:toddpotter
ID: 11870511
Thanks for the IIS-I'll try that.

Can you ellaborate on the Excel Object?
0
 
LVL 3

Expert Comment

by:DJ_Back-Q
ID: 11870567
Well basically what it means is that if you are using the Excel Com object. you will need to install it on every computer. So every computer that uses it will have to have Excell installed.
0
SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

 

Author Comment

by:toddpotter
ID: 11870676
I tried the IIS and it doesn't help my e-mail problem.  In fact, I have one computer that does not have IIS on it and the e-mail piece works fine, but another computer that has IIS on it does not e-mail out.  I checked the program and I set the email up using System.Web.Mail if that helps at all?

0
 
LVL 3

Expert Comment

by:DJ_Back-Q
ID: 11870703
Well do you use a valid SMTP server address? Are all the users using this feature connected to the internet.
0
 

Author Comment

by:toddpotter
ID: 11870852
Yes I am using a valid server address and all users have an internet connection.  The one computer I am troubleshooting has an internet connection and their regular e-mail (outlook) works fine, but the program throws an exception when sending the e-mail.  I just checked the error message and the problem is an export problem.  The program creates a crystal report, exports it to the client's computer and e-mails the file out.  It is the export that is throwing the exception, not the email.  It for some reason can't export to that user's c: drive.

0
 
LVL 3

Expert Comment

by:DJ_Back-Q
ID: 11870892
Can you supply the error message?

Looks like a disk write protection error or something. Some settings in Windows might keep a program from manipulating files on a disk.
0
 

Author Comment

by:toddpotter
ID: 11871752
Error in file C:\...
Error detected by export DLL
0
 
LVL 3

Expert Comment

by:DJ_Back-Q
ID: 11871822
do you supply a name and extension for the file when you export it?
0
 

Author Comment

by:toddpotter
ID: 11871874
Yes, I export it as "C:\File" and it works fine on most machines.  It's just not working on this particular users PC.  
0
 

Author Comment

by:toddpotter
ID: 11871894
Actually, "C:\file.pdf"
0
 
LVL 3

Accepted Solution

by:
DJ_Back-Q earned 250 total points
ID: 11871949
I don't think there is something wrong with your code. That users PC is where the problem is.

Create a folder named reports or something and try exporting there.
0
 

Author Comment

by:toddpotter
ID: 11872681
Thanks for your help.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Asp.Net Session Question 2 49
vb.net datagrid point 4 35
XML and Linq - reading fields in repeating nodes 3 26
Help with modifying xml file using VB.NET 5 11
Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question