Showing posts with label message. Show all posts
Showing posts with label message. Show all posts

Wednesday, March 7, 2012

Audit Question

This is a multi-part message in MIME format.
--=_NextPart_000_0082_01C4C333.0A1F0510
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Is there a way I can monitor who is using EM to open tables?
Suppose I have a database with a table(s) where I keep the answers to = questions on a test, or answers to a game a company is running on an = intranet, how do I know if people with sa permissions are going in via = the back door to look/retrieve answers?
Thanx!
--=_NextPart_000_0082_01C4C333.0A1F0510
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
&
Is there a way I can monitor who is = using EM to open tables?

Suppose I have a database with a = table(s) where I keep the answers to questions on a test, or answers to a game a company = is running on an intranet, how do I know if people with sa permissions are = going in via the back door to look/retrieve answers?
Thanx!
--=_NextPart_000_0082_01C4C333.0A1F0510--This is a multi-part message in MIME format.
--=_NextPart_000_0159_01C4C33B.94A514B0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
You could use the Profiler on the database and monitor queries, spid's =etc. This can all
be logged to a table.
"JLS" <jlshoop@.hotmail.com> wrote in message =news:eiWh$z1wEHA.1300@.TK2MSFTNGP14.phx.gbl...
Is there a way I can monitor who is using EM to open tables?
Suppose I have a database with a table(s) where I keep the answers to =questions on a test, or answers to a game a company is running on an =intranet, how do I know if people with sa permissions are going in via =the back door to look/retrieve answers?
Thanx!
--=_NextPart_000_0159_01C4C33B.94A514B0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
&
You could use the Profiler on the =database and monitor queries, spid's etc. This can all
be logged to a table.
"JLS" wrote in message news:eiWh$z1wEHA.1300=@.TK2MSFTNGP14.phx.gbl...
Is there a way I can monitor who is =using EM to open tables?

Suppose I have a database with a =table(s) where I keep the answers to questions on a test, or answers to a game a =company is running on an intranet, how do I know if people with sa permissions =are going in via the back door to look/retrieve answers?
Thanx!

--=_NextPart_000_0159_01C4C33B.94A514B0--|||This is a multi-part message in MIME format.
--=_NextPart_000_0179_01C4C33C.37B5EC60
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
I also forgot to add... the sa password should really be kept under =wraps and in
the hands of people on a need to know basis.
"Armando Prato" <aprato@.REMOVEMEkronos.com> wrote in message =news:eUYK$V2wEHA.1524@.TK2MSFTNGP09.phx.gbl...
You could use the Profiler on the database and monitor queries, spid's =etc. This can all
be logged to a table.
"JLS" <jlshoop@.hotmail.com> wrote in message =news:eiWh$z1wEHA.1300@.TK2MSFTNGP14.phx.gbl...
Is there a way I can monitor who is using EM to open tables?
Suppose I have a database with a table(s) where I keep the answers =to questions on a test, or answers to a game a company is running on an =intranet, how do I know if people with sa permissions are going in via =the back door to look/retrieve answers?
Thanx!
--=_NextPart_000_0179_01C4C33C.37B5EC60
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
&

I also forgot to add... the sa =password should really be kept under wraps and in
the hands of people on a need to know basis.
"Armando Prato"
You could use the Profiler on the =database and monitor queries, spid's etc. This can all
be logged to a table.


"JLS" wrote =in message news:eiWh$z1wEHA.1300=@.TK2MSFTNGP14.phx.gbl...
Is there a way I can monitor who is =using EM to open tables?

Suppose I have a database with a =table(s) where I keep the answers to questions on a test, or answers to a game a =company is running on an intranet, how do I know if people with sa permissions =are going in via the back door to look/retrieve answers?
Thanx!

