Friday, March 16, 2012

password confirmation - how?

There is a link to the sample code that you can download on the top right
side of the page.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
Hire top-notch developers at http://www.able-consulting.com

"timmso" <timmsoNoSpammies@dotnet.itags.org.Yahoo.com> wrote in message
news:OQhhc3hkDHA.2216@dotnet.itags.org.TK2MSFTNGP12.phx.gbl...
> Thanks...but...how do I implement your suggestion? Is there a sample
> application I can run? Your page doesn't provide a .sln file. What am I
> supposed to do with all of the supporting files?
> If my concerns sound ignorant, please excuse me...I am new to .net. How
can
> I get your help to work for me?
>
> "Steve C. Orr [MVP, MCSD]" <Steve@dotnet.itags.org.Orr.net> wrote in message
> news:#Kod3vhkDHA.2404@dotnet.itags.org.TK2MSFTNGP12.phx.gbl...
> > Forms Authentication is likely your best bet.
> > It is easily configured in your web.config file.
> > Here's more information:
> > http://www.dotnetbips.com/displayarticle.aspx?id=9
> > --
> > I hope this helps,
> > Steve C. Orr, MCSD, MVP
> > http://Steve.Orr.net
> > Hire top-notch developers at http://www.able-consulting.com
> > "timmso" <timmsoNoSpammies@dotnet.itags.org.Yahoo.com> wrote in message
> > news:%23o3VQGhkDHA.1488@dotnet.itags.org.TK2MSFTNGP12.phx.gbl...
> > > I have a simple asp.net project. How do I enforce that a password be
> > entered
> > > before accessing any part of the website?
> > > > Thanks.
> > >Yeah, I know. Like I said, I have the supporting files, but there's no
".sln" file. What am I supposed to do with all the supporting files? Don't I
need the 'solution' file to run the app?

"Steve C. Orr [MVP, MCSD]" <Steve@.Orr.net> wrote in message
news:u9dGrznkDHA.744@.tk2msftngp13.phx.gbl...
> There is a link to the sample code that you can download on the top right
> side of the page.
> --
> I hope this helps,
> Steve C. Orr, MCSD, MVP
> http://Steve.Orr.net
> Hire top-notch developers at http://www.able-consulting.com
>
>
> "timmso" <timmsoNoSpammies@.Yahoo.com> wrote in message
> news:OQhhc3hkDHA.2216@.TK2MSFTNGP12.phx.gbl...
> > Thanks...but...how do I implement your suggestion? Is there a sample
> > application I can run? Your page doesn't provide a .sln file. What am I
> > supposed to do with all of the supporting files?
> > If my concerns sound ignorant, please excuse me...I am new to .net. How
> can
> > I get your help to work for me?
> > "Steve C. Orr [MVP, MCSD]" <Steve@.Orr.net> wrote in message
> > news:#Kod3vhkDHA.2404@.TK2MSFTNGP12.phx.gbl...
> > > Forms Authentication is likely your best bet.
> > > It is easily configured in your web.config file.
> > > Here's more information:
> > > http://www.dotnetbips.com/displayarticle.aspx?id=9
> > > > --
> > > I hope this helps,
> > > Steve C. Orr, MCSD, MVP
> > > http://Steve.Orr.net
> > > Hire top-notch developers at http://www.able-consulting.com
> > > > > > "timmso" <timmsoNoSpammies@.Yahoo.com> wrote in message
> > > news:%23o3VQGhkDHA.1488@.TK2MSFTNGP12.phx.gbl...
> > > > I have a simple asp.net project. How do I enforce that a password be
> > > entered
> > > > before accessing any part of the website?
> > > > > > Thanks.
> > > > > > > >
If it has a vbproj or a cproj or can open it that way.

If it has neither of these files then create a new project in vs.net and add
the files manually. To add the files, just right click on the project in
the Solution Manager, click add, then click Add Existing Files.

