Showing posts with label mssql. Show all posts
Showing posts with label mssql. Show all posts

Monday, March 26, 2012

Installing SQL service on its own

We Managed to install the MSDE system but it did not
install the SQL service again.
Is there a way to setup a MSSQL SERVER service manually on
Windows NT4.
Many Thanks
ITS Support
hi again,
"ITS Support" <anonymous@.discussions.microsoft.com> ha scritto nel
messaggio news:047b01c4dec3$effb0150$a501280a@.phx.gbl
> We Managed to install the MSDE system but it did not
> install the SQL service again.
> Is there a way to setup a MSSQL SERVER service manually on
> Windows NT4.
> Many Thanks
> ITS Support
what problems are raised and reported in the installation log text file?
search for
RETURN VALUE 3
about 10/15 lines before or after each entry a description of the problem(s)
is reported
Andrea Montanari (Microsoft MVP - SQL Server)
http://www.asql.biz/DbaMgr.shtmhttp://italy.mvps.org
DbaMgr2k ver 0.9.1 - DbaMgr ver 0.55.1
(my vb6+sql-dmo little try to provide MS MSDE 1.0 and MSDE 2000 a visual
interface)
-- remove DMO to reply

Monday, March 19, 2012

Integrated Security with IIS6.0 identity impersonate=true

