Tuesday, March 28, 2006

 

Access Server SDK on IIS5 / IIS6

One of the simplest things you should ever need to do with COREid in to install the Access Server SDK and access its functionality via ASP or ASP.NET on IIS6.

The key word here is should.

Sometimes you do everything right:
And then something like:

validateSDKinstall.asp


< % @LANGUAGE="VBSCRIPT" % >
< % OPTION EXPLICIT % >
< %
dim accessgate
Set accessgate = CreateObject("Netpoint.ObAccessAPI")
accessgate.Initialize
Response.Write "If you see this, all is well"
% >


should run without error. Should.

Sometimes it doesn't.

We've seen a couple of instances lately (7.0.2 / IIS6) where things just don't pan out. The error code that shows up in the IIS logs is 80010105 and in the browser is Error '80010105'. Some googling reveals this is generally, maybe, a network security/permission problem. However, that is not the case with the AccessServerSDK. Upon turning up the log levels on the AccessGate we discovered file system permission errors. Not by what showed up in the oblog.log, but by what did not. Specifically, the log write could not initialize (FileLogWriter::initializeWriter() is the source of the error in the event viewer). This was the first clue that the problem was related to file permissions. The local IWAM account did not have the necessary permissions to write to oblog.log. Once this was corrected, oblog.log started logging and revealed that there still was not sufficient permission to create the necessary lock files.

So, if you run into something like this - check your FS security on AccessServerSDK/oblix.

Comments:
Hey Dave, looks like the code you used to past the VBscript may have inserted some extra spaces. You need to remove the space between the < % and % >

See you at the King.
 
We have implemented Access Server SDK and we are facing some issues.

If there is a user attribute change, create, delete etc., then there is a flush requests sent to the Identity Server. We see that a lot of time is being taken to flush the cache, due to this we always get a "Operation Timed Out" exception.

What could be the reason?
 
We have implemented Access Server SDK and we are facing some issues.

If there is a user attribute change, create, delete etc., then there is a flush requests sent to the Identity Server. We see that a lot of time is being taken to flush the cache, due to this we always get a "Operation Timed Out" exception.

What could be the reason?
 
Post a Comment



<< Home

This page is powered by Blogger. Isn't yours?