Solved

xp_sendmail cant find the attachment

Posted on 2006-06-22
4
256 Views
Last Modified: 2008-01-09
hi experts,

i developed a vb apps that creates an excel file containing data from various sources.  the end of that vb apps is to write something into an SQL table.  that sql table has an insert trigger.  all the trigger does is to email the excel file that was created to someone.

i tested the apps and it went fine.  when i transferred the apps to the production server which is in a citrix environment that's when the problem started.  it can't find the attachment.  the vb apps creates the excel file in the same pc where the application was ran.  the sql server resides in a different pc.  i tried creating the file in the same location as the sql server but i cant access that server from the citrix box.  

does anyone have any idea?

thanks and regards.

ann
0
Comment
Question by:wala_lang
[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
  • 2
4 Comments
 
LVL 4

Accepted Solution

by:
kenpem earned 125 total points
ID: 16967043
Speak to your network administrator. Find out where the drive is mapping to, and make sure you're allowed access to it.
0
 
LVL 12

Expert Comment

by:ill
ID: 16967237
1. create a share on pc where application run,
2. give access for this share to acoount sql server is running under,
3. reference attachment with full network path e.g. \\PC_01\excel_share\workbook1.xls
0
 

Author Comment

by:wala_lang
ID: 16980427
i tried referencing the file using the full network path but SQL is still unable to access it.  i would just like to point out that the citrix environment resides in a separate box that is not part of the network.  it can access the data from the sql server because the admin opened up port 1433 and i used that port in my connection string.
0
 
LVL 12

Expert Comment

by:ill
ID: 16990053
there must be some path where both, your PC and citrix box, have access.You really have to contact admin in this case.
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!

Question has a verified solution.

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

Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
I have a large data set and a SSIS package. How can I load this file in multi threading?
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Viewers will learn how the fundamental information of how to create a table.

734 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