Skip to main content
Participant
September 14, 2012
Question

Post Results To Internal Server Issue

  • September 14, 2012
  • 3 replies
  • 1249 views

I am currently working on porting the internalServerReporting.php and internalServerRead.php files over to ASP .NET.  I have all of that figured out but have run into something else I don't understand and hope that someone on the forum can help me out.

If I take the quiz on my local developement server and post results to my local development server all seems to work fine.  BUT, when I publish my code to our test site, modify the quiz to point there and then take the quiz again.  Which now is running on my local server and post results to the remote server. I see the connecting... and it never post any results.

Another way to look at it:

Quiz ServerResults ServerStatus
locallocalsuccess
localremotefail

Does anyone know if there is a requirement that the quiz and the files that store and retrieve the results MUST be on the same server?  Or have an idea of what I am doing wrong?

Thanks,

Jay

This topic has been closed for replies.

3 replies

Participant
November 19, 2012

Hello Jay,

I am trying to post the results to the database. Am using ASP.NET. I saw an example  and followed that and I am getting an Unkown error. Can you please help me and tell me how you did to post the results to the database. btw were you able to do this on different servers?

Participating Frequently
September 19, 2012

Hi Jay,

You can try finding what is the error message you are receiving, if you are using IE9 , while playing the course just before posting the results, press F12 , click on network tab and press start capturing and now click on post results, once you receive connecting message , click on the text under url tab and look for error message.

Let me know your error message.

Regards,

Avinash

Participant
September 24, 2012

I am using IE8, and couldn't figure out how to get that information. I did a little more research and it appears that if I publish the quiz to the same site as the save.ashx and then post to it from the quiz running on the same server it works. 

So far all test on the same server work fine, test to post results to other web servers fail.  I am looking at seeing if there is anything that would reject a post from an outside url on our network.

Anjaneai_Srivastava
Adobe Employee
Adobe Employee
September 14, 2012

Hi Jay,

Can you check one thing, when you go to Quiz Preference and Configure the Internal Server, what is URL you have used--

Does it look like --

http://localhost/internalServerReporting.php

If yes, then reconfigure instead of using Local Host use the DNS/IP that is mapped for that machine on which the server is hosted.

Publish again and then check if that work from remote machine?

Thanks,

Anjaneai

Participant
September 18, 2012

Anjaneai,

Thanks for your reply I checked the url and it is pointing to http://myserver/CaptivateResults/Save.ashx.  (I converted this to an ASP .NET application).  The url is pointed to the actual server, not localhost. 

Again this works great the quiz and the CaptivateResults application are both running on the same server.  But when I publish to the myserver and point the quiz to it, no joy.  I have been trying to figure this out for over a week now.

Any other suggestions?

Thanks,

Jay

Anjaneai_Srivastava
Adobe Employee
Adobe Employee
September 18, 2012

Hi Jay,

It would be difficult to predict the flaw in your set up this way.

But still, I believe the problem might be with permissions or the file would not be able to direct it correctly to the remote machine?

Also, would you mind checking with the original internalServerReporting.php , just to verify and compare results with remote environment, you may use WAMP as server.

Thanks,

Anjaneai