View Full Version : How are you using ASP.NET configuration UI?
pradeep
03-19-2006, 10:57 AM
ASP.NET configuration pages depend on the availability of underlying database that is being used for the website. This works great when the database is in the local domain. However, if you host your website, how are you managing your ASP.NET configuration options? Specifically, I am looking at setting up roles for members, customers, etc.
Thank you in advance for enlightening me.
Pradeep
Buzzmaster
03-20-2006, 07:29 AM
If believe you are referring to the settings on your site hereat Discount or another host, correct?
I have pondered this same issue before, and it is really quite simple... If in VS 2005, locally, just change the connection string in your web.config file to you SQL sever on DiscountAsp.net, and then run the ASP.NET Configuration utility in VS 2005. Bingo! This is also true for running the Membership setup utility, aspnet_regsql.exe. Just point it to your database on DiscountAsp.Net when running through the wizard and, Bingo! You're in business.
I made a slight assumption here as stated in the first line of my reply, so I can only hope that this is what you mean.
Good Luck,
BZ
joelnet
03-20-2006, 11:44 AM
[quote]Haven't tried this myself but...
[quote]http://forums.asp.net/1155428/ShowPost.aspx
[quote]
khaivq said...
I have been able installed WebAdminTool for Production Servers using the following steps:
Create a virtual directory ASP.NETWebAdminFiles in IIS that point to C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\ASP. NETWebAdminFiles
Open properties windows of the new virtual directory, make sure that it is configured to run with ASP.NET 2.0, and in Security tab, uncheck Anonymous Access, check Integrated Windows Authentication.
After that, you will be able to connect to WebAdminTools using the following syntax
http://localhost/ASP.NETWebAdminFiles/default.aspx?applicationPhysicalPath=XXX&applicati onUrl=/YYY
in my case, it is:
http://localhost/ASP.NETWebAdminFiles/default.aspx?applicationPhysicalPath=D:\Tasks\Libr anyon\Photonyon\&applicationUrl=/Photonyon
Although I don't recommend to do it, if you want to access WebAdminTool from other computer, open WebAdminPage.cs from (C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\ASP .NETWebAdminFiles\App_Code) and comment the following code block
if (!application.Context.Request.IsLocal) {
SecurityException securityException = new SecurityException((string)HttpContext.GetGlobalRes ourceObject("GlobalResources", "WebAdmin_ConfigurationIsLocalOnly"));
WebAdminPage.SetCurrentException(application.Conte xt, securityException);
application.Server.Transfer("~/error.aspx");
}
WebAdminTool still be protected by Intergrated Windows Authentication, so you still some have some defense here.
Joel Thoms
DiscountASP.NET
http://www.DiscountASP.NET
bruce
03-21-2006, 08:31 AM
also review this KB article
http://kb.discountasp.net/article.aspx?id=10413
Bruce
DiscountASP.NET
www.DiscountASP.NET (http://www.DiscountASP.NET)
vBulletin® ©Jelsoft Enterprises Ltd.