Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_beginners thread: IIS 4.0 virutal directory create using ASP


Message #1 by "Saqib Ilyas" <msaqib@i...> on Wed, 4 Jul 2001 18:01:14
I got this sample from the MS website, and placed it in test.asp on my ASP 

website. It did not work from my regular virtual directory under wwwroot. 

It gave me a permission denied error on GetObject. I looked up the error 

and it's causes. I am using NT 4.0 and IIS 4.0 btw. When I placed this 

file in winnt\system32\inetsrv\iisadmin and used the following lines:



url="http://localhost:3953/iisadmin/test.asp?uid=" & user 

url=url & "&pwd=" & pass 

response.redirect(url)



It worked. But the problem is when I open the site from any other 

computer, it would not work, probably because I am using "localhost" there.

The situation is that I must let a whole lot of people create a website on 

the IIS in connection with a course being taught. I dont wish to create 

Windows NT user accounts for them, but I would, if I have to. Can someone 

think of a solution?



Message #2 by Muddassira Arshad <muddassira_qau@y...> on Thu, 5 Jul 2001 00:58:17 -0700 (PDT)
Your Windows NT Server(on which u r doing ur work)

must be having some name. (Machine name/server name )

Use the machine name instead of local host.Your

problem will be solved

e.g. change

url="http://localhost:3953/iisadmin/test.asp?uid=" &

> user 

> url=url & "&pwd=" & pass 

> response.redirect(url)

to

url="http://SERVER_NAME:3953/iisadmin/test.asp?uid=" &

> user 

> url=url & "&pwd=" & pass 

> response.redirect(url)



good luck



--- Saqib Ilyas <msaqib@i...> wrote:

> I got this sample from the MS website, and placed it

> in test.asp on my ASP 

> website. It did not work from my regular virtual

> directory under wwwroot. 

> It gave me a permission denied error on GetObject. I

> looked up the error 

> and it's causes. I am using NT 4.0 and IIS 4.0 btw.

> When I placed this 

> file in winnt\system32\inetsrv\iisadmin and used the

> following lines:

> 

> url="http://localhost:3953/iisadmin/test.asp?uid=" &

> user 

> url=url & "&pwd=" & pass 

> response.redirect(url)

> 

> It worked. But the problem is when I open the site

> from any other 

> computer, it would not work, probably because I am

> using "localhost" there.

> The situation is that I must let a whole lot of

> people create a website on 

> the IIS in connection with a course being taught. I

> dont wish to create 

> Windows NT user accounts for them, but I would, if I

> have to. Can someone 

> think of a solution?




  Return to Index