469,573 Members | 1,668 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,573 developers. It's quick & easy.

Help ... using Web Browser control in ASP.NET

I'm trying to open a word.doc in a web form using a Microsoft Web Browser control.

If I write a small project which simply executes the following line of code inside a script block in the HTML then it works fine... document.getElementById("BrowserControl").Navigate ("http://server/directory/filename.doc");

However if I add any more code above this line e.g. alert("hello"); I get the following error... 'Microsoft JScript runtime error: Permission denied’.

I've tried using <identity impersonate="true"/> in the web.config and enabling anonymous access... but to no avail. I do have all permissions on the server where the word.doc lives. Is this somethng to do with the asp.net security framework …?
Any help would be appreciated, cheers.
Nov 18 '05 #1
0 740

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

11 posts views Thread by brendan | last post: by
12 posts views Thread by windandwaves | last post: by
3 posts views Thread by Chris | last post: by
3 posts views Thread by Tim::.. | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.