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 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