Showing posts with label laptop. Show all posts
Showing posts with label laptop. Show all posts

Monday, March 26, 2012

Enterprise Publisher to Express Subscribers (2005)

I implemented a merge replication publication on a SQL Server 2005
Enterprise instance on a test server. On my laptop I have VS.NET 2005
installed with SQL Server 2005 Express.

It's my understanding that I can subscribe to a publication with
Express. I also have SQL Server Workgroup installed on my laptop so I'm
able to use Management Studio to control the Express instance.

The first issue I encountered was that you cannot subscribe to a
publication if you are not on the same network as the publishing
instance (it requires the actual server name). And in lieu of this I
tried to implement Web synchronization, but had problems with SSL
(which is my problem since I'm not entirely familiar with how to
implement SSL certs so they don't show the security warning on the
client without purchasing a certificate).

So then I decided to go ahead and create an account on my laptop and
add it to the domain of the test publishing server. I was then able to
subscribe to the published replication.

So then I look at my Express instance and the synchronization never
runs. In the documentation it says that you're supposed to be able to
right-click on the subscription and "View Synchronization" and force it
to run. This is not available in the Express instance, but it is
available in the Workgroup instance.

So I'm looking at cleaning up my web synchronization issues to make
that work, but I see two issues here.

1) Why do I have to specify the "real name" of the publishing database?
Why can't I access it like any other sql server via an IP address? This
seems like a highly restrictive implementation of replication to me.

2) Why do I have to implement SSL for replication? I understand the
need for security, but that should be left to me to implement. I
shouldn't be forced to use SSL as my security layer.

3) Why doesn't Express have "View Synchronization"?

Any help here is greatly appreciated.

David Cornelson

Hi David,
You should be able to use Web synchronization in your case.

Regarding your questions:
1) Not sure what you mean here. You need to have the actual and real publishing database name. Without it, we cannot know which database the subscription is referring to.

2) SSL is required for Web Synchronization. It is for Security Purposes. A security feature cannot be optional.

3) SQL Server Express does not have SQL Server Agent. Hence you do not have 'View Synchronization' (Workgroup has it and hence you see the option). You need to either use RMO or ActiveX sync components or use the Window Sync Manager to synchronizing.|||

re 1) So why can't I direct a subscriber to ipaddress\instanceName? Why does it have to be serverName\instanceName?

2) If all of my replication is done within my own company, say I have Smart Clients that are on different segments of my network, so they can't actually "see" the publishing database, I might want to use web synchronization and _not_ use SSL. You're making a security decision that I don't need. I understand that this should be default behaviour, but I should be able to turn it off. You're actually making my architecture more complex by forcing SSL into my replication strategy.

3) Where can I find information on Windows Sync Manager?

Thanks,

David C.

|||1) Not sure, but looks like there is no option for you to provide an ipaddress of the publisher to connect to. Servername/instance may be the only way.

2) Security is always a big concern and that is the reason for mandating the SSL. If you wish, you could workaround with a test certificate. MSDN has a tool for installing a test certificate.
For IIS6.0: http://www.microsoft.com/downloads/details.aspx?FamilyID=56fc92ee-a71a-4c73-b628-ade629c89499&displaylang=en
For IIS5.0: http://support.microsoft.com/default.aspx?scid=kb;en-us;228984

3) Windows Sync manager comes with Standard windows installation. Books online has more information about synchronizing using Sync Manager. To open Sync Manager follow either of the steps:
a) Windows Explorer-->Tools-->Synchronize
b) Start-->AllPrograms-->Accessories-->Synchronize|||1) Okay

2) Alright

3) It only has a Sql Server 2000 and an IE sync listed. Where's 2005?

Thanks for the help.

David C.|||3) I dont understand what you are saying. Where do you see SQL Server 2000 listed?
Windows sync manager is a windows mechanism for synchronization which can be launched using the 2 methods I described in my previous post. You have to enable the subscription on the Subscriber to be using the Windows Sync Manager. Once you have done that, you will start seeing the subscription in the Sync Manager and you can synchronize the subscription with the publication at the Publisher.

Thursday, March 22, 2012

Enterprise Mgr quits after SQL2005 registering

