Avatar of VBdotnet2005
VBdotnet2005
Flag for United States of America asked on

asp.net Windows authentication

I am trying to use Windows authentication like this sample. I got it to work. However, when I tried to use Root.master, I got this broken link on top of my left page? Please see images and code file. Once I login, I can see my whole menu site as normal. What should I do?
Sample
2015-11-03_11-00-39.png
aspx.txt
2015-11-03_11-12-54.png
ASP.NETVisual Basic.NETC#

Avatar of undefined
Last Comment
John Gates, CISSP, CDPSE

8/22/2022 - Mon
VBdotnet2005

ASKER
Any thoughts?
John Gates, CISSP, CDPSE

Yes.  What happens when you publish this website to an actual IIS server (not vs host) ?
VBdotnet2005

ASKER
Hi John,
I got the same result.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
John Gates, CISSP, CDPSE

for the image path: ImageUrl="~/Images/aspen.gif"

Change it to: ImageUrl="/Images/aspen.gif"


That should render the graphic.

-D-
VBdotnet2005

ASKER
It works!!!
John Gates, CISSP, CDPSE

Good deal glad to help

-D-
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
ASKER CERTIFIED SOLUTION
John Gates, CISSP, CDPSE

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
VBdotnet2005

ASKER
If you can, i also need help on this question.question.
VBdotnet2005

ASKER
Thank you John
John Gates, CISSP, CDPSE

I will take a look this morning and let you know :)
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes