Hello Claus,
are u calling this from asp.net?
U shoud use Server.MapPath for this then
http://msdn2.microsoft.com/en-us/lib...y.mappath.aspx
---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog:
http://spaces.live.com/laflour
"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
CFTo make it simple, I'm doing this
CF>
CFDim Location As String = AppDomain.CurrentDomain.BaseDirectory &
CF"reports\baseReport1.xls"
CFSystem.IO.File.Copy(AppDomain.CurrentDomain.Base Directory &
CF"reports\baseReport.xls", Location)
CFResponse.Redirect("~/reports/baseReport1.xls")
CF>
CFWorks fine in my computer, no problem, But in the server don't copy
CFthe file so the Response.Redirect show me a Page Not Found message.
CF>
CFI gave all permissions to All User but still don't copy how can I
CFsolve this, help please?
CF>