Showing posts with label manager. Show all posts
Showing posts with label manager. Show all posts

Monday, March 26, 2012

Problems with roles

For my project i built a cube (with Analysis Manager). Now i had to define
roles. After i done this, i tested each role and the restrictions seams to
work. But if a user who is member of a restricted role opens the cube with
Crystal Analysis 10.0, he can see all.
How could I solve this problem?
Message posted via http://www.droptable.comAnalysis Services enforces roles for in-bound connections regardless of
client. So I am sure that it isn't AS itself. Might this be a web-based
system? If so, then the connection coming into Analysis Services is not the
client, but rather the mid-tier user who is making the connection on your
behalf.
--
Dave Wickert [MSFT]
dwickert@.online.microsoft.com
Program Manager
BI SystemsTeam
SQL BI Product Unit (Analysis Services)
--
This posting is provided "AS IS" with no warranties, and confers no rights.
"Markus Teichmann via droptable.com" <forum@.droptable.com> wrote in
message news:7249ab2cfc8d402da66d78cc74989565@.SQ
droptable.com...
> For my project i built a cube (with Analysis Manager). Now i had to define
> roles. After i done this, i tested each role and the restrictions seams to
> work. But if a user who is member of a restricted role opens the cube with
> Crystal Analysis 10.0, he can see all.
> How could I solve this problem?
> --
> Message posted via http://www.droptable.com

Friday, March 23, 2012

Problems with report manager

Hi all, hopefully someone can help out, I have installed the reporting services, but cannot get a connection to the report manager. I followed Bob's video as much to the letter as I could. Everything worked fine up to going to the internet and typing in thehttp://localhost/reports from there I get the following message:

The report server is not responding. Verify that the report server is running and can be accessed from this computer

I have the developer version of SQL server installed, rather than the Express version, that is the only difference I know of. (MSSQLSERVER) That and I am using VISTA.. I am sure I am missing something simple, but several hours have passed and I have yet to come across it in the boards or on my own. I have noticed that a LOT of people seem to have problems getting this set up... BTW I can create reports and all with no problem, but cannot deploy them, it asks for a username and password, which I have not set up anything for this and it does not like my windows username and password.... hopefully that is a hint to my problem.

Thanks,

Randy

Randy,

Sounds like you're having the same problem I was having when I first got the place I work for to load SRS. I could make the reports but couldn't do anything with them. I finally got my boss to approve to have me given adminstrator rights to the server so I could post reports out to it and set the privileges as to who could see them. Sounds like the same issue with you. Usually to deploy reports you have to have system admin privleges to the server, anyone that wants to read them only needs a regular windows logon. Another thing to look for when you start deploying them is to make sure that what ever data source you are using, the people accessing your reports need rights to the database, although they don't really access it. I found that was the only way any regular user could pull up the reports. Hope this helps some.

As far as the locahost, and accessing your server I take it is on your machine so it will be whatever instance you named it when you installed it.

Friday, March 9, 2012

Problems with Enterprise Manager/MSDE

