Merge Replication Broke After SQL 2005 Evaluation Upgrade To Enterprise

May 15, 2006

I'm try to upgrade SQL Server 2005 Evaluation with tuned up and worked merge replication.

- I'm insert disk with licensed SQL Server 2005 Enterprise, start installation - in process, indicate instance for installing, in list of options appears I see option "ugrade"
- All passes fine and go on:

After upgarde I'm get completely broken merge replication!

Moreover, such feeling that certain strange troubles with SQL Agent:
all points context menu in Replication Monotor - disabled and if I try to start replication manually through jobs - too failed - with some error "agent shutdown" !

I'm try to build "clear" situation: install in Virtual PC Windows 2003 Ent SP1, SQL 2005 Eval and setup my test replication and upgrade SQL Server to Enterprise version - and get same trouble too!!!

What the best way to uprade my evaluations sql servers with replication to licensed version SQL Ent?

View 2 Replies


ADVERTISEMENT

Upgrading SQL 2005 Enterprise Evaluation To Enterprise Full Not Supported On Win XP Professional

Jul 11, 2006

This may be a stupid question, but can someone from MS SQL Server Team kind enough to confirm it, please?

View 3 Replies View Related

Microsoft SQL Server 2005 Enterprise Evaluation Ed

Sep 26, 2007

Hello,
Am currently on holiday and mistakenly broke my laptop.

I have been searching MS website to download the 180 day trial of MS SQL 2005 (Microsoft SQL Server 2005 Enterprise Evaluation Edition)

http://www.microsoft.com/downloads/details.aspx?familyid=6931fa7f-c094-49a2-a050-2d07993566ec&displaylang=en

I have registered twice, but the download seems to be elusive

Any pointers pls
Thanks
Ehi

View 1 Replies View Related

Can SQL Server 2005 Evaluation Be Used To Upgrade A System?

Mar 7, 2006

I have multiple development SQL Servers running Enterprise edition that I want to upgrade for application testing before upgrading our production system. All of the servers meet the hardware and software requirements for SQL Server 2005 Enterprise edition. However, when I try to install to use the SQL Server 2005 Evaluation Edition to upgrade the servers in place, I get the blocked upgrade message:
Name: Microsoft SQL Server 2000
Reason: Your upgrade is blocked. For more information about upgrade support, see the "Version and Edition Upgrades" and "Hardware and Software Requirements" topics in SQL Server 2005 Setup Help or SQL Server 2005 Books Online.
Edition check:
Your upgrade is blocked because of edition upgrade rules. For more information about edition upgrades, see the Version and Edition Upgrades topic in SQL Server 2005 Setup Help or SQL Server 2005 Books Online.

Can the Evaluation Edition be used to upgrade these servers or do you need the full blown version?

thanks

View 4 Replies View Related

How Run Microsoft SQL Server 2005 Enterprise Evaluation Edition?

May 29, 2006

I am download new Microsoft SQL Server 2005 Enterprise Evaluation Edition.. but how run it?
 
SQL Server Management is not enough!

View 1 Replies View Related

Microsoft SQL Server 2005 Enterprise Evaluation Edition

Feb 20, 2006

Hi!

I download Microsoft SQL Server 2005 Enterprise Evaluation Edition (Self-extracting executables: X86 Executable ) from Microsoft site but when I try to unpack it the unpack program says it is corrupt. I have downloaded this file more than 5 times and still the same problem occurs. Is it only me or other has same problem? Any suggestsion?

Regards

View 1 Replies View Related

Expired SQL 2005 Evaluation Upgrade To SQL 2005 Standard

Mar 12, 2008

I've been reading and looking over what to do for my situation for several days. I need to ask and see if I can get a clear answer.

My Scenario:
I have a SQL Server 2005 Eval installed that is currently running with live data. I need to upgrade that to a recently-purchased full version. I have several databases set up. I have ready the article 914158 that states it will fail. It's still running so I can access everything. If I restart or stop the service I'm screwed.

That do I do?

Thanks so much!

View 4 Replies View Related

Upgrade SQL 2005 Evaluation To Workgroup/Standard Without Uninstalling: Supported?

Jan 25, 2007

Hi, all. I see two conflicting notes about whether one can install the SQL Server 2005 Trial/Evaluation and then upgrade to Workgroup or Standard editions, without uninstalling the Evaluation edition.

