Website Application Deployment Issue
-
Hi All, I have been investigating a production issue for the past couple of days and hope that someone out there might be able to help. Situation: I have deployed a web application (IIS 7, Windows Server 2008). The website makes extensive use of AJAX and at certain points dynamically loads User Controls. These dynamically loaded user controls allow users to specify certain parameters to pass to SRSS reports. The reports are run in local mode on a separate web form by using the ReportViewer control. The web form is opened by simply calling the JavaScript window.open() method, passing the required parameters. Issues: There are two issues that occur, but ONLY if the website is run as a stand alone application, as opposed to running from a virtual directory under a web application i.e. http://url.co.uk does not work, http://url.co.uk/dir works: 1) If the dynamically loaded User Control contains a link to an external JS file, you are prompted for Windows Credentials. 2) If the JS is inline within the User Control, issue 1) is Ok, but then attempting to open the report and run it again prompts for Windows Credentials. I have played around with all permutations of permissions and impersonation within IIS and the Web.config, but nothing has worked as yet. If anyone has any ideas it would be greatly apprciated! Thanx
Clean code is the key to happiness.
-
Hi All, I have been investigating a production issue for the past couple of days and hope that someone out there might be able to help. Situation: I have deployed a web application (IIS 7, Windows Server 2008). The website makes extensive use of AJAX and at certain points dynamically loads User Controls. These dynamically loaded user controls allow users to specify certain parameters to pass to SRSS reports. The reports are run in local mode on a separate web form by using the ReportViewer control. The web form is opened by simply calling the JavaScript window.open() method, passing the required parameters. Issues: There are two issues that occur, but ONLY if the website is run as a stand alone application, as opposed to running from a virtual directory under a web application i.e. http://url.co.uk does not work, http://url.co.uk/dir works: 1) If the dynamically loaded User Control contains a link to an external JS file, you are prompted for Windows Credentials. 2) If the JS is inline within the User Control, issue 1) is Ok, but then attempting to open the report and run it again prompts for Windows Credentials. I have played around with all permutations of permissions and impersonation within IIS and the Web.config, but nothing has worked as yet. If anyone has any ideas it would be greatly apprciated! Thanx
Clean code is the key to happiness.
A year back I have wrote an Article on IIS 7.0, Deploying Web Sites on IIS 7.0 It may help you ! :)
cheers, Abhijit CodeProject MVP Web Site:abhijitjana.net
-
A year back I have wrote an Article on IIS 7.0, Deploying Web Sites on IIS 7.0 It may help you ! :)
cheers, Abhijit CodeProject MVP Web Site:abhijitjana.net