Visual Basic .NET » ASP.NET General Discussion
Access to path "<Sever Map Path>" is denied. -- handle --


Hi all

I am having this error, everytime I make a request to a function that exports a crystal report to a word document.

Anyone here encounter the same error.

Thanks

-- MichaelSchwarz --


Hi,

if you want to access the Server.MapPath method you have to use System.Web.HttpContext.Current.Server.MapPath instead! If you have security exceptions you have to verify that the ASP.NET worker process user has enough user rights. Can you get the path which is not working?

Regards,
Michael
On 7/11/06, handle <vreboton> wrote:

Hi all

I am having this error, everytime I make a request to a function that
exports a crystal report to a word document.

Anyone here encounter the same error.

Thanks
>

--  

Best regards | Schöne Grüße Michael

Microsoft MVP - Most Valuable Professional Microsoft MCAD - Certified Application Developer

http://weblogs.asp.net/mschwarz 
/
http://www.schwarz-interactive.de 
/
mailto:info
[Submit Comment]Home