Skip to Content
Former Member
Jun 03, 2005 at 07:45 PM

SAP .net connector not working with portals. Possible Cookie problem?



I am on a project using IIS 5.0 and the SAP .net Connector. We are trying to use the MYSAPSSO2 cookie from the portals environment, but the cookie does not seem to be sending correctly to our IIS web system. We are trying to retrieve the cookie by the following syntax in the codebehind page:


One important thing to note is that the portal box is at domain level while our IIS web server is at domain level. Would this make any difference?

We are able to pass the cookie successfully in the SAP Workplace environment, but portals seems to give us errors when we try to use the cookie to call an RFC. The call just throws an RFCException error stating that the cookie length is invalid. One thing we noticed is that the cookie supplied in workplace is much larger than the cookie supplied in portals. Could this be a problem, or is this error just misleading?

Any help would be greatly appreciated. Thanks.

My e-mail is