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
uday shetty
NA
2
0
Error Message in WPF - Attempt by security transparent method
Aug 11 2011 7:36 AM
Hi,
I am writing my first web application in WPF. I just wanted to display one XPS file in document viewer. But I am getting an error in the line :
XpsDocument xpsd = new XpsDocument("D:\abcd.xps",System.IO.FileAccess.Read) ;
Error :
Attempt by security transparent method 'wpf_web.Page1..ctor()' to access security critical method 'System.Windows.Xps.Packaging.XpsDocument..ctor(System.String, System.IO.FileAccess)' failed.
I am not able to understanf this. I am using Framework 4.0
Pl help.
Uday Shetty
Reply
Answers (
1
)
Curves
Conversion of PPT file to XPS in the background