Showing posts with label point. Show all posts
Showing posts with label point. Show all posts

Friday, March 30, 2012

Installing MSDE - User Security Issues...

Hi,
Could someone point me in the direction of a step-by-step tutorial for
replicating a SQL Server 2000 database as an MSDE database in a seperate
machine, with all tables (including data), users/security, etc.
Currently I'm taking a backup (I can't script the data from Ent. Mgr) and
using oSQL to restore the database to an MSDE install on a machine.
It's done in two steps - installing MSDE and restoring the backup. However,
after the backup has been restored (the user restores correctly) - I am
unable to connect to the database as the default user that I created in the
backup. If I remove the user and re-add him via Ent. Mgr then I can
connect... does anyone know why this is?
First Step - Install MSDE script:
^^^^^^^^^^^^^^^^^^^^^^^^
Set objShell = CreateObject("WScript.Shell")
Set fso = createobject("scripting.filesystemobject")
Set WshNetwork = WScript.CreateObject("WScript.Network")
objShell.Exec(fso.getabsolutepathname(".") & "\setup.exe BLANKSAPWD=1
SAPWD="""" SECURITYMODE=SQL TARGETDIR=""C:\Program Files\Microsoft SQL
Server\Mssql\Binn\"" DATADIR=""C:\Program Files\Microsoft SQL
Server\Mssql\Data\"" instancename=""" & WshNetwork.ComputerName &
"\DatabaseName""")
Second Step - Restore the database backup:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Set objShell = CreateObject("WScript.Shell")
set fso = createobject("scripting.filesystemobject")
Set WshNetwork = WScript.CreateObject("WScript.Network")
currentpath = fso.getabsolutepathname(".")
' Start the msde service
objShell.Exec("net start MSSQL$" & WshNetwork.ComputerName &
"\DatabaseName")
' Make local data and backup directories
'objShell.Exec("md c:\SQL_Databases\DATA")
'objShell.Exec("md c:\SQL_Databases\BACKUP")
' Copy this Repository.bak to the SQL_Databases DatabaseName.bak
fso.CopyFile currentpath &
"\Repository.bak","c:\SQL_Databases\BACKUP\DatabaseName.bak"
' Restore
objShell.Exec(currentpath & "\osql.exe -S" & WshNetwork.ComputerName &
"\DatabaseName -E -Q ""restore database DatabaseName from disk =
'C:\SQL_Databases\BACKUP\DatabaseName.bak'""")
All I want to do is reproduce one of my SQL Server databases AS IS on
several client workstations by way of an MSDE installer.
Any help gratefully appreciated !
Thanks,
Mike
xposted to closely related groups: .sqlserver.msde, .sqlserver.security,
.sqlserver.setup
--
Liddle Feesh
*fap fap fap fap*
<>< <>< <>< <>< ><>
<>< <>< <>< <>< <>< <><
. ,
.:/
. ,,///;, ,;/
. o:::::::;;///
quote:

>::::::::;;\\\

''\\\\'" ';\
';\314546 HOW TO: Move Databases Between Computers That Are Running SQL Server
http://support.microsoft.com/?id=314546
304692 INF: Moving SQL Server 7.0 Databases to a New Server with BACKUP and
http://support.microsoft.com/?id=304692
Thanks,
Kevin McDonnell
Microsoft Corporation
This posting is provided AS IS with no warranties, and confers no rights.|||"Kevin McDonnell [MSFT]" <kevmc@.online.microsoft.com> wrote in message
news:clkWql2wDHA.2900@.cpmsftngxa07.phx.gbl...
quote:

> 314546 HOW TO: Move Databases Between Computers That Are Running SQL

Server
quote:

> http://support.microsoft.com/?id=314546
> 304692 INF: Moving SQL Server 7.0 Databases to a New Server with BACKUP

and
quote:

> http://support.microsoft.com/?id=304692

Hi Kevin and Joseph,
Many thanks for your replies relating to my difficulties with the orphaned
users that arise when restoring a backup on a different server.
Using the sp_change_user_login stored procedure worked perfectly.
Thanks again for your advice, and please accept my apologies for the slight
crosspost.
Best Regards,
Mike
Liddle Feesh
*fap fap fap fap*
<>< <>< <>< <>< ><>
<>< <>< <>< <>< <>< <><
. ,
.:/
. ,,///;, ,;/
. o:::::::;;///
quote:

>::::::::;;\\\

''\\\\'" ';\
';\sql

Monday, March 26, 2012

Installing error for SQL Server 2000 SP4

I am installing SQL 2000 SP-4 & at one point after clicking next,
next
i am getting this error message "Setup requires an additional 3072kb
free space on E:" Where this Drive E: is on SAN Storage & as 13GB
free
space, i tried "Retry" 3-4 times & getting same error. So i "CANCEL"
&
rebooted server to rule out all possibilities & after reboot i
started
setup process again came to the same error message that is mentioned
earlier. even though i have 13GB free space i don't know where the
problem is. any help is appreciated. thanking in advance.
<myrights99@.gmail.com> wrote in message
news:1175623943.799477.108990@.d57g2000hsg.googlegr oups.com...
>I am installing SQL 2000 SP-4 & at one point after clicking next,
> next
> i am getting this error message "Setup requires an additional 3072kb
> free space on E:" Where this Drive E: is on SAN Storage & as 13GB
> free
> space, i tried "Retry" 3-4 times & getting same error. So i "CANCEL"
> &
> rebooted server to rule out all possibilities & after reboot i
> started
> setup process again came to the same error message that is mentioned
> earlier. even though i have 13GB free space i don't know where the
> problem is. any help is appreciated. thanking in advance.
>
Sounds like a permissions issue.
Greg Moore
SQL Server DBA Consulting Remote and Onsite available!
Email: sql (at) greenms.com http://www.greenms.com/sqlserver.html
sql

Installing error for SQL Server 2000 SP4

I am installing SQL 2000 SP-4 & at one point after clicking next,
next
i am getting this error message "Setup requires an additional 3072kb
free space on E:" Where this Drive E: is on SAN Storage & as 13GB
free
space, i tried "Retry" 3-4 times & getting same error. So i "CANCEL"
&
rebooted server to rule out all possibilities & after reboot i
started
setup process again came to the same error message that is mentioned
earlier. even though i have 13GB free space i don't know where the
problem is. any help is appreciated. thanking in advance.<myrights99@.gmail.com> wrote in message
news:1175623943.799477.108990@.d57g2000hsg.googlegroups.com...
>I am installing SQL 2000 SP-4 & at one point after clicking next,
> next
> i am getting this error message "Setup requires an additional 3072kb
> free space on E:" Where this Drive E: is on SAN Storage & as 13GB
> free
> space, i tried "Retry" 3-4 times & getting same error. So i "CANCEL"
> &
> rebooted server to rule out all possibilities & after reboot i
> started
> setup process again came to the same error message that is mentioned
> earlier. even though i have 13GB free space i don't know where the
> problem is. any help is appreciated. thanking in advance.
>
Sounds like a permissions issue.
Greg Moore
SQL Server DBA Consulting Remote and Onsite available!
Email: sql (at) greenms.com http://www.greenms.com/sqlserver.html

Installing error for SQL Server 2000 SP4

I am installing SQL 2000 SP-4 & at one point after clicking next,
next
i am getting this error message "Setup requires an additional 3072kb
free space on E:" Where this Drive E: is on SAN Storage & as 13GB
free
space, i tried "Retry" 3-4 times & getting same error. So i "CANCEL"
&
rebooted server to rule out all possibilities & after reboot i
started
setup process again came to the same error message that is mentioned
earlier. even though i have 13GB free space i don't know where the
problem is. any help is appreciated. thanking in advance.<myrights99@.gmail.com> wrote in message
news:1175623943.799477.108990@.d57g2000hsg.googlegroups.com...
>I am installing SQL 2000 SP-4 & at one point after clicking next,
> next
> i am getting this error message "Setup requires an additional 3072kb
> free space on E:" Where this Drive E: is on SAN Storage & as 13GB
> free
> space, i tried "Retry" 3-4 times & getting same error. So i "CANCEL"
> &
> rebooted server to rule out all possibilities & after reboot i
> started
> setup process again came to the same error message that is mentioned
> earlier. even though i have 13GB free space i don't know where the
> problem is. any help is appreciated. thanking in advance.
>
Sounds like a permissions issue.
Greg Moore
SQL Server DBA Consulting Remote and Onsite available!
Email: sql (at) greenms.com http://www.greenms.com/sqlserver.html

Friday, March 23, 2012

Installing 2000 Client via SMS

Can someone point me to documentation on how to install the SQL Client
install via SMS to include the developer libraries? Our SMS admin has
created a package using WISE, but cannot get it to install consistently.
HELP!
Check out BOL topic Performing an Unattended Installation for information on
using SMS
"Cathy Soloway" wrote:

> Can someone point me to documentation on how to install the SQL Client
> install via SMS to include the developer libraries? Our SMS admin has
> created a package using WISE, but cannot get it to install consistently.
> HELP!
|||Thanks, but we've long since reviewed them.
"Douglas Guerena" wrote:
[vbcol=seagreen]
> Check out BOL topic Performing an Unattended Installation for information on
> using SMS
> "Cathy Soloway" wrote:

Friday, March 9, 2012

Installation of UPS Worldship 9.0 Fails

Greetings, if anyone has advice or can point me in the right direction
it would be appreciated. Been a week now, and I just can not make
progress on this issue. Machine is windows xp sp2
UPS Application Error Message:
"Installation failure during Step 7 of 27:
MSDEInstaller:PostInstallationSteps:DBSupportEngin e.ConfigureServer
Failed to install UPS Database Server"
UPS Error Log
------
7/18/2007 11:45:17 PM: Fresh MSDE install
7/18/2007 11:45:17 PM: Preparing to copy watch and Kill program to
local Target Directory
7/18/2007 11:45:17 PM: Successfully copied WaitAndKill.exe
7/18/2007 11:45:17 PM: Preparing Execution of C:\UPS\WSTD
\WaitAndKill.exe
7/18/2007 11:45:17 PM: Fresh MSDE install
7/18/2007 11:45:17 PM: Calling MSDE Setup.exe
7/18/2007 11:45:17 PM: MSDE Setup Command Line = C:\Documents and
Settings\Administrator\Desktop\ups\MSDE\English\Se tup.exe /qn /L*v "C:
\UPS\WSTD\Install\msde_install.log" INSTANCENAME="UPSWSDBSERVER"
SAPWD="****" TARGETDIR="C:\UPS\WSTD\" DISABLENETWORKPROTOCOLS=1
COLLATION=SQL_Latin1_General_Cp1_CI_AS SECURITYMODE=SQL
7/18/2007 11:48:48 PM: StandardError
7/18/2007 11:48:48 PM: Completed execution of C:\Documents and
Settings\Administrator\Desktop\ups\MSDE\English\Se tup.exe/qn /L*v "C:
\UPS\WSTD\Install\msde_install.log" INSTANCENAME="UPSWSDBSERVER"
SAPWD="****" TARGETDIR="C:\UPS\WSTD\" DISABLENETWORKPROTOCOLS=1
COLLATION=SQL_Latin1_General_Cp1_CI_AS SECURITYMODE=SQL
7/18/2007 11:48:48 PM: C:\Documents and Settings\Administrator
\Desktop\ups\MSDE\English\Setup.exe/qn /L*v "C:\UPS\WSTD\Install
\msde_install.log" INSTANCENAME="UPSWSDBSERVER" SAPWD="****"
TARGETDIR="C:\UPS\WSTD\" DISABLENETWORKPROTOCOLS=1
COLLATION=SQL_Latin1_General_Cp1_CI_AS SECURITYMODE=SQL completed
with a code of 1603
7/18/2007 11:48:48 PM: *******!!!!!!!!!!!! ATTENTION!!!! MSDE INSTALL
DID NOT RETURN SUCCESS. THE RETURN CODE IS 1603
7/18/2007 11:48:48 PM: PLEASE CONSULT MICROSOFT ARTICLE
http://support.microsoft.com/kb/290158 FOR ERROR CODES
MSDE INSTALL LOG
------
Settings\Administrator\Desktop\ups\MSDE\English\Se tup\
Property(S): SourcedirProduct = {E09B48B5-E141-427A-AB0C-D3605127224A}
Property(S): ProductToBeRegistered = 1
MSI (s) (04:94) [23:48:48:343]: Note: 1: 1708
MSI (s) (04:94) [23:48:48:343]: Product: Microsoft SQL Server Desktop
Engine (UPSWSDBSERVER) -- Installation operation failed.
MSI (s) (04:94) [23:48:48:343]: Cleaning up uninstalled install
packages, if any exist
MSI (s) (04:94) [23:48:48:343]: MainEngineThread is returning 1603
Would be more then happy to supply additional information, if the
above information is not sufficient to resolve this issue. Thank you
in advance.
- Eric
Eric,
http://support.microsoft.com/kb/925209 says that this is the result if a
partially removed previous install. This message is in the context of Small
Business Server, but http://support.microsoft.com/kb/897877/ includes
instruction on cleaning up the MSDE installation.
RLF
<info@.supernoc.com> wrote in message
news:1184821105.524742.222300@.x35g2000prf.googlegr oups.com...
> Greetings, if anyone has advice or can point me in the right direction
> it would be appreciated. Been a week now, and I just can not make
> progress on this issue. Machine is windows xp sp2
> UPS Application Error Message:
> "Installation failure during Step 7 of 27:
> MSDEInstaller:PostInstallationSteps:DBSupportEngin e.ConfigureServer
> Failed to install UPS Database Server"
> UPS Error Log
> ------
> 7/18/2007 11:45:17 PM: Fresh MSDE install
> 7/18/2007 11:45:17 PM: Preparing to copy watch and Kill program to
> local Target Directory
> 7/18/2007 11:45:17 PM: Successfully copied WaitAndKill.exe
> 7/18/2007 11:45:17 PM: Preparing Execution of C:\UPS\WSTD
> \WaitAndKill.exe
> 7/18/2007 11:45:17 PM: Fresh MSDE install
> 7/18/2007 11:45:17 PM: Calling MSDE Setup.exe
> 7/18/2007 11:45:17 PM: MSDE Setup Command Line = C:\Documents and
> Settings\Administrator\Desktop\ups\MSDE\English\Se tup.exe /qn /L*v "C:
> \UPS\WSTD\Install\msde_install.log" INSTANCENAME="UPSWSDBSERVER"
> SAPWD="****" TARGETDIR="C:\UPS\WSTD\" DISABLENETWORKPROTOCOLS=1
> COLLATION=SQL_Latin1_General_Cp1_CI_AS SECURITYMODE=SQL
> 7/18/2007 11:48:48 PM: StandardError
> 7/18/2007 11:48:48 PM: Completed execution of C:\Documents and
> Settings\Administrator\Desktop\ups\MSDE\English\Se tup.exe/qn /L*v "C:
> \UPS\WSTD\Install\msde_install.log" INSTANCENAME="UPSWSDBSERVER"
> SAPWD="****" TARGETDIR="C:\UPS\WSTD\" DISABLENETWORKPROTOCOLS=1
> COLLATION=SQL_Latin1_General_Cp1_CI_AS SECURITYMODE=SQL
> 7/18/2007 11:48:48 PM: C:\Documents and Settings\Administrator
> \Desktop\ups\MSDE\English\Setup.exe/qn /L*v "C:\UPS\WSTD\Install
> \msde_install.log" INSTANCENAME="UPSWSDBSERVER" SAPWD="****"
> TARGETDIR="C:\UPS\WSTD\" DISABLENETWORKPROTOCOLS=1
> COLLATION=SQL_Latin1_General_Cp1_CI_AS SECURITYMODE=SQL completed
> with a code of 1603
> 7/18/2007 11:48:48 PM: *******!!!!!!!!!!!! ATTENTION!!!! MSDE INSTALL
> DID NOT RETURN SUCCESS. THE RETURN CODE IS 1603
> 7/18/2007 11:48:48 PM: PLEASE CONSULT MICROSOFT ARTICLE
> http://support.microsoft.com/kb/290158 FOR ERROR CODES
>
> MSDE INSTALL LOG
> ------
> Settings\Administrator\Desktop\ups\MSDE\English\Se tup\
> Property(S): SourcedirProduct = {E09B48B5-E141-427A-AB0C-D3605127224A}
> Property(S): ProductToBeRegistered = 1
> MSI (s) (04:94) [23:48:48:343]: Note: 1: 1708
> MSI (s) (04:94) [23:48:48:343]: Product: Microsoft SQL Server Desktop
> Engine (UPSWSDBSERVER) -- Installation operation failed.
> MSI (s) (04:94) [23:48:48:343]: Cleaning up uninstalled install
> packages, if any exist
> MSI (s) (04:94) [23:48:48:343]: MainEngineThread is returning 1603
>
> Would be more then happy to supply additional information, if the
> above information is not sufficient to resolve this issue. Thank you
> in advance.
> - Eric
>

Sunday, February 19, 2012

Installation Error

I have a SBS Premium with SQL Server 2000 SP3, I try to install Reporting
Services Std, and send a error "One does not find the point of entry of the
procedure abort in the DLL msvcr71.dll". Anybody can help me plz...
Thanks in advance,
GrgCan I Install Reporting on SBS Premium 2003?