Web Site Administration Tool without IDE

J

jblankenburg

I am trying to deploy a simple web application to my client's
production server, but it's not clear to me how MS planned on having
the Security users managed without Studio.

Certainly someone has run into this issue. How do you manage users
(the ones you would normally manage with the Web Site Administration
Tool) without Studio to get you to the Web Site Administration Tool ?

Thanks for your help!
 
G

Guest

The Web Site Administration Tool is nothing more than a set of pre-built
ASP.NET 2.0 pages and resources that reside within the
C:\Inetpub\wwwroot\aspnet_webadmin\2_0_XXXXX directory.
To enable and configure security, open the Web Site Administration Tool for
your newly created Web application: navigate to the application's URL and add
the WebAdmin.axd file to the end of the URL. For example:

http://myserver/mysite/WebAdmin.axd
 
J

jblankenburg

Is there something special I need to choose in order to make sure that
the WebAdmin.axd file is deployed with the rest of my application?

It is not there in my current build.
 
G

Guest

WebAdmin.axd is a "Phantom resource" it doesn't actually exist as a file. So
the short answer is, no, you don't have to do anything.
Peter
 
J

jblankenburg

I get a "resource not found error" when I try to go to webadmin.axd.
What could be wrong?
 
G

Guest

I'm having the same issue I was wondering if you were able to resolve this
problem because I get the same "resource not found error"

Thanks for any help you can provide.
 
G

Guest

Folks,
this stuff is all in the documentation. In Visual Studio 2005, Go to
"WebSite" at the very top menu, and choose "ASP.NET Configuration" from the
bottom of the list.
 
G

Guest

Yes Peter, I can get to ASP.NET Configuration from inside Visual Studio. That
is not my issue. I would like to know how I manage users once the application
is deployed without using the Visual Studio IDE. When I deploy a website I
should be able to manage the users from the site. How do I do that?
www.mysite.com/WebAdmin.axd does not work. It tells me The Resource cannot be
found.
 
M

mmcd79

I am having this same problem. MSDN states that there should also be a
directory under c:\inetpub\wwwroot\ called aspnet_webadmin. I do not
have this. No amount of uninstalling IIS and ASP.NET (via
aspnet_regiis) fixes this. MSDN states if this directory is missing,
aspnet_regiis -i will fix it. This is not the case for me.

I can only run the ASP.NET webadmin tool via the IDE which links to an
odd port on localhost (i.e. http://localhost:1217/...). 1217 is made
up as I don't know what it is right now and there is a very lengthy URL
addition where the ellipses is typed.

Can someone please help? I cannot find anything on Microsoft's KB
site, or google groups for that matter.
 
E

Erik Funkenbusch

Can someone please help? I cannot find anything on Microsoft's KB
site, or google groups for that matter.

You can't use the ASP.NET webadmin tool outside of the IDE. You basically
have to create your own management page.
 
M

mmcd79

How are you going to state that when MSDN itself tells you how to do
it? It just doesn't work. Do you know something Microsoft doesn't?

Here is the link to their page:
http://msdn.microsoft.com/library/?url=/library/en-us/dnvs05/html/SecFeatNT2.asp

A snippet of what I'm referring to is:

--------snip-----------
There are multiple ways that you can navigate to the Web Administration
interface. If you are building a Web application within Visual Studio
..NET 2005, you can open the Web Site Administration Tool by selecting
ASP.NET Configuration from under the Website menu. If you are
developing a Web application outside of Visual Studio .NET, you can
navigate directly to the Web Site Administration Tool by requesting the
special page WebAdmin.axd. For example, if your application is located
in a virtual directory named MyWebApp on your local machine, you can
open the Website Administration Tool for your application by entering
the following URL in your Web browser.

http://localhost/MyWebApp/WebAdmin.axd

You can also use this latter method to access the Web Site
Administration Tool for a deployed application.

Behind the scenes, the Web Site Administration Tool is made up of a set
of ASP.NET pages that use the standard Login controls discussed in the
next section. These pages are located in the
inetpub\wwwroot\aspnet_webadmin folder. If, for any reason, these files
get accidentally deleted from a server, you can automatically
re-install them by executing the aspnet_regiis tool. The aspnet_regiis
tool can also be used to control access to the Web Site Administration
Tool. For example, using the aspnet_regiis tool you can restrict access
to the Web Site Administration Tool to just the local server.

---------snip---------
 
E

Erik Funkenbusch

How are you going to state that when MSDN itself tells you how to do
it? It just doesn't work. Do you know something Microsoft doesn't?

Here is the link to their page:
http://msdn.microsoft.com/library/?url=/library/en-us/dnvs05/html/SecFeatNT2.asp

That page is out of date.

You can't use this method anymore. This was changed sometime around beta 2
IIRC. Note that the page you reference is dated June 2004, almost 18
months before the relese of Visual Studio 2005 and ASP.NET 2.0.
 
M

mmcd79

Well that's horsepoop!!! What good is the MSDN if it's not up to date?
I hate Microsoft sometimes.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,534
Members
45,008
Latest member
Rahul737

Latest Threads

Top