Hi,
I'm struggling trying to catch the current user in MSSQL with
SYSTEM_USER through an Intranet Application. I try to do this to create
audit trail of changes to data. (I'm aware of the performance penalties
it causes due to application pooling problems with integrated
security.)
Now to my problem:
Using IIS6.0 ASP.NET 1.1 on Windows2003 with Windows Authentication
enabled and Anonymous logon disabled. I get the correct user and can
verify him/her in IIS. Now I want this identity to be used when logging
into SQLServer. To keep things simple, lets say the SQLServer is on the
same machine (it is right now, but won't be further on). The aspx-pages
use a wrapper to call COM-dll's that connect to the database using an
ODBC file DSN. I have set <indentity impersonate="true" /> in
Web.Config and have created the Windows Integrated Security login
accounts in SQLServer with proper db-roles to update the data.
Unfortunately I keep getting stuck with the NT AUTHORISATION/NETWORK
SERVICE account when the connection reaches SQLServer. It was working
last week, but now I've made a clean install and just can't get it to
work.
Please help with any ideas! The <identity impersonate="true" /> isn't
listening to me.
/RichardIt looks like you might be missing setting up delegation.
The following articles should get you started:
How To: Implement Kerberos Delegation for Windows 2000
http://msdn.microsoft.com/library/d.../>
NetHT05.asp
How to use Kerberos authentication in SQL Server
http://support.microsoft.com/?id=319723
-Sue
On 15 May 2006 17:23:09 -0700, richard.allgardh@.medinit.se
wrote:

>Hi,
>I'm struggling trying to catch the current user in MSSQL with
>SYSTEM_USER through an Intranet Application. I try to do this to create
>audit trail of changes to data. (I'm aware of the performance penalties
>it causes due to application pooling problems with integrated
>security.)
>Now to my problem:
>Using IIS6.0 ASP.NET 1.1 on Windows2003 with Windows Authentication
>enabled and Anonymous logon disabled. I get the correct user and can
>verify him/her in IIS. Now I want this identity to be used when logging
>into SQLServer. To keep things simple, lets say the SQLServer is on the
>same machine (it is right now, but won't be further on). The aspx-pages
>use a wrapper to call COM-dll's that connect to the database using an
>ODBC file DSN. I have set <indentity impersonate="true" /> in
>Web.Config and have created the Windows Integrated Security login
>accounts in SQLServer with proper db-roles to update the data.
>Unfortunately I keep getting stuck with the NT AUTHORISATION/NETWORK
>SERVICE account when the connection reaches SQLServer. It was working
>last week, but now I've made a clean install and just can't get it to
>work.
>Please help with any ideas! The <identity impersonate="true" /> isn't
>listening to me.
>/Richard

Monday, March 12, 2012

integrate micosoft project into MS SQL

hi all, would like to ask for help...is anyone know how save the ms project into database, is it possible to save it into MSSQL.

i am just a new beginner..thanks in advanced.

-Myra-

Microsoft produce Project Central which does what you are asking for.

|||

thx for the reply...but how can we insert the value of microsoft project into MS SQL? have to use the tools?if not den how?

|||

actually what i want to do is that, i need to insert the value of microsoft project created into a database, then, i plan to use asp.net 2.0 to code it and manipulate the data of the microsoft project in database, like edit, delete and print, do u guys know the way?thx a lot again..

|||

Are you just trying to store it as a binary file? If so, you can easily save and restore it, hoever the manipulation of it will be very difficult.

Have you looked at Project Central? That stores the data as collection of data rather than as a single BLOB Other than the schema is non-intuitive, the data is in principal capable of being manipulated by an ASP.NET site.

|||

i have look through the project central, but my os is actually window xp which is incompatible with the requirement..

Integrate changes into MSDE Database?

I have a module that requires modifcation to the database. How do I adopt the following instructuions for use with MSDE?

1. Create a MSSQL structure.
2. Open a query anylizer and copy the CreateDB.SQL file. Run it.

Thanks,
ScottYou should be able to use the osql.exe utility. To run the CreateDB.SQL file, you can go to the Windows command prompt, go to the directory containing the .SQL file, and issue a command such as:


osql -E -i CreateDB.SQL

Terri|||Thanks for responding Terri.

I have created a seperate MSDE for each on the Starter Kits I'm tinkering with. When I run CreateDB, do I need to specify which MSDE?

Scott

Sunday, February 19, 2012

Installing SQL

Hi;
I am new to sql. I want to install MSSQL 2000 and have connectivity ( I am
learning DB design). I do not know how to setup the SQL Executive account. I
think it has something to do with network. I am using single PC ( no
network). I need server and client on my PC and don't know how to do it,.
Could somebody explain how to do it or point me to book or any material how
to do it so I can connect to DB, please.
Thanks in advance.jan (janpiasz@.sympatico.ca) writes:
> I am new to sql. I want to install MSSQL 2000 and have connectivity ( I
> am learning DB design). I do not know how to setup the SQL Executive
> account. I think it has something to do with network. I am using single
> PC ( no network). I need server and client on my PC and don't know how
> to do it,. Could somebody explain how to do it or point me to book or
> any material how to do it so I can connect to DB, please.

You mean the account under which SQL Server is to run?

The easiest way is to use the local system account, then you don't need
passwords or anything.

Else right-click on My Computer and choose Manage. Somewhere there,
you should be able to add users to your machine. Exactly how depends
on the OS you are running.

--
Erland Sommarskog, SQL Server MVP, sommar@.algonet.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techin.../2000/books.asp|||Yes, I read a book about MSSQL but I still can't do it. Local account does
not give me the possibility to connect to DB. for example I make ER diagram
in some kind of software, the software is suppose to generate SQL script
that is suppose to be ported to lets say Access. When I want to port the
script the ER program asks me for user name and password, I think it is the
password from SQL Executive and I am stuck. Is it possible to setup MSSQL
on a single PC to have server and client?

"Erland Sommarskog" <sommar@.algonet.se> wrote in message
news:Xns948D5D54F709Yazorman@.127.0.0.1...
> jan (janpiasz@.sympatico.ca) writes:
>> I am new to sql. I want to install MSSQL 2000 and have connectivity ( I
>> am learning DB design). I do not know how to setup the SQL Executive
>> account. I think it has something to do with network. I am using single
>> PC ( no network). I need server and client on my PC and don't know how
>> to do it,. Could somebody explain how to do it or point me to book or
>> any material how to do it so I can connect to DB, please.
> You mean the account under which SQL Server is to run?
> The easiest way is to use the local system account, then you don't need
> passwords or anything.
> Else right-click on My Computer and choose Manage. Somewhere there,
> you should be able to add users to your machine. Exactly how depends
> on the OS you are running.
>
> --
> Erland Sommarskog, SQL Server MVP, sommar@.algonet.se
> Books Online for SQL Server SP3 at
> http://www.microsoft.com/sql/techin.../2000/books.asp|||Thanks; I think the key to solve my problems with setting up the account is
that I used Control panel to set it up. You say that I should use My
Computer/Manage, I think this is it. Thanks.
Jan

"Erland Sommarskog" <sommar@.algonet.se> wrote in message
news:Xns948D5D54F709Yazorman@.127.0.0.1...
> jan (janpiasz@.sympatico.ca) writes:
>> I am new to sql. I want to install MSSQL 2000 and have connectivity ( I
>> am learning DB design). I do not know how to setup the SQL Executive
>> account. I think it has something to do with network. I am using single
>> PC ( no network). I need server and client on my PC and don't know how
>> to do it,. Could somebody explain how to do it or point me to book or
>> any material how to do it so I can connect to DB, please.
> You mean the account under which SQL Server is to run?
> The easiest way is to use the local system account, then you don't need
> passwords or anything.
> Else right-click on My Computer and choose Manage. Somewhere there,
> you should be able to add users to your machine. Exactly how depends
> on the OS you are running.
>
> --
> Erland Sommarskog, SQL Server MVP, sommar@.algonet.se
> Books Online for SQL Server SP3 at
> http://www.microsoft.com/sql/techin.../2000/books.asp|||jan (janpiasz@.sympatico.ca) writes:
> Thanks; I think the key to solve my problems with setting up the account
> is that I used Control panel to set it up. You say that I should use My
> Computer/Manage, I think this is it. Thanks.

Sorry, if I pointed you to the wrong place. That's a Windows issue and not
an SQL Server thing, so I blame it on that.

Any way, judging from your other post, I might have misunderstood your
question. The username/password you set up in the Control Panel is the
account with which SQL Server itself logs into Windows.

But if you use a data-modelling tool for ER diagrams, this tool ask you
for username/password to log into SQL Server, and that's a different
thing.

There are two ways to log in to SQL Server: Windows authentication and
SQL Server authentication. With Windows authentication, you don't provide
username and password, but SQL Server checks you credentials with Windows,
and if your Windows user have been granted access to SQL Server you are
let in. With SQL Server authentication, you provide username and password
and SQL Server looks them up in its internal register, and Windows is
not involved.

Windows authentication is preferrable in terms of security and simplicity.
Therefore, you need to configure SQL Server to accept SQL authentication.
But in the beginning, SQL authentication was all there was. So it might
be that your ER tool does not know about trusted connection, and prompts
you for a username/password. You can activate SQL authentication from
Enterprise Manager. Right-click the server, and choose Property and
head for the Security tab. From EM you can also create SQL Logins and
set their passwords. To have them to run the ER tool, you may have give
them privileges in the database; since this is a standalone machine, you
easiser may be to add them to the sysadmin role. Also, there is a built-in
user "sa" which has rights everywhere in the database. Check that this
user does not have a blank password, because that is very bad.

--
Erland Sommarskog, SQL Server MVP, sommar@.algonet.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techin.../2000/books.asp|||jan (janpiasz@.sympatico.ca) writes:
> Thanks for your help, but it does not work because I am missing 'Model
> Manager'.
> It takes to much time and I must be doing something wrong. I know too
> little about MSSQL, but it will come (I hope in this lifetime ;-)).

"Model Manager"? Do you mean that you do not have Enterprise Manager?

Indeed, if all you have is MSDE, you don't have Enterprise Manager. In
such case this KB article covers this case:
http://support.microsoft.com/default.aspx?scid=325022.

But I have to confess that I am only guessing what your problem really
is.

--
Erland Sommarskog, SQL Server MVP, sommar@.algonet.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techin.../2000/books.asp|||No it is called 'ModelMart' in ERWIN, I don't know where to find it. The
demo model doesn't have it.
Jan
"Erland Sommarskog" <sommar@.algonet.se> wrote in message
news:Xns9490CE17536F4Yazorman@.127.0.0.1...
> jan (janpiasz@.sympatico.ca) writes:
>> Thanks for your help, but it does not work because I am missing 'Model
>> Manager'.
>> It takes to much time and I must be doing something wrong. I know too
>> little about MSSQL, but it will come (I hope in this lifetime ;-)).
> "Model Manager"? Do you mean that you do not have Enterprise Manager?
> Indeed, if all you have is MSDE, you don't have Enterprise Manager. In
> such case this KB article covers this case:
> http://support.microsoft.com/default.aspx?scid=325022.
> But I have to confess that I am only guessing what your problem really
> is.
> --
> Erland Sommarskog, SQL Server MVP, sommar@.algonet.se
> Books Online for SQL Server SP3 at
> http://www.microsoft.com/sql/techin.../2000/books.asp|||You dont NEED model mart to use erwin. Just patience.

"jan" <janpiasz@.sympatico.ca> wrote in message news:<FvSYb.9274$d34.1112877@.news20.bellglobal.com>...
> No it is called 'ModelMart' in ERWIN, I don't know where to find it. The
> demo model doesn't have it.
> Jan
> "Erland Sommarskog" <sommar@.algonet.se> wrote in message
> news:Xns9490CE17536F4Yazorman@.127.0.0.1...
> > jan (janpiasz@.sympatico.ca) writes:
> >> Thanks for your help, but it does not work because I am missing 'Model
> >> Manager'.
> >> It takes to much time and I must be doing something wrong. I know too
> >> little about MSSQL, but it will come (I hope in this lifetime ;-)).
> > "Model Manager"? Do you mean that you do not have Enterprise Manager?
> > Indeed, if all you have is MSDE, you don't have Enterprise Manager. In
> > such case this KB article covers this case:
> > http://support.microsoft.com/default.aspx?scid=325022.
> > But I have to confess that I am only guessing what your problem really
> > is.
> > --
> > Erland Sommarskog, SQL Server MVP, sommar@.algonet.se
> > Books Online for SQL Server SP3 at
> > http://www.microsoft.com/sql/techin.../2000/books.asp|||I understand, but I want to port models to SQL 2000 or Access and don't now
haw to do it. If you know how to do it please let me know.
Thanks, Jan

