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

Errors with all the links in SlxClient

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

URL: http://localhost:3333/SlxClient/Processes.aspx

Exception type: System.ArgumentNullException

Source: System.Collections.Generic.Dictionary`2, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089

Copper Super Contributor
Posts: 27
Registered: ‎08-29-2014

Re: Errors with all the links in SlxClient

Details from the event log about the error

2014-09-10 14:48:59,960 [49] ERROR Global - SalesLogix Web Client unhandled exception [Saleslogix Error Id=SLXFC9C834DE89B7493]
{
"slxErrorId": "SLXFC9C834DE89B7493",
"mitigation": "ErrorContent (1)",
"date": "2014-09-10T14:48:59",
"utc": "2014-09-10T20:48:59",
"message": "Value cannot be null.\r\nParameter name: key.",
"source": "System.Collections.Generic.Dictionary`2, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089",
"type": "System.ArgumentNullException",
"stackTrace": " at System.Collections.Generic.Dictionary`2.FindEntry(TKey key)\r\n at System.Collections.Generic.Dictionary`2.TryGetValue(TKey key, TValue& value)\r\n at Sage.SalesLogix.IntegrationContract.AppIdMappingService.IsIntegrationEnabled()\r\n at Sage.Platform.WebPortal.Services.IntegrationContractInfo..ctor()\r\n at Sage.Platform.WebPortal.Services.ClientAppIdMappingService.Render(HtmlTextWriter writer)\r\n at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)\r\n at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)\r\n at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)\r\n at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)\r\n at System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer)\r\n at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)\r\n at System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output)\r\n at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)\r\n at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)\r\n at System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer)\r\n at ASP.masters_base_master.__Render__control1(HtmlTextWriter __w, Control parameterContainer)\r\n at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)\r\n at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)\r\n at System.Web.UI.Control.Render(HtmlTextWriter writer)\r\n at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)\r\n at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)\r\n at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)\r\n at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)\r\n at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)\r\n at System.Web.UI.Page.Render(HtmlTextWriter writer)\r\n at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)\r\n at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)\r\n at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)\r\n at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)",
"targetSite": "Int32 FindEntry(TKey)",
"fullException": "System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.ArgumentNullException: Value cannot be null.\r\nParameter name: key\r\n at System.Collections.Generic.Dictionary`2.FindEntry(TKey key)\r\n at System.Collections.Generic.Dictionary`2.TryGetValue(TKey key, TValue& value)\r\n at Sage.SalesLogix.IntegrationContract.AppIdMappingService.IsIntegrationEnabled()\r\n at Sage.Platform.WebPortal.Services.IntegrationContractInfo..ctor()\r\n at Sage.Platform.WebPortal.Services.ClientAppIdMappingService.Render(HtmlTextWriter writer)\r\n at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)\r\n at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)\r\n at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)\r\n at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)\r\n at System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer)\r\n at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)\r\n at System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output)\r\n at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)\r\n at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)\r\n at System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer)\r\n at ASP.masters_base_master.__Render__control1(HtmlTextWriter __w, Control parameterContainer)\r\n at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)\r\n at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)\r\n at System.Web.UI.Control.Render(HtmlTextWriter writer)\r\n at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)\r\n at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)\r\n at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)\r\n at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)\r\n at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)\r\n at System.Web.UI.Page.Render(HtmlTextWriter writer)\r\n at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)\r\n at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)\r\n at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)\r\n at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)\r\n at System.Web.UI.Page.HandleError(Exception e)\r\n at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)\r\n at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)\r\n at System.Web.UI.Page.ProcessRequest()\r\n at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)\r\n at System.Web.UI.Page.ProcessRequest(HttpContext context)\r\n at ASP.activitymanager_aspx.ProcessRequest(HttpContext context)\r\n at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()\r\n at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)",
"hashCode": "3FB4CFF3-D31C468B-78A487BC",
"pid": 5156,
"identity": {
"name": "MywindowsUsername",
"isAuthenticated": true,
"authenticationType": "Forms"
},
"version": "8.1.0.1146",
"logger": {
"level": "ERROR",
"location": "Sage.Platform.Diagnostics.ErrorHelper.LogException(:0)",
"name": "Global",
"message": "SalesLogix Web Client unhandled exception [Saleslogix Error Id=SLXFC9C834DE89B7493]"
},
"request": {
"looksLikeAjax": false,
"isLocal": false,
"method": "GET",
"url": "http://192.168.101.223:3333/SlxClient/ActivityManager.aspx?tabid=activities",
"referrer": "http://192.168.101.223:3333/SlxClient/Home.aspx",
"ipAddress": "192.168.101.170",
"userAgent": "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0",
"userLanguages": "en-US; en;q=0.5"
},
"httpException": {
"errorCode": -2147467259,
"hresult": "0x80004005",
"httpCode": 500,
"webEventCode": 0,
"webEventCodeName": "System.Web.Management.WebEventCodes.UndefinedEventCode",
"webEventCodeDescription": "The event code value is not defined."
},
"browser": {
"type": "Firefox31",
"name": "Firefox",
"version": "31.0",
"majorVersion": 31,
"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\\iisipm4314c6af-8e1f-4167-8fb9-59d850dc717a -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": "MyDomain\\WebDLL",
"authenticationType": "Forms",
"impersonationLevel": "Impersonation",
"isAnonymous": false,
"isGuest": false,
"isSystem": false
}
}
Employee
Posts: 629
Registered: ‎04-24-2009

Re: Errors with all the links in SlxClient

[ Edited ]

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.

 

Thanks

 

Mike

Copper Super Contributor
Posts: 27
Registered: ‎08-29-2014

Re: Errors with all the links in SlxClient

Okay... I'll work on that and report back. Thanks Mike.

Copper Super Contributor
Posts: 27
Registered: ‎08-29-2014

Re: Errors with all the links in SlxClient

Mike,

 

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

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

Exception type: Sage.Platform.Application.ServiceMissingException

Source: Sage.Platform.Application.Unity.CabUnityContainer, Sage.Platform.Application, Version=8.1.0.1146, Culture=neutral, PublicKeyToken=null

Stack trace:

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)

Employee
Posts: 629
Registered: ‎04-24-2009

Re: Errors with all the links in SlxClient

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.

 

Thanks

 

Mike

Copper Super Contributor
Posts: 27
Registered: ‎08-29-2014

Re: Errors with all the links in SlxClient

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?

Employee
Posts: 629
Registered: ‎04-24-2009

Re: Errors with all the links in SlxClient

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?

 

Thanks

 

Mike

Copper Super Contributor
Posts: 27
Registered: ‎08-29-2014

Re: Errors with all the links in SlxClient

I do not have any customizations...we are just begining to use the web portal. An attempt had been made a few years ago but didn't really deploy it. Now I have the tasks to do it. The environment is windows server 2012 and SQL Server 2008. One of the things I learned really quick when I started running into problems was the CTRL+Build and restarting AA. I don't know why but having seen many suggestions about those two I think I even do it when it's not necesarry. To answer the question...Yes I did a CTRL + Build when I built the web platform.
Copper Super Contributor
Posts: 27
Registered: ‎08-29-2014

Re: Errors with all the links in SlxClient

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.