473,320 Members | 2,158 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,320 software developers and data experts.

varUser drops first character when using active directory account

I have come across an interesting problem. Let me first state that I
am not a fluent ASP programmer. I am a network engineering trying to
port an existing app. The app in question is currently running on IIS
5.0 (2Kserver) in a NT 4.0 domain. I am moving it to an IIS 6.0 server
in a 2003 Active Directory domain.

My app calls this variable <%= varUser %> and brings the users login
name to the web page as well as using it to pull data specfic to that
user in other parts of the web page. When logging in as a NT 4.0
domain user all is fine. When logging as an Active Directory user is
drops the first character of the user name example "ser" instead of
"user". Any ideas?
Jul 22 '05 #1
2 1425
You need to find the part where varUser is assigned. Something in there is
not right.

"Greg Buckley" <gr**@netrixsolutions.net> wrote in message
news:90************************@posting.google.com ...
I have come across an interesting problem. Let me first state that I
am not a fluent ASP programmer. I am a network engineering trying to
port an existing app. The app in question is currently running on IIS
5.0 (2Kserver) in a NT 4.0 domain. I am moving it to an IIS 6.0 server
in a 2003 Active Directory domain.

My app calls this variable <%= varUser %> and brings the users login
name to the web page as well as using it to pull data specfic to that
user in other parts of the web page. When logging in as a NT 4.0
domain user all is fine. When logging as an Active Directory user is
drops the first character of the user name example "ser" instead of
"user". Any ideas?

Jul 22 '05 #2
> My app calls this variable <%= varUser %> and brings the users login
name to the web page as well as using it to pull data specfic to that
user in other parts of the web page. When logging in as a NT 4.0
domain user all is fine. When logging as an Active Directory user is
drops the first character of the user name example "ser" instead of
"user". Any ideas?


Any chance you can isolate the line(s) of ASP code where varUser is
populated / manipulated? You can use Visual Studio or other editors to do a
find in files to figure out which ASP file(s) use this value...

We can't really guess what's going on if we can't see the code, just like
your mechanic can't diagnose your engine problem very well if you don't
bring your car...

--
http://www.aspfaq.com/
(Reverse address to reply.)
Jul 22 '05 #3

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

Similar topics

6
by: Jason | last post by:
Sorry for the post here but could not find an Exchange newgroup. I developed an application a year or 2 ago that sends SMTP email. The application allows the user to customize the text from...
0
by: Henning Kristensen | last post by:
Hi I need a little help with some VB.Net code.. I am pulling my computer's GUID out using WMI Dim wmiObj As New System.Management.ManagementObjectSearcher("SELECT UUID FROM...
7
by: Sync Walantaji | last post by:
Hi, I would like to write a asp.net winform program to authenticate users on Active Directory. Can I do this with asp.net if the IIS server is not part of the Active directory domain? Is...
11
by: Richard Myers | last post by:
Hello Im sure many of you have seen this error message before: For us its the third time this year. This error occurs seemingly at random. I have no idea what causes it too happen. None....
1
by: Rod | last post by:
We've implemented forms authentication with Active Directory. We're slowly working on converting our Crystal Reports' reports from a VB6 application into Crystal Reports for .NET in our ASP.NET...
3
by: jimmyfishbean | last post by:
Hi, My client has the following network structure: 2 Windows 2003 servers : Server 1 - Web server running IIS, ftp import and export folder, ASP.NET SOAP web service and asp code on here....
3
by: Lucky | last post by:
Hi guys, after long long time. i'm back again with another problem. this time i think the problem is very very interesting and i really need you help on this. i'm trying to connect to the...
3
by: Jay-nospam | last post by:
Hi there, I am having trouble getting an ASP.NET web application to connect to another computer and passing the proper credentials and I hope someone can help me. I have a stand-alone Windows...
5
by: Michael Howes | last post by:
I'm writing a utility to manage a machines *local* accounts in c# I am getting all the users in a specific Group just fine but when I want to get some of the information on each user from their...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
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: 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...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
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
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.