471,850 Members | 1,238 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,850 software developers and data experts.

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 767

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
NeoPa
reply views Thread by NeoPa | last post: by
aboka
reply views Thread by aboka | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.