I have installed an MSDE instance on my PC. I have used both the setup.exe program and installed MSDE with the merge modules. Everything works fine - I am able to programmatically connect to the database and execute all of my statements. However, when I t
ry to register the database with Enterprise Manager, Enterprise Manager doesn't see the instance. Similarly, my program that uses SQLDMO.DLL to enumerate all servers does not see the MSDE instance. Both the database, my program, and Enterprise Manager are
running locally on the same machine.
This is a development box, and I have had to uninstall MSDE by hand several times by removing registry keys manually. I suspect that my problem is that I have deleted a key that I needed. Does anyone have any clues? Thanks in advance.
Rob Reagan
By default MSDE only uses Shared Memory for communicating with client
applications. Make sure that when you install MSDE that you use the command
line switch DISABLENETWORKPROTOCOLS=0.
Jim
"Rob Reagan" <RobReagan@.discussions.microsoft.com> wrote in message
news:94D3760F-80D4-41DB-97A0-320506FE04AA@.microsoft.com...
> I have installed an MSDE instance on my PC. I have used both the setup.exe
program and installed MSDE with the merge modules. Everything works fine - I
am able to programmatically connect to the database and execute all of my
statements. However, when I try to register the database with Enterprise
Manager, Enterprise Manager doesn't see the instance. Similarly, my program
that uses SQLDMO.DLL to enumerate all servers does not see the MSDE
instance. Both the database, my program, and Enterprise Manager are running
locally on the same machine.
> This is a development box, and I have had to uninstall MSDE by hand
several times by removing registry keys manually. I suspect that my problem
is that I have deleted a key that I needed. Does anyone have any clues?
Thanks in advance.
> Rob Reagan
|||Can one re-enable NETWORK connections without an uninstall/re-install ?
Pete
"Jim Young" <thorium48@.hotmail.com> wrote in message
news:uLzTSNzVEHA.208@.TK2MSFTNGP10.phx.gbl...
> By default MSDE only uses Shared Memory for communicating with client
> applications. Make sure that when you install MSDE that you use the
command[vbcol=seagreen]
> line switch DISABLENETWORKPROTOCOLS=0.
> Jim
> "Rob Reagan" <RobReagan@.discussions.microsoft.com> wrote in message
> news:94D3760F-80D4-41DB-97A0-320506FE04AA@.microsoft.com...
setup.exe
> program and installed MSDE with the merge modules. Everything works fine -
I
> am able to programmatically connect to the database and execute all of my
> statements. However, when I try to register the database with Enterprise
> Manager, Enterprise Manager doesn't see the instance. Similarly, my
program
> that uses SQLDMO.DLL to enumerate all servers does not see the MSDE
> instance. Both the database, my program, and Enterprise Manager are
running
> locally on the same machine.
> several times by removing registry keys manually. I suspect that my
problem
> is that I have deleted a key that I needed. Does anyone have any clues?
> Thanks in advance.
>
|||hi Pete,
"Pete" <p0911@.hotmail.com> ha scritto nel messaggio
news:%23zmObU4VEHA.584@.TK2MSFTNGP09.phx.gbl...
> Can one re-enable NETWORK connections without an uninstall/re-install ?
>
execute Server Network Utiliy (svrnetcn.exe) and enable the desired network
protocol(s)
Andrea Montanari (Microsoft MVP - SQL Server)
http://www.asql.biz/DbaMgr.shtmhttp://italy.mvps.org
DbaMgr2k ver 0.8.0 - DbaMgr ver 0.54.0
(my vb6+sql-dmo little try to provide MS MSDE 1.0 and MSDE 2000 a visual
interface)
-- remove DMO to reply
|||Thank you Andrea - will give it a whirl
"Andrea Montanari" <andrea.sqlDMO@.virgilio.it> wrote in message
news:2jo0brF139hlfU1@.uni-berlin.de...[vbcol=seagreen]
> hi Pete,
> "Pete" <p0911@.hotmail.com> ha scritto nel messaggio
> news:%23zmObU4VEHA.584@.TK2MSFTNGP09.phx.gbl...
?
> execute Server Network Utiliy (svrnetcn.exe) and enable the desired
network
> protocol(s)
> --
> Andrea Montanari (Microsoft MVP - SQL Server)
> http://www.asql.biz/DbaMgr.shtmhttp://italy.mvps.org
> DbaMgr2k ver 0.8.0 - DbaMgr ver 0.54.0
> (my vb6+sql-dmo little try to provide MS MSDE 1.0 and MSDE 2000 a visual
> interface)
> -- remove DMO to reply
>
|||Brilliant - comes up like a dream and all protocols are listed - thank you
once again Andrea
"Andrea Montanari" <andrea.sqlDMO@.virgilio.it> wrote in message
news:2jo0brF139hlfU1@.uni-berlin.de...[vbcol=seagreen]
> hi Pete,
> "Pete" <p0911@.hotmail.com> ha scritto nel messaggio
> news:%23zmObU4VEHA.584@.TK2MSFTNGP09.phx.gbl...
?
> execute Server Network Utiliy (svrnetcn.exe) and enable the desired
network
> protocol(s)
> --
> Andrea Montanari (Microsoft MVP - SQL Server)
> http://www.asql.biz/DbaMgr.shtmhttp://italy.mvps.org
> DbaMgr2k ver 0.8.0 - DbaMgr ver 0.54.0
> (my vb6+sql-dmo little try to provide MS MSDE 1.0 and MSDE 2000 a visual
> interface)
> -- remove DMO to reply
>
|||Andrea,
I believe that I am using SQL Server 2000 Personal edition. When I try to run the Server Network Utility from either the programs menu or from the command line, nothing happens. Is this included with Sql Server Personal edition?
When I look at the Client Network Utility, both TCP/IP and Named Pipes are enabled. Since this was working before and I have screwed with the registry by hand, I tend to think that the problem is that I deleted some needed key. Any suggestions on how to t
roubleshoot this problem?
Rob Reagan
"Andrea Montanari" wrote:

