Forums

Registration

Click here to register. Registration is required if you want to post to the forums.

If you register, we can also contact you with news on new module versions, and upgrades to new modules as we make them available. 

Use of your registration information is subject to our privacy policy.

Inventua Forums

Subject: PassThrough target is not working
Prev Next
You are not authorized to post a reply.

Author Messages
eric torkia
Posts:7

04 Feb 2010 6:40 PM  

Hi Anthony:

I am getting a "No user data was passed to PassThroughTarget. No action taken." I have gone through the documentation backwards and forwards as well as the forum to figure it out.... 

Here is what is happening:

  1. I installed the source and target modules on both portals - OK
  2. I configured the Source Module on a page set to all Users - OK
  3. I configured the Target Module  and made sure the Encryption keys were the same - Not sure about the connection string
  4. I created a standard user and log on with it for testing purposes....
  5. I clicked on the the link on the Source Page, got redirected with a passtrhough string

https://www.crystalballservices.com/OnlineStore/test.aspx?passthru=e7Ib/3/LV4fXxzH3p/ZU8iQTZPe2dfSC&

But the module states that no data was passed... no user was created or logged in.

Here are some additional details:

  • Both sites are hosted at the same provider...diffrerent servers - not sure if they are virtual directories - though I dont think so.
  • Both DBs are SQL 2005 and also hosted on the same site. No port issue.
  • I disabled the DSLocalizator module
  • Friendly Links?

I realize this might seem simple but I really hope you can help.

 

Thanks in advance!

 

Eric

etorkia@technologypartnerz.com

Anthony Glenwright
Posts:11292

04 Feb 2010 7:14 PM  
For the connection string in the passthrough target - it must be the database connection string of the "source" system. It is needed so that the target can read user data from the source.

What version(s) of DNN are you using?
Anthony Glenwright
Posts:11292

04 Feb 2010 7:14 PM  
For the connection string in the passthrough target - it must be the database connection string of the "source" system. It is needed so that the target can read user data from the source.

What version(s) of DNN are you using?
eric torkia
Posts:7

04 Feb 2010 7:18 PM  
Ok...been working on this a little more...

- The target module is not parsing the query string
-I need format conventions on the Query string...i.e. quotes or no quotes....etc...


Thanks

Eric
eric torkia
Posts:7

04 Feb 2010 7:21 PM  

Hi Anthony:

 

I am working with version 4.9 on the source and 4.9.3 on the target....

I used the sources connection string...but I am not sure on the conventions used... like if I need to include quotes  or mention the provider name... ie.  "Server=db.somehost.net;Database=db100;uid=dba100;pwd=password" providerName="System.Data.SqlClient"

 

Thanks in advance

 

Eric

eric torkia
Posts:7

04 Feb 2010 7:30 PM  
If you want to try the event... I have a test account setup on the source portal (www.technologypartnerz.com)
user:tp_test
pw: inventua

the page is http://www.technologypartnerz.com/Store/store_pass.aspx

Thanks
Anthony Glenwright
Posts:11292

04 Feb 2010 7:40 PM  
The connection string is the part following "server=". i.e.. db.somehost.net;Database=db100;uid=dba100;pwd=password

RE: Query string - there are no "conventions" as such. The passthrough source module generates a querystring value, which is a base64-encoded value. There are no quotes, it only uses valid URL characters.

The error you are getting is in response to this code:

if Request.QueryString("passthru") = String.Empty then
output.WriteLine("No user data was passed to PassThroughTarget. No action taken.")
...


I would guess that you have an Url rewriter that is messing up the querystring in between the request being received at the server and being parsed by DNN.
eric torkia
Posts:7

04 Feb 2010 7:45 PM  
I do have URL rewriter in place... Href on one site and FriendlyURL on another...I will try turning off the Friendly URL on both sites ...will HRef handle this?

and my question was in regards to the connection string and not the query string...sorry for the confusion....but I still need to know ;-)

Thanks!


Eric
eric torkia
Posts:7

04 Feb 2010 8:23 PM  
I played with it some more...went through all the items.... I think my connection string was buggy...but everything works...event with the URL writters.... go figure?

Everything works as advertised!

Thanks a million for your help.

Eric
eric torkia
Posts:7

04 Feb 2010 8:32 PM  
Ok...I now know why it worked.... when using link rewritters you need to use the standard DNN format for the URL in the PassThrough Source Module (i.e. https://www.crystalballservices.com/Default.aspx?tabid=249)

Thanks again,


Eric
You are not authorized to post a reply.
Forums > Inventua Forums > DotNetNuke Modules/Components Support > PassThrough target is not working



ActiveForums 3.7