http://msdn2.microsoft.com/en-us/library/ms143393.aspx seems to say YES, you can upgrade to Workgroup/Standard from the Evaluation edition.

http://www.microsoft.com/sql/howtobuy/faq.mspx says NO, you can only upgrade to Enterprise edition from the Evaluation edition. For Workgroup and Standard, you must uninstall the Trial first.

Which is the correct answer?

Thanks,
Stephen

View 3 Replies View Related

Verify LicenseType After Upgrading From SQL Server 2005 Enterprise Evaluation/Trial

Jun 27, 2006

I upgraded a MS SQL 2005 Enterprise Evaluation/Trial to MS SQL 2005 Standard Edition with 5 User CAL.

I used the following command to upgrade:

start /wait setup.exe ADDLOCAL=SQL_Engine INSTANCENAME=MSSQLSERVER UPGRADE=SQL_Engine SKUUPGRADE=1 PIDKEY=<mykey> /qb

Once complete, "select SERVERPROPERTY('LicenseType')" returns DISABLED, but I expected that it would return PER_SEAT.

Thankfully, after the upgrade it does show EDITION=Standard Edition.

Questions:

1. How do I verify the license installed is the Client Access License of 5?

-- SQL Server 2005 does not seem to have the same SQL Licence control panel as did SQL 2000. It is not listed under Control Panel -> Licensing (only thing listed is 'Windows Server') nor under Administrator Tools -> Licensing.

2. How do you add CALs or change license type in SQL 2005?

-- I was also puzzled that I was not asked during setup of the license mode and/or number of licenses ( I did not get this on a fresh install of SQL 2005 SE either ).

Thanks for any assistance you can provide.

Ajay

View 3 Replies View Related

Unable To Install Native Client Components In SQL Server 2005 Enterprise Evaluation Version

Dec 14, 2007

Hi all,

I have downloaded Microsoft SQL Server 2005 Enterprise Evaluation Edition ISO from the following site and burned it onto a DVD.
http://www.microsoft.com/downloads/details.aspx?FamilyId=6931FA7F-C094-49A2-A050-2D07993566EC&displaylang=en

Prior to this I have installed Visual Studio 2005 Professional Edtion. During setup I have selected all the native client components i.e. Management Studio, Business Intelligense Studio. But after the install I am not able to see them under All Programs-> Microsoft SQL Server 2005. On further searching I have come across this link

http://channel9.msdn.com/ShowPost.aspx?PostID=142941


First of all, there is no sqlrun_tools.msi under setup folder of the dvd. And also when I tried to change component from Add/Remove programs and following the instructions as specified on clicking Change Installed components all that I see are: Connectivity Components and Software Development kit.

Could someone tell me how can I install Management Studio/ Business Intelligence Studio seperately? I don't want to go through the process of re-installation.

View 4 Replies View Related

MSDE 2000A Upgrade To SQL Express SP1 With Merge Replication

Feb 8, 2007

Hello,

I have the following scenario. An application using SQL Server 2000 SP3 on the server side and clients using MSDE 2000A (SP3a) on the client machine. Since the client is offline quite often merge replication is used to keep the clients in sync.

Now we try to upgrade to SQL Server 2005 SP1. The publisher and distributor upgrade (on the same box) worked fine and all clients could still synchronize. Fine :-)

Now we try to upgrade the clients to SQL Express SP1. Now the problems start :-(

1) After the upgrade the entry within the Synchronization Manager is gone (we can overcome this by using sp_MSregistersubscription or by manually disable and enable Synchronization manager on the subscription properties)

2) Initial Synchronization (takes a long time but) works fine, if I apply changes to the subscriber or force a reinitialize all following synchronization will fail. With the following messages:

Error messages:
The merge process could not clean up the subscription to 'tstvmw23':'TestBase:'TestBase'. (Source: MSSQL_REPL, Error number: MSSQL_REPL-2147200965)
Get help: http://help/MSSQL_REPL-2147200965
New request is not allowed to start because it should come with valid transaction descriptor. (Source: MSSQLServer, Error number: 3989)
Get help: http://help/3989

Remark the test system I use is a nearly empty db (only with full schema and a few lookup tables) with 15MB. The same error occures if I create a new database an subscribe to the same publication.

Please help otherwise I'm forced to step back to MSDE.

Thanks in advance,

Thomas Hotz

View 3 Replies View Related

BCP Call To Stored Procedure - Broke During Upgrade From SQL 7.0 To 2000

Jul 20, 2005

I have this stored procedure that takes a few parameters like date andmerchant ID, and basically goes through a set of if-then statements to builda SQL SELECT string.When we upgraded from SQL Server 7.0 to 2000, the stored procedure stillworked from Query Analyzer, but not in BCP. It used to work in BCP justfine with 7.0. The error I get now is:SQLState = S1000, NativeError = 0Error = [Microsoft][ODBC SQL Server Driver]BCP host-files must containat least one columnWhat's really strange is, if I instruct the stored procedure to simply printthe SELECT string, then cut-and-paste it into the end of stored procedurecode (assigning it to the variable that already contains the SELECT string),then it works from BCP.Any help would be greatly appreciated.Aston

View 1 Replies View Related

Problems Upgrading SQL Server 2005 X64 Evaluation To SQL Server 2005 X64 Enterprise

Oct 25, 2007

I first tried installing the DVD and of course it told me I must use the command prompt installation method to include the line SKUUPGRADE=1. I found good references to this in the following links:

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2208593&SiteID=1

http://msdn2.microsoft.com/en-us/library/ms144259.aspx


Below is the command I issued at the command prompt:

start /wait d:serverssetupsetup.exe ADDLOCAL=ALL INSTANCENAME=URHCS63SQL2005DSS UPGRADE=SQL_Engine SKUUPGRADE=1 /qb


My servername is URHCS63 and my instance is SQL2005DSS.

When I execute this command, a installation dialog box opens briefly and then disappears and nothing else happens. Here are the results of the bootstrap log file:

Microsoft SQL Server 2005 9.00.3042.00
==============================
OS Version : Microsoft Windows Server 2003 family, Enterprise Edition Service Pack 1 (Build 3790)
Time : Thu Oct 25 16:17:48 2007

URHCS63 : To change an existing instance of Microsoft SQL Server 2005 to a different edition of SQL Server 2005, you must run SQL Server 2005 Setup from the command prompt and include the SKUUPGRADE=1 parameter.
SQL Server Setup was interrupted. For more information, review the Setup log file in %ProgramFiles%Microsoft SQL Server90Setup BootstrapLOGSummary.txt.

Time : Thu Oct 25 16:20:08 2007


Any ideas on why this is not working for me?

View 9 Replies View Related

Want To Upgrade Evaluation Version Of SQL 2005 To Full Retail Version. How Would I Do That. Thanks

Jan 31, 2007

Want to upgrade Evaluation version of SQL 2005 to full retail version. How would I do that. Thanks very much for your hel



Sam Commar

View 1 Replies View Related

How To Upgrade Sql 2005 Dev To Enterprise

Jan 12, 2007

Hey,



I tried the skuupgrade=1 and it appeared to want to install a whole new instance. This operation was supposed to recognise what to upgrade and what instance to do (there is only one). Can some send me some detailed instructions on how to upgrade my sql 2005 developer edition to the enterprise edition?

thanks

Terry

View 3 Replies View Related

Can I Upgrade From Sql 2005 Express To Sql Server 2005 Enterprise Edition ?

Jul 29, 2006

if i upgrade from sql server 2005 expressto sql server 2005 enterprise can i do it ?
am i need to uninstall 2005 express before ?

View 1 Replies View Related

Upgrade From SQL Server 2005 Express To 2005 Enterprise Fails

Dec 29, 2006

Hi

I am trying to upgrade SQL Server 2005 Express to SQL Server 2005 Enterprise Edition.
(As a Preparation to install SQLServer2005 Service Pack 2 (CTP))

I tried to upgrade a particular Instance (OFFICESERVERS, which was based on SQL Server 2005 Express ).

During the upgrade I get a message saying that ...

.....Your upgrade is blocked because of edition upgrade rules.....

All other components I selected for Installation are propertly installed (Analysis, Reporting)

The setup log contains the following detail information:

---- Context -----------------------------------------------
Setting status of unmanaged components and removing unmanaged resources

Error Code: 29543
MSI (s) (DC!C8) [13:57:26:265]: Product: Microsoft SQL Server 2005 -- Error 29543. Your upgrade is blocked. For more information about upgrade support, see the "Version and Edition Upgrades" and "Hardware and Software Requirements" topics in SQL Server 2005 Setup Help or SQL Server 2005 Books Online.
Edition check:
Your upgrade is blocked because of edition upgrade rules. For more information about edition upgrades, see the Version and Edition Upgrades topic in SQL Server 2005 Setup Help or SQL Server 2005 Books Online.

Error 29543. Your upgrade is blocked. For more information about upgrade support, see the "Version and Edition Upgrades" and "Hardware and Software Requirements" topics in SQL Server 2005 Setup Help or SQL Server 2005 Books Online.
Edition check:
Your upgrade is blocked because of edition upgrade rules. For more information about edition upgrades, see the Version and Edition Upgrades topic in SQL Server 2005 Setup Help or SQL Server 2005 Books Online.
<Func Name='SetCAContext'>
<EndFunc Name='SetCAContext' Return='T' GetLastError='0'>
Doing Action: ValidateUpgrade
PerfTime Start: ValidateUpgrade : Fri Dec 29 13:57:26 2006
<Func Name='ValidateUpgrade'>
<Func Name='updateFeatureSellection'>
Error Code: 0x80077367 (29543)
Windows Error Text: Source File Name: sqlcaupgradeproduct.cpp
Compiler Timestamp: Mon Sep 19 01:07:45 2005
Function Name: sqls::UpgradeProduct::CanUpgrade
Source Line Number: 142

---- Context -----------------------------------------------

I also tried to explicitly upgrade the OFFICESERVERS instance by executing Setup from the command shell:

start /wait setup.exe ADDLOCAL=SQL_Engine INSTANCENAME=OFFICESERVERS UPGRADE=SQL_Engine SKUU
PGRADE=1 /qb

The result is the same, i.e.... Your upgrade is blocked because of edition upgrade rules...

Does anybody know about this problem?
Some more information about the system:
W2K3 R2 Enterprise Edition
WSS3.0
MOSS2007
previously installed SQL Server 2005 Express Edition (Version 9.00.2047.00)

Kinde regards
Andreas

View 5 Replies View Related

Upgrade From SQL 2005 Standard To Enterprise

Aug 31, 2006

I'm installing SQL 2005 on a cluster. Currently we do not need the features of enterprise edition, but we may need them in the future. Can you upgrade Standard edition to Enterprise edition (on a cluster)?

View 3 Replies View Related

SQL 2005 Standard To Enterprise Upgrade

Dec 2, 2006

As I found on http://msdn2.microsoft.com/en-us/library/ms143393.aspx its only possible on 32 Bit subsystems and not on native 64 bit - is this true?

In addition is it a complete installations which remains the current configuration? (i guess this because we have to apply all service packs again)?

and at least - is a license upgarde possible or do we have to buy a complete new licence?

Thanks HANNES

View 5 Replies View Related

SQL 2000 Enterprise Upgrade To SQL 2005 Standard

Feb 12, 2008



Hi All

I'm after some advice, I am looking for the best way to do this:

I have a SQL 2000 Clustered Virtual Instance which is of course Enterprise Edition as it is clustered. I need to upgrade to 2005, but dont need the 2005 Enterprise features, Standard will do, as this supports clustering.

The restrictions are that you cant upgrade 200Ent to 2005Std.

As this is a fairly complex environment, it has a default instance running on node 1 and a named instance running on node 2
I dont particularly want to uninstall both 2000 instances, and then install new 2005 instances

So is it possible to upgrade to 2005 ent, and then downgrade to standard. I have seen a suggestion without any details, that there is an undocumented sp, sp_update_resume, that might do this. Does anyone know about this

Or does anybody have any other suggestions. (the names of the instances have to be the same, as the existing instances)

Thanks in advance

Tom


View 1 Replies View Related

Merge Repl/new Bcp Files After 2005 Upgrade

May 27, 2008

I'll start off by saying these questions were submitted to Microsoft and no
one can give us an answer without them doing a source code review. Their
response was "these are internal BCP scripts that are used by SQL"....yes, I
know that....that doesn't help to explain why the system created them. At
this point, I don't want my compary to pay support hours for Microsoft
personnel to learn what their software does.
--------------------
We've had merge publication in place for several years.

Last year, we added some tables/articles to publications.

After the upgrade from SQL Server 2000 SP4 Standard to SQL Server 2005 SP2
Standard, when the snapshot was run, the system created some new files that
had never existed before. Also, and more importantly, these files were only
created for the articles added after the initial snapshot was created.
Articles existing in the intial snapshot did not have these type of files
created.

Examples of these files for a SA_MOVE table that was added to an existing
publication:

MSmerge_contents_SA_MOVE.bcp
MSmerge_contents_SA_MOVE_forall.bcp
MSmerge_rowtrack_SA_MOVE90.bcp
sysmergesubsetfilters_SA_MOVE.bcp
sysmergesubsetfilters_SA_MOVE90.bcp


Also some new bcps created were:

MSmerge_contents90_forall.bcp
MSmerge_genhistory90.bcp
MSmerge_rowtrack90.bcp
sysmergesubsetfilters90.bcp


The system wanted to apply these files before it would start synchronizing
data so they had to be delivered to the subscriber. It appears it was the
sysmergesubsetfilters_ files that it wanted to apply. These are all 0 in
size and we do not have filter on(at least not as far as I know...see the
addmergearticle code below).

New databases created this year that had all of the articles defined in the
publication before the initial snapshot was taken did not get these
additional files created, nor did the system want to try to send files to the
subscriber before syncrhonization could begin.

This is an example of how an article had been cretead under SQL Server 2000
when adding a new database, before an initial snapshot is run:

exec sp_addmergearticle @publication = N'Last', @article = N'SA_MOVE',
@source_owner = N'dbo', @source_object = N'SA_MOVE', @type = N'table',
@description = null, @column_tracking = N'true', @pre_creation_cmd = N'drop',
@creation_script = null, @schema_option = 0x000000003000EFF1,
@article_resolver = null, @subset_filterclause = null, @vertical_partition =
N'false', @destination_owner = N'dbo', @verify_resolver_signature = 0,
@allow_interactive_resolver = N'false', @fast_multicol_updateproc = N'true',
@check_permissions = 0

This is an example of how an article was added under SQL Server 2000 to an
existing publication that already had the initial snapshot run:

exec sp_addmergearticle @publication = N'Last', @article = N'SA_MOVE',
@source_owner = N'dbo', @source_object = N'SA_MOVE', @type = N'table',
@description = null, @column_tracking = N'true', @pre_creation_cmd = N'drop',
@creation_script = null, @schema_option = 0x000000000000EFF1,
@article_resolver = null, @subset_filterclause = null, @vertical_partition =
N'false', @destination_owner = N'dbo', @auto_identity_range = N'false',
@verify_resolver_signature = 0, @allow_interactive_resolver = N'false',
@fast_multicol_updateproc = N'true', @check_permissions = 0,
@force_invalidate_snapshot = 1


A few questions:

Does anyone have an idea why the system created these files are part of the
2005 upgrade?

What is the real purpose of the files with names such as _forall.bcp ?

Thanks for any help/info on this,

Doug

View 2 Replies View Related

How To Make Sure A Upgrade From Sql 2005 Standard To Enterprise Edition?

Apr 16, 2007

Randy,



I did run upgrade advisior to check the existed sql 2005 standard edition to upgrade to enterprise editon. I got the following error message:

SQL Server version: 09.00.1399 is not supported by this release of Upgrade Advisor



Is it means the upgrade advisor can only work on from 7.0, 2000 to 2005? If I need check from standard to enterjprise in 2005, what kind of tool I can use?

View 1 Replies View Related

Upgrade SQL 2005 Standard To SQL 2005 Enterprise

Jun 8, 2006

Hi

we have installed SQL 2005 Standard and we are planning to upgrade to SQL 2005 Enterprise version. Do i need to uninstall SQL 2005 Standard and reinstall Enterprise or i can install SQL 2005 Enterprise on top of standard version to upgrade.

Thanks a lot in advance

View 1 Replies View Related

Upgrade SQL 2005 Standard To SQL 2005 Enterprise

Nov 1, 2007

Can SQL 2005 32bit Standard edition be upgraded to SQL 2005 32bit Enterprise Edition in-place?

View 4 Replies View Related

Upgrade SQL 2005 Standard To SQL 2005 Enterprise

Nov 1, 2007

Can SQL 2005 32bit Standard edition be upgraded to SQL 2005 32bit Enterprise Edition in-place.

View 12 Replies View Related

Setup And Upgrade :: 2005 Backup To Restore Into 2014 Enterprise

Jul 7, 2015