> hi Pete,
> "Pete" <p0911@.hotmail.com> ha scritto nel messaggio
> news:%23zmObU4VEHA.584@.TK2MSFTNGP09.phx.gbl...
> execute Server Network Utiliy (svrnetcn.exe) and enable the desired network
> protocol(s)
> --
> Andrea Montanari (Microsoft MVP - SQL Server)
> http://www.asql.biz/DbaMgr.shtmhttp://italy.mvps.org
> DbaMgr2k ver 0.8.0 - DbaMgr ver 0.54.0
> (my vb6+sql-dmo little try to provide MS MSDE 1.0 and MSDE 2000 a visual
> interface)
> -- remove DMO to reply
>
|||hi Rob,
"Rob Reagan" <RobReagan@.discussions.microsoft.com> ha scritto nel messaggio
news:C8C04B22-74FB-464E-8ECF-36F594E34E86@.microsoft.com...
> Andrea,
> I believe that I am using SQL Server 2000 Personal edition. When I try to
run the Server
>Network Utility from either the programs menu or from the command line,
nothing happens.
>Is this included with Sql Server Personal edition?
yep, the Server Network Utility is installed with every server installation,
MSDE or SQL Server, while Client Network utility is installed with client
component and/or MDAC..

> When I look at the Client Network Utility, both TCP/IP and Named Pipes are
enabled.
>Since this was working before and I have screwed with the registry by hand,
I tend to
>think that the problem is that I deleted some needed key. Any suggestions
on how to
>troubleshoot this problem?
=;-D
unfortunately I can't help your (damaged) registry :-(
try installing another SQL Server/MSDE instance (and then removing it), that
coul'd resolve your registry issues..
Andrea Montanari (Microsoft MVP - SQL Server)
http://www.asql.biz/DbaMgr.shtmhttp://italy.mvps.org
DbaMgr2k ver 0.8.0 - DbaMgr ver 0.54.0
(my vb6+sql-dmo little try to provide MS MSDE 1.0 and MSDE 2000 a visual
interface)
-- remove DMO to reply

Problems with Enterprise Manager and 2003 Server

I have 2 2003 Servers running SQL Server 2000, SP3. All are seviced packed up the the 9's and i get the same problem on both.

Whenever you try and access any GUI views of tables etc. within Enterprise Manager the following error message occurs.

"An unexpected error happened during this operation."

I have tried simple things like re-install of client tools, and also re-registering mdt2dd.dll. But to no avail.

Any idea's please?A couple of thoughts:

