473,322 Members | 1,409 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Windows Authentication using built-in ASP.NET VS2005 test server

Tom
I'm building a web application using VS 2005. This application uses
Windows authentication to 'authenticate'. However, when I test it
(debug) via the VS 2005 built-in test server, it doesn't work. I.E. It
won't authenticate.

Is there a way to do Windows authentication using the built-in VS 2005
test server? Thanks in advance.

Tom
--

Mar 3 '07 #1
3 1935
is there a reason why you are not using IIS ???
"Tom" <to*@nospam.comwrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
I'm building a web application using VS 2005. This application uses
Windows authentication to 'authenticate'. However, when I test it
(debug) via the VS 2005 built-in test server, it doesn't work. I.E. It
won't authenticate.

Is there a way to do Windows authentication using the built-in VS 2005
test server? Thanks in advance.

Tom
--

Mar 3 '07 #2
Tom
OK, then let me ask you this: Exactly HOW do you create a new ASP.NET
web site via VS 2005 (specifically VB.NET) that USES IIS rather than
the built-in ASP.NET test server? Under VS 2003 this was easy as it
basically defaulted to IIS; however, I am not sure exactly how to do
this via VS 2005? I thought that it was done by specifying 'Open' new
website, specifying IIS and then selecting New folder (or new website -
can't remember exact sequence right now) specifying
http:\\localhost\whatevername... However, when I try this it simply
sits there and cranks away - it never comes back and I have to end up
killing VS via the task manager.

So if I need to make it use IIS (specifically my local IIS server on my
machine) exactly how do I tell VS 2005 to create it there rather than
using the built-in service?

Tom
--

Evan Camilleri wrote:
>is there a reason why you are not using IIS ???
"Tom" <to*@nospam.comwrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
>>I'm building a web application using VS 2005. This application uses
Windows authentication to 'authenticate'. However, when I test it
(debug) via the VS 2005 built-in test server, it doesn't work. I.E.
It won't authenticate.

Is there a way to do Windows authentication using the built-in VS
2005 test server? Thanks in advance.

Tom
--
Mar 4 '07 #3
In the VS 2005 menu, hit "File", then "New Web Site".

Choose "ASP.NET Web Site" from the templates
and make sure you select "HTTP" in the "Location" dropdown.

That's it!

To specify the Web server for an already-created Web site, open your local website
with VS 2005 and, in the Solution Explorer, right-click the name of the Web site for
which you want to specify a Web server, and then click Property Pages.

In the Property Pages dialog box, click the Start Options tab.
Under Server, click Use custom server.

In the Base URL box, type the URL that VS 2005 should start when running the current Web site.
You can use localhost, your machine name, or an assigned domain name for your IP.

From that point on, the VS.NET IDE will not use the internal web server,
but will use IIS to open your pages, i.e., if you are working on default.aspx,
and you're using localhost, it will be opened as : http://localhost/default.aspx


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================

"Tom" <to*@nospam.comwrote in message news:ue**************@TK2MSFTNGP06.phx.gbl...
OK, then let me ask you this: Exactly HOW do you create a new ASP.NET
web site via VS 2005 (specifically VB.NET) that USES IIS rather than
the built-in ASP.NET test server? Under VS 2003 this was easy as it
basically defaulted to IIS; however, I am not sure exactly how to do
this via VS 2005? I thought that it was done by specifying 'Open' new
website, specifying IIS and then selecting New folder (or new website -
can't remember exact sequence right now) specifying
http:\\localhost\whatevername... However, when I try this it simply
sits there and cranks away - it never comes back and I have to end up
killing VS via the task manager.

So if I need to make it use IIS (specifically my local IIS server on my
machine) exactly how do I tell VS 2005 to create it there rather than
using the built-in service?

Tom
--

Evan Camilleri wrote:
>>is there a reason why you are not using IIS ???
"Tom" <to*@nospam.comwrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl.. .
>>>I'm building a web application using VS 2005. This application uses
Windows authentication to 'authenticate'. However, when I test it
(debug) via the VS 2005 built-in test server, it doesn't work. I.E.
It won't authenticate.

Is there a way to do Windows authentication using the built-in VS
2005 test server? Thanks in advance.

Tom
--


Mar 4 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: timbratureman | last post by:
I made an intranet website by php, webserver IIS on windows 2000. To manage users I used the windows authentication. Now I have to create logout.php that has to destroy sessions and windows...
8
by: Bob Everland | last post by:
I have an application that is ISAPI and the only way to secure it is through NT permissions. I need to have a way to login to windows authentication so that when I get to the ISAPI application no...
2
by: tunity5 | last post by:
Hello, We have an internal application that accesses SQL Server 2000 via ODBC. The connecton is established with user id and password. We recently received a business request to allow the...
0
by: Tom Callahan | last post by:
I have windows authentication setup and is working fine except for one problem. If the user wants to login using a different User ID, How do I tell windows authentication to re-authenticate the...
2
by: Vaibhav Gadodia | last post by:
Hello, I am trying to build an application which has forms authnetication enabled. I have a non-persistent authentication cookie which is exactly what i want. The problem is when i use two...
0
by: Franck | last post by:
Hello, I've setup the windows authentication but every time a user is asking an intranet page I gave them this sort of address using my IP http://15.68.150.105/MySite/page.aspx on the...
1
by: ABC | last post by:
I have a new project which is a web site used by Internal and External users (login required users) and public users (no login required users). On internal users, all users login network using...
4
by: =?Utf-8?B?Sm9l?= | last post by:
I am working on a web app that required authentication to AD. The authentication is working fine the way I am doing it, but was wondering what the best practice is. My code doesn't actually...
1
by: Chris Botha | last post by:
I upgraded from Vista Home Premium to Ultimate. With Home Premium there is no Windows Authentication for IIS - I googled that it is available under Ultimate and upgraded to Ultimate. However, when...
5
by: CraigWU | last post by:
I know there have been some similar posts, but I cannot determine if this is truly impossible, or just difficult. We have a site that uses Windows Integrated Authentication, and so it pops up the...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.