473,395 Members | 1,454 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,395 software developers and data experts.

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 SQLServer2005NotificationServicesUser$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
Jul 12 '06 #1
9 3078
Hi Alessandro,

From the error message, we can see that the building process is granting
permission on the user SQLServer2005NotificationServicesUser$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.)

Jul 13 '06 #2
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-****@online.microsoft.comha scritto nel messaggio
news:n5**************@TK2MSFTNGXA01.phx.gbl...
Hi Alessandro,

From the error message, we can see that the building process is granting
permission on the user SQLServer2005NotificationServicesUser$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.)

Jul 13 '06 #3
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.)

Jul 14 '06 #4
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-****@online.microsoft.comha scritto nel messaggio
news:zv**************@TK2MSFTNGXA01.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.)

Jul 17 '06 #5
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.)

Jul 17 '06 #6
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
http://msdn.microsoft.com/subscripti...ult.aspx#notif
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.)

Jul 17 '06 #7
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-****@online.microsoft.comha scritto nel messaggio
news:si**************@TK2MSFTNGXA01.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
http://msdn.microsoft.com/subscripti...ult.aspx#notif
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.)

Jul 19 '06 #8
Hello Alessandro,

When you start "Microsoft sql server 2005 Tool" and configure it, it may
need the account SQLServer2005NotificationServicesUser$ComputerName 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
http://msdn2.microsoft.com/en-us/library/ms172585.aspx

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
http://msdn.microsoft.com/subscripti...ult.aspx#notif
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.

Jul 19 '06 #9
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 SQLServer2005NotificationServicesUser$ComputerName 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
http://msdn2.microsoft.com/en-us/library/ms172585.aspx

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
http://msdn.microsoft.com/subscripti...ult.aspx#notif
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.

Oct 16 '06 #10

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

Similar topics

3
by: David Flynn | last post by:
Hello, I need to make a quick fix to an existing asp.net 1.0 site. I am using VS 2003 and when I pull the project down from source control it converts it to a 2003 project. When I build the...
2
by: Error when creating new asp.net applicat | last post by:
Hi, I'm getting this error when I create a asp.net application. The Web server reported the following error when attempting to create or open the Web projects located at the following URL:...
1
by: Raja Babu via DotNetMonster.com | last post by:
Hi All, Can I build a project from web ? I have an asp.net application running at my ISP's webserver and I need to make some code changes in code behind files. In Visual Studio 2003 I go:...
2
by: tormod | last post by:
I'm using Visual Studio 2005 professional edition and try to build a web site built in c#. The solution consists of about 20 class library projects and one web site. The web site references the...
2
by: Elham Ghoddousi | last post by:
Hi How network administartor can find , who has AQL server client tools on his system? Thanks
0
by: Kevin G. Anderson | last post by:
What: CAUG Meeting - Visual Studio 2005 Tools for Office When: Thursday, April 27, 2006, 6PM Who: Jacob Cynamon, Microsoft Where: The Information Management Group 200 W. Monroe St. Suite...
2
by: Peter Stojkovic | last post by:
I am using Visual Studio 2005 with the above Build. Is this the latest Version ??? Thanks Peter Microsoft Visual Studio 2005 Version 8.0.50727.42 (RTM.050727-4200)
4
by: jeff | last post by:
We current a VS 2005 Professional license ... what does this Microsoft Visual Studio 2005 Tools for Applications offer that VS 2005 does not? Any help would be greatly appreciated. Thanks...
1
by: foocc | last post by:
Hi, im trying to convert data reports (.dsr) in vb6 to crystal reports in vb.net. However, I cant seems to find it in my Microsoft Visual Studio 2005 Tools for Office. I've tried going to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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...
0
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...

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.