Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. .NET Passport

.NET Passport

Scheduled Pinned Locked Moved ASP.NET
sysadminhelpquestioncsharpcom
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    UB
    wrote on last edited by
    #1

    I'm having some problems setting up the environment for .NET Passport. I have installed the passport SDK 2.5 and I've also installed the encrypted key. I have a Site ID and I gave the Site ID in Passport Administration Utility. I've also set the Secure Level to 0 and current is set to "preproduction". These are my prolbems. 1. When I installed the SDK it didn't installed the "passporttest" site in the Inetpub directory, so I had to manually install it in to the Inetpub directory by copying the "test site" folder in "Program files\Microsoft Passport". Why didn't it install it. I tried on both XP and 2000. 2. When I try to run projects that uses .NET Passport it goes to the link - http://current-login.passporttest.com/..." which is an invalid link. I searched the net for this error and found out that this an outdated link. Is this true ? How can I correct this. 3. When I try to run "Refresh Network Map" on XP it gives an error saying library net registered. This is the line that gives the error in default.asp Function NSRefresh () set oAdmin = Server.CreateObject("Passport.Admin") **** This is the error line NSRefresh = oAdmin.Refresh(false) End Function 4. How can I get test accounts 'cuz real accounts don't work in the development environment. I'll really appreciate if you can help me. Thanks. UB You may stop this individual, but you can't stop us all... after all, we're all alike. +++Mentor+++

    S 1 Reply Last reply
    0
    • U UB

      I'm having some problems setting up the environment for .NET Passport. I have installed the passport SDK 2.5 and I've also installed the encrypted key. I have a Site ID and I gave the Site ID in Passport Administration Utility. I've also set the Secure Level to 0 and current is set to "preproduction". These are my prolbems. 1. When I installed the SDK it didn't installed the "passporttest" site in the Inetpub directory, so I had to manually install it in to the Inetpub directory by copying the "test site" folder in "Program files\Microsoft Passport". Why didn't it install it. I tried on both XP and 2000. 2. When I try to run projects that uses .NET Passport it goes to the link - http://current-login.passporttest.com/..." which is an invalid link. I searched the net for this error and found out that this an outdated link. Is this true ? How can I correct this. 3. When I try to run "Refresh Network Map" on XP it gives an error saying library net registered. This is the line that gives the error in default.asp Function NSRefresh () set oAdmin = Server.CreateObject("Passport.Admin") **** This is the error line NSRefresh = oAdmin.Refresh(false) End Function 4. How can I get test accounts 'cuz real accounts don't work in the development environment. I'll really appreciate if you can help me. Thanks. UB You may stop this individual, but you can't stop us all... after all, we're all alike. +++Mentor+++

      S Offline
      S Offline
      SGalloway
      wrote on last edited by
      #2

      Hi UB, your second and third problems are related to your first. Problem is that as it ships, Passport SDK 2.5 includes a file called partner2.xml in C:\WINDOWS\system32\MicrosoftPassport which contains some 'test' (i.e. plain wrong) oinformation - that's where the current-login doohikey comes from. So, you have to get the classes registered which provide this functionality, either by reinstalling or by manually registering the libraries required. Are you running with local admin privelages on the machine you're trying to install on - that *might* be one issue - it really does install, I've had to install it way too many times on lots of machines...?file / Well, after that you can do Refresh Network Map - but you might still have a problem - check Event Log, if it says it couldn't overwrite the partner2.xml, you might have to set write permission on that file / directory.. As for the test accounts bit...hmm...you might have some 'issues' on XP - Passport is built in so the fancy 'pop-up' authentication dialogue can cause problems. If you download the thing here: http://www.microsoft.com/downloads/details.aspx?FamilyID=910934cc-03ad-43e4-977e-235a06f7c3b5&DisplayLang=en you'll find all sorts of useful information & source which shows some bits and pieces on using .NET passport - also included is the Passport toggler tool which switches XP settings between 'Preprod' and 'Prod' environments - so the fancy pop-up dialogue will work again. Finally, to get a pre-prod account to test with you go to: https://register.passport-ppe.net/reg.srf (the -ppe bit makes it pre-prod). If you need any more help, feel free to contact me. Scott

      U 2 Replies Last reply
      0
      • S SGalloway

        Hi UB, your second and third problems are related to your first. Problem is that as it ships, Passport SDK 2.5 includes a file called partner2.xml in C:\WINDOWS\system32\MicrosoftPassport which contains some 'test' (i.e. plain wrong) oinformation - that's where the current-login doohikey comes from. So, you have to get the classes registered which provide this functionality, either by reinstalling or by manually registering the libraries required. Are you running with local admin privelages on the machine you're trying to install on - that *might* be one issue - it really does install, I've had to install it way too many times on lots of machines...?file / Well, after that you can do Refresh Network Map - but you might still have a problem - check Event Log, if it says it couldn't overwrite the partner2.xml, you might have to set write permission on that file / directory.. As for the test accounts bit...hmm...you might have some 'issues' on XP - Passport is built in so the fancy 'pop-up' authentication dialogue can cause problems. If you download the thing here: http://www.microsoft.com/downloads/details.aspx?FamilyID=910934cc-03ad-43e4-977e-235a06f7c3b5&DisplayLang=en you'll find all sorts of useful information & source which shows some bits and pieces on using .NET passport - also included is the Passport toggler tool which switches XP settings between 'Preprod' and 'Prod' environments - so the fancy pop-up dialogue will work again. Finally, to get a pre-prod account to test with you go to: https://register.passport-ppe.net/reg.srf (the -ppe bit makes it pre-prod). If you need any more help, feel free to contact me. Scott

        U Offline
        U Offline
        UB
        wrote on last edited by
        #3

        Hi Scott, Thank you very much for your help. I finally managed to get it working by following your instructions. Everything is going well so far. Since you've give me permission , I'll disturb you again if I need any more help. :) Thanks again for your help. Take care ! :rose: UB You may stop this individual, but you can't stop us all... after all, we're all alike. +++Mentor+++

        1 Reply Last reply
        0
        • S SGalloway

          Hi UB, your second and third problems are related to your first. Problem is that as it ships, Passport SDK 2.5 includes a file called partner2.xml in C:\WINDOWS\system32\MicrosoftPassport which contains some 'test' (i.e. plain wrong) oinformation - that's where the current-login doohikey comes from. So, you have to get the classes registered which provide this functionality, either by reinstalling or by manually registering the libraries required. Are you running with local admin privelages on the machine you're trying to install on - that *might* be one issue - it really does install, I've had to install it way too many times on lots of machines...?file / Well, after that you can do Refresh Network Map - but you might still have a problem - check Event Log, if it says it couldn't overwrite the partner2.xml, you might have to set write permission on that file / directory.. As for the test accounts bit...hmm...you might have some 'issues' on XP - Passport is built in so the fancy 'pop-up' authentication dialogue can cause problems. If you download the thing here: http://www.microsoft.com/downloads/details.aspx?FamilyID=910934cc-03ad-43e4-977e-235a06f7c3b5&DisplayLang=en you'll find all sorts of useful information & source which shows some bits and pieces on using .NET passport - also included is the Passport toggler tool which switches XP settings between 'Preprod' and 'Prod' environments - so the fancy pop-up dialogue will work again. Finally, to get a pre-prod account to test with you go to: https://register.passport-ppe.net/reg.srf (the -ppe bit makes it pre-prod). If you need any more help, feel free to contact me. Scott

          U Offline
          U Offline
          UB
          wrote on last edited by
          #4

          Hi Scott, I need your help again. I got through the sign in part. Now I'm having some problems with sign out. The problem is if I set deny users="?" in the web.config then the sign out get failed. Is it 'cuz the passport server is not allowed to access my signout.aspx page? If I remove the deny users="?" part and run the application it works. So that means we have to keep the sign-out page in a seperate location not setting the deny users="?" part, and host the other pages in a seperate location with deny users="?" set. Is this the normal way to implement .NET Passport, or is there any other way. Thank you for your time :rose: UB You may stop this individual, but you can't stop us all... after all, we're all alike. +++Mentor+++

          S 1 Reply Last reply
          0
          • U UB

            Hi Scott, I need your help again. I got through the sign in part. Now I'm having some problems with sign out. The problem is if I set deny users="?" in the web.config then the sign out get failed. Is it 'cuz the passport server is not allowed to access my signout.aspx page? If I remove the deny users="?" part and run the application it works. So that means we have to keep the sign-out page in a seperate location not setting the deny users="?" part, and host the other pages in a seperate location with deny users="?" set. Is this the normal way to implement .NET Passport, or is there any other way. Thank you for your time :rose: UB You may stop this individual, but you can't stop us all... after all, we're all alike. +++Mentor+++

            S Offline
            S Offline
            sashidhar
            wrote on last edited by
            #5

            Hi friend i am unable find the Sdk 2.5 for passport authentication Please tell me the procedure to find it and run the application All i got is windows live web authentication

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups