Showing results for 
Search instead for 
Do you mean 
Community Home Request Access Read Blogs Share Your Ideas Search Community View My Settings
Reply
Copper Super Contributor
Posts: 27
Registered: ‎08-29-2014
Accepted Solution

Error When I try to "Insert New Account" in the web client.

I get this error:

 

We apologize for the inconvenience, but your request cannot be completed. We're sorry, you've encountered an error. If applicable, please try again.

Saleslogix Error Id: SLX845F61C07ECA0244

URL: http://localhost:3333/SlxClient/InsertNewAccount.aspx?modeid=Insert

 

Then I check the windows logs and this is what I see...

 

Error:

 

2014-10-17 13:03:32,256 [18] ERROR Sage.Platform.Application.UI.Web.ApplicationPage - Saleslogix Web Client unhandled exception [Saleslogix Error Id=SLX845F61C07ECA0244]
{
  "slxErrorId": "SLX845F61C07ECA0244",
  "mitigation": "ErrorContent (1)",
  "date": "2014-10-17T13:03:32",
  "utc": "2014-10-17T19:03:32",
  "message": "Service Sage.Platform.Application.IEntityContextService is not available in the current context.",
  "source": "Sage.Platform.Application.Unity.CabUnityContainer, Sage.Platform.Application, Version=8.1.0.1146, Culture=neutral, PublicKeyToken=null",
  "type": "Sage.Platform.Application.ServiceMissingException",
  "stackTrace": "   at Sage.Platform.Application.Unity.CabUnityContainer.CabBuildUp(Type t, Object existing, String name, IPolicyList transientPolicies)\r\n   at Sage.Platform.Application.ServiceCollection.BuildFirstTimeItem(Type typeToBuild, Type typeToRegisterAs, Object item)\r\n   at Sage.Platform.Application.ServiceCollection.Build(Type typeToBuild, Type typeToRegisterAs, Object serviceInstance)\r\n   at Sage.Platform.Application.ServiceCollection.Add(Type serviceType, Object serviceInstance)\r\n   at Sage.Platform.Application.ServiceCollection.Add[TService](TService serviceInstance)\r\n   at Sage.Platform.WebPortal.WebPortalPage.InitClientContext(Page page, WorkItem workItem)\r\n   at Sage.Platform.WebPortal.WebPortalPage.OnLoad(EventArgs e)\r\n   at Sage.Platform.WebPortal.EntityPage.OnLoad(EventArgs e)\r\n   at SlxClient.InsertNewAccountPage.OnLoad(EventArgs e)",
  "targetSite": "System.Object CabBuildUp(System.Type, System.Object, System.String, Microsoft.Practices.ObjectBuilder2.IPolicyList)",
  "hashCode": "46F75366-682FB887-52BC163F",
  "pid": 5424,
  "identity": {
    "name": "Slxuser Username",
    "isAuthenticated": true,
    "authenticationType": "Forms"
  },
  "version": "8.1.0.1146",
  "logger": {
    "level": "ERROR",
    "location": "Sage.Platform.Diagnostics.ErrorHelper.LogException(:0)",
    "name": "Sage.Platform.Application.UI.Web.ApplicationPage",
    "message": "Saleslogix Web Client unhandled exception [Saleslogix Error Id=SLX845F61C07ECA0244]"
  },
  "request": {
    "looksLikeAjax": false,
    "isLocal": false,
    "method": "GET",
    "url": "http://localhost:3333/SlxClient/InsertNewAccount.aspx?modeid=Insert",
    "referrer": "http://localhost:3333/SlxClient/Home.aspx",
    "ipAddress": "192.168.111.250",
    "userAgent": "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0",
    "userLanguages": "en-US; en;q=0.5"
  },
  "browser": {
    "type": "Firefox32",
    "name": "Firefox",
    "version": "32.0",
    "majorVersion": 32,
    "minorVersion": 0.0,
    "platform": "WinNT"
  },
  "server": {
    "machineName": "SERVERNAME",
    "timeZone": "Mountain Standard Time",
    "commandLine": "C:\\Windows\\SysWOW64\\inetsrv\\w3wp.exe -ap \"Saleslogix\" -v \"v4.0\" -l \"webengine4.dll\" -a \\\\.\\pipe\\iisipm0a9c2f1b-c090-46c6-bd77-dc72c1a4c425 -h \"C:\\inetpub\\temp\\apppools\\Saleslogix\\Saleslogix.config\" -w \"\" -m 0",
    "versionString": "Microsoft Windows NT 6.2.9200.0",
    "is64BitOperatingSystem": true,
    "host": {
      "siteName": "Saleslogix",
      "applicationId": "/LM/W3SVC/2/ROOT/SlxClient",
      "applicationPhysicalPath": "C:\\inetpub\\wwwroot\\SlxClient\\",
      "applicationVirtualPath": "/SlxClient",
      "isDebuggingEnabled": false,
      "isHosted": true,
      "maxConcurrentRequestsPerCPU": 5000,
      "maxConcurrentThreadsPerCPU": 0
    },
    "logonUser": {
      "name": "Domain\\WebDLL",
      "authenticationType": "Forms",
      "impersonationLevel": "Impersonation",
      "isAnonymous": false,
      "isGuest": false,
      "isSystem": false
    }
  }
}

 

 

Warning:

 

2014-10-17 13:03:32,252 [18] WARN  Sage.Platform.Application.UI.Web.ApplicationPage - Saleslogix Web Client unhandled exception [Saleslogix Error Id=SLX5B3483B8E9D4F601]
{
  "slxErrorId": "SLX5B3483B8E9D4F601",
  "mitigation": "ErrorContent (1)",
  "date": "2014-10-17T13:03:32",
  "utc": "2014-10-17T19:03:32",
  "message": "Sorry you do not have access to this page.",
  "source": "SlxClient.InsertNewAccountPage, App_Web_wrt3tk3y, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null",
  "type": "Sage.Platform.Security.RoleAccessDeniedException",
  "stackTrace": "   at SlxClient.InsertNewAccountPage.OnPreInit(EventArgs e)",
  "targetSite": "Void OnPreInit(System.EventArgs)",
  "hashCode": "B32F6CAB-83E3FAC4-879B4B66",
  "pid": 5424,
  "identity": {
    "name": "Slxuser Username",
    "isAuthenticated": true,
    "authenticationType": "Forms"
  },
  "version": "8.1.0.1146",
  "logger": {
    "level": "WARN",
    "location": "Sage.Platform.Diagnostics.ErrorHelper.LogException(:0)",
    "name": "Sage.Platform.Application.UI.Web.ApplicationPage",
    "message": "Saleslogix Web Client unhandled exception [Saleslogix Error Id=SLX5B3483B8E9D4F601]"
  },
  "request": {
    "looksLikeAjax": false,
    "isLocal": false,
    "method": "GET",
    "url": "http://Localhost:3333/SlxClient/InsertNewAccount.aspx?modeid=Insert",
    "referrer": "http://localhost:3333/SlxClient/Home.aspx",
    "ipAddress": "192.168.111.250",
    "userAgent": "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0",
    "userLanguages": "en-US; en;q=0.5"
  },
  "browser": {
    "type": "Firefox32",
    "name": "Firefox",
    "version": "32.0",
    "majorVersion": 32,
    "minorVersion": 0.0,
    "platform": "WinNT"
  },
  "server": {
    "machineName": "SERVERNAME",
    "timeZone": "Mountain Standard Time",
    "commandLine": "C:\\Windows\\SysWOW64\\inetsrv\\w3wp.exe -ap \"Saleslogix\" -v \"v4.0\" -l \"webengine4.dll\" -a \\\\.\\pipe\\iisipm0a9c2f1b-c090-46c6-bd77-dc72c1a4c425 -h \"C:\\inetpub\\temp\\apppools\\Saleslogix\\Saleslogix.config\" -w \"\" -m 0",
    "versionString": "Microsoft Windows NT 6.2.9200.0",
    "is64BitOperatingSystem": true,
    "host": {
      "siteName": "Saleslogix",
      "applicationId": "/LM/W3SVC/2/ROOT/SlxClient",
      "applicationPhysicalPath": "C:\\inetpub\\wwwroot\\SlxClient\\",
      "applicationVirtualPath": "/SlxClient",
      "isDebuggingEnabled": false,
      "isHosted": true,
      "maxConcurrentRequestsPerCPU": 5000,
      "maxConcurrentThreadsPerCPU": 0
    },
    "logonUser": {
      "name": "Domain\\WebDLL",
      "authenticationType": "Forms",
      "impersonationLevel": "Impersonation",
      "isAnonymous": false,
      "isGuest": false,
      "isSystem": false
    }
  }
}

 

I can not seem to figure out why in the warning it says that I do not have the permissions to view the page. Note: when I log onto the web client as Admin I can see and do everything but it's not the case with the slxuser. Any help will be greatly appreciated. Thank you in advance.

 

