Custom Bootstrap Installer For SQL Express SP 2 With Replication Features Added

Mar 26, 2008

I'm trying to create a custom bootstrapper for SQL Express SP 2 Which enables the replication features of SQL Express. I read an article telling me that I could use the same command line arguments in the bootstrapper as does SQL Server 2008 unattended installation

How to install SQL Server 2008 from the command prompt :

http://msdn2.microsoft.com/en-us/library/ms144259(SQL.100).aspx


Arron Stebners WebLog suggests using the following:

http://blogs.msdn.com/astebner/archive/2006/03/19/555326.aspx

SQLEXPR32.EXE -q /norebootchk /qn reboot=ReallySuppress addlocal=all instancename=SQLEXPRESS SCCCHECKLEVEL=IncompatibleComponents:1;MDAC25Version:0 ERRORREPORTING=2 SQLAUTOSTART=1

What I€™m trying to do is something like this with my parameters:

-q /norebootchk /qn reboot=ReallySuppress addlocal=all SECURITYMODE=SQL SCCCHECKLEVEL=IncompatibleComponents:1;MDAC25Version:0 FEATURES=SQL SQLSVCACCOUNT="NT AUTHORITYSYSTEM" SQLSVCPASSWORD="<password>" SQLSYSADMINACCOUNTS="sa" AGTSVCACCOUNT="NT AUTHORITYNetwork Service" INSTANCEDIR="C:Program FilesMicrosoft SQL Server" SQLBACKUPDIR="C:Program FilesMicrosoft SQL ServerBackup" INSTALLSQLDATADIR="C:Program FilesMicrosoft SQL Servermssql.1mssqldata" /instancename=SQLEXPRESS /SQLSVCStartuptype=2 SQLAUTOSTART=1 ERRORREPORTING=2 ADDUSERASADMIN=0

This fails with an error code 110:

Here is the full install log:

The following properties have been set:
Property: [AdminUser] = true {boolean}
Property: [ProcessorArchitecture] = Intel {string}
Property: [VersionNT] = 5.1.2 {version}
Running checks for package 'Windows Installer 3.1', phase BuildList
The following properties have been set for package 'Windows Installer 3.1':
Running checks for command 'WindowsInstaller3_1WindowsInstaller-KB893803-v2-x86.exe'
Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsi' and value '3.1': true
Result of checks for command 'WindowsInstaller3_1WindowsInstaller-KB893803-v2-x86.exe' is 'Bypass'
'Windows Installer 3.1' RunCheck result: No Install Needed
Running checks for package '.NET Framework 3.5', phase BuildList
Reading value 'Install' of registry key 'HKLMSoftwareMicrosoftNET Framework SetupNDPv3.51033'
Read integer value 1
Setting value '1 {int}' for property 'DotNet35InstallSuccess'
The following properties have been set for package '.NET Framework 3.5':
Property: [DotNet35InstallSuccess] = 1 {int}
Running checks for command 'DotNetFX35dotNetFx35setup.exe'
Result of running operator 'ValueEqualTo' on property 'DotNet35InstallSuccess' and value '1': true
Result of checks for command 'DotNetFX35dotNetFx35setup.exe' is 'Bypass'
'.NET Framework 3.5' RunCheck result: No Install Needed
Running checks for package 'SQL Server 2005 Express Edition SP2 (x86) Build for Project Endeavor', phase BuildList
Running external check with command 'C:DOCUME~1CarrollDLOCALS~1TempVSD381.tmpSQLEXPRESS_PROJECT_ENDEAVORSqlExpressChk.exe' and parameters ''
Process exited with code 1
Setting value '1 {int}' for property 'SQLExpressInstalled'
The following properties have been set for package 'SQL Server 2005 Express Edition SP2 (x86) Build for Project Endeavor':
Property: [SQLExpressInstalled] = 1 {int}
Running checks for command 'SQLEXPRESS_PROJECT_ENDEAVORSQLEXPR.EXE'
Result of running operator 'ValueEqualTo' on property 'SQLExpressInstalled' and value '0': false
Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionNT' and value '5.1': true
Result of checks for command 'SQLEXPRESS_PROJECT_ENDEAVORSQLEXPR.EXE' is 'Bypass'
Running checks for command 'SQLEXPRESS_PROJECT_ENDEAVORSQLEXPR.EXE'
Result of running operator 'ValueEqualTo' on property 'SQLExpressInstalled' and value '0': false
Result of running operator 'VersionLessThan' on property 'VersionNT' and value '5.1': false
Result of running operator 'ValueEqualTo' on property 'AdminUser' and value 'false': false
Result of running operator 'ValueExists' on property 'Version9x': false
Result of running operator 'VersionLessThan' on property 'VersionNT' and value '5.1.2': false
Result of running operator 'ValueNotEqualTo' on property 'ProcessorArchitecture' and value 'Intel': false
Result of checks for command 'SQLEXPRESS_PROJECT_ENDEAVORSQLEXPR.EXE' is 'Install'
Running checks for command 'SQLEXPRESS_PROJECT_ENDEAVORSQLEXPR.EXE'
Result of running operator 'ValueEqualTo' on property 'SQLExpressInstalled' and value '0': false
Result of running operator 'VersionLessThan' on property 'VersionNT' and value '5.2': true
Result of checks for command 'SQLEXPRESS_PROJECT_ENDEAVORSQLEXPR.EXE' is 'Bypass'
'SQL Server 2005 Express Edition SP2 (x86) Build for Project Endeavor' RunCheck result: Install Needed
EULA for components 'SQL Server 2005 Express Edition SP2 (x86) Build for Project Endeavor' was accepted.
Copying files to temporary directory "C:DOCUME~1CarrollDLOCALS~1TempVSD381.tmp"
Copying from 'C: empEndeavorInstallerSQLEXPRESS_PROJECT_ENDEAVORSQLEXPR.EXE' to 'C:DOCUME~1CarrollDLOCALS~1TempVSD381.tmpSQLEXPRESS_PROJECT_ENDEAVORSQLEXPR.EXE'
Verifying file integrity of C:DOCUME~1CarrollDLOCALS~1TempVSD381.tmpSQLEXPRESS_PROJECT_ENDEAVORSQLEXPR.EXE
WinVerifyTrust returned 0
File trusted
Running checks for package 'SQL Server 2005 Express Edition SP2 (x86) Build for Project Endeavor', phase BeforePackage
Running external check with command 'C:DOCUME~1CarrollDLOCALS~1TempVSD381.tmpSQLEXPRESS_PROJECT_ENDEAVORSqlExpressChk.exe' and parameters ''
Process exited with code 1
Setting value '1 {int}' for property 'SQLExpressInstalled'
The following properties have been set for package 'SQL Server 2005 Express Edition SP2 (x86) Build for Project Endeavor':
Property: [SQLExpressInstalled] = 1 {int}
Running checks for command 'SQLEXPRESS_PROJECT_ENDEAVORSQLEXPR.EXE'
Result of running operator 'ValueEqualTo' on property 'SQLExpressInstalled' and value '0': false
Result of running operator 'VersionLessThan' on property 'VersionNT' and value '5.1': false
Result of running operator 'ValueEqualTo' on property 'AdminUser' and value 'false': false
Result of running operator 'ValueExists' on property 'Version9x': false
Result of running operator 'VersionLessThan' on property 'VersionNT' and value '5.1.2': false
Result of running operator 'ValueNotEqualTo' on property 'ProcessorArchitecture' and value 'Intel': false
Result of checks for command 'SQLEXPRESS_PROJECT_ENDEAVORSQLEXPR.EXE' is 'Install'
'SQL Server 2005 Express Edition SP2 (x86) Build for Project Endeavor' RunCheck result: Install Needed
Verifying file integrity of C:DOCUME~1CarrollDLOCALS~1TempVSD381.tmpSQLEXPRESS_PROJECT_ENDEAVORSQLEXPR.EXE
WinVerifyTrust returned 0
File trusted
Installing using command 'C:DOCUME~1CarrollDLOCALS~1TempVSD381.tmpSQLEXPRESS_PROJECT_ENDEAVORSQLEXPR.EXE' and parameters '-q /norebootchk /qn reboot=ReallySuppress addlocal=all SECURITYMODE=SQL SCCCHECKLEVEL=IncompatibleComponents:1;MDAC25Version:0 FEATURES=SQL SQLSVCACCOUNT="NT AUTHORITYSYSTEM" SQLSVCPASSWORD="Bade#doo" SQLSYSADMINACCOUNTS="sa" AGTSVCACCOUNT="NT AUTHORITYNetwork Service" INSTANCEDIR="C:Program FilesMicrosoft SQL Server" SQLBACKUPDIR="C:Program FilesMicrosoft SQL ServerBackup" INSTALLSQLDATADIR="C:Program FilesMicrosoft SQL Servermssql.1mssqldata" /instancename=SQLEXPRESS /SQLSVCStartuptype=2 SQLAUTOSTART=1 ERRORREPORTING=2 ADDUSERASADMIN=0'
Process exited with code 110
Status of package 'SQL Server 2005 Express Edition SP2 (x86) Build for Project Endeavor' after install is 'InstallFailed'

