cancel
Showing results for 
Search instead for 
Did you mean: 

Server Error in '/SSP' Application; Operation could destabilize the runtime

former_member198720
Participant
0 Kudos

Hello Experts,

I am facing the same error in Afaria 7 SP5 as in http://scn.sap.com/thread/3249719. Did anyone get resolution for the above issue? I checked the above points which Dirk mentioned, everything seems to be alright.

Regards

Sajan Mathew

Message was edited by: Michael Appleby

Accepted Solutions (0)

Answers (1)

Answers (1)

rakshit_doshi
Active Contributor
0 Kudos

Hi Sajan,

was ssp the name that you gave while mentioning the virtual directory during installation of Self Service Portal component on AFaria server.

Please cross check that

Thanks,

Best Regards,

Rakshit Doshi

former_member198720
Participant
0 Kudos

Hi Rakshit,

Yes, ssp it is. By now i have re-installed SSP 4 times, but the issue remains the same. 

Thank you

Regards

Sajan Mathew

jtaylor
Active Participant
0 Kudos

Sajan,

I believe that we've seen this in the past caused by a couple of issues, an unsupported server version (e.g. Server 2012) and the .NET trust level in IIS for that virtual directory not set to Full permissions.

former_member198720
Participant
0 Kudos

Hi John,

My server Environment details are: MS Server 2008 R2 System, MS SQL 2008 R2 DB. The .NET trust level in IIS was already set to Full (internal). Also, Full Control permission is provided to the accounts (Groups and Usernames) to access the object in: C:\Program Files (x86)\AfariaSelfServicePortal ;  which applies to Folders, subfolders and files

Thank You

Sajan Mathew

tracy_barkley
Employee
Employee
0 Kudos

Did you also reinstall the Afaria Service Host?  (API)? or just the SSP.  If you only reinstalled the SSP, I would try reapplying the latest API server.

Tracy Barkley

SAP Active Global Support

former_member198720
Participant
0 Kudos

Hi Tracy,

I only restarted the API service before, but as you said I also tried reapplying the API service host (from Afaria 7 sp5 setup pkg), re-applied SSP again but still see the same error every time.

Thank You

Regards

Sajan Mathew

keith_nunn
Active Participant
0 Kudos

Hi, Sajan.

Your issue is not actually the same as the one originally posted back in 2012.  The original error was "Value was either too large or too small for an Int16." while yours is "Operation could destabilize the runtime." So while the header error (Server Error in /ssp...) is the same, the fault is not.

That said, this looks to me like a .NET compatibility issue in some way.  It appears that calls being made to .NET are being handled differently in your environment than they are in others.  If this was working previously on the same Afaria code level then I would recommend looking for a Microsoft update patch that was installed for .NET.  If you have a working system and a non-working one you could also compare the .NET assembly versions, installs and/or patches to see if any difference exists between them.

You could also verify that the SSP's application directory in IIS is using the expected application pool (AfariaSSPAppPool) and that the app pool is running under .NET "v4.0" and "Integrated" mode.

Lastly, it might be good to re-run the .NET installer that's included with the Afaria installation media and choose to "Repair" the .NET install if you're prompted.  Also, if you aren't fully removing the SSP when you reinstall then it's possible a change/corruption in the Web.config may be carrying over between reinstallation and perpetuating the problem.

Thanks,

Keith Nunn
SAP Active Global Support
SAP Canada

former_member198720
Participant
0 Kudos

Hello Keith,

It is now that we started making use of SSP. I got this error when working on a dev Afaria environment. But later when i checked the same thing in Demo and Prod Afaria environment i am able to access the SSP site without any problem, all IIS configurations being same as the dev Afaria env.

Today, i experimented few things, finally i removed (uninstalled) .NET framework version 4.5, API, Afaria admin and SSP and then installed them back in same sequence. What i later found was the same thing again. Afaria admin console starts over but not SSP but this time with a different error.


I would like to notify the priority of this case as low for me as i am able to access SSP in the main two servers i.e demo and Prod where i mainly need. But will surely work with you i am free.

Thanks a lot.

Regards

Sajan Mathew

keith_nunn
Active Participant
0 Kudos

Hi, Sajan.

Understood about the priority.  A couple of situations we've seen that cause the "Runtime Error" fault variant of the "Server Error" are either a code difference between the SSP and the API service or the time on the API service host machine being off by more than a few minutes between it and the SSP machine.

I know you've reinstalled this a few times so your code level is likely fine but it would be good to capture a directory listing of both components and we could compare to a working system to ensure everything was matching the expected date/time/size between them.  For the second issue, it's an easy check to see if there's a time difference.

Also, you could post your Web.config and we could review to ensure nothing unusual stands out about it.

Thanks,

Keith Nunn
SAP Active Global Support
SAP Canada