![]() |
|
|
|||||||
![]() |
ASP Net - No Web Site Administration Tool after Deployment?? |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
Posts: n/a
|
I am finding this hard to believe...
Is there really no way to access the Web Site Administration Tool when a site is deployed? I know I can open it on my local computer running VS.Net, but what about live production sites that are supposed to use this technology? Do I have to write my own interface to do everything the developer tool already does? |
|
|
|
#2 |
|
Posts: n/a
|
In case anyone comes across this...
Q: Can you use a version of the WSAT with a production website? A: No Q: Doesn't this mean that the Membership/Roles/Login stuff with ASP.NET 2.0 is pretty much useless? A: Yes, unless you are going to create your own custom providers. What a waste. |
|
|
|
#3 |
|
Posts: n/a
|
I always wondered about this; but not had the chance to check this out.
So, you mean after your site is deployed and lets say, you need to modify a role for a user, you can't do this remotely? So, in other words, you sill have to buid your own Admin section to manage your users? If so, wow. I never saw that coming after all the hype of 75% less code. |
|
|
|
#4 |
|
Posts: n/a
|
Exactly!
Unless you can use visual studio as the front end to attach to the data store where you are keeping your users and roles, you can't do anything after you put your website into production (unless you write all the code to deal it). So I guess you can reuse some stuff like maybe the SPs that are generated and whatever, but in my case it would be faster for me to just code it from scratch than to figure out their SPs and schema. |
|
|
|
#5 |
|
Posts: n/a
|
Exactly!
Unless you can use visual studio as the front end to attach to the data store where you are keeping your users and roles, you can't do anything after you put your website into production (unless you write all the code to deal it). So I guess you can reuse some stuff like maybe the SPs that are generated and whatever, but in my case it would be faster for me to just code it from scratch than to figure out their SPs and schema. |
|
|
|
#6 |
|
Posts: n/a
|
After doing some research on this it seems like You can call into the
Roles API and Membership API through code, so, if you need to be able to add, delete, or modify roles and users then you would have to create an admin section where you have to create the UI to perfom this functionality. Its the same way you would do it in 1.1, however, the only difference is that you don't have to write the database code to add a role, delete a role, add a user, delete a user, etc...all you have to do is use the Membership and Role API to do this. |
|
|
|
#7 |
|
Junior Member
Join Date: Jun 2006
Posts: 1
|
Wow.
I can't believe it. I just was looking around for a way to deploy WSAT with my app to allow administration the ability to administer the access rights.. Bizarre that MS didn't allow this tool to be deployed...I KNOW that our users are NOT going to edit the web.config file or open VS2005 to get to the dad-gummed WSAT.. not good.. guess I have to write another tool... any ideas? thanks. doug |
|
|
|
|
|
#8 |
|
Junior Member
Join Date: Jul 2008
Posts: 1
|
Look, you will not find this answer anywhere on the internet or at least I didnt but here is your solution:
On the production box in which you want to configure membership roles, users, etc goto: (Assumes .net 2.0 is setup which it needs to be) C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\ASP. NETWebAdminFiles or whatever your path is. That is the website used for the Website Administration of aspnet membership roles, etc. Setup a virtual directory or new website on your production server (assumes dedicated or virtual server but shared server would probably work if you have access to the path) Make sure it is setup as .net 2.0 site and is its own application Call the website and pass the applicationPhysicalPath on the QueryString to the root of your application (where the web.config is) http://localhost:81/<virtual site name>/default.aspx?applicationPhysicalPath=C:\Inetpub\ww wroot\MyWebSite\&applicationUrl=/ Thats it... You can now configure your production sql server with new roles, etc. |
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Site to Site VPN duplicate subnets | chuckbudreau | Hardware | 6 | 10-22-2009 07:36 PM |
| Which is better for reporting tool: open source or charge? | freezea | Software | 0 | 05-21-2009 01:10 PM |
| Slowness of site to stie VPN | aung | Hardware | 0 | 11-24-2008 06:36 AM |
| Top 15 Best Useful Site Picks | kristopher@anonymous.to | DVD Video | 0 | 07-18-2005 06:07 AM |
| The Non-Arguable Case Against the Bush Administration 1 | Sara | DVD Video | 65 | 11-07-2004 01:42 AM |