Solved

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

Posted on 2004-08-23
13
625 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
  • 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
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 

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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

809 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