I have both SQL2000 (default) and SQL2005 (second instance) on my laptop. Just to see if it could be done, I registered my (Local) SQL2000 default instance in the Registered Servers part of SQL2005 Mgmt Studio. It worked fine. I can see all the SQL2000 databases, etc in the Mgmt Studio.

But now the SQL2000 default instance will not connect in Enterprise Mgr nor can any of the programs that used to connect to the SQL2000 databases now connect to them. The (local) instance shows in Ent Mgr with the green arrow like it is there but Ent Mgr cannot connect when icon is clicked.

Is there anything I can do to bring the default SQL2000 instance back to be able to connect with anything other than the SQL2005 Mgmt Studio?

Do you get an error ? Which one ?

HTH, Jens K. Suessmeyer.

http://www.sqlserver2005.de
|||

The local node shows in the tree with a white circle with a green arrowhead inside the circle. Which indicates to me that the SQL instance is running and the Ent Mgr sees it. But when I click on the plus beside the node, I get the error:

A connection could not be established to (LOCAL)

Reason: SQL Server does not exist or access denied
ConnectionOpen(Connect())....

Please verify SQL Server is running and check your SQLServer registration properties (by right-clicking on the (LOCAL) node) and try again.

But I can go to the SQL2005 Mgmt Studio and click on (LOCAL) and see all the stuff in it. In Mgmt Studio, the properties for (LOCAL) show version 8.x of SQLServer.

Wednesday, March 21, 2012

Enterprise Manager Tools SQL2000

I have a new laptop with xp pro. Where are the client tools for SQL2000?
I need Query Anzlyser and Enterprise Mgr.

Thanks,
MikeHi Mike,

The SQL Server client tools are part of the SQL Server installation and come with the SQL Server CD.

See the following KB article: (see section: To Install Client Tools Only for SQL Server 2000)
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q303747

This is not included as part of Windows XP Professional.

Regards,
Vikram

Wednesday, March 7, 2012

Enterprise Manager error

After installing Enterprise Manager on a new HP laptop running XP Pro sp2, I get the following error message when to trying to "Return all rows" from a table. "Provider cannot be found. It may not be properly installed."

Everything I read on the internet says to install or reinstall Jet 4.0 sp8, but this has not solved the problem. I've also installed the latest MDAC...MDAC 2.8 SP1 on Windows XP SP2, and ran the compchecker, everthing checks out ok. Any ideas?

Thanks
T.C.

I have a new Sony VAIO laptop and am running XP Pro sp2 and get the same error when trying to open a table in any database.
I just installed SQL2000 sp4 hoping the error would go away...it didn't.
Did your problem ever get resolved?
|||

Hello,

I had searched through Google and Microsoft website for the error message. I find a few matches. You could try the solution suggested in http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=44561. Another link with suggestion from alleged Microsoft online support is http://www.mcse.ms/message201860.html. It could be due to MDAC issue.

Enterprise Manager error

After installing Enterprise Manager on a new HP laptop running XP Pro sp2, I get the following error message when to trying to "Return all rows" from a table. "Provider cannot be found. It may not be properly installed."

Everything I read on the internet says to install or reinstall Jet 4.0 sp8, but this has not solved the problem. I've also installed the latest MDAC...MDAC 2.8 SP1 on Windows XP SP2, and ran the compchecker, everthing checks out ok. Any ideas?

Thanks
T.C.

I have a new Sony VAIO laptop and am running XP Pro sp2 and get the same error when trying to open a table in any database.
I just installed SQL2000 sp4 hoping the error would go away...it didn't.
Did your problem ever get resolved?
|||

Hello,

I had searched through Google and Microsoft website for the error message. I find a few matches. You could try the solution suggested in http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=44561. Another link with suggestion from alleged Microsoft online support is http://www.mcse.ms/message201860.html. It could be due to MDAC issue.

Sunday, February 26, 2012

Enterprise Manager error

After installing Enterprise Manager on a new HP laptop running XP Pro sp2, I get the following error message when to trying to "Return all rows" from a table. "Provider cannot be found. It may not be properly installed."

Everything I read on the internet says to install or reinstall Jet 4.0 sp8, but this has not solved the problem. I've also installed the latest MDAC...MDAC 2.8 SP1 on Windows XP SP2, and ran the compchecker, everthing checks out ok. Any ideas?

Thanks
T.C.

I have a new Sony VAIO laptop and am running XP Pro sp2 and get the same error when trying to open a table in any database.