View 5 Replies


ADVERTISEMENT

New Features Added In MSRS 2005?

Apr 30, 2007

Hi,



Please can any one suggest me that, wht are the new features added in MSRS 2005?

View 1 Replies View Related

Licensing Details For SQL Server CE Cab Files To Be Used In Custom Installer

May 16, 2007

Hello All,

We have a licensed version of VS2005 and we are developing commercial C#.net mobile applications targeted for Pocket PC 2003, Windows CE etc.

We are currently making use of System.Data.SqlServerCe.dll and are using the Sql Server CE for storing and retrieving information required for the application. We use this information and send it to our hosted web server for processing.

We use NSIS installer to develop the installer for mobile application. Can we make use of the Sql Server CE CAB files (sqlce30.dev.ENU.ppc.wce4.armv4.CAB) to install or should we only use the Sql Server CE dlls that are mentioned in the REDIST.txt?

We would like to know if we would be in agreement with the EULA if we make use of the CAB files for installation instead of the direct dlls.

Best Regards,
Manasvini

View 3 Replies View Related

COM Plus Catalog Requirement (Warning) Com+ Failure SQL 2005 Express Bootstrap

Jan 24, 2007

- COM Plus Catalog Requirement (Warning)



Messages

COM Plus Catalog Requirement


If SQL Server Setup fails, Setup will roll back the installation but may not remove all .manifest files. The workaround is to rename the files and then rerun Setup. For more information, see How to: Work Around COM+ Check Failure in SQL Server Setup.


Workaround says remove the .manifest files. Where are they?

SETUP CONTINUES TO FAIL









View 11 Replies View Related

32 Bit Express Installer

Apr 4, 2006

The Express doumentation states...

There are two executables available to install SQL Server Express:

SQLEXPR.EXE. Installs on x86-based computers and supports WoW64 on x64 but not IA64.
SQLEXPR32.EXE. Install on x86-based computers only. This program will not run on any 64-bit platform (not even WoW64).

Where can I find sqlexpr32.exe???

View 2 Replies View Related

SQL Express Installer Not Recognizing IIS

Dec 12, 2007


I am trying to install SQL Server Express with Advanced Services on a Vista machine. For some reason the installed does not pick up that IIS is up and running. Any Ideas?

View 3 Replies View Related

Visual Studio 2005 Bootstrap Package For SQL Server 2005 Express Edition With Advanced Services SP2

Feb 15, 2008

Hi there,

Anyone know how I can replace (or download) the sqlexpr32.exe bootstrap package with the advanced services SP2 edition of SQL 2005 express ?

Pieter

View 9 Replies View Related

Embedding SQL Server Express In The Installer

Nov 6, 2004

Can we embed the SQL Server Express in the windows installer jsut like the XML files or the Ms access database?

View 2 Replies View Related

SQL Server 2005 Express Install---Win 3.1 Installer

Jul 25, 2006

Okay, this must be the silliest question of the day. I downloaded SSE, but when it ran, it noted that I needed Win 3.1 Installer. Went and got that, installed it, and restarted. But where is my SSE download? I tried to go back to the SSE download, but it won't download the file again. Nothing happens when I click on the download link.

TIA,

MaryMary

View 1 Replies View Related

How To Create An Installer For Deploying Sql Server Express

Jul 19, 2007

Hi,



I have created an installer for deploying Sql Server Express. My installer will start the process of installing Sql Server Express. However the installation of SqlServer Express will fail because it says another installer is currently running (which is my installer). Is there anyway to work around this problem?



The reason why I would like to create an installer for the installation of Sql Server Express is because I would like to configure the SqlServerExpress without the user fiddling with the ini file.



Thanks

View 1 Replies View Related

SQL Server Express 2005 Features

Sep 2, 2006

Hi All, Just curious about the features that are not available in the Express version.  Can you import data from other sources?  Can you perform DTS packages?

View 1 Replies View Related

Installation Of Sql Express Edition With Advanced Features

Sep 21, 2007

hi friends
where i can find the installation guide for sql express 2005. mine is windows xp os.

regards

sekar.r

View 1 Replies View Related

SQL Management Studio Express: Missing Features

Jul 6, 2006