Gold Super Contributor
Posts: 3,087
Registered: ‎03-19-2009

Re: Error When I try to "Insert New Account" in the web client.

Have you setup user/roles/actions and assigned users?

--
RJ Ledger - rjledger@rjlSystems.net +1 603.369.3047 x101

".. Innovators in Mobility - Experts in Workflow Automation..."
http://www.rjlSystems.net - blog: www.rjlSystems.net/blog.html
Copper Super Contributor
Posts: 27
Registered: ‎08-29-2014

Re: Error When I try to "Insert New Account" in the web client.

By default I realize that there's an Account management, Administrator, Contact management, Opportunity management, and Standard user roles. Unless if those had been set up previously with the Lan client but when I depployed the web client and then logged in as admin those roles were already there. I assigned my user the standard user roles; but that does'nt seem to change anything. Do i need to change those default roles or can I just use that standard user role to give users permissions. Like I said the admin can do everything just fine but the user with Standard User roles can't insert new account. Thanks you for the response... Hope I am making sense in the above explanation.

 

Highlighted
Gold Super Contributor
Posts: 3,087
Registered: ‎03-19-2009

Re: Error When I try to "Insert New Account" in the web client.

LAN client settings for roles/security have nothing/zip to do with ANYTHING that uses the SData portal and the Web Client - and vice-versa.

--
RJ Ledger - rjledger@rjlSystems.net +1 603.369.3047 x101

".. Innovators in Mobility - Experts in Workflow Automation..."
http://www.rjlSystems.net - blog: www.rjlSystems.net/blog.html
Copper Super Contributor
Posts: 27
Registered: ‎08-29-2014

Re: Error When I try to "Insert New Account" in the web client.

I am talking the roles that are in the web client when I am logged in as administrator. Those roles that I listed in the last post. I do know that permissions for the web client have to be granted in webclient and not the administrator. My question is does not the "Standard User" role defined in the administration tab on the web client when logged in as administrator grant the necessary permissions?

Gold Super Contributor
Posts: 3,087
Registered: ‎03-19-2009

Re: Error When I try to "Insert New Account" in the web client.

[ Edited ]

IMHO - it seems like there is a hudge lack of training here on the "web technology" - how to configure and manage it. My suggestion is that you will save yorself a lot of time and your company a lot of $$ if you just take a course.. and SLX/Infor has an on-line "university" just for this purpose.

 

This "community" is not a (free) training facility.

--
RJ Ledger - rjledger@rjlSystems.net +1 603.369.3047 x101

".. Innovators in Mobility - Experts in Workflow Automation..."
http://www.rjlSystems.net - blog: www.rjlSystems.net/blog.html
Copper Super Contributor
Posts: 27
Registered: ‎08-29-2014

Re: Error When I try to "Insert New Account" in the web client.

Thanks for the response.
Copper Super Contributor
Posts: 27
Registered: ‎08-29-2014

Re: Error When I try to "Insert New Account" in the web client.

[ Edited ]

If you're reading this post you probably have pages that throw errors on you and you're wondering why. As established in the openning posts of this thread "Permissions granted in Administrator have nothing to do with the web client/mobile client permissions"

This is how I fixed my problems.

By default, users created in the Web Client are assigned the Standard User role. This role allows add, edit, and delete permissions to Web Client non-administrative entities such as accounts, contacts, and opportunities.

Users created in the Administrator are not assigned a role and role security cannot be set in the Administrator. If you have existing users or create new users in the Administrator, you must assign users to the Standard User role.

To assign

  1. Open the Users List view.
  2. Select the users that should have add, edit, and delete permissions to non-administrative entities in the Web Client.
  3. In the User Tasks pane, click Add to Role.
  4. In the Select Role dialog box, lookup and select the Standard User role, and click OK.
  5. Click OK.

Assigning the standard users role (to users created in administrator) did not work for me, and when I examined the role I realized that it had not actions so I emabarked on creating those actions through Application Architect.

 

To know what secured actions are commonly used take a look at (this Thread/POST official from saleslogix).

 

I declared the secured actions in Application Architect under

VFS on YourServerName Portal Manager/Saleslogix Client/Pages/Secured Actions.

 

There I declared the actions following the convention explained in the link I shared above.

Then I re-deployed the saleslogix client portal.

Logged on to the web client as Admin, then on the Administration tab click Roles,

           select the standard user role,

                 under the users tab; add the users you want to have the access

                 under actions tab; add the actions that you created in application architect

                 Save

 

then log on as the standard saleslogix user and test your work.

 

That is how I fixed my problem.