1. check your error logs (system and application). There may be something there (though based on recent experience, I wouldn't bet on it).

2. Check privileges/security/user rights. Are you the admin on the PC?

3. Fire up SQL Profiler (make sure to trap for all errors); go through the process that gives you the error and see if there are any results.

4. Check MS Technet and see if they have related articles.

5. Reinstall the client tools.

6. Introduce your PC to a Louisville Slugger (my preference is for the 34 oz. variety).

Regards,

hmscott|||Tried all, all came up zip.

MS Tech did come up with a very similar problem but sadly was refering to SQL Server 7, and would have been fixed with SP3.

Cheers anyway.|||Checked the windows event logs ? Maybe they will provide a clue ..

Problems with Enterprise manager

Hallo,
I had SQL Server 2000 SP3 personal edition and its Enterprise manager
stopped working. When I'm trying to run Enterprise manager, I get error
"Microsoft Management Console has encountered a problem and needs to close.
We are sorry for the inconvenience." (More information about this error in
the end of this letter)
I tried to reinstall SQL server, but this didn't help.
Do you know what is the problem?
Thank you for your help
Vycka
========================
Information about error:
AppName: mmc.exe AppVer: 5.1.2600.2180 ModName: mmc.exe
ModVer: 5.1.2600.2180 Offset: 0001f07e
I get the same problem. Please let me know if you know a solution.
Thanks.
"Vycka" wrote:

> Hallo,
> I had SQL Server 2000 SP3 personal edition and its Enterprise manager
> stopped working. When I'm trying to run Enterprise manager, I get error
> "Microsoft Management Console has encountered a problem and needs to close.
> We are sorry for the inconvenience." (More information about this error in
> the end of this letter)
> I tried to reinstall SQL server, but this didn't help.
> Do you know what is the problem?
> Thank you for your help
> Vycka
> ========================
> Information about error:
> AppName: mmc.exe AppVer: 5.1.2600.2180 ModName: mmc.exe
> ModVer: 5.1.2600.2180 Offset: 0001f07e
>
>
|||Did anyone find a solution to this problem. I just started getting the
same error today. I'm only running the client tools on my machine.
Other MMC consoles(analysis services, query analyzer) work fine.
Thanks!
|||I have recently encountered this same error and I was able to fix it. It
happens to be an error with the MMC application data file for enterprise
manager in your user profile.
From windows explorer, browse to the "MMC" folder under C:\Documents and
Settings\[user_profile]\Applicaiton Data\Microsoft\ (This is a hidden folder
and to be able to view it you must show hidden files and folders in the
"Tools" --> "Folder Options" --> "View" settings). There should be a file
named "SQL Server Enterprise Manager". You can either delete or rename this
file (I prefer the latter). MMC will re-create this file the next time you
access Enterprise Manager and should then be working properly.

Wednesday, March 7, 2012

Problems with change sql permissions after migrating domain user/group accounts into root domain

I have a root domain and child domain.

After using ADMT to migrate the domain user or group into the root domain, when I use enterprise manager to try and change the permissions allocated to that domain user/group, i get the 'Error 15401 NT user or Group not found'.

This is a correct error as the user is now in the root domain, however sql (in sysxlogins) still thinks its in the child domain.

Is there a simpler way, other than collecting the users permissions, deleting the user from SQL then adding back in with the correct domain\username format, then adding the permissions back?

I tried renaming the 'name' in sysxlogins (not recommended) and while that worked, whenever I tried to add the migrated user to another database, the login name was missing and would not resolve.

I believe it is something to do with the SID not matching.

Any ideas on how to fix this ?

You're correct, different SIDs.

Here are some articles that may help.


http://www.sqlservercentral.com/columnists/cBunch/movingyouruserswiththeirdatabases.asp Moving Users
http://www.support.microsoft.com/?id=246133 How To Transfer Logins and Passwords Between SQL Servers
http://www.support.microsoft.com/?id=298897 Mapping Logins & SIDs after a Restore
http://www.dbmaint.com/SyncSqlLogins.asp Utility to map logins to users
http://support.microsoft.com/kb/274188 Troubleshooting Orphan Logins

problems with both file share subscriptions

