473,623 Members | 2,453 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1442
You need to find the part where varUser is assigned. Something in there is
not right.

"Greg Buckley" <gr**@netrixsol utions.net> wrote in message
news:90******** *************** *@posting.googl e.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
2625
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 address. is "My Custom Name" Jason@Yahoo.com. When the email was received into my companies Exchange 5.5 mail system the custom name was kept intact. Now that
0
352
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 Win32_ComputerSystemProduct" Dim objMgmt As System.Management.ManagementObjec Dim MyByteGuid As Byte( Dim MyStringGuid As Strin Dim MyGuid As Gui For Each objMgmt In wmiObj.Ge
7
5212
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 there a working example link that you can point me to? Thanks
11
1808
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. Question 1: Do you?
1
1777
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 application. So far, we've got 2 done but we have several more to go. Anyway, we've discovered something which is pretty irritating for our users. When they go to any of the Crystal Reports for .NET and view it, they can see it just fine. ...
3
1603
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. Server 2 - SQL server with database on. Want to store images on here accessed via a share.
3
11290
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 Active Directory. for that i've added one linked server to connect to the active directory. and then query like this: adding linked server:
3
2612
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 2003 Server, ServerA, running as a Web Server that uses ASP.NET. The default.aspx file tries to access a file in a share on another computer, ServerB. ServerA and ServerB are on the same domain and are both running Windows 2003 Server.
5
13195
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 Properties collection I can't get the properties on some users. For example, I get all the users that are part of my machines Administrators Group. I get get the properties of the built in local Administrator account and some local IT account,...
0
8670
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8613
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8326
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8469
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7150
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6106
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4074
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4164
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2602
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.