Crystal Report creating problem with IIS

Last post 11-06-2009 10:41 AM by aakbar. 5 replies.

Sort Posts:

  • Crystal Report creating problem with IIS

    10-25-2008, 3:03 AM
    • Member
      4 point Member
    • Irfan_Lateef
    • Member since 10-25-2008, 6:28 AM
    • Posts 8

    Dear All, 

    I have a form when I call crystal report in form it is running well on my local machine, i called report in iframe, but when i configure IIS crystal report doesn't work and i am getting javascript problem, but problem occurs on IIS. Error: setPromptSingleValue is not defined

    <script>
    var isAlreadySubmitted = false;
    function setPromptValues ( inform )
    {
      if(!setPromptSingleValue(inform, "n","formno0")) return false;
      if ( isAlreadySubmitted )
        return false;
      isAlreadySubmitted = true;
      return true;
    }
    </script>
     
    Note: but scripting is hidden i can't change script, Please tell me the solution how can i resolve this issue.
    

    Thanks

    Irfan Lateef

    Thanks,

    Irfan Lateef
  • Re: Crystal Report creating problem with IIS

    03-13-2009, 4:54 PM
    • Member
      26 point Member
    • harncw
    • Member since 11-09-2007, 1:46 PM
    • Posts 10
    I'm running into what looks like a similar issue. firebug shows me: setPromptSingleValue is not defined I have a crystal report inside an iframe It seems to work in visual studio development server but not in IIS you ever figure this out?
    It was only 4 bits, just a nibble.
  • Re: Crystal Report creating problem with IIS

    06-12-2009, 4:59 PM
    • Member
      55 point Member
    • prc02
    • Member since 10-16-2008, 9:32 PM
    • Posts 56

    Bumping this - having the same problem.  Does anyone have a solution?

     

  • Re: Crystal Report creating problem with IIS

    06-12-2009, 6:34 PM
    • Member
      26 point Member
    • harncw
    • Member since 11-09-2007, 1:46 PM
    • Posts 10

    I did the report as a popup window Embarrassed

    It was only 4 bits, just a nibble.
  • Re: Crystal Report creating problem with IIS

    10-20-2009, 6:17 AM
    • Member
      7 point Member
    • aakbar
    • Member since 10-26-2007, 6:49 AM
    • Posts 27

    any solution of this problem, i am having the same issue even though i am not using iframes. reports with no parameters works fine (only the crystal toolbar images dont appear) but reports with parameters does not work. and give the javascript error object expected.


    thanks in advance for help


    regards

    Ali

    WE ALL LEARN BY SHARING KNOWLEDGE
    ALI AKBAR
  • Re: Crystal Report creating problem with IIS

    11-06-2009, 10:41 AM
    • Member
      7 point Member
    • aakbar
    • Member since 10-26-2007, 6:49 AM
    • Posts 27

    Atlast I found the solution Cool

    all you need to do is copy a set of JS files into your website's contents folder.

    Here are the steps to fix this issue:


    go to "C:\Inetpub\wwwroot" or where ever your "wwwroot" folder is.

    copy the folder called "aspnet_client" from there and paste it into your website's content folder.

    thats it!Tongue out


    Here I have assumed that you have already installed the right version of crystal redistributeables on your webserver.

    to check if it is done properly see if there is a folder called "CrystalReportWebFormViewer3" and further subfolder in it containing html, js, css and images at this location:

    "C:\inetpub\wwwroot\aspnet_client\system_web\2_0_50727\CrystalReportWebFormViewer3"

    hope it will solve the issue.


    WE ALL LEARN BY SHARING KNOWLEDGE
    ALI AKBAR
Page 1 of 1 (6 items)