"timmso" <timmsoNoSpammies@.Yahoo.com> wrote in message
news:e9btdrqkDHA.1656@.tk2msftngp13.phx.gbl...
> Yeah, I know. Like I said, I have the supporting files, but there's no
> ".sln" file. What am I supposed to do with all the supporting files? Don't
I
> need the 'solution' file to run the app?
> "Steve C. Orr [MVP, MCSD]" <Steve@.Orr.net> wrote in message
> news:u9dGrznkDHA.744@.tk2msftngp13.phx.gbl...
> > There is a link to the sample code that you can download on the top
right
> > side of the page.
> > --
> > I hope this helps,
> > Steve C. Orr, MCSD, MVP
> > http://Steve.Orr.net
> > Hire top-notch developers at http://www.able-consulting.com
> > "timmso" <timmsoNoSpammies@.Yahoo.com> wrote in message
> > news:OQhhc3hkDHA.2216@.TK2MSFTNGP12.phx.gbl...
> > > Thanks...but...how do I implement your suggestion? Is there a sample
> > > application I can run? Your page doesn't provide a .sln file. What am
I
> > > supposed to do with all of the supporting files?
> > > > If my concerns sound ignorant, please excuse me...I am new to .net.
How
> > can
> > > I get your help to work for me?
> > > > > "Steve C. Orr [MVP, MCSD]" <Steve@.Orr.net> wrote in message
> > > news:#Kod3vhkDHA.2404@.TK2MSFTNGP12.phx.gbl...
> > > > Forms Authentication is likely your best bet.
> > > > It is easily configured in your web.config file.
> > > > Here's more information:
> > > > http://www.dotnetbips.com/displayarticle.aspx?id=9
> > > > > > --
> > > > I hope this helps,
> > > > Steve C. Orr, MCSD, MVP
> > > > http://Steve.Orr.net
> > > > Hire top-notch developers at http://www.able-consulting.com
> > > > > > > > > > "timmso" <timmsoNoSpammies@.Yahoo.com> wrote in message
> > > > news:%23o3VQGhkDHA.1488@.TK2MSFTNGP12.phx.gbl...
> > > > > I have a simple asp.net project. How do I enforce that a password
be
> > > > entered
> > > > > before accessing any part of the website?
> > > > > > > > Thanks.
> > > > > > > > > > > > > > >
Thanks. I put it in C:\Inetpub\wwwroot\DemoFormsAuth, tried to run it and
got the error message:

Configuration Error
Description: An error occurred during the processing of a configuration file
required to service this request. Please review the specific error details
below and modify your configuration file appropriately.

Parser Error Message: It is an error to use a section registered as
allowDefinition='MachineToApplication' beyond application level. This error
can be caused by a virtual directory not being configured as an application
in IIS.

Source Error:
Line 19: "Forms", "Passport" and "None"
Line 20: -->
Line 21: <authentication mode="Forms">
Line 22: <forms name="myform" loginUrl="login.aspx" />
Line 23: </authentication
How do I correct this?

"Jim Shelly" <jshelly@.cherokee.org> wrote in message
news:esQlR0skDHA.3700@.TK2MSFTNGP11.phx.gbl...
> If it has a vbproj or a cproj or can open it that way.
> If it has neither of these files then create a new project in vs.net and
add
> the files manually. To add the files, just right click on the project in
> the Solution Manager, click add, then click Add Existing Files.
> "timmso" <timmsoNoSpammies@.Yahoo.com> wrote in message
> news:e9btdrqkDHA.1656@.tk2msftngp13.phx.gbl...
> > Yeah, I know. Like I said, I have the supporting files, but there's no
> > ".sln" file. What am I supposed to do with all the supporting files?
Don't
> I
> > need the 'solution' file to run the app?
> > "Steve C. Orr [MVP, MCSD]" <Steve@.Orr.net> wrote in message
> > news:u9dGrznkDHA.744@.tk2msftngp13.phx.gbl...
> > > There is a link to the sample code that you can download on the top
> right
> > > side of the page.
> > > > --
> > > I hope this helps,
> > > Steve C. Orr, MCSD, MVP
> > > http://Steve.Orr.net
> > > Hire top-notch developers at http://www.able-consulting.com
> > > > > > > "timmso" <timmsoNoSpammies@.Yahoo.com> wrote in message
> > > news:OQhhc3hkDHA.2216@.TK2MSFTNGP12.phx.gbl...
> > > > Thanks...but...how do I implement your suggestion? Is there a
sample
> > > > application I can run? Your page doesn't provide a .sln file. What
am
> I
> > > > supposed to do with all of the supporting files?
> > > > > > If my concerns sound ignorant, please excuse me...I am new to .net.
> How
> > > can
> > > > I get your help to work for me?
> > > > > > > > "Steve C. Orr [MVP, MCSD]" <Steve@.Orr.net> wrote in message
> > > > news:#Kod3vhkDHA.2404@.TK2MSFTNGP12.phx.gbl...
> > > > > Forms Authentication is likely your best bet.
> > > > > It is easily configured in your web.config file.
> > > > > Here's more information:
> > > > > http://www.dotnetbips.com/displayarticle.aspx?id=9
> > > > > > > > --
> > > > > I hope this helps,
> > > > > Steve C. Orr, MCSD, MVP
> > > > > http://Steve.Orr.net
> > > > > Hire top-notch developers at http://www.able-consulting.com
> > > > > > > > > > > > > > "timmso" <timmsoNoSpammies@.Yahoo.com> wrote in message
> > > > > news:%23o3VQGhkDHA.1488@.TK2MSFTNGP12.phx.gbl...
> > > > > > I have a simple asp.net project. How do I enforce that a
password
> be
> > > > > entered
> > > > > > before accessing any part of the website?
> > > > > > > > > > Thanks.
> > > > > > > > > > > > > > > > > > > > > > > >

0 comments:

Post a Comment