VS.Net config

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

Is it possible to develop apps using VS.NET on this setup:

Windows 2000 Workstatio
Visual Studio .NET 200
IIS
Logged as an authenticated user (not member of any admin groups but member of Debugger Users and VS Developers)

I'm asking this because it's the setup students have to work with and after googling and reading posts in this forum i'm still having a hard time getting VS.Net to work properly

Thanks
 
¤ Hi!
¤
¤ Is it possible to develop apps using VS.NET on this setup:
¤
¤ Windows 2000 Workstation
¤ Visual Studio .NET 2003
¤ IIS 5
¤ Logged as an authenticated user (not member of any admin groups but member of Debugger Users and VS Developers).
¤
¤ I'm asking this because it's the setup students have to work with and after googling and reading posts in this forum i'm still having a hard time getting VS.Net to work properly.

You may want to identify what kind of problems you are encountering. There shouldn't be any issues
with the configuration you specified.


Paul ~~~ (e-mail address removed)
Microsoft MVP (Visual Basic)
 
I have trouble configuring the web development part of VS.NET

Every time i try to execute a web application i get the message "Unable to start debugging on the web server. Access denied.

Users are members of the Debugger Users and VS Developers groups
Changed the security settings of the .NET FRAMEWORK folder to full control for these two groups
Added the wwwroot$ share.

The applications are working fine when i run them as an administrator and i'm testing using the samples given with VS.NET

I read somewhere that the users must be members of the administrator group to be able to debug ASP.NET applications. Is it true

Thanks!
 
¤ I have trouble configuring the web development part of VS.NET.
¤
¤ Every time i try to execute a web application i get the message "Unable to start debugging on the web server. Access denied."
¤
¤ Users are members of the Debugger Users and VS Developers groups.
¤ Changed the security settings of the .NET FRAMEWORK folder to full control for these two groups.
¤ Added the wwwroot$ share.
¤
¤ The applications are working fine when i run them as an administrator and i'm testing using the samples given with VS.NET.
¤
¤ I read somewhere that the users must be members of the administrator group to be able to debug ASP.NET applications. Is it true?

Is this happening on local machines? You may want to take a look at the following:

PRB: Cannot Debug ASP.NET Web Application
http://support.microsoft.com/default.aspx?scid=kb;EN-US;318465

or the following:

INFO: Common Errors When You Debug ASP.NET Applications in Visual Studio .NET
http://support.microsoft.com/?id=306172


Paul ~~~ (e-mail address removed)
Microsoft MVP (Visual Basic)
 
Yes, students are developing locally

Unfortunately, i've already gone trough these docs and it did not help. The command aspnet_regiis -i needs admin rights to be run (and everything is working fine when i'm logged as an administrator)

Also i tried to create a new ASP.NET web application logged as a student and i get the "Unable to put files in an executable folder" error. And it's quite normal, since as users, they have no access to IIS and can't change Web server permissions

In the end, everything seems to need admin rights to work properly. Is it really possible to develop ASP.NET web applications using VS.NET 2003 (and debugging them) without being member of the administrator group

Thanks
 
¤ Yes, students are developing locally.
¤
¤ Unfortunately, i've already gone trough these docs and it did not help. The command aspnet_regiis -i needs admin rights to be run (and everything is working fine when i'm logged as an administrator).
¤
¤ Also i tried to create a new ASP.NET web application logged as a student and i get the "Unable to put files in an executable folder" error. And it's quite normal, since as users, they have no access to IIS and can't change Web server permissions.
¤
¤ In the end, everything seems to need admin rights to work properly. Is it really possible to develop ASP.NET web applications using VS.NET 2003 (and debugging them) without being member of the administrator group?

OK, well since I don't really know how these machines are configured here is another article that
you may want to check into:

Error: Unable to Start Debugging on the Web Server
http://msdn.microsoft.com/library/d.../en-us/vsdebug/html/vxtbshttpservererrors.asp


Paul ~~~ (e-mail address removed)
Microsoft MVP (Visual Basic)
 
I modified some security settings in IIS and configured the machine.conf file to run aspnet_wp.exe under my test user account and it's seems to be working. Yay

But, i don't really like the idea of 22 students typing their password in clear text in a config file to be able to debug web apps. There are eyes everywhere!!!

At least, they don't need admin rights. :

Are you aware of a way to make this workaround more secure

I could create a script that would replace the machine.config at every login to prevent students from stealing the password of the previous user.

Thanks!
 
¤ I modified some security settings in IIS and configured the machine.conf file to run aspnet_wp.exe under my test user account and it's seems to be working. Yay!
¤
¤ But, i don't really like the idea of 22 students typing their password in clear text in a config file to be able to debug web apps. There are eyes everywhere!!!!
¤
¤ At least, they don't need admin rights. :)
¤
¤ Are you aware of a way to make this workaround more secure?

Unfortunately no. In most circumstances developers tend to have Administrator privileges on their
machine. It's rather difficult to lock down a machine when a developer on that machine typically
requires extensive access to the features of the environment.


Paul ~~~ (e-mail address removed)
Microsoft MVP (Visual Basic)
 
Back
Top