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

programmaticaly changing the default directory page

rvj
Anyone know if its possible to create an ASP script to reset the default
page of a particular directory
Aug 3 '08 #1
4 1776
rvj wrote on 03 aug 2008 in microsoft.public.inetserver.asp.general:
Anyone know if its possible to create an ASP script to reset the default
page of a particular directory
What do you mean with resetting a page?

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Aug 3 '08 #2
rvj
simply access IIS directory records and replace an existing document name
for the specified directory

even if that means removing any existing default document names
and then insert a new default document name

eg change the default document name from x.htm to y.xml

"Evertjan." <ex**************@interxnl.netwrote in message
news:Xn********************@194.109.133.242...
rvj wrote on 03 aug 2008 in microsoft.public.inetserver.asp.general:
>Anyone know if its possible to create an ASP script to reset the default
page of a particular directory

What do you mean with resetting a page?

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

Aug 3 '08 #3
"rvj" <rv*@rolemodels.netwrote in message
news:ug**************@TK2MSFTNGP03.phx.gbl...
Anyone know if its possible to create an ASP script to reset the default
page of a particular directory

It can be done use ADSI apis but the security context underwhich the script
runs will need to be at least an operator or even an administrator. IOW
the anonymous user will not do.

--
Anthony Jones - MVP ASP/ASP.NET
Aug 3 '08 #4
rvj
thanks again

"Anthony Jones" <An*@yadayadayada.comwrote in message
news:eD****************@TK2MSFTNGP06.phx.gbl...
"rvj" <rv*@rolemodels.netwrote in message
news:ug**************@TK2MSFTNGP03.phx.gbl...
>Anyone know if its possible to create an ASP script to reset the default
page of a particular directory


It can be done use ADSI apis but the security context underwhich the
script
runs will need to be at least an operator or even an administrator. IOW
the anonymous user will not do.

--
Anthony Jones - MVP ASP/ASP.NET


Aug 4 '08 #5

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

Similar topics

8
by: whtevr | last post by:
Consider this HTML on an ASP page called default.asp in a virtual directory: <FORM name="Flogin" id="Flogin" action="" method=post> </FORM> Do I HAVE to put the literal "default.asp" into the...
2
by: Jon Booth | last post by:
I am using ascx controls to build headers and footers for my wbe application. 3 questions 1) How do I set it so that when I create a new web form created inherits from my SecurePage class and...
1
by: Mauricio | last post by:
Hi, I´m building an application that uses Forms Authentication. By default, when I enter into the application without specifing a file, the default page that is loaded after the logon...
9
by: gopi | last post by:
when installing db2, it only asks for installation directory and does not ask where it is going to store data files. how can i change the default directory after installation.
5
by: pb | last post by:
Do anyone know how to change the .aspx extension to something else, say ..sssx, for all or part of a ASP.NET 2.0 site? I recall a Microsoft article on this some time ago, but I cannot locate it.
4
by: Gordowey | last post by:
I do know if this is the right Group to post this question.... well, here I go.. I would like to know how can i do this I would like to let my users typing ONLY "www.mysite.com/sp", to do...
4
by: Nobody | last post by:
Hi, I'm using ASP.NET w/ Visual Studio 2005 and the .net development server... how do I set the default start up page? right now when I go to http://localhost/WebSite I get a directory listing....
1
by: Sylvie | last post by:
I am Developing a web application and reading connection strings from Web.Config file, How can I write appSettings keys programmaticaly via a web page ? Thanks <?xml version="1.0"?> ...
3
by: dbuchanan | last post by:
Here is part of the web.config - it is given to me like this. ======================= <configuration> <appSettings/> <connectionStrings> <add name="MyConnectionName" connectionString="Data...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
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: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
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

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.