473,883 Members | 1,625 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Website Administration Tool not working from published application

When I try to run the Website Administration Tool from my published
application using

http://localhost/myapp/webadmin.axd

I am getting a "resource not found" error message. I can use the Admin
tool from the IDE however.

I noticed some people referring to a directory called
c:\Inetpub\wwwr oot\aspnet_weba dmin\, which i do not have on my system.

I do not have that, but DO have a
C:\Inetpub\wwwr oot\aspnet_clie nt\system_web\2 _0_50727

I ran a iisnet_regiis to repair, but still cannot use the Website Admin
tool.

Anyone know what I am doing wrong?

Thanks,

-M

Feb 1 '06 #1
7 4053
Beuller? Beueller?

Feb 5 '06 #2
I have this exact same problem. Can someone please respond?

MSDN says a simple aspnet_regiis -i will resolve any missing file
relating to the aspnet_webadmin directory, but this does not work on my
xp pro system. Maybe it only works on a system utilizing iis 6.0 (i.e.
Windows Server 2003)?

Feb 18 '06 #3
I had the same problem, but found the solution.

I'm running 2k5 Team Edition, with a sql 2000 database in the back and IE7
beta 2 in the front. I made two mistakes. The first mistake was using the
IE7 beta. It would time out rather than show me the helpful error messages
that the Web App Admin Tool shows when it cannot connect to the database.
Uninstalling IE7 allowed me to troubleshoot these errors. The second mistake
was not installing SQL 2k5 Express. Why is that a mistake? Because the
default provider is configured for sql 2k5 and is incompatible with sql 2k.
It was also a mistake because it is near friggin impossible to add an effing
provider. If you know how to add a new provider that supports sql 2k, then
you aren't reading this. Anyhow, to get ASPNET 2.0 working with your current
instance of sql 2000, you need to first get your sql server configured
correctly. To do this, do the aspnet_regsql.e xe thing. You'll need to run
the correct one, which is accessible when you run the "Visual Studio 2005
command prompt". Its under Proggy files, Visual studio 2005, Visual studio
tools. Once you've done that, you have to trick the Web App Admin tool to
use this database rather than the nonexistant 2k5 express database (how
incredibly goddamn stupid is that?). Create a connection string to your Sql
2000 database (make sure it works!), and add the following section to your
website's web.config file:

<connectionStri ngs>
<remove name="LocalSqlS erver"/>
<add name="LocalSqlS erver" connectionStrin g="PUT YOUR CONNECTION STRING
HERE!" />
</connectionStrin gs>

Notice that you nuke the connection string that the default provider uses,
then replace it with your connection string. This section should be added
right after the <configuratio n xmlns="...> line at the top of web.config.
Once you've done this, save web.config and attempt to use the Web Application
Tool again. It should work! I'd like to thank Microsoft for giving us all
these great new features in 2.0, and damn them to hell for turning web apps
from just another application (add a DLL project to your web app solution?
No problem! Namespaces in your classes? No problem!) into some weird
bastardized child-monster with app_code directories and crippled integration
into the IDE (I have to use a TOOL in a WEBPAGE to change settings in my
APPLICATION???) and solutions that are projects...
"mm****@tampaba y.rr.com" wrote:
I have this exact same problem. Can someone please respond?

MSDN says a simple aspnet_regiis -i will resolve any missing file
relating to the aspnet_webadmin directory, but this does not work on my
xp pro system. Maybe it only works on a system utilizing iis 6.0 (i.e.
Windows Server 2003)?

Apr 11 '06 #4
re:
If you know how to add a new provider that supports sql 2k, then you aren't reading this.
It might be worthwhile for you to step through Scott Guthrie's tutorial that shows you how to
configure ASP.NET to use Membership, Role Management, and Personalization services with
SQL Server 2000 instead of SQL Express

http://weblogs.asp.net/scottgu/archi...25/423703.aspx

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
=============== =============== =====
"William Sullivan" <Wi************ *@discussions.m icrosoft.com> wrote in message
news:E0******** *************** ***********@mic rosoft.com...I had the same problem, but found the solution.

