Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Website Application Deployment Issue

Website Application Deployment Issue

Scheduled Pinned Locked Moved ASP.NET
javascriptsysadminwindows-adminhelpwinforms
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    newc1
    wrote on last edited by
    #1

    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 1 Reply Last reply
    0
    • N newc1

      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 Offline
      A Offline
      Abhijit Jana
      wrote on last edited by
      #2

      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

      N 1 Reply Last reply
      0
      • A Abhijit Jana

        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

        N Offline
        N Offline
        newc1
        wrote on last edited by
        #3

        Thanx, will definitely check it out...

        Clean code is the key to happiness.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups