473,587 Members | 2,579 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Authentication for ASP and ASP.NET apps

Hi, I have a created a new website (Default web site is stopped) for a
classic ASP application. The local path under Home Directory is
F:\inetpub\wwwr oot\codebase and the Anonymous access, Basic authentication,
Digest Authentication are unchecked and Integrated Windows authentication is
checked in Authentication Methods (Directory Security). The purpose is to
allow the logged on user to access the site without loging in thru
application provided logon. Also there is a folder 'Employees' directly under
the site, which is not a virtual directory. Now this application hosts some
ASP.NET pages, the problem is I am unable to navigate to the ASP.NET page
because the 'Employee' folder is not a virtual directory. Is there a way to
make these pages work?

The directory structure
F:\inetpub\wwwr oot\codebase (which is a Local path in Home Directory tab)
F:\inetpub\wwwr oot\codebase\Em ployees (which is a regular directory, not a
virtual directory)

ASP.NET classes are in
F:\inetpub\wwwr oot\codebase\Ap p_Code (class files)

ASP.NET pages are in
F:\inetpub\wwwr oot\codebase\Em ployees\protect ed\Register.asp x

One of the menu options on the top of a classic ASP page has a link to
Register.aspx page. When I click this link I am geting this error

--------------------------------------------------------------------------------------
Server Error in '/' Application.
The resource cannot be found.

Description: HTTP 404. The resource you are looking for (or one of its
dependencies) could have been removed, had its name changed, or is
temporarily unavailable. Please review the following URL and make sure that
it is spelled correctly.

Requested URL: /Employees/protected/Register.aspx

Version Information: Microsoft .NET Framework Version:2.0.507 27.42; ASP.NET
Version:2.0.507 27.42
--------------------------------------------------------------------------------------
Register.aspx and other class files are there in the above said folders.

Any smart guys to solve this mistry?

You help is highly appreciated.

Thanks a million in advance
--dotNET
Apr 24 '07 #1
1 1372
Microsoft has an example of an implementation of a Membership Provider that
uses Active Directory at:

http://technet2.microsoft.com/Office....mspx?mfr=true

--
HTH,

Kevin Spencer
Microsoft MVP

Printing Components, Email Components,
FTP Client Classes, Enhanced Data Controls, much more.
DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net

"dotNetBudd y" <do*********@di scussions.micro soft.comwrote in message
news:AB******** *************** ***********@mic rosoft.com...
Hi, I have a created a new website (Default web site is stopped) for a
classic ASP application. The local path under Home Directory is
F:\inetpub\wwwr oot\codebase and the Anonymous access, Basic
authentication,
Digest Authentication are unchecked and Integrated Windows authentication
is
checked in Authentication Methods (Directory Security). The purpose is to
allow the logged on user to access the site without loging in thru
application provided logon. Also there is a folder 'Employees' directly
under
the site, which is not a virtual directory. Now this application hosts
some
ASP.NET pages, the problem is I am unable to navigate to the ASP.NET page
because the 'Employee' folder is not a virtual directory. Is there a way
to
make these pages work?

The directory structure
F:\inetpub\wwwr oot\codebase (which is a Local path in Home Directory tab)
F:\inetpub\wwwr oot\codebase\Em ployees (which is a regular directory, not a
virtual directory)

ASP.NET classes are in
F:\inetpub\wwwr oot\codebase\Ap p_Code (class files)

ASP.NET pages are in
F:\inetpub\wwwr oot\codebase\Em ployees\protect ed\Register.asp x

One of the menu options on the top of a classic ASP page has a link to
Register.aspx page. When I click this link I am geting this error

--------------------------------------------------------------------------------------
Server Error in '/' Application.
The resource cannot be found.

Description: HTTP 404. The resource you are looking for (or one of its
dependencies) could have been removed, had its name changed, or is
temporarily unavailable. Please review the following URL and make sure
that
it is spelled correctly.

Requested URL: /Employees/protected/Register.aspx

Version Information: Microsoft .NET Framework Version:2.0.507 27.42;
ASP.NET
Version:2.0.507 27.42
--------------------------------------------------------------------------------------
Register.aspx and other class files are there in the above said folders.

Any smart guys to solve this mistry?

You help is highly appreciated.

Thanks a million in advance
--dotNET

Apr 25 '07 #2

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

Similar topics

1
1989
by: JC | last post by:
I have several applications that use forms authentication and they are currently setup to use a single login page. Everything works fine under v1.0 of the framework and everything works fine if I have all applications running under v1.1. However, I need the login page and a few apps to be running under using v1.0 with other applications...
9
4619
by: Hermit Dave | last post by:
Hi, I am making a web application (rather two applications) one which is host and used by customers when they are just browsing through products. The second application resides on a secure server. This is going to hold all account related information for the customers and will also be used for admin The login is implemented using forms...
0
956
by: Hermit Dave | last post by:
Steven, Just a quick query.... in the two apps i have... it works fine on my local machine... but was talking to someone who was implementing a very similar method.... and it was then that i noticed... that the returnURL value... when it was forwarded to secure application contained "/virtualdir/virtualdir2/index.aspx" This would mean that...
2
1515
by: Dotnet Guy | last post by:
Hi, I have different asp.net applications as sub applications within an application and was using Framework 1.0. And I use forms authentication across the applications. In the web.config file of outer application I have <authentication mode="Forms"> <forms name=".ASPXAUTH" loginUrl="Default.aspx" path="/" timeout="20"/> </authentication> ...
7
2231
by: Nikolay Petrov | last post by:
Can I authenticate users of my ASP .NET apps, using their windows credentials, but using a SQL db. Let me explain a little more. I have an Windows XP station where i run my ASP .NET apps. I wish users to authenticate them using their current windows usernames and passwords. I have stored my users login names and passwords in SQL database,...
6
3326
by: Ming Zhang | last post by:
Hi guys, I have couple of ASP.NET applications that only support digest windows authentication, and credentials are managed in a central AD. When users login to one app, they can easily navigate to other apps without reenter UID/PWD. Everything works except it doesn't meet our security policy for new created users. When creating a new user,...
2
2835
by: Justin Lazanowski | last post by:
I have a windows app that I am writting for some field reps. This app should download and upload specific information to a web service, and cache the information on the local computer when they are not online. I have this part working perfectly however, I would really like to have some sort of authentication to access or upload the data. ...
5
1511
by: Sebastian | last post by:
Hello, I am attempting to share forms authentication between two applications but running into problems. The documentation I've been able to dig up says (to summarize) if the the Web.Config settings are the same between the apps they should work happily together. The only difference I have between the apps Web.Config settings is their...
5
5118
by: djhexx | last post by:
Hi. We have an asp.net intranet application written in VB that uses forms authentication for all it's pages. I have a C# asp.net application that I just wrote. The company would like the C# application to authenticate using the same mechanism as the intranet app. Therefore...if I try to login to the c# app, it should redirect me to the...
8
1775
by: GaryDean | last post by:
I have a client with a need for multiple app authentication. The apps are all asp.net apps but may be on different servers. The user just wants a single logon and them be free to use five or six different asp.net applications. Is this feasible? -- Regards, Gary Blakely
0
8206
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8340
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7967
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8220
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6621
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
3840
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3875
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2353
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
1185
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.