--=_NextPart_000_0179_01C4C33C.37B5EC60--|||The best solution would be to put that database on a secured installation
where you controlled who had sa access.
The problem with any sort of auditing solution is that the people you are
auditing are GOD within the system, which means they have the power to
subvert your tracking.
Sincerely,
Anthony Thomas
"Armando Prato" wrote:
> You could use the Profiler on the database and monitor queries, spid's etc. This can all
> be logged to a table.
>
> "JLS" <jlshoop@.hotmail.com> wrote in message news:eiWh$z1wEHA.1300@.TK2MSFTNGP14.phx.gbl...
> Is there a way I can monitor who is using EM to open tables?
> Suppose I have a database with a table(s) where I keep the answers to questions on a test, or answers to a game a company is running on an intranet, how do I know if people with sa permissions are going in via the back door to look/retrieve answers?
> Thanx!|||Exactly!!! These are my peers, network guys in my department. But I want
the game to be fair, if they can just go into the tables via the back door
then that's really not fair to the rest of the people playing.
To address the comment about the sa password only being given on a need to
know, it is.
"AnthonyThomas" <AnthonyThomas@.discussions.microsoft.com> wrote in message
news:006309CB-AB18-4C59-8B35-75903AA6ECC2@.microsoft.com...
> The best solution would be to put that database on a secured installation
> where you controlled who had sa access.
> The problem with any sort of auditing solution is that the people you are
> auditing are GOD within the system, which means they have the power to
> subvert your tracking.
> Sincerely,
>
> Anthony Thomas
>
> "Armando Prato" wrote:
> >
> > You could use the Profiler on the database and monitor queries, spid's
etc. This can all
> > be logged to a table.
> >
> >
> > "JLS" <jlshoop@.hotmail.com> wrote in message
news:eiWh$z1wEHA.1300@.TK2MSFTNGP14.phx.gbl...
> > Is there a way I can monitor who is using EM to open tables?
> >
> > Suppose I have a database with a table(s) where I keep the answers to
questions on a test, or answers to a game a company is running on an
intranet, how do I know if people with sa permissions are going in via the
back door to look/retrieve answers?
> >
> > Thanx!|||You could always change the 'sa' password yourself prior to the
game commencing. I am assuming that this isn't a production
server. At least I hope it's not ;)
"JLS" <jlshoop@.hotmail.com> wrote in message
news:uPoodP3wEHA.3612@.tk2msftngp13.phx.gbl...
> Exactly!!! These are my peers, network guys in my department. But I want
> the game to be fair, if they can just go into the tables via the back door
> then that's really not fair to the rest of the people playing.
> To address the comment about the sa password only being given on a need to
> know, it is.
>
> "AnthonyThomas" <AnthonyThomas@.discussions.microsoft.com> wrote in message
> news:006309CB-AB18-4C59-8B35-75903AA6ECC2@.microsoft.com...
> > The best solution would be to put that database on a secured
installation
> > where you controlled who had sa access.
> >
> > The problem with any sort of auditing solution is that the people you
are
> > auditing are GOD within the system, which means they have the power to
> > subvert your tracking.
> >
> > Sincerely,
> >
> >
> > Anthony Thomas
> >
> >
> > "Armando Prato" wrote:
> >
> > >
> > > You could use the Profiler on the database and monitor queries, spid's
> etc. This can all
> > > be logged to a table.
> > >
> > >
> > > "JLS" <jlshoop@.hotmail.com> wrote in message
> news:eiWh$z1wEHA.1300@.TK2MSFTNGP14.phx.gbl...
> > > Is there a way I can monitor who is using EM to open tables?
> > >
> > > Suppose I have a database with a table(s) where I keep the answers
to
> questions on a test, or answers to a game a company is running on an
> intranet, how do I know if people with sa permissions are going in via the
> back door to look/retrieve answers?
> > >
> > > Thanx!
>

Friday, February 24, 2012

Attribut key not found vs Characters

Hello,

When I process one of my dimension, I have an error message "attribut key not found".

It's not link with records present in fact table and not in dimension table, but with the value of the attributs which contain symbols.

To be accurate I integrate first data from a database DB2 AS400 to sql server 2005 (with provider ADO.NET ODBC).

In the database DB2 AS400 the data could have different languages (chinese, japanese,...) but so far it is not necessary to see data with the correct language (moreover the database is not setup in Unicode and 1 specific language = 1 CCSID value...).

So I could have a client name with symbols in the name like :"€"

I think this is what SSAS doesn't like when I process the dimension...

When I set the KeyNotFound property of the dimension to "Ignore Error", I can after process my dimension, but when I browse it, I have an error ("the server sent an unrecognizable response").

Do you have any idea to how to deal with this error?

I think about eliminating the symbols like "€" to begin, but I don't know if there are better solutions (and less dirty...).

Thanks,

Guillaume

There are two properties on the attribute's key columns you should check: Collation and InvalidXmlCharacters. The first will set the character set and case sensitivity for the column in question. When not set at the column level it inherits from the parent object, usually all the way up to the default settings specified when the OLAP server is installed. This should allow the server to understand when two different character codes represent equivalent or different characters. The second property, InvalidXmlCharacters, determines the behavior of the server when it encounters characters that are not valid in XML without some encoding. For performance reasons, the server will not check for the presence of such characters unless you set the InvalidXmlCharacters property. As a result if such invalid characters exist, the response the server sends to the client will not be valid XML.|||

Thanks for you reply, it works now!

I need to ignore the "attribut key not found" error to be able to process the dimension, but thanks to the option InvalidXmlCharacters set to "remove" I can browse my attributs.

Guillaume

Thursday, February 16, 2012

Attaching the log file and the mdf files of the database.

When I try to attach both the log file and mdf files

I got the following error message.

TITLE: Microsoft SQL Server Management Studio

Attach database failed for Server 'FCIT-GFOX082'. (Microsoft.SqlServer.Smo)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=9.00.1399.00&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Attach+database+Server&LinkId=20476


ADDITIONAL INFORMATION:

An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)

The header for file 'C:\Documents and Settings\Administrator\My Documents\Microsoft Press\AS2005SBS\Setup\Query\log_attach_databases.txt' is not a valid database file header. The FILE SIZE property is incorrect. (Microsoft SQL Server, Error: 5172)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=08.00.0194&EvtSrc=MSSQLServer&EvtID=5172&LinkId=20476


