Author: Pathiya007 | Posted on: 8/28/2008 6:44:15 AM | Views : 349

I have  a problem with passing file names in my asp.net web site.

I have asp.net website wriiten using vwd 2008. save in "C:\Inetpub\wwwroot\newwebsite.co.uk"

still not published using iis. just developing. i have folder call "emailTemplates" which contains xslt email template file. i am passing this file name to a function in app code folder

like this "~/emailTemplates/newaccountemail.xslt"

and use with in follwoing code and get email body fiiling customer details by passing sql in xml format.

#####

Errror : Could not find a part of the path \'C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\~\emailTemplates\newAccountEmail.xslt\

######

Shared FunctionGo to the complete details ...