2/22/2025 3:01:28 PM
|
|
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!
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.
|
|
|
|
Customer Portal Permissions?
Posted: 15 Apr 08 11:49 AM
|
I've just upgraded to SLX 7.2.1 from SLX 7, the previous iteration of the Customer Portal worked as expected but the new version doesn't allow me to create Tickets or view my list of Tickets. I'm guessing that it's some sort of permissions configuration that I missed and is specific to the new ASP model, but I'm runnig up against a wall.
On attempting to save aTicket, I get the following error...
Could not save object: An exception occured execution the dynamic method Ticket.OnBeforeInsert.: Object reference not set to an instance of an object. |
|
|
|
Update
Posted: 15 Apr 08 1:35 PM
|
In reviewing the 7.2 implementation guide I see that only two user types are appropriate for the Customer Portal user, 'Named Web' and 'Concurrent'. I don't see any option in Administrator to select 'Named Web' as a user type; is it otherwise known as something else? I currently have a 'Network' user type allocated to my Customer Portal. |
|
|
|
Re: Customer Portal Permissions?
Posted: 15 Apr 08 3:05 PM
|
There is a defect in 7.2.1 when you attempt to create a ticket for an account that has a contact with a NULL value for IsPrimary. You can get around this by ensuring that each contact in the database has either a "T" or an "F" (instead of NULL) for the IsPrimary value (run an update statement on the contact table to set the IsPrimary field to "F" where null)
Make sense?
-Ryan |
|
|
|
Re: Customer Portal Permissions?
Posted: 15 Apr 08 3:51 PM
|
18,000 rows later IsPrimary has been purged of null values, but no joy.
When I log into the portal, the user name shows but there is nothing under either 'Lookup Tickets' or 'Ticket List'. In a similar fashion, when I 'Add Ticket' all of the default contact information and ACI picklists show but the error that I posted earlier pops up when I try to save or submit the ticket. |
|
|
|
Re: Customer Portal Permissions?
Posted: 15 Apr 08 4:05 PM
|
What does the stack trace for the error look like? You can look for ASP.NET events in the Application Event Log on the server. It will show the stack trace for the error. |
|
|
|
Re: Customer Portal Permissions?
Posted: 15 Apr 08 4:17 PM
|
I removed the extraneous bits, it seems that the Info messages are SOP. At first blush it would seem that ASP.NET 2.0.50727.0 is having it's way with me, but everything on the Web Client seems to be operating as it should and presumably both sites use the same tools.
Event Type: Warning Event Source: ASP.NET 2.0.50727.0 Event Category: Web Event Event ID: 1309 Date: 04/15/2008 Time: 5:55:01 PM User: N/A Computer: SLXCRM Description: Event code: 3005 Event message: An unhandled exception has occurred. Event time: 04/15/2008 5:55:01 PM Event time (UTC): 04/15/2008 9:55:01 PM Event ID: 9845edca220e49f2a4a026c4fe141d75 Event sequence: 14 Event occurrence: 1 Event detail code: 0 Application information: Application domain: /LM/W3SVC/2/Root/SlxClient-3-128527700439917775 Trust level: Full Application Virtual Path: /SlxClient Application Path: c:\inetpub\wwwroot\SlxClient\ Machine name: SLXCRM Process information: Process ID: 552 Process name: w3wp.exe Account name: SLXCRM\WebDLL Exception information: Exception type: WebException Exception message: The remote server returned an error: (404) Not Found. Request information: Request URL: http://slxcrm:3333/SlxClient/SLXReportManager.aspx?method=gettablenamelist&isapiurl=HTTP://LOCALHOST/SLXWEBRPT/SLXWEBREPORTING.DLL/ReportTables Request path: /SlxClient/SLXReportManager.aspx User host address: 192.168.1.94 User: jallcorn Is authenticated: True Authentication Type: Forms Thread account name: SLXCRM\WebDLL Thread information: Thread ID: 7 Thread account name: SLXCRM\WebDLL Is impersonating: False Stack trace: at System.Net.HttpWebRequest.GetResponse() at Sage.SalesLogix.Client.Reports.ReportsHttpHandler.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) |
|
|
|
Re: Customer Portal Permissions?
Posted: 15 Apr 08 4:26 PM
|
My guess is that it's somehow not seeing the Ticket table, either to read from or write to. I tried to create a Ticket in the SLXClient portal and it gave me a runtime error on the browser (below) and a warning on the server (bottom). For reference, I can create Accounts, Contacts, and Opportunities.
Server Error in '/SlxClient' Application. --------------------------------------------------------------------------------
Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
Details: To enable the details of this specific error message to be viewable on remote machines, please create a tag within a "web.config" configuration file located in the root directory of the current web application. This tag should then have its "mode" attribute set to "Off".
[!-- Web.Config Configuration File -->
[configuration> [system.web> [customErrors mode="Off"/> [/system.web> [/configuration>
Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's [customErrors> configuration tag to point to a custom error page URL.
[!-- Web.Config Configuration File -->
[configuration> [system.web> [customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/> [/system.web> [/configuration>
**********************************************
Event Type: Warning Event Source: ASP.NET 2.0.50727.0 Event Category: Web Event Event ID: 1309 Date: 04/15/2008 Time: 7:41:01 PM User: N/A Computer: SLXCRM Description: Event code: 3005 Event message: An unhandled exception has occurred. Event time: 04/15/2008 7:41:01 PM Event time (UTC): 04/15/2008 11:41:01 PM Event ID: f808a8be4da748328f0a94d749127727 Event sequence: 64 Event occurrence: 1 Event detail code: 0 Application information: Application domain: /LM/W3SVC/2/Root/SlxClient-2-128527759001890191 Trust level: Full Application Virtual Path: /SlxClient Application Path: c:\inetpub\wwwroot\SlxClient\ Machine name: SLXCRM Process information: Process ID: 1304 Process name: w3wp.exe Account name: SLXCRM\WebDLL Exception information: Exception type: NullReferenceException Exception message: Object reference not set to an instance of an object. Request information: Request URL: http://slxcrm:3333/SLXClient/InsertTicket.aspx?modeid=Insert Request path: /SLXClient/InsertTicket.aspx User host address: 192.168.1.94 User: jallcorn Is authenticated: True Authentication Type: Forms Thread account name: SLXCRM\WebDLL Thread information: Thread ID: 6 Thread account name: SLXCRM\WebDLL Is impersonating: False Stack trace: at Sage.SalesLogix.Web.EntityStateService.EntityStateGraphVisitor.AddGraph(Object entity, Boolean forceAddonEmpty) at Sage.SalesLogix.Web.EntityStateService.EntityStateGraphVisitor.AddCollectionItemGraph(Object owningObject, String collectionName, Object entity) at Sage.SalesLogix.Web.EntityStateService.EntityStateGraphVisitor.VisitCollection(Object owner, String collectionName, IEnumerable entityCollection) at Sage.SalesLogix.Entities.Ticket.Accept(IEntityVisitor visitor) at Sage.SalesLogix.Web.EntityStateService.CreateGraphFromEntity(IVisitable entity) at Sage.Platform.WebPortal.EntityPage.OnUnload(EventArgs e) at System.Web.UI.Control.UnloadRecursive(Boolean dispose) at System.Web.UI.Page.UnloadRecursive(Boolean dispose) at System.Web.UI.Page.ProcessRequestCleanup() at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP.insertticket_aspx.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
|
|
|
|
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!
|
|
|
|
|
|
|
|