Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 648
  • Last Modified:

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

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
toddpotter
Asked:
toddpotter
  • 7
  • 6
1 Solution
 
DJ_Back-QCommented:
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
 
toddpotterAuthor Commented:
Thanks for the IIS-I'll try that.

Can you ellaborate on the Excel Object?
0
 
DJ_Back-QCommented:
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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
toddpotterAuthor Commented:
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
 
DJ_Back-QCommented:
Well do you use a valid SMTP server address? Are all the users using this feature connected to the internet.
0
 
toddpotterAuthor Commented:
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
 
DJ_Back-QCommented:
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
 
toddpotterAuthor Commented:
Error in file C:\...
Error detected by export DLL
0
 
DJ_Back-QCommented:
do you supply a name and extension for the file when you export it?
0
 
toddpotterAuthor Commented:
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
 
toddpotterAuthor Commented:
Actually, "C:\file.pdf"
0
 
DJ_Back-QCommented:
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
 
toddpotterAuthor Commented:
Thanks for your help.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 7
  • 6
Tackle projects and never again get stuck behind a technical roadblock.
Join Now