Solved

xp_sendmail cant find the attachment

Posted on 2006-06-22
4
250 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
I have a large data set and a SSIS package. How can I load this file in multi threading?
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…

895 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now