I'm running 2k5 Team Edition, with a sql 2000 database in the back and IE7
beta 2 in the front. I made two mistakes. The first mistake was using the
IE7 beta. It would time out rather than show me the helpful error messages
that the Web App Admin Tool shows when it cannot connect to the database.
Uninstalling IE7 allowed me to troubleshoot these errors. The second mistake
was not installing SQL 2k5 Express. Why is that a mistake? Because the
default provider is configured for sql 2k5 and is incompatible with sql 2k.
It was also a mistake because it is near friggin impossible to add an effing
provider. If you know how to add a new provider that supports sql 2k, then
you aren't reading this. Anyhow, to get ASPNET 2.0 working with your current
instance of sql 2000, you need to first get your sql server configured
correctly. To do this, do the aspnet_regsql.e xe thing. You'll need to run
the correct one, which is accessible when you run the "Visual Studio 2005
command prompt". Its under Proggy files, Visual studio 2005, Visual studio
tools. Once you've done that, you have to trick the Web App Admin tool to
use this database rather than the nonexistant 2k5 express database (how
incredibly goddamn stupid is that?). Create a connection string to your Sql
2000 database (make sure it works!), and add the following section to your
website's web.config file:

<connectionStri ngs>
<remove name="LocalSqlS erver"/>
<add name="LocalSqlS erver" connectionStrin g="PUT YOUR CONNECTION STRING
HERE!" />
</connectionStrin gs>

Notice that you nuke the connection string that the default provider uses,
then replace it with your connection string. This section should be added
right after the <configuratio n xmlns="...> line at the top of web.config.
Once you've done this, save web.config and attempt to use the Web Application
Tool again. It should work! I'd like to thank Microsoft for giving us all
these great new features in 2.0, and damn them to hell for turning web apps
from just another application (add a DLL project to your web app solution?
No problem! Namespaces in your classes? No problem!) into some weird
bastardized child-monster with app_code directories and crippled integration
into the IDE (I have to use a TOOL in a WEBPAGE to change settings in my
APPLICATION???) and solutions that are projects...
"mm****@tampaba y.rr.com" wrote:
I have this exact same problem. Can someone please respond?

MSDN says a simple aspnet_regiis -i will resolve any missing file
relating to the aspnet_webadmin directory, but this does not work on my
xp pro system. Maybe it only works on a system utilizing iis 6.0 (i.e.
Windows Server 2003)?

Apr 11 '06 #5
Hi all,

Just want to comment on this thread.

Seems like every discussion about this matter (setting up DB provider for
membership) and all the samples/references given by some MVPs always
refering to LOCALHOST in their solution. Aren't they all forget that people
build an ASP.NET appl are plans to host their appl in an commercial hosting
provider, whom most of them can't afford the fancy of dedicated servers -
most of them hosts on shared hosting, like me, so they just CAN'T touch or
tweak or reconfigure the IIS, or run the aspnet_regsql.e xe utility from
within their Control Panel.

Anyone of you know - or even developed - of an ASP.NET 2.0 application, runs
on the shared hosting, implemented .NET 2.0's built-in
Authentication/authorization classes 'right-out-of-the-box' runs on the
shared hosting? If so, that I might humbly (:) request your advice please.

I built one. It works perfectly. Every thing just runs smoothly, the Login
control, the new-user registration form, change password, login view, role
management. Set up all my roles and authorizations with that handy 'Website
Administration Tool'. I'm so happy. Man, I have to admit, I save a lot of
tedious works of working with that security measures in .NET 2.0 than I was
using .NET 1.1.

Then come the time to upload all those hardwork to my production server,
which is a shared hosting. And I just to face the real thing that it's not
working just like on my development machine.
I then posted this issue on forums like this (where MVPs and ASP.NET
hotshots gathers and give their valuable advice to novices and newbies like
me...), never got a definite answer that pinpoint my error or ways how to
solve the problem. Funny... coz those hotshots can answers and advices some
more advanced topics/problems easily. but just passed out on my questions.

Just a little bit dissapointed though, but still got my hope because of all
investments I made in this 6 months on this new technology.

It's just reminds me on how easy it is to do things like these with classic
ASP and with tools like Dreamweaver MX. A TRULY Drag-and-drop development
tool available that even VS2005 can't beat.

