|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
problem with COM Object Wrapper or with Remoting... which one?I have a web project in VS 2005 and I'm using a wrapper to work with a COM object. this object must work in a remoting environment. So we've done a simple console app to give us the access to the remote object. In our test web app, everything works fine... if we copy paste all the code from the test app to the real app so we can have exactly the same thing in each one, the real application raise an exception on the first call I do after the "new MyObject()" line. My first guess would be that the problem comes from the remoting, but I use exactly the same config file than the test app. The wrapper was in Framework 1.1, so I converted it to 2.0, I don't know if it can change something, but for now, it does not work. Does someone have an idea of what it would be? I mean, even with the same code and the same config file. Is there a setting or something like it that could cause the problem? Thanks ThunderMusic hi,
finaly, I found it... it was a security problem... thanks anyways... ;) Show quote "ThunderMusic" <NOdanlatSPAM@hotmaildotcom> wrote in message news:OwX4pp3cGHA.3472@TK2MSFTNGP02.phx.gbl... > Hi, > > I have a web project in VS 2005 and I'm using a wrapper to work with a COM > object. this object must work in a remoting environment. So we've done a > simple console app to give us the access to the remote object. > > In our test web app, everything works fine... if we copy paste all the > code from the test app to the real app so we can have exactly the same > thing in each one, the real application raise an exception on the first > call I do after the "new MyObject()" line. My first guess would be that > the problem comes from the remoting, but I use exactly the same config > file than the test app. > > The wrapper was in Framework 1.1, so I converted it to 2.0, I don't know > if it can change something, but for now, it does not work. > > Does someone have an idea of what it would be? I mean, even with the same > code and the same config file. Is there a setting or something like it > that could cause the problem? > > Thanks > > ThunderMusic > > > |
|||||||||||||||||||||||