We successfully restore 2005 backup into SQL 2014 , so does that mean , does it  mean all are ok ? or we have to do something next ? 

View 6 Replies View Related

SQL Server 2005 Enterprise Eval Upgrade To Licensed Version

Sep 7, 2007



We have been using the 180 day evaluation version and I have my license key now for the purchased version. I read on the Microsoft site I am able to upgrade to the non-trial version without uninstalling the eval version. But it doesn't tell me HOW to do it. I was expecting a menu option, maybe on the About Screen of Management Studio to enter it. (How naive is that?) Is there a simple way to tell the Eval version I am now licensed?

TIA
Chris

View 19 Replies View Related

Sql Enterprise Evaluation 2000

Feb 4, 2007

is there any kind of problem if i continue to use "sql server 2000 enterprise evaluation edition"..the evaluation period is for 120 days and my project will complete by that period..shall i continue using that or there are any problems....

View 1 Replies View Related

SQL 2005 Standard To Enterprise Edition Upgrade On Existing Three-node Cluster

Jun 10, 2007

Current set-up: three node cluster running Windows Server 2003 Enterprise Edition SP2 with two instances of SQL Server 2005 Standard Edition SP2.



Virtual node 1: Standard Edition, default instance, Database Engine only

Virtual node 2: Standard Edition, named instance, Database Engine, Analysis Services and Integration Services



Physical node A: Prefered node for virtual node 1

Physical node B: Failover node for both virtual node 1 and 2 (thus having two installations of Standard Edition)

Physical node C: Prefered node for virtual node 2



We started off with this set-up because there was no need for Enterprise features, and SQL 2005 supports failover clustering with two nodes in Standard Edition. Saved a bundle of cash, so everybody's happy. Now we need to run a solution on virtual node 2 that requires Enterprise features in Analysis and Integration Services, so an edition upgrade is required on virtual node 2. I have done some research and found several edition upgrade examples, but none that match the above scenario. We are running production on these machines, so I can't risk experimenting with command line options, I have to be right the first time.



Is it possible to mix two editions of SQL Server 2005 in one cluster? Can I upgrade virtual node 2 to Enterprise but leave virtual node 1 at Standard? What procedure do I have to follow to upgrade all three components of virtual node 2 to Enterprise Edition on both physical node B and C?



Any ideas will be greatly appreciated.

View 3 Replies View Related

How Do I Measure Bandwith Usage For Merge Replication SQL 2005 To Sql Server Mobile 2005?

Jan 24, 2007

Hi,

Is there any way to measure bandwith usage during merge replication between sql server 2005 and sql server mobile 2005 running on a cradled wm5 mobile device.

Attaching the windows performance monitor to the network connection established over usb would work although I was wondering if there was something specific for this case integrated into Sql server 2005 / sql server mobile 2005 / Sql server management studio / third party tools that i could use ?

thnx,

pdns.

View 4 Replies View Related

Merge Replication - SQL Server 2005, Windows Vista And MSVisual Studio 2005

Jul 11, 2007

Hello everybody!

I hope that someone could help me.

I have a problem when i start sincronyzing with the emulator of MSVS2005 to SQL2005 in Windows Vista. I have the same program in the emulator, but sincronyzing with windows XP Pro and no problem...



I configure the connection to use the IUSR.



The source code that i use:



repl.InternetUrl = @"http://laptop/SQLMobileIIS/sqlcesa30.dll";

repl.Publisher = @"laptop";

repl.PublisherDatabase = @"database";

repl.PublisherSecurityMode = SecurityType.NTAuthentication;

repl.Publication = @"Pubdatabase";

repl.Subscriber = @"SQLMobile";

repl.SubscriberConnectionString = @"Data Source='" + nomeFicheiroBD + "';Password='3409'";



The error that returns is:



"Failure to connect to SQLServer with provided connection information. SQL Server does not exist, access is denied because the IIS user is not a valid user on the SQL Server, or the password is incorrect"



Does anybody knows what i can do?

HELP I NEED SOMEBODY TO HELP!

Thanks!

View 1 Replies View Related

Help Needed In Merge Replication, SQL Server 2005 Mobile Edition And VC# 2005

Apr 10, 2008

I have written following code in my application

I just want to display all the data of a Single table into a Data Grid, I know that we can drag and drop the table on to a form and datagrid is generated, but here I want to retrive those values through my code, how should i do that