Much of the (full) SQL Management Studio tutorial works fine, until I come to "projects and solutions", which are supposed to be creatable at File - New ?

Found a list of missing features for the "Express" version, but that just tells of rather sophisticated stuff only.

Did I get something wrong?

View 1 Replies View Related

SQL Express With Advanced Services - What Reporting Features Does It Have?

Mar 14, 2006

I work for an ISV, and some of our customers use SQL Server, others use SQL Server Express. I need to develop some reports, so I was happy to read that SQL Express with Advanced Services would have some (limited?) Reporting Services available. Unfortunately, the sign-up period to beta test appears to be over, and so I am left wondering exactly what functions will be available. Is there anyone out there who has played around with the beta version reporting functions?

View 15 Replies View Related

URGENT! -SQL Server 2005 Express Advanced Features

Nov 19, 2007

Hi,

I wish to know that whether SQL Server 2005 Express Edition ables to integrate with DTS and analysis Manager?
Thank you very much.

Regards,
Chong

View 2 Replies View Related

SQL Server 2005 EXPRESS Advanced Features - URGENT

Nov 20, 2007

Hi,
Can anyone tell me is it possible for SQL Server 2005 Express Edition to open DTS and Analysis Manager?
thanks.

View 1 Replies View Related

MsiInstaller Errors: SQL 2005 Express With Advanced Features

May 22, 2006

My machine environment is as follows:

- Windows Server 2003 Standard with SP1
- IIS 6.0 with some "classic ASP" applications running under it (not ASP.NET)
- SQL Server 2000 Client (Enterprise Manager, Query Analyzer etc)
- .NET Framework Runtime 1.1 & 2.0
- Visual Studio.NET 2003 & 2005

I've never installed (or even trusted) any beta/CTP version of either Visual Studio or SQL 2005 (or any other MS trial products for that matter) on my machine.

Initially I installed SQL 2005 Express, and then the RTM version of SQL Management Studio Express.

Later i found this "SQL 2005 Express with Advanced Features" download, and figured that this must be a roll-up of all those features (and then some), so i removed all the old SQL 2005 components and installed this SQLEXPR_ADV.EXE.

I did this twice: the first time with Reporting Services; then removed the whole thing due to errors to be described below; the second time without RS.

The installation process itself is relatively painless, but after it's completed, whenever I open an ASP page from the local IIS server, dozens of warning messages like this would show up in the eventlog:



1.
=============================
Event Type: Warning
Event Source: MsiInstaller
Event Category: None
Event ID: 1015
Date:  2006-05-22
Time:  2:01:24 PM
User:  NT AUTHORITYNETWORK SERVICE
Description:
Failed to connect to server. Error: 0x80070005

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

2.
=============================
Event Type: Warning
Event Source: MsiInstaller
Event Category: None
Event ID: 1001
Date:  2006-05-22
Time:  2:01:24 PM
User:  MYPCIUSR_MYPC
Description:
Detection of product '{A4512736-8D63-4298-9271-5329931FA46B}', feature 'SQL_SSMSEE' failed during request for component '{6EC5DFBD-F6B5-4F02-8432-BFB8B03562B8}'

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

3.
=========================
Event Type: Warning
Event Source: MsiInstaller
Event Category: None
Event ID: 1004
Date:  2006-05-22
Time:  2:01:24 PM
User:  MYPCIUSR_MYPC
Description:
Detection of product '{A4512736-8D63-4298-9271-5329931FA46B}', feature 'SQL_SSMSEE', component '{180F515D-F56C-40DD-9D71-CC532EA8E286}' failed.  The resource '' does not exist.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.


I can use the Management Studio Express to create a database and tables, but having tons of errors flooding my eventlog is still a serious problem.

Any ideas on how to resolve this?

By the way, I think the total experience with SQL 2005 installation is far worse than SQL 2000, which is a very mature product. It seems that SQL 2005 was rushed out of the door to meet some deadlines so quality was seriously comprised as a result. Sending out a service pack less than 6 months after the RTM release is a testament to this conclusion, right?

View 1 Replies View Related

Command Line Installation Of SQL Server 2005 Express With Advanced Features

Oct 19, 2006

Hi,

I'm trying to install SQL Express 2005 with Reporting Services using Install Shield 11.5. The command line parameters which i am using is:

/qn ADDLOCAL=SQL_Engine,SQL_Data_Files,RS_Server,RS_Web_Interface,Client_Components SECURITYMODE=SQL SAPWD=<password> DISABLENETWORKPROTOCOLS=0 RSCONFIGURATION=Default RSSQLLOCAL=1 AUTOSTART=1



