Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Sunday, February 23, 2025 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Web Forums - SalesLogix Web Platform & Application Architect
Forum to discuss the use of the SalesLogix Web Platform, Client and Customer Portals, and the Application Architect (For version 7.2 and higher only). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Web Platform & Application Architect | New ThreadView:  Search:  
 Author  Thread: Relationships with SalesLogix Security Support
Eric Hobbs
Posts: 28
 
Relationships with SalesLogix Security SupportYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 20 Aug 08 8:09 AM
Hi,

I am just starting out with development for 7.2 and I have a question about creating a relationship in the entity model from a custom package to the SalesLogix Security Support package.

I have an entity named Portfolio Owner which represents a relationship between a sales logix user and a sales portfolio (which is basicly a group of accounts which are assigned to a sales person. For reasons that I wont get into, the account manager relationship wont work here.)

When I create a relationship between the User entity and the Portfolio owner entity, the architect builds without any problems, however there is an full screen error generated when you log in to the web client.

In the servers event log you get the following somewhat helpfull error message:

Event Type: Warning
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event
Event ID: 1309
Date: 20/08/2008
Time: 14:33:44
User: N/A
Computer: HD-2K3-DV-SLX01
Description:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 20/08/2008 14:33:44
Event time (UTC): 20/08/2008 13:33:44
Event ID: 7fde4e48f8c146809749a5f48f9d275c
Event sequence: 16
Event occurrence: 3
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/2/Root/SlxClient-4-128637119254531250
Trust level: Full
Application Virtual Path: /SlxClient
Application Path: D:\saleslogix\
Machine name: HD-2K3-DV-SLX01

Process information:
Process ID: 3408
Process name: w3wp.exe
Account name: BCAGROUP\slxservice

Exception information:
Exception type: TypeLoadException
Exception message: Method 'get_UserPortfolios' in type 'Sage.SalesLogix.Security.User' from assembly 'Sage.SalesLogix.Security, Version=7.2.2.1871, Culture=neutral, PublicKeyToken=null' does not have an implementation.

Request information:
Request URL: http://hd-2k3-dv-slx01/SlxClient/Login.aspx?ReturnUrl=An unhandled exception has occurred.fSlxClientAn unhandled exception has occurred.fDefault.aspx
Request path: /SlxClient/Login.aspx
User host address: 192.168.230.191
User:
Is authenticated: False
Authentication Type:
Thread account name: BCAGROUP\slxservice

Thread information:
Thread ID: 1
Thread account name: BCAGROUP\slxservice
Is impersonating: False
Stack trace: at Sage.SalesLogix.Web.SLXMembershipProvider.ValidateUser(String username, String password)
at System.Web.UI.WebControls.Login.OnAuthenticate(AuthenticateEventArgs e)
at System.Web.UI.WebControls.Login.AttemptLogin()
at System.Web.UI.WebControls.Login.OnBubbleEvent(Object source, EventArgs e)
at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args)
at System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


Custom event details:

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp


If I remove the relatioship Another error occurs:

Event Type: Warning
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event
Event ID: 1309
Date: 20/08/2008
Time: 14:37:41
User: N/A
Computer: HD-2K3-DV-SLX01
Description:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 20/08/2008 14:37:41
Event time (UTC): 20/08/2008 13:37:41
Event ID: 16c5d71e0c884d87ba9acc02bb62af69
Event sequence: 14
Event occurrence: 1
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/2/Root/SlxClient-5-128637130392187500
Trust level: Full
Application Virtual Path: /SlxClient
Application Path: D:\saleslogix\
Machine name: HD-2K3-DV-SLX01

Process information:
Process ID: 3408
Process name: w3wp.exe
Account name: BCAGROUP\slxservice

Exception information:
Exception type: MappingException
Exception message: Could not compile the mapping document: BuyerAccount.hbm.xml

Request information:
Request URL: http://hd-2k3-dv-slx01/SlxClient/Login.aspx?ReturnUrl=An unhandled exception has occurred.fSlxClientAn unhandled exception has occurred.fAccount.aspx
Request path: /SlxClient/Login.aspx
User host address: 172.30.0.160
User:
Is authenticated: False
Authentication Type:
Thread account name: BCAGROUP\slxservice

Thread information:
Thread ID: 1
Thread account name: BCAGROUP\slxservice
Is impersonating: False
Stack trace: at NHibernate.Cfg.Configuration.LogAndThrow(MappingException me)
at NHibernate.Cfg.Configuration.AddValidatedDocument(NamedXmlDocument doc)
at NHibernate.Cfg.Configuration.ProcessMappingsQueue()
at NHibernate.Cfg.Configuration.AddInputStream(Stream xmlInputStream, String name)
at NHibernate.Cfg.Configuration.AddResource(String path, Assembly assembly)
at NHibernate.Cfg.Configuration.AddAssembly(Assembly assembly)
at NHibernate.Cfg.Configuration.AddAssembly(String assemblyName)
at Sage.Platform.Data.HibernateConfiguration.GetNHibernateConfiguration()
at Sage.Platform.Framework.SessionFactoryHolder.GetSessionFactory()
at Sage.Platform.Framework.SessionFactoryHolder.CreateScopeSession()
at Sage.Platform.Framework.SessionFactoryHolder.CreateSession()
at Sage.Platform.Orm.SessionScopeWrapper..ctor(Boolean createNewScope)
at Sage.Platform.Orm.SessionScopeWrapper..ctor()
at Sage.SalesLogix.Web.SLXMembershipProvider.ValidateUser(String username, String password)
at System.Web.UI.WebControls.Login.OnAuthenticate(AuthenticateEventArgs e)
at System.Web.UI.WebControls.Login.AttemptLogin()
at System.Web.UI.WebControls.Login.OnBubbleEvent(Object source, EventArgs e)
at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args)
at System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


Custom event details:

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp

I can't seem to find the BuyerAccount.hbm.xml file.

My question is, is it impossible to create a relationship to the SalesLogix Security Support entity? If not, how should I go about doing this?
[Reply][Quote]
Eric Hobbs
Posts: 28
 
Re: Relationships with SalesLogix Security SupportYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 20 Aug 08 8:52 AM
I think I figured this out. When you create a new package it gives it a Build Setting of New Assembly in the default namespace and assembly name. If you create more than one new package, this causes problems.

I updated the namespaces on the new packages and rebuilt all the relationships and this seems to have sorted the problem out.

I think I am going to start a FAQ on these sorts of "gotcha", items. I can't be the only one who would find it usefull for a newbie.
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2025 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 2/23/2025 8:17:09 PM