Unable to save pdf file to virtual directory using crystal report on an asp.net page

I am creating a pdf file using crystal report in my aspx page.  I want to be able to save the generated pdf to the path below but I keep getting an error message saying The given path format is not supported
  https://test/info/Agreement/"

if I do this
 string sDesPath = this.MapPath("./store/" + fileName + ".pdf");
It is okay but I want the https path.

Here is my code below

       string sDesPath = this.MapPath("https://test/info/Agreement/" + fileName + ".pdf");      
        dFileDOpts.DiskFileName = sDesPath;
        ExportOptions eOpts = new ExportOptions();
        eOpts = report.ExportOptions;
        eOpts.ExportDestinationType = ExportDestinationType.DiskFile;
        eOpts.ExportFormatType = ExportFormatType.PortableDocFormat;
        eOpts.DestinationOptions = dFileDOpts;

        report.Export();
        report.Close();

Please assist.
SirdotsAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mlmccCommented:
I am not a security expert but I suspect saving to a secure location requires the application to be a trusted application.  Check with your network security people on how to get the application certified as trusted.

mlmcc
0
masterpassCommented:
Is this site LIVE or in DEV machine....

If it is in DEV machine the HTTPS CANNOT TAKE effect ... once you go live there should be any problems
0
SirdotsAuthor Commented:
This is in Dev. Thanks.
0
masterpassCommented:
Like I said .. In DEV you cannot have HTTPS binding... just try to host it in a sample server and try ...
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP.NET

From novice to tech pro — start learning today.