It installs the SQL Server and Reporting Services. It configures (creates Virtual Directories for report server and database) but it is not initializing the Report Server.

Having done the installation when i check the Report Server Status it was running and everything seems to be OK except it wasn't initialized.

Any idea??

Thanks,

Moby.

View 4 Replies View Related

OSQL SQL 2000 Named Instances Disappear When SQL Express Computer Added To Network

Aug 16, 2007

We have 10+ MSDE 2000 installations on the same network. Each install has a named instance and the
machines connect to eachother via VB application. We have a couple SQL 2000 Standard boxes and a SQL 2005
box all running on the same network with no issues. The problem we have recently run into is with a SQL
Express box. When the box is on the network OSQL stops finding the MSDE 2000 named instances on the
network and only the SQL Express named instance appears in the list. The second the SQL Express box is removed
from the network the named instances are visible. I monitored the UDP traffic and suspect there is an issue with the response from SQL Express to OSQL. Can't find any issues for this problem only report I found is if MSDE and Express are on the same machine.


SQL Express Response

.Q.ServerName;DDK7P4D1;InstanceName;SQLEXPRESS;IsClustered;No;Version;9.00.1399.06;;

MSDE Response

...ServerName;RED;InstanceName;SECOND;IsClustered;No;Version;8.00.194;tcp;4307;;Ser

verName;RED;InstanceName;THIRD;IsClustered;No;Version;8.00.194;tcp;0;;Server

Name;RED;InstanceName;MSSQLSERVER;IsClustered;No;Version;8.00.194;tcp;4303;;


Any ideas?

Thanks, Kevin.

View 2 Replies View Related

OSQL SQL 2000 Named Instances Disappear When SQL Express Computer Added To Network

Aug 16, 2007


We have 10+ MSDE 2000 installations on the same network. Each install has a named instance and the
machines connect to eachother via VB application. We have a couple SQL 2000 Standard boxes and a SQL 2005
box all running on the same network with no issues. The problem we have recently run into is with a SQL
Express box. When the box is on the network OSQL stops finding the MSDE 2000 named instances on the
network and only the SQL Express named instance appears in the list. The second the SQL Express box is removed
from the network the named instances are visible. I monitored the UDP traffic and suspect there is an issue with the response from SQL Express to OSQL. Can't find any issues for this problem only report I found is if MSDE and Express are on the same machine.


SQL Express Response

.Q.ServerName;DDK7P4D1;InstanceName;SQLEXPRESS;IsClustered;No;Version;9.00.1399.06;;

MSDE Response

...ServerName;RED;InstanceName;SECOND;IsClustered;No;Version;8.00.194;tcp;4307;;Ser

verName;RED;InstanceName;THIRD;IsClustered;No;Version;8.00.194;tcp;0;;Server

Name;RED;InstanceName;MSSQLSERVER;IsClustered;No;Version;8.00.194;tcp;4303;;


Any ideas?

Thanks, Kevin.

View 4 Replies View Related

Can't Access / Bootstrap Loader

Jan 26, 2013

I'm running Windows 7 64-bit (yes I'm sure) and when trying to install any version of SQL Server Express 2012 I get the following Error messages:

1) The following error has occurred:SQL Server Setup has encountered an error when running a Windows Installer file.Windows Installer error message: Error opening installation log file. Verify that the specified log file location exists and that you can write to it. Windows Installer file: C:UsersStudent AppDataLocal TempSQL Server 2012Setup1033_ENU_LPx64setupsqlsupport_msiSqlSupport.msi Windows Installer log file: C:Program FilesMicrosoft SQL Server110Setup BootstrapLog20130125_224835SqlSupport_Cpu64_1_ComponentUpdate.log Click 'Retry' to retry the failed action, or click 'Cancel' to cancel this action and continue setup. URL... LinkID=20476&ProdName= Microsoft%20SQL%20Server& EvtSrc=setup.rll&EvtID=50000& ProdVer= 11.0.21 00.60&EvtType=0xDC80C325

2) SQL Server Setup failure.

SQL Server Setup has encountered the following error: Could not find a part of the path 'C:Program FilesMicrosoft SQL Server110Setup Bootstrap Log 20130125_131045'..

I have all .NET framework 3.5 and 4.0 installed, Visual Studio 2012, Visio 2012... everything else is running fine, but I can't get this to work!

View 7 Replies View Related

SQL2005Express Install Error - Bootstrap?

May 15, 2006

The install fails and here is the log:

Microsoft SQL Server 2005 Setup beginning at Wed May 10 22:18:34 2006
Process ID : 2708
e:c10e7008821f194f5b98setup.exe Version: 2005.90.2047.0
Running: LoadResourcesAction at: 2006/4/10 22:18:34
Complete: LoadResourcesAction at: 2006/4/10 22:18:34, returned true
Running: ParseBootstrapOptionsAction at: 2006/4/10 22:18:34
Loaded DLL:e:c10e7008821f194f5b98xmlrw.dll Version:2.0.3609.0
Complete: ParseBootstrapOptionsAction at: 2006/4/10 22:18:34, returned false
Error: Action "ParseBootstrapOptionsAction" failed during execution. Error information reported during run:
Could not parse command line due to datastore exception.
Source File Name: utillibpersisthelpers.cpp
Compiler Timestamp: Wed Oct 26 16:38:20 2005
Function Name: writeEncryptedString
Source Line Number: 124
----------------------------------------------------------
writeEncryptedString() failed
Source File Name: utillibpersisthelpers.cpp
Compiler Timestamp: Wed Oct 26 16:38:20 2005
Function Name: writeEncryptedString
Source Line Number: 123
----------------------------------------------------------
Error Code: 0x80070002 (2)
Windows Error Text: The system cannot find the file specified.

Source File Name: cryptohelpercryptsameusersamemachine.cpp
Compiler Timestamp: Wed Oct 26 16:37:25 2005
Function Name: sqls::CryptSameUserSameMachine::ProtectData
Source Line Number: 50

2
Could not skip Component update due to datastore exception.
Source File Name: datastorecachedpropertycollection.cpp
Compiler Timestamp: Wed Oct 26 16:37:20 2005
Function Name: CachedPropertyCollection::findProperty
Source Line Number: 130
----------------------------------------------------------
Failed to find property "InstallMediaPath" {"SetupBootstrapOptionsScope", "", "2708"} in cache
Source File Name: datastorepropertycollection.cpp
Compiler Timestamp: Wed Oct 26 16:37:21 2005
Function Name: SetupBootstrapOptionsScope.InstallMediaPath
Source Line Number: 44
----------------------------------------------------------
No collector registered for scope: "SetupBootstrapOptionsScope"
Running: ValidateWinNTAction at: 2006/4/10 22:18:34
Complete: ValidateWinNTAction at: 2006/4/10 22:18:34, returned true
Running: ValidateMinOSAction at: 2006/4/10 22:18:34
Complete: ValidateMinOSAction at: 2006/4/10 22:18:34, returned true
Running: PerformSCCAction at: 2006/4/10 22:18:34
Complete: PerformSCCAction at: 2006/4/10 22:18:34, returned true
Running: ActivateLoggingAction at: 2006/4/10 22:18:34
Error: Action "ActivateLoggingAction" threw an exception during execution. Error information reported during run:
Datastore exception while trying to write logging properties.
Source File Name: datastorecachedpropertycollection.cpp
Compiler Timestamp: Wed Oct 26 16:37:20 2005
Function Name: CachedPropertyCollection::findProperty
Source Line Number: 130
----------------------------------------------------------
Failed to find property "primaryLogFiles" {"SetupStateScope", "", ""} in cache
Source File Name: datastorepropertycollection.cpp
Compiler Timestamp: Wed Oct 26 16:37:21 2005
Function Name: SetupStateScope.primaryLogFiles
Source Line Number: 44
----------------------------------------------------------
No collector registered for scope: "SetupStateScope"
00D2CFC0Unable to proceed with setup, there was a command line parsing error. : 2
Error Code: 0x80070002 (2)
Windows Error Text: The system cannot find the file specified.

Source File Name: datastorepropertycollection.cpp
Compiler Timestamp: Wed Oct 26 16:37:21 2005
Function Name: SetupBootstrapOptionsScope.InstallMediaPath
Source Line Number: 44

Class not registered.
Failed to create CAB file due to datastore exception
Source File Name: datastorecachedpropertycollection.cpp
Compiler Timestamp: Wed Oct 26 16:37:20 2005
Function Name: CachedPropertyCollection::findProperty
Source Line Number: 130
----------------------------------------------------------
Failed to find property "HostSetup" {"SetupBootstrapOptionsScope", "", "2708"} in cache
Source File Name: datastorepropertycollection.cpp
Compiler Timestamp: Wed Oct 26 16:37:21 2005
Function Name: SetupBootstrapOptionsScope.HostSetup
Source Line Number: 44
----------------------------------------------------------
No collector registered for scope: "SetupBootstrapOptionsScope"
Message pump returning: 2

