Showing posts with label anywhere. Show all posts
Showing posts with label anywhere. Show all posts

Wednesday, March 7, 2012

Issue with DTS from Sql25k

Hi everyone,

I understand that this is an issue. Microsofts doesn't inform anywhere

When you've got in your workstation both Sql2k and Sql25k clients and try to install the package for design dts 2000 from Sql25k then you'll not be able to re-start your Enterprise Manager from

MMC.

Appears this error:

?ProcessExecute@.@.YAXPAUHWND_@.@.PBG1@.Z dynamic link library procedure start point is not founded (SEMSFC.DLL)

Query Analyzer starts as usual, without problems but you lose your EM.

TIA

If you have both 2000 and 2005 client tools installed, you do not need the "SQL 2005 Compatibility DTS tools" installed. First, uninstall them. Then figure out what is causing your other error, that says you need to install them.

My problem seems to have been the SQL 7 client tools were also installed, so I had 7, 2000 and 2005. This confused 2005. As soon as I uninstalled the SQL 7 client tools, the error went away and I was able to run the DTS designer in 2005.|||

Hi Tom,

Thanks for your response. I get the point but at least it could be reported.

|||What it really need to do is give you a valid error message, instead of "install DTS components" which you don't need to do. :) If it said "could not find xxxxx" or "error in .DLL" or something, then it wouldn't lead people, including myself, down the wrong path.

Monday, February 20, 2012

issqluser: how is it set/unset

I can find no information anywhere on the Internet concerning what the issqluser column in the sysusers table actually means or how it is set/unset. sp_dropuser and sp_revokedbaccess appear to drop the user completely from the sysusers table in the target database.
What are the mechanisms that can cause the issqluser to be set to 0? I know I can drop and recreate the user, but I have a customer who somehow got the value set to zero, and I'm trying to find out how to avoid the problem or fix it in-place in the future.

There are 2 types of user accounts SQL users and Windows users. The latter is required to use trusted connection where a users connection to the SQL server is based on the account they logged into their machine.

The former SQL accounts should only be used where Windows accounts can't be.

The difference between the two are that SQL accounts are defined in the SQL server including the username and password, a windows account is defined outside of SQL server and you allow the windows account access to the SQL server.

In SQL 2000 sp_addlogin and sp_droplogin are used fo SQL accounts, sp_grantlogin and sp_revokelogin are used for windows accounts.

In SQL 2005 you use CREATE LOGIN and DROP LOGIN for both

sysusers is a system table thus the reason for the lack of documentation. I guess a 0 suggests the account is a windows account.

|||Got it. Thanks!