09-08-2014 04:29 PM
Every link I click on (after building and deploying and configuring the web client) gives me an error.
I restored the 8.1 backup into my VFS because I didn't have any prior customizations, I did a succesful build as well as a deploy. I did the necessary configuration for the web client and I am not using windows authentication. When I log in with a saleslogix user I get the following error while trying to navigate through the various links.
We're sorry, your request could not be completed.
Value cannot be null.
Parameter name: key.
Saleslogix Error Id: SLX5C828DF40D120495
Exception type: System.ArgumentNullException
Source: System.Collections.Generic.Dictionary`2, mscorlib, Version=18.104.22.168, Culture=neutral, PublicKeyToken=b77a5c561934e089
09-10-2014 02:04 PM
09-11-2014 08:30 AM - edited 09-11-2014 08:30 AM
I believe this error can be solved by running SlxConversionUtility.exe. Note: You will have to follow the instructions in the Implementation Guide before running this utility.
09-15-2014 04:29 PM
I did what you suggested and "Yes" I had followed the instructions in the implementation guide and that did not get me very far. Still had the same issue. I logged off the server, logged on as my webDLL user and I then rebuilt and re-deployed. I went throuhg the different portal configuratiosn and now I have most everything working except everytime I go to add an account I get an error. That is the only thing that is erroring out. I found this document from this post and I went through the SData settings as highlighted in there and that also didn't help. When I test the sdata/$system/addapters it get that to load just fine but when I click on some of the links in there work and others throw errors (talking about links for accounts e.g http://192.168.111.171:3333/sdata/slx/dynamic/-/accounts/*) How do I fix he add acounts link in my web client (slxclient portal)? Any help will be appreciated.
This is what I get when I click the "Insert New Account"
We apologize for the inconvenience, but your request cannot be completed. Service Sage.Platform.Application.IEntityContextService is not available in the current context.
Saleslogix Error Id: SLX2314F25CDF45E194
Exception type: Sage.Platform.Application.ServiceMissingException
Source: Sage.Platform.Application.Unity.CabUnityContainer, Sage.Platform.Application, Version=22.214.171.1246, Culture=neutral, PublicKeyToken=null
at Sage.Platform.Application.Unity.CabUnityContainer.CabBuildUp(Type t, Object existing, String name, IPolicyList transientPolicies) at Sage.Platform.Application.ServiceCollection.BuildFirstTimeItem(Type typeToBuild, Type typeToRegisterAs, Object item) at Sage.Platform.Application.ServiceCollection.Build(Type typeToBuild, Type typeToRegisterAs, Object serviceInstance) at Sage.Platform.Application.ServiceCollection.Add(Type serviceType, Object serviceInstance) at Sage.Platform.Application.ServiceCollection.Add[TService](TService serviceInstance) at Sage.Platform.WebPortal.WebPortalPage.InitClientContext(Page page, WorkItem workItem) at Sage.Platform.WebPortal.WebPortalPage.OnLoad(EventArgs e) at Sage.Platform.WebPortal.EntityPage.OnLoad(EventArgs e) at SlxClient.InsertNewAccountPage.OnLoad(EventArgs e)
09-15-2014 09:35 PM
It could be a problem with your DefaultCSharpCodeBehind.vm which is located in the model under \Model\Portal\Templates. The EntityContextService is added in "protected override void OnPreInit" in the template (which generates the code behind for InsertNewAccount.aspx.cs.
09-16-2014 10:50 AM
Thanks for the response.
If it is a problem with DefaultCSHarpCodeBehing.vm how do I fix it? If yuo open it up the prompt suggests that the code is auto generated and making changes to it would cause the app to mulfunction when it's generated again...or something to that effect; so what can I do to fix it? Or what test can I do to eliminate it as a possibility?
09-16-2014 11:39 AM
Regarding DefaultCSHarpCodeBehing.vm, you would have to go back to the bundle version of this template and merge any customizations (assuming you had some), and then update the model.
Have you tried doing a Ctrl+Build Web Platform in Application Architect?
09-16-2014 12:43 PM
09-16-2014 03:25 PM
I don't know why but I didn't think to check this earlier.
When I log into the web client using the administrator permissions everything works. I have not seen anything fail so far,
But when I log in as a regular network user then I have the error and offcourse there some options that are missing given the roles I that a user has on the LAN client. So I guess my question now is What permissions do I need to set for the "named users" to have all the access that they require? I followed the implementation guide as close as possible but now it seems to me like this is a permissions issue. Any help will be appreciated.