View 4 Replies View Related

Custom Procs For Replication

Mar 20, 2006

SQL Server 2000 Enterprise

Hello,

I have a test publication of two tables. Both tables are supposed to use a custom update stored procedure
(you know, "Replace UPDATE commands with this stored procedure call:")
When updating Table1 the system calls my custom stored stored procedure.

Here is a small excerpt captured by the Profiler when updating Table1:

exec usp_FNLC_MSupd_Table1 'Jun 24 2005 12:00:00:000AM', NULL, 100081142, 0x01

Looks good. I see that my custom update proc was used (usp_FNLC_MSupd_Table1).


Now, when updating Table2 (Table2 is pretty identical to Table1) Profiler sends this back and the update on the subscriber fails:

exec sp_executesql N'delete from "Table2" where "Dates3ID" = @P1 insert into "Table2" values (@P2, @P3) ', N'@P1 int,@P2 int,@P3 datetime', 8, 8, 'Mar 24 2006 12:00:00:000AM'

Then..

exec sp_executesql N'insert into "Table1" values (@P1, @P2) ', N'@P1 int,@P2 datetime', 8, 'Mar 24 2006 12:00:00:000AM'
Go

This is what the distribution agent throws back:

Insert Error: Column name or number of supplied values does not match table definition.
(Source: DFBPBSO (Data source); Error number: 213)

So, why isn't the article Table2 using my custom update proc? All I do is updates, no deletes or inserts. No matter what I do for this article, it will not use the custom update proc.

I need help, please. Thank you in advance,
L

View 3 Replies View Related

Custom Stored Procedures With Replication

Oct 20, 1998

Has anyone used custom stored procedures with multiple tables? or can you only use them with one.

View 1 Replies View Related

Custom Resolver For Merge Replication

Sep 7, 2006

Hi there!




I'm trying to create a custom resolver for merge replication exactly like in the MS example.


It seems to work, but only ONE time. If I change, insert or delete a
record in a table the second time, the subscriber monitor comes with
the following errors:




Error messages:

Attempted to read or write protected memory. This is often an
indication that other memory is corrupt. (Source: MSSQL_REPL, Error
number: MSSQL_REPL-2147199411)



The Merge Agent encountered an error when executing code in the
'UpdateHandler' method implemented in the business logic handler
'D:Program FilesMicrosoft SQL Server90COMMyResolver.dll'. Ensure
that the overridden 'UpdateHandler' method has been properly
implemented in the business logic handler. (Source: MSSQL_REPL,
Error number: MSSQL_REPL-2147199411)



This last error is of course dependant on my action (update, delete, insert).

My code is -exactly- like the example (I just stripped out the log message).



Does anyone know why I am "trying to read or write protected memory" ?



The thing is that I'm trying to create an application that detects if a
table changes. Is this the right way to do this anyway or are there
better solutions?



Any help is appreciated! Thanks!

View 13 Replies View Related

Merge Replication - Examples For Custom Conflict Resolvers?

Oct 30, 2006

I have gone through BOL and various online resources including this one and I can't find any examples on how to use custom conflict resolvers to generate a result row which is a combination of the rows to be merged.

BOL says it can be done, but suitable examples are missing. I have found various posts requesting examples from up to a year ago, but can see no replies with relevant information

In particular I would like to see examples of

1) A stored procedure based custom conflict resolver

2) A business logic handler written in VB .Net

Here's hoping

aero1

View 16 Replies View Related

SQL Express Replication And Problems Accessing Data After Replication

Jul 28, 2006

Hi,

I have a VB.net app that access a SQL Express database. I have transactional repliaction set up on a SQL 2000 database (the publisher) and a pull subscription from the VB.net app. I use RMO in the VB app to connect to the publisher. My problem is I am getting some strange behaviour as follows

- if I run the app and invoke the pull subscription it works fine. If I then close my app and go back in, I can access my data without any problem

- If I run the app and try to access data in my SQL Express database it works fine. I can then close the app, reopen it and run the pull subscription it works fine

however.......

- if I run the app, invoke the pull subscription (which runs fine), and then try to access data in my local SQL Express database without firstly closing and reopening the app, I get a login error

- if I run the app, try to access data in my local SQL Express database (which works fine), and then try to run the pull subscription I get a "the process cannot acces the file as it is being used by another process" error. In this case I need to restart the SQL Express service to be able to run replication again.

