PjFormsAuthUpgrade.exe error

K

kailash

Hi Friends
I'm using "PjFormsAuthUpgrade.exe" for creating Form authentication user.
It's creating user in table "aspnetdb" but fail to register user in Published
database, please find error below and help me.

When i login using this user on form authentication url, its saying you are
currently sigin as "user details" and asking me to login using different
user. Also header is Access denied. I thing this is because i have not added
this user with any security group but i can't do so untill this user is in
Published DB, i hope i'm wright.

Below is the command fired from command prompt, and
http://win2k3r2ee:1235/pwa is my form authentication url where win2k3r2ee is
server and port 1235 is where form authentication PWA is running.

C:\Program Files\Microsoft Office Servers\12.0\Bin>PjFormsAuthUpgrade.exe
-username sa -password 1234 -url http://win2k3r2ee:1235/pwa -usersfile
test2.xml
Reading users from users file C:\Program Files\Microsoft Office
Servers\12.0\Bin\test2.xml.
User users read from users file.
Creating users in membership provider.
User george, Password george@1, Email Address: [email protected] created
successfully.
1 users created in membership provider.
Upgrading users in published database.
Creating user logon: george, resid: 9ca587a2-35d4-4ec7-9e3e-ceaa9190458f,
email: '[email protected]'.
Exception occurred: Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an
object.
at Microsoft.Office.Project.Server.FormsAuthUpgrade.UpgradeUsers(Users
users, List`1 membershipUsersCreated, String membershipProviderName)
at Microsoft.Office.Project.Server.FormsAuthUpgrade.UpgradeUsers()
at Microsoft.Office.Project.Server.FormsAuthUpgradeApp.Main(String[] args)


Please help me friends...thanks to this community and all my friend here.
 
J

JennPenn07

Hi Kailash,

All my users are windows users and they were all migrated from 2003. I
havent set up a new Forms user, but I think you may want to create them in
PWA first, then run the PJFormsAuthUpgrade.exe the add them to the membership
database. Try it this way and remember you have to append
"AspNetSqlMembershipProvider:" to thier PWA user login before it will allow
the user access.

At the login page you enter the user login without the
AspNetSqlMembershipProvider: ... I hope that makes sense. :)
 
Top