Regards,
"Juan T. Llibre" <no***********@ nowhere.com> wrote in message
news:e8******** ******@TK2MSFTN GP05.phx.gbl...
re:
If you know how to add a new provider that supports sql 2k, then you
aren't reading this.


It might be worthwhile for you to step through Scott Guthrie's tutorial
that shows you how to
configure ASP.NET to use Membership, Role Management, and Personalization
services with
SQL Server 2000 instead of SQL Express

http://weblogs.asp.net/scottgu/archi...25/423703.aspx

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
=============== =============== =====
"William Sullivan" <Wi************ *@discussions.m icrosoft.com> wrote in
message news:E0******** *************** ***********@mic rosoft.com...
I had the same problem, but found the solution.

I'm running 2k5 Team Edition, with a sql 2000 database in the back and
IE7
beta 2 in the front. I made two mistakes. The first mistake was using
the
IE7 beta. It would time out rather than show me the helpful error
messages
that the Web App Admin Tool shows when it cannot connect to the database.
Uninstalling IE7 allowed me to troubleshoot these errors. The second
mistake
was not installing SQL 2k5 Express. Why is that a mistake? Because the
default provider is configured for sql 2k5 and is incompatible with sql
2k.
It was also a mistake because it is near friggin impossible to add an
effing
provider. If you know how to add a new provider that supports sql 2k,
then
you aren't reading this. Anyhow, to get ASPNET 2.0 working with your
current
instance of sql 2000, you need to first get your sql server configured
correctly. To do this, do the aspnet_regsql.e xe thing. You'll need to
run
the correct one, which is accessible when you run the "Visual Studio 2005
command prompt". Its under Proggy files, Visual studio 2005, Visual
studio
tools. Once you've done that, you have to trick the Web App Admin tool
to
use this database rather than the nonexistant 2k5 express database (how
incredibly goddamn stupid is that?). Create a connection string to your
Sql
2000 database (make sure it works!), and add the following section to
your
website's web.config file:

<connectionStri ngs>
<remove name="LocalSqlS erver"/>
<add name="LocalSqlS erver" connectionStrin g="PUT YOUR CONNECTION STRING
HERE!" />
</connectionStrin gs>

Notice that you nuke the connection string that the default provider
uses,
then replace it with your connection string. This section should be
added
right after the <configuratio n xmlns="...> line at the top of web.config.
Once you've done this, save web.config and attempt to use the Web
Application
Tool again. It should work! I'd like to thank Microsoft for giving us
all
these great new features in 2.0, and damn them to hell for turning web
apps
from just another application (add a DLL project to your web app
solution?
No problem! Namespaces in your classes? No problem!) into some weird
bastardized child-monster with app_code directories and crippled
integration
into the IDE (I have to use a TOOL in a WEBPAGE to change settings in my
APPLICATION???) and solutions that are projects...


"mm****@tampaba y.rr.com" wrote:
I have this exact same problem. Can someone please respond?

MSDN says a simple aspnet_regiis -i will resolve any missing file
relating to the aspnet_webadmin directory, but this does not work on my
xp pro system. Maybe it only works on a system utilizing iis 6.0 (i.e.
Windows Server 2003)?


Apr 12 '06 #6
The truth is that after your website it deployed the Web Admin Tool
will not longer work. This is by design. Imagine if some anonymous
person can log on to the Web Admin tool and make configuration changes
on your website. So, the Web Admin Tool was design to give you an easy
way to configure you website during development. The Admin tool itself
uses classes in the .NET framework to make changes to your web.config.
This is a free tool provided my Microsoft. However, if you want to do
certain admin suff like add users, add roles, switch providers, etc.
You have to build your own admin section of your website just like you
did before using ASP and ASP 1.1. The only difference is that this
time, you don't have to write the business logic, and data access logic
code to to access the database or configuration file in order to make
these changes. You should strive to use the built-in .NET framework
classes provide by .NET 2.0 like the Membership and Roles API, Profiles
API, etc to manage your web applicaiton.

Apr 12 '06 #7

Seems to me a lot of people would be in this situation and re-inventing the
wheel so to speak to solve this problem. Does anyone have a basic set of web
pages that do what the security pages do in the web administration tool so we
don't have to roll our own?

