sql server 2005 tools configuration starts when I build a distribution project (VB 2005)

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Alessandro

    sql server 2005 tools configuration starts when I build a distribution project (VB 2005)

    When I build a setup project under vb2005, starts "Microsoft sql server 2005
    Tool" showing "Please wait while windows configures Microsoft sql server
    2005 tools"
    Then it stop with this message: Failure setting security rights on users
    account SQLServer2005No tificationServi cesUser$M2

    If I give the user administrator rights it does not happen and buid goes
    right. I I remove the user from administrators the message is showed again.

    I have Sql 2005 for developer installed.
    What is wrong?

    Alessandro Belli


  • Kevin Yu [MSFT]

    #2
    RE: sql server 2005 tools configuration starts when I build a distribution project (VB 2005)

    Hi Alessandro,

    From the error message, we can see that the building process is granting
    permission on the user SQLServer2005No tificationServi cesUser$M2. It is
    adding this user to certain group. This action requires Administrator's
    rights and a normal user cannot do that. So we have to give the user
    administrator's rights.

    Kevin Yu
    Microsoft Online Community Support

    =============== =============== =============== =============== =============== =
    =============== ===========
    When responding to posts, please "Reply to Group" via your newsreader so
    that others may learn and benefit from your issue.
    =============== =============== =============== =============== =============== =
    =============== ===========

    (This posting is provided "AS IS", with no warranties, and confers no
    rights.)

    Comment

    • Alessandro

      #3
      Re: sql server 2005 tools configuration starts when I build a distribution project (VB 2005)

      If I grant admin permission to the user, the message does not appear.
      I can give admin right just to solve the problem, but after this I have to
      remove the user from administrators group
      I don't understand why the bulding process needs to grant permission to the
      notification service.
      How can I manually starts the configuration tool and finish the
      installation?
      Bye
      Alex

      "Kevin Yu [MSFT]" <v-kevy@online.mic rosoft.comha scritto nel messaggio
      news:n5Z2QSmpGH A.4272@TK2MSFTN GXA01.phx.gbl.. .
      Hi Alessandro,
      >
      From the error message, we can see that the building process is granting
      permission on the user SQLServer2005No tificationServi cesUser$M2. It is
      adding this user to certain group. This action requires Administrator's
      rights and a normal user cannot do that. So we have to give the user
      administrator's rights.
      >
      Kevin Yu
      Microsoft Online Community Support
      >
      =============== =============== =============== =============== =============== =
      =============== ===========
      When responding to posts, please "Reply to Group" via your newsreader so
      that others may learn and benefit from your issue.
      =============== =============== =============== =============== =============== =
      =============== ===========
      >
      (This posting is provided "AS IS", with no warranties, and confers no
      rights.)
      >

      Comment

      • Kevin Yu [MSFT]

        #4
        Re: sql server 2005 tools configuration starts when I build a distribution project (VB 2005)

        Hi Alex,

        Could you tell me more about your setup project? Is it utilizing some
        features in SQL Server 2005? Or is the project to be setup requires SQL
        Server 2005 Notification service directly or indirectly?

        Kevin Yu
        Microsoft Online Community Support

        =============== =============== =============== =============== =============== =
        =============== ===========
        When responding to posts, please "Reply to Group" via your newsreader so
        that others may learn and benefit from your issue.
        =============== =============== =============== =============== =============== =
        =============== ===========

        (This posting is provided "AS IS", with no warranties, and confers no
        rights.)

        Comment

        • Alessandro B.

          #5
          Re: sql server 2005 tools configuration starts when I build a distribution project (VB 2005)

          No, i does not use any database. I also tryed to make a setup project
          without add any dependance, and I have the same error
          By
          Alex
          "Kevin Yu [MSFT]" <v-kevy@online.mic rosoft.comha scritto nel messaggio
          news:zvxrwPvpGH A.2028@TK2MSFTN GXA01.phx.gbl.. .
          Hi Alex,
          >
          Could you tell me more about your setup project? Is it utilizing some
          features in SQL Server 2005? Or is the project to be setup requires SQL
          Server 2005 Notification service directly or indirectly?
          >
          Kevin Yu
          Microsoft Online Community Support
          >
          =============== =============== =============== =============== =============== =
          =============== ===========
          When responding to posts, please "Reply to Group" via your newsreader so
          that others may learn and benefit from your issue.
          =============== =============== =============== =============== =============== =
          =============== ===========
          >
          (This posting is provided "AS IS", with no warranties, and confers no
          rights.)
          >

          Comment

          • Kevin Yu [MSFT]

            #6
            Re: sql server 2005 tools configuration starts when I build a distribution project (VB 2005)

            Hi Alex,

            This is really weird. I suspect this has something to do with the VS.NET
            environment on your machine. Have you tried to build this on another
            machine? If you don't have another machine for testing, could you please
            send me your setup project so that I can try to repro it on my machine?

            Kevin Yu
            Microsoft Online Community Support

            (This posting is provided "AS IS", with no warranties, and confers no
            rights.)

            Comment

            • Kevin Yu [MSFT]

              #7
              Re: sql server 2005 tools configuration starts when I build a distribution project (VB 2005)

              Sorry, remove 'online' from the no spam alias is my real email.

              Kevin Yu
              Microsoft Online Community Support

              =============== =============== =============== =====
              Get notification to my posts through email? Please refer to
              Find official documentation, practical know-how, and expert guidance for builders working and troubleshooting in Microsoft products.

              ications.
              Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
              where an initial response from the community or a Microsoft Support
              Engineer within 1 business day is acceptable. Please note that each follow
              up response may take approximately 2 business days as the support
              professional working with you may need further investigation to reach the
              most efficient resolution. The offering is not appropriate for situations
              that require urgent, real-time or phone-based interactions or complex
              project analysis and dump analysis issues. Issues of this nature are best
              handled working with a dedicated Microsoft Support Engineer by contacting
              Microsoft Customer Support Services (CSS) at
              http://msdn.microsoft.com/subscripti...t/default.aspx.
              =============== =============== =============== =====

              (This posting is provided "AS IS", with no warranties, and confers no
              rights.)

              Comment

              • Alessandro B.

                #8
                Re: sql server 2005 tools configuration starts when I build a distribution project (VB 2005)

                I had the same problem on two different pc, with similar configuration,
                visual studio 2005 and sql 2005 developer edition.
                On one pc I've solved giving the user administrators right, then run the
                setup project and finish sql tool set up. Then I remove the user from admin
                group.
                On the second pc I had to reinstall vs and then do the same.


                About this I'm not happy about microsoft that always speak about security,
                but it does not take care to test vs with non admin privileges.
                I've posted the same question to different italian microsoft newsgroup (and
                also english), nobody except you answer me, this mean then probably all
                users uses vs with admin privileges.

                Bye
                Alessandro Belli

                "Kevin Yu [MSFT]" <v-kevy@online.mic rosoft.comha scritto nel messaggio
                news:siF6bBYqGH A.5740@TK2MSFTN GXA01.phx.gbl.. .
                Sorry, remove 'online' from the no spam alias is my real email.
                >
                Kevin Yu
                Microsoft Online Community Support
                >
                =============== =============== =============== =====
                Get notification to my posts through email? Please refer to
                Find official documentation, practical know-how, and expert guidance for builders working and troubleshooting in Microsoft products.

                ications.
                Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
                where an initial response from the community or a Microsoft Support
                Engineer within 1 business day is acceptable. Please note that each follow
                up response may take approximately 2 business days as the support
                professional working with you may need further investigation to reach the
                most efficient resolution. The offering is not appropriate for situations
                that require urgent, real-time or phone-based interactions or complex
                project analysis and dump analysis issues. Issues of this nature are best
                handled working with a dedicated Microsoft Support Engineer by contacting
                Microsoft Customer Support Services (CSS) at
                http://msdn.microsoft.com/subscripti...t/default.aspx.
                =============== =============== =============== =====
                >
                (This posting is provided "AS IS", with no warranties, and confers no
                rights.)
                >

                Comment

                • Luke Zhang [MSFT]

                  #9
                  Re: sql server 2005 tools configuration starts when I build a distribution project (VB 2005)

                  Hello Alessandro,

                  When you start "Microsoft sql server 2005 Tool" and configure it, it may
                  need the account SQLServer2005No tificationServi cesUser$Compute rName to have
                  enough permission to accept the configration. Here is article about
                  permission setting of Notification Services account

                  Configuring Windows Accounts for an Instance of Notification Services


                  You may refer to it to see if this can resolve the problem (without grant
                  it as a admin).

                  Sincerely,

                  Luke Zhang

                  Microsoft Online Community Support
                  =============== =============== =============== =====
                  Get notification to my posts through email? Please refer to
                  Find official documentation, practical know-how, and expert guidance for builders working and troubleshooting in Microsoft products.

                  ications.

                  Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
                  where an initial response from the community or a Microsoft Support
                  Engineer within 1 business day is acceptable. Please note that each follow
                  up response may take approximately 2 business days as the support
                  professional working with you may need further investigation to reach the
                  most efficient resolution. The offering is not appropriate for situations
                  that require urgent, real-time or phone-based interactions or complex
                  project analysis and dump analysis issues. Issues of this nature are best
                  handled working with a dedicated Microsoft Support Engineer by contacting
                  Microsoft Customer Support Services (CSS) at
                  http://msdn.microsoft.com/subscripti...t/default.aspx.
                  =============== =============== =============== =====

                  This posting is provided "AS IS" with no warranties, and confers no rights.



                  Comment

                  • TomU

                    #10
                    Re: sql server 2005 tools configuration starts when I build a dist

                    I have the same problem. I followed the link you provided and eventually ran
                    into a broken link. First, let me say I have a fresh install of
                    XP/VS2K5/SS2K5 using defaults and the install of Notification Services. The
                    app I am trying to build Setup for uses ADO.NET but not any of the SQL
                    namespaces. Like Alessandro, the problem exists only if you are conforming to
                    best practices and do you development in an account that does not have
                    administrative privilege.

                    Following the link you provided plus other research in Books Online it
                    appears 1) VS thinks there are some SQL Server namespaces accessed, 2) those
                    namespaces use Notification Services and 3) security settings must be
                    configured for the default Notification Services Instance on the local
                    machine. Needless to say there is a bug somewhere that causes items 1 and 2.
                    But I'll move on to #3 in search of a work around.

                    The default install of SQL Server 2005 with Notification Services does not
                    create a default Notification Instance. When you try to create one, using the
                    instructions in the documentation, there is an assumption a default instance
                    configuration file exists but it does not. Digging in the documentation
                    further (SQL Server Books Online) to "New Notification Services Instance" it
                    says "For information about creating a Notification Services application,
                    including creating an instance configuration file, see Building Notification
                    Solutions". You click on the Building Notification Solutions link and find it
                    is broken ("Sorry, no topics were found for the selected link").

                    I think the solution is to log on an account with administrative privilege,
                    create a default instance and configure the security settings so the Power
                    User who is trying to build Setup has the proper permissions. But I am stuck
                    at square one - how to create a default instance configuration file. Where
                    can I find the missing documentation?

                    Tom

                    "Luke Zhang [MSFT]" wrote:
                    Hello Alessandro,
                    >
                    When you start "Microsoft sql server 2005 Tool" and configure it, it may
                    need the account SQLServer2005No tificationServi cesUser$Compute rName to have
                    enough permission to accept the configration. Here is article about
                    permission setting of Notification Services account
                    >
                    Configuring Windows Accounts for an Instance of Notification Services

                    >
                    You may refer to it to see if this can resolve the problem (without grant
                    it as a admin).
                    >
                    Sincerely,
                    >
                    Luke Zhang
                    >
                    Microsoft Online Community Support
                    =============== =============== =============== =====
                    Get notification to my posts through email? Please refer to
                    Find official documentation, practical know-how, and expert guidance for builders working and troubleshooting in Microsoft products.

                    ications.
                    >
                    Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
                    where an initial response from the community or a Microsoft Support
                    Engineer within 1 business day is acceptable. Please note that each follow
                    up response may take approximately 2 business days as the support
                    professional working with you may need further investigation to reach the
                    most efficient resolution. The offering is not appropriate for situations
                    that require urgent, real-time or phone-based interactions or complex
                    project analysis and dump analysis issues. Issues of this nature are best
                    handled working with a dedicated Microsoft Support Engineer by contacting
                    Microsoft Customer Support Services (CSS) at
                    http://msdn.microsoft.com/subscripti...t/default.aspx.
                    =============== =============== =============== =====
                    >
                    This posting is provided "AS IS" with no warranties, and confers no rights.
                    >
                    >
                    >
                    >

                    Comment

                    Working...