TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Neha Ojha
NA
7
0
Server.MapPath() issue
Apr 6 2010 3:59 PM
Hello All,
I have a very basic question. I was trying to export my CR file to PDF for that i used
string
repFilePath = Server.MapPath("RadTechPublicReport.rpt");
It gave me an error say the path was not correct.
So i looked around and found that the it was missing a folder so then I replace the above code with
string
repFilePath = Server.MapPath(@"Reports\RadTechPublicReport.rpt");
Now my question is why did MapPath not recognize Reports
Please if any one can answer this question.
Reply
Answers (
2
)
Do you want a good job? Do you want to earn more?
Generating Report in Excel(Urgent)