Or perhaps a writeup on how to adapt the pages and components in the
security folder for use on a remote server?

I pushed the ASP.NETWebAdmin Files folder up to the server as a subfolder on
my site and tried to load the security.aspx page to no avail, so come
coaching would be helpful. We're all on deadlines and looking for shortcuts!
Thanks.
"tdavisjr" wrote:
The truth is that after your website it deployed the Web Admin Tool
will not longer work. This is by design. Imagine if some anonymous
person can log on to the Web Admin tool and make configuration changes
on your website. So, the Web Admin Tool was design to give you an easy
way to configure you website during development. The Admin tool itself
uses classes in the .NET framework to make changes to your web.config.
This is a free tool provided my Microsoft. However, if you want to do
certain admin suff like add users, add roles, switch providers, etc.
You have to build your own admin section of your website just like you
did before using ASP and ASP 1.1. The only difference is that this
time, you don't have to write the business logic, and data access logic
code to to access the database or configuration file in order to make
these changes. You should strive to use the built-in .NET framework
classes provide by .NET 2.0 like the Membership and Roles API, Profiles
API, etc to manage your web applicaiton.

Jun 18 '06 #8

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

Similar topics

0
1705
by: clintonG | last post by:
I applied aspnet_regsql to SQL2K which was working fine throughout Beta 2 development. After installing Visual Studio and SQL Express RTM my application has blown up. Logging in to the application became realllllllllllly slow. Content in LoginView Role Groups was not displaying even after a user in a role had logged in. It was taking about 15 seconds or so for the login control to display when the login link was selected on the homepage....
16
15996
by: jblankenburg | last post by:
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!
1
352
by: qwende | last post by:
I just tried to manage individual pages using the website administration tool, but instead of seeing the individual pages I only see individual folders when looking at my website via the tool. How do I set access roles using this utility for individual pages? This is what I do: 1) From VS: WebSite > ASP.Net Configuration 2) Click the 'security" link on the WebSite Administration main page, 3) Click "create access rules" on the page...
2
2509
by: keithb | last post by:
Can someone suggest a course of action? Thanks, Keith Using the ASP.NET Website Administration tool to set up security, I get the following error message: An error was encountered. Please return to the previous page and try again. The following message may help in diagnosing the problem: Specified argument was out of the range of valid values. Parameter name: site at...
4
2896
by: John | last post by:
Hi Can ASP.NET 2.0 Website Administration Tool be packaged with an application so clients can manage their own users? If not is an alternative available? Thanks Regards
3
2790
by: =?Utf-8?B?SGVyYg==?= | last post by:
Can I use the Website Administration tool to manage users and roles for multiple ASP.NET applications using a single, common ASPNETDB? If so, what changes do I have to make to the web.config files for these various applications to allow authentication from that single ASPNETDB. I'd also like to be able to maintain the users/roles and application access from the web server rather than from my development computer. Right now it seems...
5
3016
by: daveh551 | last post by:
What, from a high level point of view, is the difference (in Visual Studio 2005) between Website (accessed with Open Website or Create Website from the StartPage) that is an ASP.NET Website, and a Project that is created with the "ASP.NET Application" template? I see some obvious differences: the Project creates the working folder under the Visual Studio 2005\Projects directory, while the Website creates it in the Inetpub\wwwroot...
2
1640
by: Wayne Smith | last post by:
Applies to: Visual Studio 2008 Professional Hi everyone, I'm in the middle of creating a website with VS2008 and I'm trying to integrate a user registration/login section on the website but I've come up against a small problem. I've configured the database and set up a test user through the ASP.NET Website Administration Tool (Website ASP.NET Configuration), I've created a user registration page and a user login page but when I try to...
0
1020
by: dm1608 | last post by:
I understand the concept of the WAT tool for ASP.NET. It seems to work well when used from a developer PC and launching thru Visual Studio 2005, etc. The coolness of Membership, Roles, etc., quickly fade as I try and deploy a website using these technologies.... I have inhereted a website that I need to host that contained a bunch of pre-compiled web pages and assemblies using .NET 2.0. The author said that I need to run the...
0
9944
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9793
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11151
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10752
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10858
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
10420
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7974
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
2
4225
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3238
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.