Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

LookupAccountName failed. Error 1332
RobWalker
#1 Posted : Saturday, November 16, 2013 12:58:30 PM(UTC)
Groups: Member
Joined: 11/16/2013(UTC)
Posts: 10
Location: Canada

I am using the UltiDev server to provide an 'offline' version of a site that people can run locally when disconnected.

I have a wrapper app that starts the server, and it mostly works good. A couple of people are running into issues that appear to be related to launching the server and generate a popup message box with the title 'Failure to Launch' and body text "LookupAccountName failed. Error 1332"

The web server is running at this point, but the only message in the log appears to be "Starting hosting ..."

Any suggestions on how best to go about trouble shooting this? So far I've been unable to reproduce the problem locally.
Ultidev Team
#2 Posted : Saturday, November 16, 2013 7:27:48 PM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hello, Rob.

In order to help you we'd need a little more detail, like which version of the web server (and product line Cassini/UWS) you are running. What is the wrapper that starts the server, i.e. do you register an application, or you host applications using interactive hosting? Also, if you could attach any screenshots of the error to your next post, that would be very helpful. Finally, if your users could export Windows Event Log as an EVTX file, that might help troubleshooting quite a bit too.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
RobWalker
#3 Posted : Monday, November 18, 2013 8:53:49 PM(UTC)
Groups: Member
Joined: 11/16/2013(UTC)
Posts: 10
Location: Canada

Thanks -- that wasn't a particularly detailed error report!

I'm using UltiDev Web Server Pro 2.0.19

The wrapper app is a .NET 4 application that handles background updates to our web app, and provides a few control

functions (access to logs, deleting cached data).

It mainly just launches UWS.InteractiveServer.Clr4x86.exe with the command line:
/port=9001 "/path=(location of web folder under %APPDATA%)" /vdir=/ /browser=nobrowser

The wrapper runs with elevated permissions

I haven't been able to reproduce the problem, but I've uploaded a (literal) screenshot that I received: https://s3.amazonaws.com...bucket/ultidev-1332.PNG

I've also heard that stopping and restarting will 'fix' the problem intermittently -- may take multiple attempts.

The problem has been reported on both XP Pro SP3 and Win7 x64 Pro (fresh install, not in a domain)

I'll try and get the event log details.

Thanks for your help!
Ultidev Team
#4 Posted : Tuesday, November 19, 2013 9:31:14 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hi, Rob.

Thank you for additional details. Although we never had this error reported before, we'll do our best helping you with troubleshooting it. We looked up who else was having this problem, and it appears to be fairly obscure one, maybe having to do with some specific OS and/or hardening approach used in the organization.

Event Log files would be helpful. We have a how-to post on how to submit it.

If making users collect event log is too complicated, you could ask them to place attached .config file into the "C:\Program Files\UltiDev\Web Server" folder, *temporarily* replacing the existing one, and then reproducing the problem and collecting the "UWS.AppHost.Clr4x86.txt" file.

Best regards,
UltiDev Team.
File Attachment(s):
UWS.AppHost.Clr4.x86.exe.zip (1kb) downloaded 95 time(s).
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
RobWalker
#5 Posted : Tuesday, November 19, 2013 9:57:22 PM(UTC)
Groups: Member
Joined: 11/16/2013(UTC)
Posts: 10
Location: Canada

Thanks for the suggestions.

After some trial and error I was able to reproduce the error. Turns out that in both (independent) cases the machine name had been changed after installing. Ironically we'd only switched to trying out the UltiDev server recently, so having two reports of the same obscure error within 24 hours made me assume it was something more fundamental.

I got the same error by installing the server, then changing the machine name and rebooting. In one case I know the machine was actually removed from a domain rather than renamed, but presumably this has the same effect.

Running the 'Repair Server Configuration' option doesn't fix the issue. With the logging turned on there is nothing in the log beyond the 'Starting hosting...' line

Clearly this isn't a common use case ... I was just unlucky enough to run into it twice at once! Still, it might be helpful if the error message could be popped up with the principal name that was being attempted ... that probably would have made the cause more obvious.

Digging around in the configuration files & registry also couldn't identify anywhere that was caching a name, but I must have missed it. It would be a bonus if the repair tool could redo whatever was caching the credentials.

But hopefully anyone running into it in the future will find this via Google ...

Thanks for a great embeddable web server. After fighting with IIS Express for a year or so this is proving much more pleasant!

Ultidev Team
#6 Posted : Tuesday, November 19, 2013 10:54:08 PM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Rob,

Thank you much for detailed investigation and helpful workaround information. It will be very helpful for others who comes face to face with this problem.

We are adding exception handling to add more information regarding which user account causes this problem. We'll add this change to the upcoming build 20 of UWS.

Thank you again for your detailed feedback that benefits users' community.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
RobWalker
#7 Posted : Wednesday, November 20, 2013 12:25:58 AM(UTC)
Groups: Member
Joined: 11/16/2013(UTC)
Posts: 10
Location: Canada

Wow -- thanks for the amazingly fast response!

Using the new build it reports the error:
LookupAccountName buffer length detection failed for user "iewinxpzz\ieuser". Win32 Error: 1332

Which definitely helps with diagnosis.

Interesting the machine name isn't iewinxpzz ... nor was it when the software was installed.

Initially the machine was iewinxp, it was then changed to iewinxpzz and then again to something else. Not sure why the iewinxpzz value is sticking, changing it repeatedly again doesn't change the result. Seems to survive an install/uninstall cycle too .. and I can't find that string in the registry anywhere - no idea where it is still coming from!
Ultidev Team
#8 Posted : Wednesday, November 20, 2013 9:11:54 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hi, Rob.

We will see if there is a way of ensuring that updated computer name is used in those kinds of operations.

Thank you much for additional information!

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Guest
#9 Posted : Friday, March 30, 2018 9:19:47 PM(UTC)
Groups:

Message was deleted by a Moderator.
Rss Feed  Atom Feed
Users browsing this topic
Guest (5)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.