Posted on 2002-03-22
I am getting a "Permission Denied" (error No: 70) error within my MTS app.
I use a VB client; MTS middle layer (including business & database objects) with a SQL-Server backend
Within the client layer, I have a grid containing employee details, and when the user selects a row from the grid, I make a call to the Business layer - passing the ‘empId’ as a collection used as a parameter.
There seems to be a problem with the collection that is passed in as a parameter. As soon as you try to do something with the collection - i.e. set something to it or try to access say the count, then the error occurs.
I know that we need to keep the MTS objects stateless, though I don't know where VB collections fit in within the scheme of objects. Obviously we don't define them in MTS in any way. Is it part of "Interface Implemented by an MTS Component".
I urgently need a resolution to this problem, so any ideas would be greatly appreciated.