I get exactly the same behaviour when I use the Windows Sync tool (with my app open at the same time) instead of my RMO code to replicate the data.

I am using standard ADO.Net 2 code to access my SQL Express data in the app and closing all connections etc

Any advice appreciated !

Thanks
Ronan





View 2 Replies View Related

Custom Data Extension (CDE) For SQL Express

Oct 25, 2007

Hi all,

My query should be pretty simple to answer by the gurus. I have SQL Server Express Advance series installed at my system along with VS 2005. I tried the reporting services (remote mode) to display a report in the report viewer on my aspx page. The report simply uses an SQL query to get the result. Everything works fine and dandy!

However if i want to get data from my own data set, i used a webservice and ussed the XML data source option in the report to traverse through the XML. In the preview mode of the RDL everything works fine however when i deploy or rather run it using report viewer on my webpage, it gives an error that 'XML' has not been registered as an extension etc.

I looked in the rsserver config file, it IS configured. The only answer i have is that the EXPRESS version of SQL only supports the regular SQL data sources. I do not understand if that was the case, why does the preview mode work fine??

If i am correct then for the next release the ms developers should disable that or rather give a more meaning full error. I spent an entire day fideling around just to find out that it isnt supported with debates all over the place as to why in the world does it work in the preview mode?

Anyhoo, to get around that issue, i am wondering if the Custom Data Extension would work on the SQL Express or not? I am assuming it wouldnt. Please clearify this. Ideally all i want is to access my own data set in the report, no SQL queries or whatever, CDE seems the way forward but does SQL Express allow it?

Many thanks guyz.

Regards

Zeeshan
(btw, its only been two days since i started working with reporting services, so be gentle :-D )

View 1 Replies View Related

RULES And Custom Defaults In Express Edition?

Apr 15, 2007

Does it allow you it create rules ? a right click does not present an option, as if you cannot. Going to try T-SQL to see if that works.



John

View 5 Replies View Related

Custom Data Extension Using SQL Server Express, Possible?

Nov 8, 2007

I am working through this example:

http://www.devx.com/dbzone/Article/31336/0/page/5

I have following all the steps but I am getting this error:

---------------------------
Microsoft Visual Studio
---------------------------
The designer extension DATASET could not be loaded. Check the configuration file RSReportDesigner.config.
---------------------------
OK
---------------------------


I have doubled checked the edits I made to that config file. Rebooted, relaunched, etc. No matter what, I cannot get past that error message.

I am using a Win XP machine with SQL Server 2005 Express Edition with Advanced Services SP2. Just curious, but does express version support CDEs?

Thanks,
Dan


View 2 Replies View Related

Installing The Asp.net Application Services In A Custom SQL Express Database.

Nov 16, 2005

I know that by default asp.net 2.0
creates the aspnetdb sql express database for storing membership, role
management, profiling etc. And I saw we have the aspnet_regsql tool to
have this installed in a standard sql server. But what should I do to
have these stored procedures, tables etc installed in an existing sql
express database? Aspnet_regsql doesn't seem suited for that.

I've noticed some sql scripts in the framework folder like
InstallCommon.sql, InstallMembership.sql, etc. They seem to be used to
create the regular aspnetdb.mdf database, should I just modify those
and run them against my own sql express database or is there a tool or
an easier way?

Cheers,
Frank.

View 1 Replies View Related

Displaying Custom Properties For Custom Transformation In Custom UI

Mar 8, 2007

Hi,

I am creating a custom transformation component, and a custom user interface for that component.

In
my custom UI, I want to show the custom properties, and allow users to
edit these properties similar to how the advanced editor shows the
properties.

I know in my UI I need to create a "Property Grid".
In
the properties of this grid, I can select the object I want to display
data for, however, the only objects that appear are the objects that I
have already created within this UI, and not the actual component
object with the custom properties.

How do I go about getting the properties for my transformation component listed in this property grid?

I am writing in C#.

View 5 Replies View Related

Save Custom Settings In SQL Server Management Studio Express

Apr 19, 2007

I use SQL Server Management Studio Express to work in several databases. What gets annoying, is that the databases I work in have 30+ tables in them, only 5-10 of which I actually work with. Then there's the stored procedures I have to sort through to find the ones that I need and so on. I set filters so that I see only what is applicable to me, but I hate having to set those filters every time I start Management Studio back up. Is there a way to save my settings so that it opens the same way every time? I've looked around and can't find an answer to this.

 Thanks!

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved