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: Error with PassThrough
Prev Next
You are not authorized to post a reply.

Author Messages
catalin maican
Posts:4

11 Nov 2005 2:10 AM  

Hi,


I get the following error when testing the PassThrough module:


ModuleId: 501
ModuleDefId: 148
FriendlyName: Inventua - PassThroughTarget
ModuleControlSource: DesktopModules/Inventua - PassThroughTarget/PassThroughTarget.ascx
AssemblyVersion: 03.01.01
Method: DotNetNuke.Entities.Users.UserInfo.set_Profile
FileName:
FileLineNumber: 0
FileColumnNumber: 0
PortalID: 0
PortalName: Test FSE
UserID: -1
UserName:
ActiveTabID: 105
ActiveTabName: Forum
AbsoluteURL: /Dnn312/Default.aspx
AbsoluteURLReferrer:
ExceptionGUID: 006d6a6b-2905-4228-9009-1754f3ae0b0b
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: Object reference not set to an instance of an object.
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Entities.Users.UserInfo.set_Profile(UserProfile Value) at Inventua.DNN.Modules.PassThroughTarget.CreateUser(Int32 SourceUserID, String Password, String DNNVersion) at Inventua.DNN.Modules.PassThroughTarget.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
StackTrace:
Source:
Server Name: ECON


Configuration is like this:


The "target" is set on a page within a Forum, where I put the Source DB Connetction to "Server=(....)Database=..... etc." (I have also tried with only the connection name from the web.config). I have also checked the "Synchronize Security Roles:" option.


In the "source" I put the URL of the page with the Forum module.


When trying to connect, I get the above error in the Log Viewer. Also, the user in _not_ created (I have checked the "UserPortals" table in th BD)


The user in the source portal is created using the minimal requirements (first, last, user, pass, mail)


 


Thank you,


Catalin MAICAN


 

Anthony Glenwright
Posts:11337

11 Nov 2005 10:25 AM  

This looks like a bug - Can you please provide the following info so I can try to track it down:


1.  What "source" portal version are you using?  DNN 2.1.2, or DNN 3?  (I can see that your target portal is DNN 3.1).  I need to know this because the code that executes in the PassThrough Target is different depending on the version of the source portal.


 

catalin maican
Posts:4

11 Nov 2005 8:51 PM  

Hi,


Both source and target portals are DNN 3(1.3 I think) on the same server, using the same DB. The target (in which the error occurs) id installed in a virtual dircetory as the first portal installed, while the source is a child portal of the first one.


Hope this helps...


Thanks,


Catalin MAICAN

catalin maican
Posts:4

14 Nov 2005 7:07 PM  

Any news regarding this bug?


Thanks,


Catalin

Anthony Glenwright
Posts:11337

14 Nov 2005 9:45 PM  
Can I confirm:  Is the Source DNN instance and the Target DNN instance the same instance of DNN, but the target is a child portal and source is in the "root" portal?
Anthony Glenwright
Posts:11337

14 Nov 2005 10:45 PM  

Hi Catalin,


I have done some more testing, and have reproduced the problem when using PassThrough to pass from a "root" portal to a "child" portal.  I have identified the problem, and believe I have fixed it, but the solution needs some more testing.


Are you working in a test/development portal?  If so, I can email you the test versions to work with - just email me at support@inventua.com and mention this forum post.

You are not authorized to post a reply.



ActiveForums 3.7