![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
We recently have upgraded an application from sql2000 to sql2005. After changing the ODBC on the client machines to point to the new server the users are now experinacing a "User 'public' does not have permission to run DBCC TRACEON", and the excel query will not refresh. If we add the user to the domain admin group the query will run. Obviously this is not an ideal solution to the problem. What can we do to resolve this issue with out recreating the spread sheets. Why are you setting a traceflag when exporting to excel? You will need to |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
Thanks John for the response, we did not have the issue when the data base was residing on a 2000 SQL Server, it only began when we migrated the database to a SQL Server, so I guess I am a little confused as to why 2005 is generating the error. I would like to be able to use the legacy spreadsheet reports. There must be some setting in 2005 that is available to allow this Trace flags are not something you should set without due consideration, use |
#5
| |||
| |||
|
|
Thanks John for the response, we did not have the issue when the data base was residing on a 2000 SQL Server, it only began when we migrated the database to a SQL Server, so I guess I am a little confused as to why 2005 is generating the error. I would like to be able to use the legacy spreadsheet reports. There must be some setting in 2005 that is available to allow this |
#6
| |||
| |||
|
|
Hi "Schuml" wrote: Thanks John for the response, we did not have the issue when the data base was residing on a 2000 SQL Server, it only began when we migrated the database to a SQL Server, so I guess I am a little confused as to why 2005 is generating the error. I would like to be able to use the legacy spreadsheet reports. There must be some setting in 2005 that is available to allow this Trace flags are not something you should set without due consideration, use of trace flags and hints should always be reviewed on any service pack/upgrade as to whether they are necessary or not. The reasons why a trace flag is being set should also be fully documented. Do you know which flag this is, where it is being set and why? John |
#7
| |||
| |||
|
|
John, I'd bet that it is DBCC TRACEON(208) which Excel (MS Query?) generates for some reason... -- Tibor Karaszi, SQL Server MVP http://www.karaszi.com/sqlserver/default.asp http://sqlblog.com/blogs/tibor_karaszi "John Bell" <jbellnewsposts (AT) hotmail (DOT) com> wrote in message news:C6AB05B9-D5D4-4080-A6BB-DAD289333438 (AT) microsoft (DOT) com... Hi "Schuml" wrote: Thanks John for the response, we did not have the issue when the data base was residing on a 2000 SQL Server, it only began when we migrated the database to a SQL Server, so I guess I am a little confused as to why 2005 is generating the error. I would like to be able to use the legacy spreadsheet reports. There must be some setting in 2005 that is available to allow this Trace flags are not something you should set without due consideration, use of trace flags and hints should always be reviewed on any service pack/upgrade as to whether they are necessary or not. The reasons why a trace flag is being set should also be fully documented. Do you know which flag this is, where it is being set and why? John |
#8
| |||
| |||
|
#9
| |||
| |||
|
|
Thanks John & Tibor I saw the same posting when I googled for this error and I tried running the VB Script described and it did not solve the issue, I have to beleive that there is a setting or permission that can be assigned to a user. The problem goes away if the user is a member of the admin group which obviously is not an Ideal long term solution and it makes me very uncomfortable. |
#10
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |