473,327 Members | 1,979 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,327 software developers and data experts.

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\wwwroot\aspnet_webadmin\, which i do not have on my system.

I do not have that, but DO have a
C:\Inetpub\wwwroot\aspnet_client\system_web\2_0_50 727

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 4012
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.exe 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:

<connectionStrings>
<remove name="LocalSqlServer"/>
<add name="LocalSqlServer" connectionString="PUT YOUR CONNECTION STRING
HERE!" />
</connectionStrings>

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 <configuration 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****@tampabay.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.microsoft.com> wrote in message
news:E0**********************************@microsof t.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.exe 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:

<connectionStrings>
<remove name="LocalSqlServer"/>
<add name="LocalSqlServer" connectionString="PUT YOUR CONNECTION STRING
HERE!" />
</connectionStrings>

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 <configuration 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****@tampabay.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.exe 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**************@TK2MSFTNGP05.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.microsoft.com> wrote in
message news:E0**********************************@microsof t.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.exe 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:

<connectionStrings>
<remove name="LocalSqlServer"/>
<add name="LocalSqlServer" connectionString="PUT YOUR CONNECTION STRING
HERE!" />
</connectionStrings>

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 <configuration 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****@tampabay.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.NETWebAdminFiles 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
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...
16
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...
1
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...
2
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...
4
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
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...
5
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...
2
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...
0
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.,...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
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...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
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.