BUTTONS:

OK

Could someone help me on how to go about this.

Regards,

Ronald

Maybe you need to take a step back and tell us what you were trying to accomplish. SSAS does not use mdf and log files. And the file in the error message you posted is a .txt file.

SSAS either uses a .abf format for back up and restore, or an xmla script to create an empty database.

|||

I am trying to attach the SSAS Step by Step database that comes with the book Microsoft SQL SERVER 2005 Analysis SErvices Step by Step.

When I try it out, I get error messages.

Regards,

Ronaldl

Sunday, February 12, 2012

attaching a database to sql express

I'm trying to attach a database to sql express with the following code from the management tool. I keep getting an error message. An someone explain what I'm doing wrong.

Msg 102, Level 15, State 1, Line 9

Incorrect syntax near '<'.

IF NOT EXISTS(

SELECT *

FROM sys.databases

WHERE name = N'<northwind.mdb, I4V0Y6\SQLEXPRESS, northwind>'

)

CREATE DATABASE <database_name, sysname, your_database_name>

ON PRIMARY (FILENAME = '<c:\my documents\my webs\myweb3,,C:\Program files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\northwind.MDF>')

FOR ATTACH

GO

Ira

You have to substitute the value in the <> signs with your actual values. SO it should evaluate to something like:

CREATE DATABASE Archive
ON (FILENAME = 'C:\Program files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\northwind.MDF')
FOR ATTACH

The BOL has more samples about that.

HTH, Jens Suessmeyer.

http://www.sqlserver2005.de

Attaching a database to SQL 7.0

I have tried to use the command SP_ATTACH_DB to add a
database to my SQL SERVER 7.0, but I get an error message
stating the unicode comparison flag 196611 of my database
is different from the one setup in my server 196609.
Does anybody know how to change this parameter? I have
reinstalled SQL several times testing the character set,
sort order and Unicode collation but nothing seems to
correct this error message.>
> I have tried to use the command SP_ATTACH_DB to add a
> database to my SQL SERVER 7.0, but I get an error message
> stating the unicode comparison flag 196611 of my database
> is different from the one setup in my server 196609.
> Does anybody know how to change this parameter? I have
> reinstalled SQL several times testing the character set,
> sort order and Unicode collation but nothing seems to
> correct this error message.
--
You need to rebuild your master database to conform to unicode comparison
flag = 196611 defined as follows:
Case-insensitive = 1
Accent-insensitive = 2
Width-insensitive = 65536
Kana-insensitive = 131072
Only then can you attach your database.
Hope this helps,
--
Eric Cárdenas
Senior support professional
This posting is provided "AS IS" with no warranties, and confers no rights.

Attaching a .mdf/.ldf on SQL Server

Trying to attach a SQL Server 2000 database (.mdf with .ldf) onto a fresh
installation of SQL Server 2000.
I get the message :
"Error 602: Could not find row in sysindexes for database ID 7, object ID 1,
index ID 1, Run DBCC CHECKTABLE on sysindexes."
Is there any way to use those files? Unfortunately, I don't have any
backups. Does it matter?I'd put the DB back on the source, run the DBCC, fix what needs to be fixed,
and start over.
"Savvoulidis Iordanis" wrote:
> Trying to attach a SQL Server 2000 database (.mdf with .ldf) onto a fresh
> installation of SQL Server 2000.
> I get the message :
> "Error 602: Could not find row in sysindexes for database ID 7, object ID 1,
> index ID 1, Run DBCC CHECKTABLE on sysindexes."
> Is there any way to use those files? Unfortunately, I don't have any
> backups. Does it matter?
>|||> I get the message :
> "Error 602: Could not find row in sysindexes for database ID 7, object ID
> 1,
> index ID 1, Run DBCC CHECKTABLE on sysindexes."
You can get this error message when trying to attach a database from a
higher version of SQL Server to a lower version. For example, trying to
attach a database from SQL Server 2005 on an instance of SQL Server 2000.
Doesn't sound like this is your case, but I thought I'd mention it just in
case.
--
Gail Erickson [MS]
SQL Server Documentation Team
This posting is provided "AS IS" with no warranties, and confers no rights
Download the latest version of Books Online from
http://technet.microsoft.com/en-us/sqlserver/bb428874.aspx
"Savvoulidis Iordanis" <Savvoulidis Iordanis@.discussions.microsoft.com>
wrote in message news:9E95AAB1-9737-40F7-A940-896F40716630@.microsoft.com...
> Trying to attach a SQL Server 2000 database (.mdf with .ldf) onto a fresh
> installation of SQL Server 2000.
> I get the message :
> "Error 602: Could not find row in sysindexes for database ID 7, object ID
> 1,
> index ID 1, Run DBCC CHECKTABLE on sysindexes."
> Is there any way to use those files? Unfortunately, I don't have any
> backups. Does it matter?
>