"WangKhar" <Wangkhar@.yahoo.com> wrote in message
news:bb269444.0402190336.504db7df@.posting.google.c om...
> You dont NEED model mart to use erwin. Just patience.
> "jan" <janpiasz@.sympatico.ca> wrote in message
> news:<FvSYb.9274$d34.1112877@.news20.bellglobal.com>...
>> No it is called 'ModelMart' in ERWIN, I don't know where to find it. The
>> demo model doesn't have it.
>> Jan
>> "Erland Sommarskog" <sommar@.algonet.se> wrote in message
>> news:Xns9490CE17536F4Yazorman@.127.0.0.1...
>> > jan (janpiasz@.sympatico.ca) writes:
>> >> Thanks for your help, but it does not work because I am missing 'Model
>> >> Manager'.
>> >> It takes to much time and I must be doing something wrong. I know too
>> >> little about MSSQL, but it will come (I hope in this lifetime ;-)).
>>> > "Model Manager"? Do you mean that you do not have Enterprise Manager?
>>> > Indeed, if all you have is MSDE, you don't have Enterprise Manager. In
>> > such case this KB article covers this case:
>> > http://support.microsoft.com/default.aspx?scid=325022.
>>> > But I have to confess that I am only guessing what your problem really
>> > is.
>>> > --
>> > Erland Sommarskog, SQL Server MVP, sommar@.algonet.se
>>> > Books Online for SQL Server SP3 at
>> > http://www.microsoft.com/sql/techin.../2000/books.asp