I am getting following errors while running the program
Error 1) Error No. 28037, MS SQL Server 2005 Evrywhere Edition
Error: A request to send data to the computer running IIS has failed. For more information see HRESULT
Error 2) Error No. 0, SQL Server 2005 Evrywhere Edition ADO.Net Data Provider
Error: The specified table does not exist [ JobLists ].

Can anybody please tell me, where I went wrong ??? In this code anywhere else????

Note: While adding a Data Source of SQL Server 2005 Mobile Edition, I have added that .sdf file into my project, thats why I have written the Data Source as : .DbFile.sdf



@"Data Source = .DbDotNetCF.sdf";


The code is as follows:

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlServerCe;

namespace DeviceApplication1
{
public partial class Form1 : Form
{
string filename = @".DbDotNetCF.sdf";

private DataSet dsJobLists;

public Form1()
{
InitializeComponent();
}

private void DeleteDB()
{
if (System.IO.File.Exists(filename))
{
System.IO.File.Delete(filename);
}
}

private void Sync()
{
SqlCeReplication repl = new SqlCeReplication();

repl.InternetUrl = @"http://localhost/WebsiteDotNetCF/sqlcesa30.dll";
repl.Publisher = @"RAHU";
repl.PublisherDatabase = @"DotNetCF";
repl.PublisherSecurityMode = SecurityType.NTAuthentication;
repl.Publication = @"PubDotNetCF";
repl.Subscriber = @"SubDotNetCF";
repl.SubscriberConnectionString = @"Data Source='" + filename + "';Max Database Size=128;Default Lock Escalation =100;";
try
{
if (!System.IO.File.Exists(filename))
{
repl.AddSubscription(AddOption.CreateDatabase);
}
repl.Synchronize();
}
catch (SqlCeException ex)
{
DisplaySQLCEErrors(ex);
}
finally
{
repl.Dispose();
}


// Display Same Data In Another DataGrid : dataGrid1
SqlCeConnection cn = new SqlCeConnection(@"Data Source='" + filename + "'");

SqlCeDataAdapter daJobLists = new SqlCeDataAdapter("SELECT JobListsID, JobID, PersonID FROM JobLists", cn);
if (dsJobLists == null)
{
dsJobLists = new DataSet();
}
try
{
dsJobLists.Clear();
daJobLists.Fill(dsJobLists, "JobLists");
dataGrid1.DataSource = dsJobLists.Tables["JobLists"];
}
catch (SqlCeException ex)
{
DisplaySQLCEErrors(ex);
}
}

private void DisplaySQLCEErrors(SqlCeException ex)
{
for (int i = 0; i < ex.Errors.Count; i++)
{
MessageBox.Show("Index #" + i.ToString() + ""
+ ex.Errors.Source + ""
+ "Error: " + ex.Errors.Message,
"Error No. " + ex.Errors.NativeError.ToString());
}
}

private void Form1_Load(object sender, EventArgs e)
{
Sync();
DeleteDB();

if (DbDotNetCFDataSetUtil.DesignerUtil.IsRunTime())
{
// TODO: Delete this line of code to remove the default AutoFill for 'dbDotNetCFDataSet.JobLists'.
this.jobListsTableAdapter.Fill(this.dbDotNetCFDataSet.JobLists);
}
}
}
}



I have created a merge replication correctlly( I suppose, there were no errros)
Please help

Your help will be appriciated

View 1 Replies View Related

Should I Be Able To Debug Stored Procs With Enterprise Evaluation Copy?

Sep 12, 2007

I've downloaded the enterprise evaluation copy of sql server 2005, patched it to sp2. I've fired up visual studio 2005 and opened a connection to my local database okay, (I've used windows authenication - though I'm not sure how to check whether I've got SA rights..).

When I open a stored procedure up, the breakpoints options are greyed out.

When I look in control panel/add programs, the version of Visual Studio is "Premier Partner Edition - ENU", if I look in the about of vs: it has installed products of sql server analysis services, integration services and reporting services

Looking on the web it says that I need visual studio 2005 professional to be able to debug sp's but on the features list for Premier Partner Edition, under the debug section it says "SQL"

Can anyone shed some light on this? Or is it the case that the eval copy of sql server 2005 ships with a version of vs2005 that precludes sp debugging !!!

ta

View 4 Replies View Related







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