Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 375739
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T14:31:53+00:00 2026-05-12T14:31:53+00:00

I have a Winform App that I deploy with ClickOnce that installs and works

  • 0

I have a Winform App that I deploy with ClickOnce that installs and works for me(my UserLogin) on any system in our Domain but will not start up for a regular Domain User.

It doesn’t produce any errors of any kind just sits there indefinitely. It used to work and I am at a loss as to what changed that it doesn’t work now.

I am at a complete loss as to what to look for. I tried taking a DomainUser and elevating them to DomainAdmin(like me) but nothing changed. I know this is a little vague but I am looking for any insight people might have on this.

How to Troubleshoot?
Where should I be looking?

Anything will be appreciated.


I found what is causing the “hang” I just still do not understand why.

            try
        {
            HUD.CurrentUserRole = new ConnectBLL.BLL.RoleAccess(HUD.CurrentUser);
            sbrHUD_SecureRole.Text += " " + HUD.CurrentUserRole.RoleDescription;
        }
        catch (Exception exception)
        {
            exception.LogError(this);
        }

My test user, Malcolm Reynolds, does not HAVE a role returned by RoleAccess(). What I do not understand is why it is hanging there vs throwing an error.

LogError is an extension method that emails the exception to my Mailbox and displays the error in a more User Friendly way.

        public static void LogError(this Exception exception, DevExpress.XtraEditors.XtraForm whichForm)
    {
        var fileName = GetDesktopImage(whichForm);

        SendExceptionMail(exception, fileName);

        ExceptionMessageBox box = new ExceptionMessageBox(exception);
        box.Show(whichForm);
    }

    private static void SendExceptionMail(Exception exception, String fileName)
    {
        try
        {
            SmtpClient smtpClient = new SmtpClient("WWCMAIL");
            var innerExceptionMessage = String.Empty;
            if (exception.InnerException != null)
            {
                innerExceptionMessage = exception.InnerException.Message;
            }
            var stackTrace = exception.StackTrace;
            var source = exception.Source;

            MailMessage message = new MailMessage
                {
                    From = new MailAddress("MATRIX@wwCares.org"),
                    Subject = Environment.UserName + ": MATRIX Application Error",
                    Body =
                        "***THE EXCEPTION***\n" + exception.Message + "\n\n***THE INNER EXCEPTION***\n" +
                        innerExceptionMessage + "\n\n***THE STACK TRACE***\n" + stackTrace + "\n\n***THE SOURCE***\n" + source
                };

            Attachment attachment = new Attachment(fileName);
            message.Attachments.Add(attachment);

            message.To.Add("PSchaller@wwCares.org");
            message.To.Add("HDesk@wwCares.org");
            smtpClient.Send(message);
        }
        catch
        {
        }
    }
  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T14:31:53+00:00Added an answer on May 12, 2026 at 2:31 pm

    Paladin, you will have to diagnose it a little better. And then you might find it by yourself. So I take the question to be: “How to find out what’s happening?”

    1. Eliminate some probable courses. Re-install (for and by the domain user). You did not try to run what was installed for (by) another user, did you?

    2. Find the (slightly hidden) install folder and verify all your assemblies are there.

    3. Did the app load at all? Use TaskManager.

    4. If it loads, start adding diagnostic logging with Sytem.Diagnostics.Debug.Print(). You can watch the output in DebugView.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Winform App that we uses internally that I publish through ClickOnce
I have a .NET Winforms app (created in VS2005) that I deploy using ClickOnce.
I have a WinForms app that I deploy using ClickOnce. In the application project
I have a winform solution that I deploy through clickOnce. There is the Main
I have a WinForms app that I am trying to deploy with ClickOnce. It
I have a WinForm .NET 2.0 framework app that works fine in Vista, Win
I have own component which works in my testing winform app good but when
I have a winform app that calls a web service to check for updates.
I have a winform app that has tabcontrols that are 3 layers deep. I
I have a winform app that fills a lot of its dropdomn fields fram

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.