Solved

How do you change your login to Visual Studio.NET.

Posted on 2004-10-18
8
147 Views
Last Modified: 2013-12-24
I have an application that was developed in Visual Studio.NET.  It has been deployed on a server running Windows Server 2003 which is accessed through our Intranet.  There is a page in the application that has a user control with custom navigation buttons on it.  They use the buttons to move back and forth between records.  All works well until they click on the New Record button.  At that point they are asked to login again but when they do the login dialog keeps popping up.  The application uses Window authentication. If they hit the cancel button they blank page is presented as it should be.  When I login this issue doesn't occur so I'm assuming it is some sort of permissions issue.

I want to remotely debug the application however when I open up Visual Studio it automatically logs me in as my account.

Is there anyway for me to log into Visual Studio under another account so I can try debugging it using that accounts permissions?
0
Comment
Question by:leskelly
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
  • +1
8 Comments
 
LVL 4

Expert Comment

by:mikosha
ID: 12509096
What's a problem ? :)
Log in to windows as another user , run visual studio and start to work as usual , but under security permissions of the user you've loged in ...
Or may be I cannot get something ?
0
 

Author Comment

by:leskelly
ID: 12523173
Hi Mikosha,

Thanks for you comment.  I don't want to be logged into Windows as another user as I would like to still have my resources available to explore the issue.  When I had first installed Visual Studio I would have to log into it but know it no longer gives me that option.  I've resolved the permissions issue that I mentioned in my original message but I would still like to know how to do this for future issues
0
 
LVL 4

Expert Comment

by:mikosha
ID: 12537115
Hi,
I think in any case , if you want to debug your application with any user ,this user has to be in "Debugger Users" group ,that means it will have much more permissions then other users accessing web application.
So you will not be able to see what actual user see ,when you're in debug mode, becouse actual user should not have permissions to debug.
Anyway ,look here on possible debugging issues solutions:
http://weblogs.asp.net/mkpark/articles/86872.aspx

Hope this will help.
About my first post - BS, sorry. Let's say I was tired:)
0
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 
LVL 7

Expert Comment

by:smolam
ID: 12554055
I would suggest if you want to see what the other user is seeing you could change the IIS authentication mode to basic and take off windows authentication, this will then prompt you to be able to login as the user you want to debug and go from there.  I think you would still have to do as mikosha says and give that user debugging rights though.
0
 

Author Comment

by:leskelly
ID: 12554592
Thanks for the suggestion but if in the situation I described and others I would need to see what is happening in the authentication method the user would actually be using.  Also this application is currently in beta testing but will soon be in production mode.  I would not want to change the authentication method under those conditions.  Anyway I've decided to change to forms authentication against Active Directory.  This way the user will always be asked to log in.  Anyone who is interested in this procedure should follow this link:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;326340
0
 
LVL 7

Expert Comment

by:smolam
ID: 12554902
Yeah I wasn't saying to change it permanently but temporarily so that you are infact impersonating that user for testing purposes.  Another way, talking about that, is to use .Net Impersonation??
0
 

Accepted Solution

by:
ee_ai_construct earned 0 total points
ID: 12589415
Question answered by asker or dialog valuable.
Closed, 400 points refunded.
ee_ai_construct (replacement part #xm34)
Community Support Admin
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
I need a solution to a Webpage for Wholesale Availability. 11 56
Timer 6 99
Dreamweaver server behavior gone 6 162
javascript to html map 8 112
When setting up new project requests for our site, one of the most powerful tools our team has available to use is Axure (http://www.axure.com/). It’s a tool for creating software and web prototypes that can function and interact as if it were the a…
Introduction In this tutorial, I'll explain how to create an animated progress meter in a wireframe prototype developed using Axure RP 7.0 - a leading prototyping tool for designing web sites and software. (For more information about Axure and gett…
The purpose of this video is to demonstrate how to manually back up a WordPress Database. This will be demonstrated using a Windows 8 PC. The Host used will be IPage.com Log into your Hosting account. IPage will be used for demonstration : Locat…
The purpose of this video is to demonstrate how to update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question