I am having also problems with both email/file share subscriptions. The
Report
Manager displays the following error: Failure writing file Company Sales :
The Report Server has encountered a configuration error; more details in the
log files
This is the info from the logfile.
Reporting services and sql2000 DB are running on the same machine:
test-piv1900 (a win 2003) server
the service is running under the account: "Network Service".
With the subscription I provided the credentials from the local
Administrator of the "test-piv1900" server.
the fileshare I use is \\test-piv1900\test , I granted everyone full control
to it and additionaly granted Network Service again full control.
The report itselfs runs correct if I access it within the reportmanager.
anyone any idea's?
ReportingServicesService!subscription!f08!07/05/2004-14:20:09::
Microsoft.ReportingServices.Diagnostics.Utilities.RSException: The Report
Server has encountered a configuration error; more details in the log
files -->
Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorEx
ception: The Report Server has encountered a configuration error; more
details in the log files
at
Microsoft.ReportingServices.Authorization.Native.GetAuthzContextForUser(IntP
tr userSid)
at Microsoft.ReportingServices.Authorization.Native.IsAdmin(String
userName)
at
Microsoft.ReportingServices.Authorization.WindowsAuthorization.IsAdmin(Strin
g userName, IntPtr userToken)
at
Microsoft.ReportingServices.Authorization.WindowsAuthorization.CheckAccess(S
tring userName, IntPtr userToken, Byte[] secDesc, ReportOperation
requiredOperation)
at Microsoft.ReportingServices.Library.Security.CheckAccess(ItemType
catItemType, Byte[] secDesc, ReportOperation rptOper)
at
Microsoft.ReportingServices.Library.RSService._GetReportParameterDefinitionF
romCatalog(CatalogItemContext reportContext, String historyID, Boolean
forRendering, Guid& reportID, Int32& executionOption, String&
savedParametersXml, ReportSnapshot& compiledDefinition, ReportSnapshot&
snapshotData, Guid& linkID, DateTime& historyDate)
at
Microsoft.ReportingServices.Library.RSService._GetReportParameters(String
report, String historyID, Boolean forRendering, NameValueCollection values,
DatasourceCredentialsCollection credentials)
at
Microsoft.ReportingServices.Library.RSService.RenderAsLiveOrSnapshot(Catalog
ItemContext reportContext, ClientRequest session, Warning[]& warnings,
ParameterInfoCollection& effectiveParameters)
at
Microsoft.ReportingServices.Library.RSService.RenderFirst(CatalogItemContext
reportContext, ClientRequest session, Warning[]& warnings,
ParameterInfoCollection& effectiveParameters, String[]&
secondaryStreamNames)
at
Microsoft.ReportingServices.Library.RenderFirstCancelableStep.Execute()
at
Microsoft.ReportingServices.Diagnostics.CancelablePhaseBase.ExecuteWrapper()
-- End of inner exception stack trace --
at
Microsoft.ReportingServices.Diagnostics.CancelablePhaseBase.ExecuteWrapper()
at
Microsoft.ReportingServices.Library.RenderFirstCancelableStep.RenderFirst(RS
Service rs, CatalogItemContext reportContext, ClientRequest session,
JobTypeEnum type, Warning[]& warnings, ParameterInfoCollection&
effectiveParameters, String[]& secondaryStreamNames)
at Microsoft.ReportingServices.Library.ReportImpl.Render(String
renderFormat, String deviceInfo)
at
Microsoft.ReportingServices.FileShareDeliveryProvider.FileShareProvider.Save
Report(Notification notification, SubscriptionData data)
at
Microsoft.ReportingServices.FileShareDeliveryProvider.FileShareProvider.Deli
ver(Notification notification)
thx for any responsesHi all,
When I log on the reportserver itself and use the Local Administrator
account to create the fileshare.
It works.
When I use my domain Credentials it fails even if I tell the fileshare to
use the Local Administrator credentials it only works if I accessed the
reportmanager with the Local Administrator credentials.
I still can't mail any reports ...
same error
and of course i ran servicepack 1.
these are my mailing settings.
is there maybe somthing wrong with?
"Stijn Lambrechts" <stijn.lambrechts@.pandora.be> wrote in message
news:eGC2P4oYEHA.716@.TK2MSFTNGP11.phx.gbl...
> I am having also problems with both email/file share subscriptions. The
> Report
> Manager displays the following error: Failure writing file Company Sales :
> The Report Server has encountered a configuration error; more details in
the
> log files
> This is the info from the logfile.
> Reporting services and sql2000 DB are running on the same machine:
> test-piv1900 (a win 2003) server
> the service is running under the account: "Network Service".
> With the subscription I provided the credentials from the local
> Administrator of the "test-piv1900" server.
> the fileshare I use is \\test-piv1900\test , I granted everyone full
control
> to it and additionaly granted Network Service again full control.
> The report itselfs runs correct if I access it within the reportmanager.
> anyone any idea's?
> ReportingServicesService!subscription!f08!07/05/2004-14:20:09::
> Microsoft.ReportingServices.Diagnostics.Utilities.RSException: The Report
> Server has encountered a configuration error; more details in the log
> files -->
>
Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorEx
> ception: The Report Server has encountered a configuration error; more
> details in the log files
> at
>
Microsoft.ReportingServices.Authorization.Native.GetAuthzContextForUser(IntP
> tr userSid)
> at Microsoft.ReportingServices.Authorization.Native.IsAdmin(String
> userName)
> at
>
Microsoft.ReportingServices.Authorization.WindowsAuthorization.IsAdmin(Strin
> g userName, IntPtr userToken)
> at
>
Microsoft.ReportingServices.Authorization.WindowsAuthorization.CheckAccess(S
> tring userName, IntPtr userToken, Byte[] secDesc, ReportOperation
> requiredOperation)
> at Microsoft.ReportingServices.Library.Security.CheckAccess(ItemType
> catItemType, Byte[] secDesc, ReportOperation rptOper)
> at
>
Microsoft.ReportingServices.Library.RSService._GetReportParameterDefinitionF
> romCatalog(CatalogItemContext reportContext, String historyID, Boolean
> forRendering, Guid& reportID, Int32& executionOption, String&
> savedParametersXml, ReportSnapshot& compiledDefinition, ReportSnapshot&
> snapshotData, Guid& linkID, DateTime& historyDate)
> at
> Microsoft.ReportingServices.Library.RSService._GetReportParameters(String
> report, String historyID, Boolean forRendering, NameValueCollection
values,
> DatasourceCredentialsCollection credentials)
> at
>
Microsoft.ReportingServices.Library.RSService.RenderAsLiveOrSnapshot(Catalog
> ItemContext reportContext, ClientRequest session, Warning[]& warnings,
> ParameterInfoCollection& effectiveParameters)
> at
>
Microsoft.ReportingServices.Library.RSService.RenderFirst(CatalogItemContext
> reportContext, ClientRequest session, Warning[]& warnings,
> ParameterInfoCollection& effectiveParameters, String[]&
> secondaryStreamNames)
> at
> Microsoft.ReportingServices.Library.RenderFirstCancelableStep.Execute()
> at
>
Microsoft.ReportingServices.Diagnostics.CancelablePhaseBase.ExecuteWrapper()
> -- End of inner exception stack trace --
> at
>
Microsoft.ReportingServices.Diagnostics.CancelablePhaseBase.ExecuteWrapper()
> at
>
Microsoft.ReportingServices.Library.RenderFirstCancelableStep.RenderFirst(RS
> Service rs, CatalogItemContext reportContext, ClientRequest session,
> JobTypeEnum type, Warning[]& warnings, ParameterInfoCollection&
> effectiveParameters, String[]& secondaryStreamNames)
> at Microsoft.ReportingServices.Library.ReportImpl.Render(String
> renderFormat, String deviceInfo)
> at
>
Microsoft.ReportingServices.FileShareDeliveryProvider.FileShareProvider.Save
> Report(Notification notification, SubscriptionData data)
> at
>
Microsoft.ReportingServices.FileShareDeliveryProvider.FileShareProvider.Deli
> ver(Notification notification)
> thx for any responses
>