I just installed SQL2000 sp4 hoping the error would go away...it didn't.

Did your problem ever get resolved?|||

Hello,

I had searched through Google and Microsoft website for the error message. I find a few matches. You could try the solution suggested in http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=44561. Another link with suggestion from alleged Microsoft online support is http://www.mcse.ms/message201860.html. It could be due to MDAC issue.

Friday, February 24, 2012

Enterprise Manager confusion

I'm hoping someone here will be able to tell me what's going on. Here's
what's happening:
On my old laptop, I had SQL Server Enterprise Manager installed, I believe
it was version 8, but maybe not. Noticeably, when designing views, things
like table positions and column sizes weren't displayed, and it was
incapable of handling CASE statements properly, forcing you to edit it in
straight SQL code instead of in the design grid.
Now, on my new laptop, I have what I thought was the same version of SQL EM
installed. This one, however, saves the table positions and column sizes in
the View designer, and properly handles CASE statements as well. It also
take *dreadfully* long to load any complex queries into the View designer
over a VPN connection (sometimes 30-60 seconds or even longer, which really
adds up when you're trying to trace through a chain of queries).
Can anybody explain to me why the new SQL EM is suddenly more functional
than the old one was? Also, I'm assuming it's all the metadata about table
positions and such that's taking all the extra time to load and save. Does
anybody know if I can prevent SQL EM from loading and saving all that
metadata?
Oh, and if there's a better NG for this, please tell me.
Thanks,
Rob
Robert Morley (rmorley@.magma.ca.N0.Freak1n.sparn) writes:
> On my old laptop, I had SQL Server Enterprise Manager installed, I believe
> it was version 8, but maybe not. Noticeably, when designing views, things
> like table positions and column sizes weren't displayed, and it was
> incapable of handling CASE statements properly, forcing you to edit it in
> straight SQL code instead of in the design grid.
> Now, on my new laptop, I have what I thought was the same version of SQL
> EM installed. This one, however, saves the table positions and column
> sizes in the View designer, and properly handles CASE statements as
> well. It also take *dreadfully* long to load any complex queries into
> the View designer over a VPN connection (sometimes 30-60 seconds or even
> longer, which really adds up when you're trying to trace through a chain
> of queries).
> Can anybody explain to me why the new SQL EM is suddenly more functional
> than the old one was? Also, I'm assuming it's all the metadata about
> table positions and such that's taking all the extra time to load and
> save. Does anybody know if I can prevent SQL EM from loading and saving
> all that metadata?
Have you considered using Query Analyzer? The query designer is very
limited, and cannot handle all SQL constructs. It gets even worse in
SQL 2005.
In QA there is no graphical stuff, just a text editor. But particularly
on your slow connection, that is likely to be more effective.
Erland Sommarskog, SQL Server MVP, esquel@.sommarskog.se
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
|||Even though I type at about 80 wpm, I think the slowness of typing things in
the QA would outweigh the once-per-load/save slowness in the View designer.
I also "think better" when I've got the grid to look at, so I don't consider
the QA a viable option. (Besides, at 3Mbps down/800kbps up, our VPN isn't
THAT slow.)
I'd much rather know WHY there's such a change with what seems to be the
same version and if there's any way to disable some of it.
Rob
"Erland Sommarskog" <esquel@.sommarskog.se> wrote in message
news:Xns997961CE5B83Yazorman@.127.0.0.1...
> Robert Morley (rmorley@.magma.ca.N0.Freak1n.sparn) writes:
> Have you considered using Query Analyzer? The query designer is very
> limited, and cannot handle all SQL constructs. It gets even worse in
> SQL 2005.
> In QA there is no graphical stuff, just a text editor. But particularly
> on your slow connection, that is likely to be more effective.
> --
> Erland Sommarskog, SQL Server MVP, esquel@.sommarskog.se
> Books Online for SQL Server 2005 at
> http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
> Books Online for SQL Server 2000 at
> http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
|||> things like table positions and column sizes weren't displayed
For those who were puzzled, that was supposed to say "weren't saved". Don't
know where my fingers/brain were at.
Rob
|||On Wed, 25 Jul 2007 21:24:35 -0400, "Robert Morley"
<rmorley@.magma.ca.N0.Freak1n.sparn> wrote:

>Even though I type at about 80 wpm, I think the slowness of typing things in
>the QA would outweigh the once-per-load/save slowness in the View designer.
>I also "think better" when I've got the grid to look at, so I don't consider
>the QA a viable option. (Besides, at 3Mbps down/800kbps up, our VPN isn't
>THAT slow.)
In general you will not get much help in the newsgroups with the
"builder" tools in EM because pretty much none of the people who share
their experience here use them.
Perhaps you are not familiar with some of the finger-saving features
built into Query Analyzer. For example, click down into the tree to a
table, expand the table, then drag the Columns word to the window
where you are working. It will drop the list of all the columns in
the table, delimited by commas. Or right click on the table name in
the tree and choose to scrip the object as a SELECT (or INSERT or
UPDATE, etc).
Roy Harvey
Beacon Falls, CT
|||Neither of those features is particularly helpful to me, as most of the
Views I create are subsets of the columns in a table, as well as subsets of
the rows. So I'd spend almost as much time deleting text as I would
entering it in the first place, and the View designer offers the ability to
create INSERT and UPDATE queries as well in what I consider to be a much
more designer-friendly format (with some limits, admittedly, as it can't
handle DELETE/UPDATE queries with joined tables, for instance).
If everyone here uses the QA for some reason which is totally beyond me, is
there somewhere that I *can* ask these questions? Surely there must be SOME
others out there who feel, as I do, that the View designer is far more
useful for their tasks than the QA is...otherwise, there wouldn't BE an
Enterprise Manager.
Rob
"Roy Harvey" <roy_harvey@.snet.net> wrote in message
news:tmvga3hluhom15uoisoj2mtmlriiaepi9h@.4ax.com...
> On Wed, 25 Jul 2007 21:24:35 -0400, "Robert Morley"
> <rmorley@.magma.ca.N0.Freak1n.sparn> wrote:
>
> In general you will not get much help in the newsgroups with the
> "builder" tools in EM because pretty much none of the people who share
> their experience here use them.
> Perhaps you are not familiar with some of the finger-saving features
> built into Query Analyzer. For example, click down into the tree to a
> table, expand the table, then drag the Columns word to the window
> where you are working. It will drop the list of all the columns in
> the table, delimited by commas. Or right click on the table name in
> the tree and choose to scrip the object as a SELECT (or INSERT or
> UPDATE, etc).
> Roy Harvey
> Beacon Falls, CT
|||I orginally started out in MS Access, so when I began using SQL Server, I
also mostly used the EM query process because it was so familiar, looking as
it does like the Access query builder. But as I became familiar with Query
Analyzer's abilities and the shortcuts it provides, I started using it more
and more. It is really a matter of getting used to the change in format and
becoming used to the tool.
By the way, you can drag columns individually in QA, you don't have to drag
the whole list unless you need it. So essentially you have the same drag
and drop ability, the only thing missing is the graphically interface.
You might want to google for other graphical SQL Server query tools that
might work more to your style, etc.
Nancy
"Robert Morley" <rmorley@.magma.ca.N0.Freak1n.sparn> wrote in message
news:%23wuesg6zHHA.5476@.TK2MSFTNGP03.phx.gbl...
> Neither of those features is particularly helpful to me, as most of the
> Views I create are subsets of the columns in a table, as well as subsets
> of the rows. So I'd spend almost as much time deleting text as I would
> entering it in the first place, and the View designer offers the ability
> to create INSERT and UPDATE queries as well in what I consider to be a
> much more designer-friendly format (with some limits, admittedly, as it
> can't handle DELETE/UPDATE queries with joined tables, for instance).
> If everyone here uses the QA for some reason which is totally beyond me,
> is there somewhere that I *can* ask these questions? Surely there must be
> SOME others out there who feel, as I do, that the View designer is far
> more useful for their tasks than the QA is...otherwise, there wouldn't BE
> an Enterprise Manager.
>
> Rob
> "Roy Harvey" <roy_harvey@.snet.net> wrote in message
> news:tmvga3hluhom15uoisoj2mtmlriiaepi9h@.4ax.com...
>
|||Well, I can give it a try, certainly, but my previous experience has not
been that it wasn't particularly useful to my style of working.
In the end, though, I still have to wonder why the oddities are occurring,
regardless of which tools are better for the job.
Rob
"Nancy Lytle" <word_diva@.hotmail.com> wrote in message
news:uevEeD7zHHA.3600@.TK2MSFTNGP04.phx.gbl...
>I orginally started out in MS Access, so when I began using SQL Server, I
>also mostly used the EM query process because it was so familiar, looking
>as it does like the Access query builder. But as I became familiar with
>Query Analyzer's abilities and the shortcuts it provides, I started using
>it more and more. It is really a matter of getting used to the change in
>format and becoming used to the tool.
> By the way, you can drag columns individually in QA, you don't have to
> drag the whole list unless you need it. So essentially you have the same
> drag and drop ability, the only thing missing is the graphically
> interface.
> You might want to google for other graphical SQL Server query tools that
> might work more to your style, etc.
> Nancy
> "Robert Morley" <rmorley@.magma.ca.N0.Freak1n.sparn> wrote in message
> news:%23wuesg6zHHA.5476@.TK2MSFTNGP03.phx.gbl...
>
|||Yeah, okay, so I looked at it again for all of about two seconds, and you
know what? I still *hate* it. I *will* not use the Query Analyzer for
anything I don't absolutely have to. It simply doesn't work the way I
think. While I can make my way through it when necessary, it slows me down
significantly just to have to wrap my head around how it's trying to force
me to work, and I certainly can't afford that kind of time right now.
I've been working with SQL EM for about 3 years now, and STILL prefer the
View designer over QA. It's not like I'm a total noob or something.
So having established that, can we please get back to my original question
or perhaps provide me with a forum in which someone can help me. All this
"what? nobody uses that!" attitude is really very irritating.
I realize my irritation isn't likely to make me any friends, but imagine if
someone told you when you were asking for help with your word processor that
hand-writing a 1000-page report was really the best way to go because you
have so much more freedom in how the characters look and being able to put
drawings on it at will, etc. Not only would you think they had it
backwards, you'd be PO'd at the lack of help with your problem (as I am).
While I realize you all may look at this in reverse and think I'm the one
who's hand-writing while you're using the word processor, it's not helpful
no matter HOW you look at it.
Thanks,
Rob
"Robert Morley" <rmorley@.magma.ca.N0.Freak1n.sparn> wrote in message
news:%23NX88V7zHHA.5160@.TK2MSFTNGP05.phx.gbl...
> Well, I can give it a try, certainly, but my previous experience has not
> been that it wasn't particularly useful to my style of working.
> In the end, though, I still have to wonder why the oddities are occurring,
> regardless of which tools are better for the job.
>
> Rob
> "Nancy Lytle" <word_diva@.hotmail.com> wrote in message
> news:uevEeD7zHHA.3600@.TK2MSFTNGP04.phx.gbl...
>
|||> I've been working with SQL EM for about 3 years now, and STILL prefer the
> View designer over QA. It's not like I'm a total noob or something.
This is like saying, I've been driving automatic for 20 years, and I've
tried standard for 5 minutes, and I hate it! And it's not like I'm a "noob"
or something.
Do us a favor and give QA more than 15 minutes of your precious time before
you can authoritatively conclude that EM's crippled view designer is the
only way that you're willing and capable to work.

> So having established that, can we please get back to my original question
> or perhaps provide me with a forum in which someone can help me. All this
> "what? nobody uses that!" attitude is really very irritating.
It's not just "nobody uses that"... it's that "nobody uses that for GOOD
REASON." There are a lot of little bugs, quirks, oddities, and downright
incorrect behavior that make it unusable for most of the people I know.

> While I realize you all may look at this in reverse and think I'm the one
> who's hand-writing while you're using the word processor, it's not helpful
> no matter HOW you look at it.
IMHO, this is another of those "give him a fish, or teach him how to fish"
kind of things. If we don't bother pointing out to you that the view
designer is not really a viable tool for ANYONE (regardless of how much of a
"noob" they are), should we just shut our mouths and risk the fact that when
tomorrow you complain that CASE is not supported, or the next day you
complain that it keeps re-writing your query in incorrect ways, you'll blame
us for not warning you that you're insisting on using an inferior tool?
Go ahead and use the view designer all you want. But don't come in here,
and complain to use because we're telling you that the questions you're
asking about lead to a different conclusion than "you fix that by doing
[x]."