|
-
Mar 4th, 2009, 06:05 AM
#1
Thread Starter
Fanatic Member
.NET Policy / AJAX script permissions
Guys,
I have developed an asp.net2 website. I am hosting it inside a company application, in a HTML viewer attribute on a form. I don't know exactly what the HTML viewer is, I just throw in a URL and it displays the page.
Anyway. I have deployed the site onto a server and have IIS all set-up and running. The site loads fine in IE6 locally. It also loads fine in IE6 on all clients.
When I try to run this in my HTML viewer attribute in my internal app, it loads the page fine, but then I get an error on any click event. ANY click on the page, even in whitespace throws the IE Script Error...
"An error has occured in the script on this page." "Access Denied" Do you want to continue running scripts on this page.
If I click Yes, functionality works as required, I just get this error with every single click. The error gives a line number 5960 in my main.aspx, but even when rendered its only 247 lines...
Thinking about this more.... this is probably Ajax related. My first page that the user visits has 4 hyperlinks on and nothing else, this page works fine. But those hyperlinks direct to pages that host Ajax TabControls....
Can anybody suggest what this could be? I'm thinking its .net permissions related from my internal application trying to access something, but I dont know what
Thanks in advance,
Bob
EDIT - Thinking some more.... I have the AjaxControlToolkit.dll sat in the bin of the website, with this line in my home.aspx
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
Would it make a difference if I dropped the dll into the GAC? If I did, how would I tell my app to look for it there with the tag prefix "cc1">
Last edited by staticbob; Mar 4th, 2009 at 06:34 AM.
"I dislike 7 am. If 7 am were a person, I would punch 7 am in the biscuits." - Paul Ryan, DailyRamblings
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|