Project Server 2007 Logon - LoginDemo example - Logon fails

I

Ian Lowe

Hi,
I am having trouble with the LoginDemo example project. I can connect to my
Project Server using MS Project but with the LoginDemo example project, it
shows the Logon Error dialog after trying to login. There is no message shown
within the box so it is NOT a SoapException or a WebException since these
will both result in messages being shown.

I am using Windows Authentication on a domain. The server is a member of the
domain. I have tried running the application both on the server machine and
on a client but get the same Logon Failed result.

I have run the application on the server with two different accounts (one
the local administrator to the server but not a domain account and the other
a domain account and a local administrator on the server). I have failures
with both accounts.

On the client machines, I have tried both a Windows XP client and a Windws
Vista client with the same result.

The LoginDemon program was compiled on the Windows XP client using Visual
Studio 2005.

It seems to me that this has something to do with either:
1. Credentials (although I can get to anything else on the server)
2. Timing (the logon is not waiting long enough for example)

I have tried recreating and varying the login process but without success.
During my searches for answers, I found a post that indicated that with
Windows Authentication, it was unnecessary to logon so I tried that but
cannot get a list of projects or users.

More recently, I have noticed that on occassions when I first try to attach
with MS Project 2007, it gets a Login Failed error but when Ok is pressed, it
continues and logs in anyway allowing me access to the projects on the server.

I now suspect that this may be related and this is why I have included item
2 related to timing.

Please can someone help with suggestions and guidance on how I might get to
attach to the server and get a successful Login.

Regards,
Ian
 
I

Ian Lowe

I have tried this using LoginAsync and waiting for the event which should
overcome any timing issue. The event occurs, the result is still false and
the Error property is null, event argument Error property is null, so it
seems like no error is occurring.

Is there any logging on the server side where I could see what issue the
server is having?

Now I am back to thinking that this is an authentication issue but where do
I look? Is there a way to find out what caused the login failure?
Regards,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top