Showing posts with label running. Show all posts
Showing posts with label running. Show all posts

Friday, March 30, 2012

MSDE and ISA

I am running 2 instances of MSDE2000 on a server with Win2K server SP4 and
ISA Server 2000. From the workstations on the network I am able to create
an ODBC connection to the default instance of SQL (MSSQL) but receive an
error when trying to connect to the 2nd instance (MSSQL\INSTANCENAME). Both
names appear in the dropdown list when creating the ODBC connection. Both
instances are running and networking for TCP/IP is enabled using SVRNETCN.
Both instances use the same SA password and connection is made using SQL
Authentication.
Error Message is
Connection Failed
SQLState 01000
SQL Server Error: 10048
[Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionOpen (Connect())
Connection Failed
SQLState 08001
SQL Server Error: 17
[Microsoft][ODBC SQL Server Driver][DBNETLIB]SQL Server does not exist or
access denied
If I stop both instances of SQL and start only the 2nd instance i am then
able to connect to it but am unable to connect to the default instance when
it is restarted. It seems that the first instance of SQL to start can have
a connection made to it and any other instances cannot have an ODBC
connection. I think it may be related to ISA Server but cannot confirm at
this stage
Any advice would be appreciated.
Darrin
Darrin Acreman wrote:
> I am running 2 instances of MSDE2000 on a server with Win2K server SP4 and
> ISA Server 2000. From the workstations on the network I am able to create
> an ODBC connection to the default instance of SQL (MSSQL) but receive an
> error when trying to connect to the 2nd instance (MSSQL\INSTANCENAME). Both
> names appear in the dropdown list when creating the ODBC connection. Both
> instances are running and networking for TCP/IP is enabled using SVRNETCN.
> Both instances use the same SA password and connection is made using SQL
> Authentication.
> Error Message is
> Connection Failed
> SQLState 01000
> SQL Server Error: 10048
> [Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionOpen (Connect())
> Connection Failed
> SQLState 08001
> SQL Server Error: 17
> [Microsoft][ODBC SQL Server Driver][DBNETLIB]SQL Server does not exist or
> access denied
> If I stop both instances of SQL and start only the 2nd instance i am then
> able to connect to it but am unable to connect to the default instance when
> it is restarted. It seems that the first instance of SQL to start can have
> a connection made to it and any other instances cannot have an ODBC
> connection. I think it may be related to ISA Server but cannot confirm at
> this stage
> Any advice would be appreciated.
> Darrin
>
Check the port numbers for both instances, they should be different
different. Check the application log/system log for any errors generated
by the second instance you start.

MSDE and Enterprise Manager

If you have a machine running MSDE and you use Enterprise
Manager to connect to it, should you be able to set up
database maintenance plans that will delete expired
backups?
I'm seeing a situation where you can set up the
maintenance plan but the drop down box for the type of
period (days, weeks, etc) after which to delete expired
backups is blank.
My first thought is that there's an issue with using EM
to set up maintenance plans on MSDE.
Thanks for any assistance.
hi Charles,
"Charles Allen" <callen@.bkd.com> ha scritto nel messaggio
news:3d2c01c4c1ec$13e369d0$a301280a@.phx.gbl
> If you have a machine running MSDE and you use Enterprise
> Manager to connect to it, should you be able to set up
> database maintenance plans that will delete expired
> backups?
> I'm seeing a situation where you can set up the
> maintenance plan but the drop down box for the type of
> period (days, weeks, etc) after which to delete expired
> backups is blank.
> My first thought is that there's an issue with using EM
> to set up maintenance plans on MSDE.
> Thanks for any assistance.
unfortunately, your first thought should be that you are not licensed to use
Enterprise Manager against MSDE instances, and you should rely on self based
solutions or third party tools
(http://www.microsoft.com/sql/msde/partners/default.asp or
http://www.aspfaq.com/show.asp?id=2442 , google for others)
Andrea Montanari (Microsoft MVP - SQL Server)
http://www.asql.biz/DbaMgr.shtmhttp://italy.mvps.org
DbaMgr2k ver 0.9.1 - DbaMgr ver 0.55.1
(my vb6+sql-dmo little try to provide MS MSDE 1.0 and MSDE 2000 a visual
interface)
-- remove DMO to reply
|||Thanks for your message. My understanding of the licensing is you can use
Enterprise Manager IF you own a copy of SQL Server Standard or greater. If my
understanding is correct, then the issue goes back to functionality. Do you
agree?
In case you are wondering, you might use MSDE even if you have an installed
version of SQL Server if the application you are using is based on one or the
other. Great Plains, for example, knows which one you are using and has
specific licenses.
"Andrea Montanari" wrote:

> hi Charles,
> "Charles Allen" <callen@.bkd.com> ha scritto nel messaggio
> news:3d2c01c4c1ec$13e369d0$a301280a@.phx.gbl
> unfortunately, your first thought should be that you are not licensed to use
> Enterprise Manager against MSDE instances, and you should rely on self based
> solutions or third party tools
> (http://www.microsoft.com/sql/msde/partners/default.asp or
> http://www.aspfaq.com/show.asp?id=2442 , google for others)
> --
> Andrea Montanari (Microsoft MVP - SQL Server)
> http://www.asql.biz/DbaMgr.shtmhttp://italy.mvps.org
> DbaMgr2k ver 0.9.1 - DbaMgr ver 0.55.1
> (my vb6+sql-dmo little try to provide MS MSDE 1.0 and MSDE 2000 a visual
> interface)
> -- remove DMO to reply
>
|||That's not quite correct. The Appropriate Uses of MSDE FAQ at
http://www.microsoft.com/sql/msde/howtobuy/msdeuse.asp says the following:
Q. Can I use SQL Server tools and services in conjunction with MSDE?
A. You can only use SQL Server tools and services in conjunction with
MSDE if you acquired MSDE through SQL Server 2000 (Developer Edition,
Standard Edition, or Enterprise Edition), and if you are using MSDE in
conjunction with a properly licensed copy of SQL Server 2000. Visit the How
to Buy page for information on obtaining a valid SQL Server license.
Note: The tools and services included with SQL Server Developer
Edition may not be used to manage production server environments.
The following utilities are installed by the MSDE setup application
and are provided without restrictions for use with the copy of MSDE that is
installed by your application: bcp.exe, cnfgsvr.exe, dcomscm.exe, osql.exe,
sqlmaint.exe, sqlmangr.exe, scm.exe, sqladhlp.exe, and svrnetcn.exe. The
dtsrun.exe utility is also provided, but can only be used to run existing
Data Transformation Services (DTS) packages against the copy of MSDE
installed by your application; it cannot be used to develop new DTS
packages.
The key phrase here is "using MSDE in conjuntion with a properly licensed
copy of SQL Server 2000." Simply owning a copy of SQL Server Standard
Edition isn't enough, and you'll have to talk to your laywer to figure out
what that phrase means. All I've been told is that it doesn't apply in most
cases and requires a room full of lawyers and a white board to understand.
Rather than go through all that, you're probably better off putting Andrea's
suggestion to work and using a third-party tool.
Sincerely,
Stephen Dybing
This posting is provided "AS IS" with no warranties, and confers no rights.
"Charles Allen" <CharlesAllen@.discussions.microsoft.com> wrote in message
news:18142445-2FBB-43EC-9719-8751C5AC767D@.microsoft.com...[vbcol=seagreen]
> Thanks for your message. My understanding of the licensing is you can use
> Enterprise Manager IF you own a copy of SQL Server Standard or greater. If
> my
> understanding is correct, then the issue goes back to functionality. Do
> you
> agree?
> In case you are wondering, you might use MSDE even if you have an
> installed
> version of SQL Server if the application you are using is based on one or
> the
> other. Great Plains, for example, knows which one you are using and has
> specific licenses.
> "Andrea Montanari" wrote:
begin 666 ts.gif
J1TE&.#EA`0`!`( ``````/___R'Y! $`````+ `````!``$```(!1 `[
`
end

Wednesday, March 28, 2012

MSDE 2GB Limit

Hi
A Client has an MSDE install - checked by running @.@.version (clearly
says developer edition in the result text).
However the size of the data file is over 3GB, even allowing for empty
spaces the amount of data far exceeds 2GB. Pls explain?
The database was filled by regular insert statements.
Am 31 Oct 2005 04:14:49 -0800 schrieb yitzak:

> Hi
> A Client has an MSDE install - checked by running @.@.version (clearly
> says developer edition in the result text).
> However the size of the data file is over 3GB, even allowing for empty
> spaces the amount of data far exceeds 2GB. Pls explain?
> The database was filled by regular insert statements.
MSDE always shows "Desktop Engine" and not "Developer Edition"!
bye,
Helmut

MSDE 2000 Vs MS SQL 2000 Server

I am about to setup an application server. This app will generate reports and instead of just having a HTML page up, I am considering running dotnetnuke type portal to offer the userbase a better interface for the reports, info, announcement, etc.

Server isn't too bad (2x1.7Ghz Xeon I think, 2GIG RAM) type of setup (may be little more or less). App doesn't require as much resources, but we are planning for the future )

While I have some resource to play with, I also need to make sure I don't load much that may impact the application performance. In my experience, SQL Server 2000 will take a lot of resources even when not used as much. So I am considering MSDE.

I am curious however, WHAT ARE THE MAIN DIFFERENCES BETWEEN SQL 2000 Server Vs MSDE 2000 ?

Beside no Client tool and mostly command line specific command, what else there to convince that I should go for server vs desktop engine?

Now our company has Enterprise license for SQL, so I am not worried about the cost (well a little maybe), but mostly wondering about performance.

If you think of any reason why I go to SQL Server 2000 over MSDE, please let me. Otherwise, I think MSDE in this case is the appropriate RDBMS to go for.

Regards,

ImpuMicrosoft has a good chart summarizing each of the SQL Server products:SQL Server 2000 Product Overview. You will see that MSDE is the same thing as SQL ServerStandard Edition, with these exceptions:
-- does not include graphical management tools
-- has a workload governor that limits the number of concurrent transactions
-- does not include any analysis capbilities (OLAP, DTS, data mining & warehousing)
-- has different scalability limits

On top of all of that, theEnterprise edition (which you already own), gives you the ability to use failover clustering, log shipping, advanced analysis features, improved scalability, availability, and performance. (SeeFeatures by Edition for more specifics in this area.)

You might find that your database access is your bottleneck, and that you'd want the best performance possible from the database, which would be the Enterprise edition. We inadvertently had moved from the Enterprise Edition to the Standard Edition a while back, and there was a SIGNIFICANT decrease in performance. We had maybe 2 dozen people hitting the database and it was awful. The Standard Edition just would/could not take advantage of the hardware in the server. But looking at the hardware you have on your server (dual processor with 2 gig of RAM, it would seem that the Standard would be able to fully utiltize that)

How many users will be hitting your application at once? MSDE will only handle 25 concurrent processes (note: not USERS), which may or may not be enough for your purposes.

Terri|||Awesome response Terri (Thanks).

since this would be an applicaiton server (reporting software that uses built-in db), we will have very limited use for the MS SQL Server or even MSDE. Mainly I need to install it because I want to install dotnetnuke :) ...

Traffic would be very few to this site as the site will have link to reports that are running off of that other reporting engine. As I said, I could easily get by with a IIS/HTML based website for this purpose.

Having the Enterprise or Standard SQL server will give us a lot of advantages, but you are suggesting I will have performance gain too? Even though MSDE have so little functionality than SQL server (Std or Ent)? Then I oughta go for MS SQL Server then (even though it would be pretty much useless other than housing the dotnetnuke tables.

Regards,

impu|||For others if anyone curious, I found this response from a MSFT guy to another person who asked similar question (Lesson learn, do a little more searching before asking a question :))

*************Start of MSFT engineer's response***********************

SQL Server 2000 Desktop Engine (MSDE 2000) is a version of the
SQL Server data engine designed for redistribution with client-side
applications. Desktop Engine supports most of the functionality of the
other editions of SQL Server 2000, as well as the APIs they support.
Desktop Engine has been optimized for use on smaller computer systems such
as laptops, stand-alone workstations, and servers that support small
workgroups.

Therefore, if there is an instance of SQL server 2000 (Enterprise) on your
computer, it is not necessary to install MSDE 2000 again on the same
machine. In this case, if MSDE 2000 is still installed on your machine, it
will be the named instance. Generally, the application requiring
installation of MSDE will run the .sql files to install the databases on
the SQL Server instance. You can check and see the introductions of your
application if it also does the same. If so, based on my experience, there
is not obvious difference between SQL Server 2000 and MSDE 2000.

Desktop Engine implements all of the basic functionality of SQL Server
2000, as well as most of the additional services. There are, however, a few
differences to keep in mind while planning your installation:

1. The size of Desktop Engine databases cannot exceed 2 gigabytes (GB).

2. Desktop Engine supports symmetric multiprocessing on a maximum of two
processors.

3. Desktop Engine uses the same concurrent workload governor as SQL Server
2000 Personal Edition. When more than five batches are run concurrently,
the workload governor will insert no-ops in direct proportion to the number
of excess batches submitted for processing, thereby reducing system
performance.

4. Desktop Engine participates in replication as:
a. A Subscriber in transactional replication.
b. Both Subscriber and Publisher in snapshot and merge replication.

5. Desktop Engine does not support SQL Mail.

6. Desktop Engine is not supported on Windows? Advanced Server, Limited
Edition.

For more information about the features supported by Desktop Engine, please
refer to the article on SQL Server Books Online.
Topic "Features Supported by the Editions of SQL Server 2000."

817788 Support WebCast: Microsoft SQL Server 2000 Desktop Engine (MSDE)
http://support.microsoft.com/?id=817788

***************end of his response**********************

p.s. Notice #3 (same thing Terri pointed out). May be a decision factor why I should choose SQL Server Ent over MSDE. Didn't think of it from this angle (but then again, would I see more than 4 users? I might. :p

Thanks

Impu|||Take a look at this:http://www.microsoft.com/sql/msde/productinfo/features.asp According to this Microsoft MSDE 2000 Features Article, MSDE does in fact support DTS, it just cannot create them by default because it does not come with the DTS designer (if you have access to SQL Enterprise Manager you should have no problem designing the package).

I will be testing to verify, I will let you know what I find...

Monday, March 26, 2012

MSDE 2000 Question

Can you install the SQL client tools on a box running msde and register the msde database under enterprise manager?
Thanksyes, you cansql

msde 2000 odbc connection failed

i have msde 2000 running on a server i am able to create an odbc connection to my db on that pc. when i try to create anpther odbc connection on another pc on that network i get the following error:

sql state '01000'
server error 2
[microsoft][odbc sql server driver][named pipes] connectionopen (connect()).
connection failed
sql state '08001'
server error 17
[microsoft][odbc sql server driver][named pipes]server does not exist or access denied.

what do i have to do to get this odbc connection on this pc working?

Thank You,
ThomasHave you enabled network protocols? If not try this. Easier to do this by uninstalling and then reinstalling.|||True, and take help of this KBA http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q328306 to overcome the issue.

MSDE 2000 Named instance in conjunction with SQL server 7

I have SQL server 7 running as a default instance and I'm trying to install
MSDE 2000. I was able to install it as a named instance by running the
following:
setup.exe SAPWD="password" INSTANCENAME="named_instance"
Now I can not connect to the named instance with OSQL. What do I need to do
to connect properly?
Hi,
Try to connect to the instance as servername\named_instance
Example: If your machine name is MyServer1 and your named instance is
Cyclops then you would refer to the server as MyServer1\Cyclops. If this
will not work for you in the long run, you can always set up an alias on
your client through the Client Network Utility to refer to it in a more
conventional manner.
-Jose Molina
"iranpessar@.hotmail.com" <iranpessarhotmailcom@.discussions.microsoft.com>
wrote in message news:1FB9C0FC-639B-4B6E-A4EC-6623B70F3F78@.microsoft.com...
>I have SQL server 7 running as a default instance and I'm trying to install
> MSDE 2000. I was able to install it as a named instance by running the
> following:
> setup.exe SAPWD="password" INSTANCENAME="named_instance"
> Now I can not connect to the named instance with OSQL. What do I need to
> do
> to connect properly?

MSDE 2000 Named instance in conjunction with SQL server 7

I have SQL server 7 running as a default instance and I'm trying to install
MSDE 2000. I was able to install it as a named instance by running the
following:
setup.exe SAPWD="password" INSTANCENAME="named_instance"
Now I can not connect to the named instance with OSQL. What do I need to do
to connect properly?Hi,
Try to connect to the instance as servername\named_instance
Example: If your machine name is MyServer1 and your named instance is
Cyclops then you would refer to the server as MyServer1\Cyclops. If this
will not work for you in the long run, you can always set up an alias on
your client through the Client Network Utility to refer to it in a more
conventional manner.
-Jose Molina
"iranpessar@.hotmail.com" <iranpessarhotmailcom@.discussions.microsoft.com>
wrote in message news:1FB9C0FC-639B-4B6E-A4EC-6623B70F3F78@.microsoft.com...
>I have SQL server 7 running as a default instance and I'm trying to install
> MSDE 2000. I was able to install it as a named instance by running the
> following:
> setup.exe SAPWD="password" INSTANCENAME="named_instance"
> Now I can not connect to the named instance with OSQL. What do I need to
> do
> to connect properly?sql

Friday, March 23, 2012

MSDE 2000 installation on Windows 98 SE

Hi,
I have Installed MSDE 2000 on Windows 98 SE box After REBOOT MSDE
service is running.
I am not able to connect to the MSDE in WIndows Authentication mode
while using Login ( sa ) / password the connectivity is done.
My GUI uses the MSDE connection in "Windows Authentication Mode" which
is working fine with the 2K/XP but not with 98SE/ME.
The MSDE Readme.txt says that on 98 / ME the default Connectivity mode
is "Windows Authentication" BUT its not working in that way.
I have tried SECURITYMODE=SQL as command line to setup.exe as well but
results are same.
Any clue to run it in WMA Mode on Win98SE/ME ?
thanks
kapil
Hi Kaps,
Win98 doesn't provide the infrastructure that MSDE needs to use Windows
Authentication. You will need to use SQL Server authentication and specify
an password for sa (SAPWD) while installing it.
HTH,
Greg Low [MVP]
MSDE Manager SQL Tools
www.whitebearconsulting.com
"kaps" <kapilkj@.gmail.com> wrote in message
news:1103617693.026085.125330@.f14g2000cwb.googlegr oups.com...
> Hi,
> I have Installed MSDE 2000 on Windows 98 SE box After REBOOT MSDE
> service is running.
> I am not able to connect to the MSDE in WIndows Authentication mode
> while using Login ( sa ) / password the connectivity is done.
> My GUI uses the MSDE connection in "Windows Authentication Mode" which
> is working fine with the 2K/XP but not with 98SE/ME.
> The MSDE Readme.txt says that on 98 / ME the default Connectivity mode
> is "Windows Authentication" BUT its not working in that way.
> I have tried SECURITYMODE=SQL as command line to setup.exe as well but
> results are same.
> Any clue to run it in WMA Mode on Win98SE/ME ?
>
> thanks
> kapil
>

MSDE 2000 install on W2K3 64bit

I'm trying to install MSDE 2000 on an Itanium system running 64bit Windows
2003 Server. The install fails and the eventviewer shows:
Product: Microsoft SQL Server Desktop Engine -- Setup failed to configure
the server. Refer to the server error logs and setup error logs for more
information.
The install log contains:
2004-10-22 10:13:31.65 server Microsoft SQL Server 2000 - 8.00.760
(Intel X86)
Dec 17 2002 14:22:05
Copyright (c) 1988-2003 Microsoft Corporation
Desktop Engine on Windows NT 5.2 (Build 3790: )
2004-10-22 10:13:31.66 server Copyright (C) 1988-2002 Microsoft
Corporation.
2004-10-22 10:13:31.66 server All rights reserved.
2004-10-22 10:13:31.66 server Server Process ID is 3944.
2004-10-22 10:13:31.66 server Logging SQL Server messages in file
'C:\Program Files (x86)\Microsoft SQL Server\MSSQL$BE_DLO\LOG\ERRORLOG'.
2004-10-22 10:13:31.68 server SQL Server is starting at priority class
'normal'(2 CPUs detected).
2004-10-22 10:13:31.89 server SQL Server configured for thread mode
processing.
2004-10-22 10:13:31.89 server Using dynamic lock allocation. [500] Lock
Blocks, [1000] Lock Owner Blocks.
2004-10-22 10:13:31.98 spid4 Warning ******************
2004-10-22 10:13:31.98 spid4 SQL Server started in single user mode.
Updates allowed to system catalogs.
2004-10-22 10:13:32.01 spid4 Starting up database 'master'.
2004-10-22 10:13:32.15 spid4 Error: 823, Severity: 24, State: 2.
2004-10-22 10:13:32.19 spid4 Cannot recover the master database. Exiting.
Anyone know if this is related to:
http://support.microsoft.com/default...b;en-us;872768
Thanx,
Ernie Billing
VERITAS Software
ebilling@.veritas.com
I looked at the list of supported operating systems for MSDE and W2K3 Server
64 was not one of them.
Given that there is a special 64 bit version of SQL Server for this OS, I
would be surprised if MSDE installed on W2K3 Server 64.
Jim
"Ernie Billing" <Ernie Billing@.discussions.microsoft.com> wrote in message
news:41F181D1-5632-4A16-9287-809A30087B97@.microsoft.com...
> I'm trying to install MSDE 2000 on an Itanium system running 64bit Windows
> 2003 Server. The install fails and the eventviewer shows:
> Product: Microsoft SQL Server Desktop Engine -- Setup failed to configure
> the server. Refer to the server error logs and setup error logs for more
> information.
> The install log contains:
> 2004-10-22 10:13:31.65 server Microsoft SQL Server 2000 - 8.00.760
> (Intel X86)
> Dec 17 2002 14:22:05
> Copyright (c) 1988-2003 Microsoft Corporation
> Desktop Engine on Windows NT 5.2 (Build 3790: )
> 2004-10-22 10:13:31.66 server Copyright (C) 1988-2002 Microsoft
> Corporation.
> 2004-10-22 10:13:31.66 server All rights reserved.
> 2004-10-22 10:13:31.66 server Server Process ID is 3944.
> 2004-10-22 10:13:31.66 server Logging SQL Server messages in file
> 'C:\Program Files (x86)\Microsoft SQL Server\MSSQL$BE_DLO\LOG\ERRORLOG'.
> 2004-10-22 10:13:31.68 server SQL Server is starting at priority class
> 'normal'(2 CPUs detected).
> 2004-10-22 10:13:31.89 server SQL Server configured for thread mode
> processing.
> 2004-10-22 10:13:31.89 server Using dynamic lock allocation. [500] Lock
> Blocks, [1000] Lock Owner Blocks.
> 2004-10-22 10:13:31.98 spid4 Warning ******************
> 2004-10-22 10:13:31.98 spid4 SQL Server started in single user mode.
> Updates allowed to system catalogs.
> 2004-10-22 10:13:32.01 spid4 Starting up database 'master'.
> 2004-10-22 10:13:32.15 spid4 Error: 823, Severity: 24, State: 2.
> 2004-10-22 10:13:32.19 spid4 Cannot recover the master database.
Exiting.
> Anyone know if this is related to:
> http://support.microsoft.com/default...b;en-us;872768
> Thanx,
> Ernie Billing
> VERITAS Software
> ebilling@.veritas.com

MSDE 2000 database setup trouble

Hello
I am running a stand-alone test environment for an application in XP Pro
which I can only use MSDE to manage my databases.
I've successfully installed msde and am finally able to connect using 'osql
-Usa -Ppassword -S (local)\testmachine' , because I can get the '1>' command
prompt.
My trouble is when I try to create and/or restore a database for the test
application to use I'm running into trouble. For example enter this :
1> USE master
2> RESTORE DATABASE master FROM DISK='C:\master\master_db2.BAK'
3>GO
and I get an error message telling me that "RESTORE DATABASE must be used in
single user mode when trying to restore the master database" ...... I also
get a similar message when trying to create and restore a database called
'public'.
how do I successfully get into 'single user mode' ?
hi,
APB wrote:
> Hello
> I am running a stand-alone test environment for an application in XP
> Pro which I can only use MSDE to manage my databases.
> I've successfully installed msde and am finally able to connect using
> 'osql -Usa -Ppassword -S (local)\testmachine' , because I can get the
> '1>' command prompt.
> My trouble is when I try to create and/or restore a database for the
> test application to use I'm running into trouble. For example enter
> this :
> 1> USE master
> 2> RESTORE DATABASE master FROM DISK='C:\master\master_db2.BAK'
> 3>GO
> and I get an error message telling me that "RESTORE DATABASE must be
> used in single user mode when trying to restore the master database"
> ...... I also get a similar message when trying to create and
> restore a database called 'public'.
> how do I successfully get into 'single user mode' ?
have a look at http://msdn2.microsoft.com/en-us/library/ms180965.aspx ..
typically you open a command window, navigate to the \Binn folder of the
instance you want to start and execute something like
C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\>sqlservr.exe -s
InstanceName -m
this will start the instance in single user modo, so that you'll be able to
restore the master database...
to restore "normal user's" database(s) the single user mode is not required,
but the database(s) to be restored must not be in use... so no active
connections must be running against the database(s) to be restored..
Andrea Montanari (Microsoft MVP - SQL Server)
http://www.asql.bizhttp://italy.mvps.org
DbaMgr2k ver 0.20.0 - DbaMgr ver 0.64.0 and further SQL Tools
-- remove DMO to reply

Wednesday, March 21, 2012

Msde 2000 - Sql 2005 Express Upgrade Issue.

Hey, This is my first time posting here but here goes nothing...

Ok I upgraded an xp machine running to sql express 2005 by doing the inplace upgrade. The upgrade process went great, after the upgrade I could connect to the databases that had been upgraded using the management studio.

BUT.

When I try to connect to the databases using the third party software which had always worked in the past I get the error when trying to access from both the client and server machines.

[DBNETLIB][Connection open()).]SQL Server does not exist or access denied.

I then tried setting up SQL express 2005 on another xp station just to test how things worked if it wasn't an upgrade. I installed, attached the databases (which I copied to that local machine) and I was able to connect to them through the third party software from the server machine, but not client machines. The client machines gave me the same error as above.

Does anyone have any ideas, I have been talking to the third party support but haven't gotten any where yet... does anyone have any suggestions?

Thanks,why would you want to upgrade from MSDE 2000 to SQL 2005 express? Microsoft has stated more than 80% of the application running on SQL 2000 will not work on SQL 2005. Why not using the same old MSDE 2000?

most probably you will need to rewrite your application to handle SQL 2005|||I spoke with the third party software company and they assure me everything will work on sql express. We wanted to switch to sql express because it had the report server stuff built in. I don't really know that much about this stuff, can the sql 2005 express reporting stuff be run on msde ?|||I am not the expert here but I will just share what I have experienced so far.

Report server is a built in feature in SQL 2005. However, it has its limitation when it comes to report designer. My personal experience, it's easy to use, but it's not acceptable by the end user. I end up writing my own long script to output the whole report to excel file.

You shall show your users instead of simply pushing them to another technology. MSDE can run well on WinXP, so why change? If you can't give yourself a good reason to change, it's better to stick to something that's working.

Remember, free stuff, doesn't come in handy :D unless your requirement is very very simple.

If the software vendor assure you that, ask them to show you how to migrate the thing over. You can always use VMware or Parallels to do all the testing before you screw up your MSDE.|||Thanks for the insight with the reporting stuff. Do you know if the report stuff from express can be used with msde?

Also, I think it's to late for me on the screwing up the msde. I removed sql express now and I have reinstalled msde, but I am getting the same error I was getting with the express. I have done a little reading and it seems like it might be a problem with remote connections. Does anyone know how to make sure remote connections are allowed in msde ?sql

MSDE + JDBC SP3 - Run Together in WS

I have a java application running with JDK 1.3.1. I`d like connect this
application through the SQL DB ( MSDE + SQL Server 2000 Driver for JDBC
Service Pack 3, both are free ). Is it possible.
Txs in advance,
Jose R Castro / MCP W2K
| Thread-Topic: MSDE + JDBC SP3 - Run Together in WS
| thread-index: AcTXTYaW1R/kc6+DROSEIv2/byEYnw==
| X-WBNR-Posting-Host: 201.1.124.200
| From: "=?Utf-8?B?Sm9zZSBSIENhc3Rybw==?=" <Jose R
Castro@.discussions.microsoft.com>
| Subject: MSDE + JDBC SP3 - Run Together in WS
| Date: Tue, 30 Nov 2004 18:29:04 -0800
| Lines: 7
| Message-ID: <0EF992D0-735C-439E-B581-A6FA4464B99A@.microsoft.com>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.sqlserver.jdbcdriver
| NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
| Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl
| Xref: cpmsftngxa10.phx.gbl microsoft.public.sqlserver.jdbcdriver:6519
| X-Tomcat-NG: microsoft.public.sqlserver.jdbcdriver
|
| I have a java application running with JDK 1.3.1. I`d like connect this
| application through the SQL DB ( MSDE + SQL Server 2000 Driver for JDBC
| Service Pack 3, both are free ). Is it possible.
| Txs in advance,
|
| Jose R Castro / MCP W2K
|
|
Yes, you can connect to MSDE from JDBC in the same way that you connect to
a full-blown instance of SQL Server..
Carb Simien, MCSE MCDBA MCAD
Microsoft Developer Support - Web Data
Please reply only to the newsgroups.
This posting is provided "AS IS" with no warranties, and confers no rights.
Are you secure? For information about the Strategic Technology Protection
Program and to order your FREE Security Tool Kit, please visit
http://www.microsoft.com/security.

Monday, March 19, 2012

MSDE / SQL - SERVER

Dear all,
I have installed both environments on my system, running windows 2000.
When I start the SQL Enterprise Manager I can see 1 SQL Server Group,
containing two branches:
- (local) (windows nt) which contains the msde
- named instance which contains the sql server 2000
I have an application running in which I can make a selection between
servers. After installing sql server the servers running on my system are no
longer presented. My application still runs with the msde server if I type in
the name of the server but not with the sql server.
To check wehther the problem is caused by the application or not, I tried to
create a DSN (odbc data source) on my system. Because there the server is
also requested. When I click on the list box for the server no servers are
presented. When I type in the name I get an error message that the connection
failed.
sql server error: 1231
.....
sqlstate: '08001'
sql server error: 17
[microsoft][odbc sql server dirver][dbnetlib]sql server does not exist or
access denied
Because I did not see the servers available in the list box I the server
does not exist part of the message seems to match my problem. But looking
into the enterprise manager I have it up and running.
Has someone experienced this in the past and solved it. Can you share the
solution for this problem.
regards,
Danny Gaethofs
Dear all,
I have to rephrase my problem statement. After a bit of experimenting I am
able to get connected to both msde and sql server using my application.
However the problem I described that the servers are not shown in the list
box that opens for example when you create a data source remains.
Because this is a bit crucial when creating new connections can someone help
me out with this and explain why it is happening.
regards,
Danny Gaethofs
"Danny Gaethofs" wrote:

> Dear all,
> I have installed both environments on my system, running windows 2000.
> When I start the SQL Enterprise Manager I can see 1 SQL Server Group,
> containing two branches:
> - (local) (windows nt) which contains the msde
> - named instance which contains the sql server 2000
> I have an application running in which I can make a selection between
> servers. After installing sql server the servers running on my system are no
> longer presented. My application still runs with the msde server if I type in
> the name of the server but not with the sql server.
> To check wehther the problem is caused by the application or not, I tried to
> create a DSN (odbc data source) on my system. Because there the server is
> also requested. When I click on the list box for the server no servers are
> presented. When I type in the name I get an error message that the connection
> failed.
> sql server error: 1231
> ....
> sqlstate: '08001'
> sql server error: 17
> [microsoft][odbc sql server dirver][dbnetlib]sql server does not exist or
> access denied
> Because I did not see the servers available in the list box I the server
> does not exist part of the message seems to match my problem. But looking
> into the enterprise manager I have it up and running.
> Has someone experienced this in the past and solved it. Can you share the
> solution for this problem.
> regards,
> Danny Gaethofs
|||When you say "list box," what object are you referring to? I am assuming
this is the developement configuration. How will the architecture look when
you roll this out to your clients? Will they also have two SQL Server
installations on their workstations? Or, will there be an actual server and
then a local MSDE? Or, might there just be several server installations?
You can use the Client Configuration Utility to simulate the "names" of your
production servers but redirect them to each of the "instances" running in
your developement environment.
First, all SQL Server installations run as an "instance." There is the
default instance and up to 15 named instances on any given host. Or, you
can have 16 named instances. They all comprise the <host name>[\<instance
name>], with the default instance being NULL for the instance name. You can
map those, with the Client Configuration Utility, to just a virtual host
name if you wish.
If multiple instances are running on one server, then they can not all share
the same default 1433 port. The other instances can be configured for
specific ports or can be dynamically generated each time the instance is
restarted. If dynamic, then all of your users will have to be on the same
VLAN, the UDP 1434 port must not be blocked, and they must set their client
configuration to Dynamic Discovery for the port detection.
Hope this narrows down this list of issues for you.
Sincerely,
Anthony Thomas

"Danny Gaethofs" <DannyGaethofs@.discussions.microsoft.com> wrote in message
news:85A69D33-EFD8-4D8E-A908-34027B510269@.microsoft.com...
Dear all,
I have to rephrase my problem statement. After a bit of experimenting I am
able to get connected to both msde and sql server using my application.
However the problem I described that the servers are not shown in the list
box that opens for example when you create a data source remains.
Because this is a bit crucial when creating new connections can someone help
me out with this and explain why it is happening.
regards,
Danny Gaethofs
"Danny Gaethofs" wrote:

> Dear all,
> I have installed both environments on my system, running windows 2000.
> When I start the SQL Enterprise Manager I can see 1 SQL Server Group,
> containing two branches:
> - (local) (windows nt) which contains the msde
> - named instance which contains the sql server 2000
> I have an application running in which I can make a selection between
> servers. After installing sql server the servers running on my system are
no
> longer presented. My application still runs with the msde server if I type
in
> the name of the server but not with the sql server.
> To check wehther the problem is caused by the application or not, I tried
to
> create a DSN (odbc data source) on my system. Because there the server is
> also requested. When I click on the list box for the server no servers are
> presented. When I type in the name I get an error message that the
connection
> failed.
> sql server error: 1231
> ....
> sqlstate: '08001'
> sql server error: 17
> [microsoft][odbc sql server dirver][dbnetlib]sql server does not exist or
> access denied
> Because I did not see the servers available in the list box I the server
> does not exist part of the message seems to match my problem. But looking
> into the enterprise manager I have it up and running.
> Has someone experienced this in the past and solved it. Can you share the
> solution for this problem.
> regards,
> Danny Gaethofs
|||Dear all,
I have removed everything now, both MSDE and SQL Server. I reinstalled MSDE
only and when I try to create a ODBC DSN the system is not showing me the
available server at all.
Is there an explanation for this behavior and how can I solve it.
regards,
Danny
"AnthonyThomas" <Anthony.Thomas@.CommerceBank.com> schreef in bericht
news:uW3wrS43EHA.2012@.TK2MSFTNGP15.phx.gbl...
> When you say "list box," what object are you referring to? I am assuming
> this is the developement configuration. How will the architecture look
> when
> you roll this out to your clients? Will they also have two SQL Server
> installations on their workstations? Or, will there be an actual server
> and
> then a local MSDE? Or, might there just be several server installations?
> You can use the Client Configuration Utility to simulate the "names" of
> your
> production servers but redirect them to each of the "instances" running in
> your developement environment.
> First, all SQL Server installations run as an "instance." There is the
> default instance and up to 15 named instances on any given host. Or, you
> can have 16 named instances. They all comprise the <host name>[\<instance
> name>], with the default instance being NULL for the instance name. You
> can
> map those, with the Client Configuration Utility, to just a virtual host
> name if you wish.
> If multiple instances are running on one server, then they can not all
> share
> the same default 1433 port. The other instances can be configured for
> specific ports or can be dynamically generated each time the instance is
> restarted. If dynamic, then all of your users will have to be on the same
> VLAN, the UDP 1434 port must not be blocked, and they must set their
> client
> configuration to Dynamic Discovery for the port detection.
> Hope this narrows down this list of issues for you.
> Sincerely,
>
> Anthony Thomas
>
> --
> "Danny Gaethofs" <DannyGaethofs@.discussions.microsoft.com> wrote in
> message
> news:85A69D33-EFD8-4D8E-A908-34027B510269@.microsoft.com...
> Dear all,
> I have to rephrase my problem statement. After a bit of experimenting I am
> able to get connected to both msde and sql server using my application.
> However the problem I described that the servers are not shown in the list
> box that opens for example when you create a data source remains.
> Because this is a bit crucial when creating new connections can someone
> help
> me out with this and explain why it is happening.
> regards,
> Danny Gaethofs
> "Danny Gaethofs" wrote:
> no
> in
> to
> connection
>
|||When you run the setup on a system that has or has had the server components
installed, in all likelihood, you have also installed the Client
Configuration utility. Once there, ODBC Administrator is limited as far as
its ability to search out installations. Use the Client Config tool to
define these and then ODBC Administrator to define DSN's on top of that. Be
careful though, because then you are likely forcing the overhead of using
ODBC on top OLEDB. That's just another API layer between you and the
database access.
I would consider using Data Links instead of DSN. These use the native
OLEDB API ans server a similar purpose, persisting the connection parameters
on the local machine. One way to create one quickly is to create a NEW TEXT
FILE, then rename it with the .udl extension. It will automatically be
changed to a Data Link file which can be managed by the Data Link
Administrator.
Sincerely,
Anthony Thomas

"Danny Gaethofs" <dangaet@.home.nl> wrote in message
news:OGKwFlP4EHA.2192@.TK2MSFTNGP14.phx.gbl...
Dear all,
I have removed everything now, both MSDE and SQL Server. I reinstalled MSDE
only and when I try to create a ODBC DSN the system is not showing me the
available server at all.
Is there an explanation for this behavior and how can I solve it.
regards,
Danny
"AnthonyThomas" <Anthony.Thomas@.CommerceBank.com> schreef in bericht
news:uW3wrS43EHA.2012@.TK2MSFTNGP15.phx.gbl...
> When you say "list box," what object are you referring to? I am assuming
> this is the developement configuration. How will the architecture look
> when
> you roll this out to your clients? Will they also have two SQL Server
> installations on their workstations? Or, will there be an actual server
> and
> then a local MSDE? Or, might there just be several server installations?
> You can use the Client Configuration Utility to simulate the "names" of
> your
> production servers but redirect them to each of the "instances" running in
> your developement environment.
> First, all SQL Server installations run as an "instance." There is the
> default instance and up to 15 named instances on any given host. Or, you
> can have 16 named instances. They all comprise the <host name>[\<instance
> name>], with the default instance being NULL for the instance name. You
> can
> map those, with the Client Configuration Utility, to just a virtual host
> name if you wish.
> If multiple instances are running on one server, then they can not all
> share
> the same default 1433 port. The other instances can be configured for
> specific ports or can be dynamically generated each time the instance is
> restarted. If dynamic, then all of your users will have to be on the same
> VLAN, the UDP 1434 port must not be blocked, and they must set their
> client
> configuration to Dynamic Discovery for the port detection.
> Hope this narrows down this list of issues for you.
> Sincerely,
>
> Anthony Thomas
>
> --
> "Danny Gaethofs" <DannyGaethofs@.discussions.microsoft.com> wrote in
> message
> news:85A69D33-EFD8-4D8E-A908-34027B510269@.microsoft.com...
> Dear all,
> I have to rephrase my problem statement. After a bit of experimenting I am
> able to get connected to both msde and sql server using my application.
> However the problem I described that the servers are not shown in the list
> box that opens for example when you create a data source remains.
> Because this is a bit crucial when creating new connections can someone
> help
> me out with this and explain why it is happening.
> regards,
> Danny Gaethofs
> "Danny Gaethofs" wrote:
> no
> in
> to
> connection
>

MSDE / SQL - SERVER

Dear all,
I have installed both environments on my system, running windows 2000.
When I start the SQL Enterprise Manager I can see 1 SQL Server Group,
containing two branches:
- (local) (windows nt) which contains the msde
- named instance which contains the sql server 2000
I have an application running in which I can make a selection between
servers. After installing sql server the servers running on my system are no
longer presented. My application still runs with the msde server if I type in
the name of the server but not with the sql server.
To check wehther the problem is caused by the application or not, I tried to
create a DSN (odbc data source) on my system. Because there the server is
also requested. When I click on the list box for the server no servers are
presented. When I type in the name I get an error message that the connection
failed.
sql server error: 1231
....
sqlstate: '08001'
sql server error: 17
[microsoft][odbc sql server dirver][dbnetlib]sql server does not exist or
access denied
Because I did not see the servers available in the list box I the server
does not exist part of the message seems to match my problem. But looking
into the enterprise manager I have it up and running.
Has someone experienced this in the past and solved it. Can you share the
solution for this problem.
regards,
Danny GaethofsDear all,
I have to rephrase my problem statement. After a bit of experimenting I am
able to get connected to both msde and sql server using my application.
However the problem I described that the servers are not shown in the list
box that opens for example when you create a data source remains.
Because this is a bit crucial when creating new connections can someone help
me out with this and explain why it is happening.
regards,
Danny Gaethofs
"Danny Gaethofs" wrote:
> Dear all,
> I have installed both environments on my system, running windows 2000.
> When I start the SQL Enterprise Manager I can see 1 SQL Server Group,
> containing two branches:
> - (local) (windows nt) which contains the msde
> - named instance which contains the sql server 2000
> I have an application running in which I can make a selection between
> servers. After installing sql server the servers running on my system are no
> longer presented. My application still runs with the msde server if I type in
> the name of the server but not with the sql server.
> To check wehther the problem is caused by the application or not, I tried to
> create a DSN (odbc data source) on my system. Because there the server is
> also requested. When I click on the list box for the server no servers are
> presented. When I type in the name I get an error message that the connection
> failed.
> sql server error: 1231
> ....
> sqlstate: '08001'
> sql server error: 17
> [microsoft][odbc sql server dirver][dbnetlib]sql server does not exist or
> access denied
> Because I did not see the servers available in the list box I the server
> does not exist part of the message seems to match my problem. But looking
> into the enterprise manager I have it up and running.
> Has someone experienced this in the past and solved it. Can you share the
> solution for this problem.
> regards,
> Danny Gaethofs|||When you say "list box," what object are you referring to? I am assuming
this is the developement configuration. How will the architecture look when
you roll this out to your clients? Will they also have two SQL Server
installations on their workstations? Or, will there be an actual server and
then a local MSDE? Or, might there just be several server installations?
You can use the Client Configuration Utility to simulate the "names" of your
production servers but redirect them to each of the "instances" running in
your developement environment.
First, all SQL Server installations run as an "instance." There is the
default instance and up to 15 named instances on any given host. Or, you
can have 16 named instances. They all comprise the <host name>[\<instance
name>], with the default instance being NULL for the instance name. You can
map those, with the Client Configuration Utility, to just a virtual host
name if you wish.
If multiple instances are running on one server, then they can not all share
the same default 1433 port. The other instances can be configured for
specific ports or can be dynamically generated each time the instance is
restarted. If dynamic, then all of your users will have to be on the same
VLAN, the UDP 1434 port must not be blocked, and they must set their client
configuration to Dynamic Discovery for the port detection.
Hope this narrows down this list of issues for you.
Sincerely,
Anthony Thomas
"Danny Gaethofs" <DannyGaethofs@.discussions.microsoft.com> wrote in message
news:85A69D33-EFD8-4D8E-A908-34027B510269@.microsoft.com...
Dear all,
I have to rephrase my problem statement. After a bit of experimenting I am
able to get connected to both msde and sql server using my application.
However the problem I described that the servers are not shown in the list
box that opens for example when you create a data source remains.
Because this is a bit crucial when creating new connections can someone help
me out with this and explain why it is happening.
regards,
Danny Gaethofs
"Danny Gaethofs" wrote:
> Dear all,
> I have installed both environments on my system, running windows 2000.
> When I start the SQL Enterprise Manager I can see 1 SQL Server Group,
> containing two branches:
> - (local) (windows nt) which contains the msde
> - named instance which contains the sql server 2000
> I have an application running in which I can make a selection between
> servers. After installing sql server the servers running on my system are
no
> longer presented. My application still runs with the msde server if I type
in
> the name of the server but not with the sql server.
> To check wehther the problem is caused by the application or not, I tried
to
> create a DSN (odbc data source) on my system. Because there the server is
> also requested. When I click on the list box for the server no servers are
> presented. When I type in the name I get an error message that the
connection
> failed.
> sql server error: 1231
> ....
> sqlstate: '08001'
> sql server error: 17
> [microsoft][odbc sql server dirver][dbnetlib]sql server does not exist or
> access denied
> Because I did not see the servers available in the list box I the server
> does not exist part of the message seems to match my problem. But looking
> into the enterprise manager I have it up and running.
> Has someone experienced this in the past and solved it. Can you share the
> solution for this problem.
> regards,
> Danny Gaethofs|||Dear all,
I have removed everything now, both MSDE and SQL Server. I reinstalled MSDE
only and when I try to create a ODBC DSN the system is not showing me the
available server at all.
Is there an explanation for this behavior and how can I solve it.
regards,
Danny
"AnthonyThomas" <Anthony.Thomas@.CommerceBank.com> schreef in bericht
news:uW3wrS43EHA.2012@.TK2MSFTNGP15.phx.gbl...
> When you say "list box," what object are you referring to? I am assuming
> this is the developement configuration. How will the architecture look
> when
> you roll this out to your clients? Will they also have two SQL Server
> installations on their workstations? Or, will there be an actual server
> and
> then a local MSDE? Or, might there just be several server installations?
> You can use the Client Configuration Utility to simulate the "names" of
> your
> production servers but redirect them to each of the "instances" running in
> your developement environment.
> First, all SQL Server installations run as an "instance." There is the
> default instance and up to 15 named instances on any given host. Or, you
> can have 16 named instances. They all comprise the <host name>[\<instance
> name>], with the default instance being NULL for the instance name. You
> can
> map those, with the Client Configuration Utility, to just a virtual host
> name if you wish.
> If multiple instances are running on one server, then they can not all
> share
> the same default 1433 port. The other instances can be configured for
> specific ports or can be dynamically generated each time the instance is
> restarted. If dynamic, then all of your users will have to be on the same
> VLAN, the UDP 1434 port must not be blocked, and they must set their
> client
> configuration to Dynamic Discovery for the port detection.
> Hope this narrows down this list of issues for you.
> Sincerely,
>
> Anthony Thomas
>
> --
> "Danny Gaethofs" <DannyGaethofs@.discussions.microsoft.com> wrote in
> message
> news:85A69D33-EFD8-4D8E-A908-34027B510269@.microsoft.com...
> Dear all,
> I have to rephrase my problem statement. After a bit of experimenting I am
> able to get connected to both msde and sql server using my application.
> However the problem I described that the servers are not shown in the list
> box that opens for example when you create a data source remains.
> Because this is a bit crucial when creating new connections can someone
> help
> me out with this and explain why it is happening.
> regards,
> Danny Gaethofs
> "Danny Gaethofs" wrote:
>> Dear all,
>> I have installed both environments on my system, running windows 2000.
>> When I start the SQL Enterprise Manager I can see 1 SQL Server Group,
>> containing two branches:
>> - (local) (windows nt) which contains the msde
>> - named instance which contains the sql server 2000
>> I have an application running in which I can make a selection between
>> servers. After installing sql server the servers running on my system are
> no
>> longer presented. My application still runs with the msde server if I
>> type
> in
>> the name of the server but not with the sql server.
>> To check wehther the problem is caused by the application or not, I tried
> to
>> create a DSN (odbc data source) on my system. Because there the server is
>> also requested. When I click on the list box for the server no servers
>> are
>> presented. When I type in the name I get an error message that the
> connection
>> failed.
>> sql server error: 1231
>> ....
>> sqlstate: '08001'
>> sql server error: 17
>> [microsoft][odbc sql server dirver][dbnetlib]sql server does not exist or
>> access denied
>> Because I did not see the servers available in the list box I the server
>> does not exist part of the message seems to match my problem. But looking
>> into the enterprise manager I have it up and running.
>> Has someone experienced this in the past and solved it. Can you share the
>> solution for this problem.
>> regards,
>> Danny Gaethofs
>|||When you run the setup on a system that has or has had the server components
installed, in all likelihood, you have also installed the Client
Configuration utility. Once there, ODBC Administrator is limited as far as
its ability to search out installations. Use the Client Config tool to
define these and then ODBC Administrator to define DSN's on top of that. Be
careful though, because then you are likely forcing the overhead of using
ODBC on top OLEDB. That's just another API layer between you and the
database access.
I would consider using Data Links instead of DSN. These use the native
OLEDB API ans server a similar purpose, persisting the connection parameters
on the local machine. One way to create one quickly is to create a NEW TEXT
FILE, then rename it with the .udl extension. It will automatically be
changed to a Data Link file which can be managed by the Data Link
Administrator.
Sincerely,
Anthony Thomas
"Danny Gaethofs" <dangaet@.home.nl> wrote in message
news:OGKwFlP4EHA.2192@.TK2MSFTNGP14.phx.gbl...
Dear all,
I have removed everything now, both MSDE and SQL Server. I reinstalled MSDE
only and when I try to create a ODBC DSN the system is not showing me the
available server at all.
Is there an explanation for this behavior and how can I solve it.
regards,
Danny
"AnthonyThomas" <Anthony.Thomas@.CommerceBank.com> schreef in bericht
news:uW3wrS43EHA.2012@.TK2MSFTNGP15.phx.gbl...
> When you say "list box," what object are you referring to? I am assuming
> this is the developement configuration. How will the architecture look
> when
> you roll this out to your clients? Will they also have two SQL Server
> installations on their workstations? Or, will there be an actual server
> and
> then a local MSDE? Or, might there just be several server installations?
> You can use the Client Configuration Utility to simulate the "names" of
> your
> production servers but redirect them to each of the "instances" running in
> your developement environment.
> First, all SQL Server installations run as an "instance." There is the
> default instance and up to 15 named instances on any given host. Or, you
> can have 16 named instances. They all comprise the <host name>[\<instance
> name>], with the default instance being NULL for the instance name. You
> can
> map those, with the Client Configuration Utility, to just a virtual host
> name if you wish.
> If multiple instances are running on one server, then they can not all
> share
> the same default 1433 port. The other instances can be configured for
> specific ports or can be dynamically generated each time the instance is
> restarted. If dynamic, then all of your users will have to be on the same
> VLAN, the UDP 1434 port must not be blocked, and they must set their
> client
> configuration to Dynamic Discovery for the port detection.
> Hope this narrows down this list of issues for you.
> Sincerely,
>
> Anthony Thomas
>
> --
> "Danny Gaethofs" <DannyGaethofs@.discussions.microsoft.com> wrote in
> message
> news:85A69D33-EFD8-4D8E-A908-34027B510269@.microsoft.com...
> Dear all,
> I have to rephrase my problem statement. After a bit of experimenting I am
> able to get connected to both msde and sql server using my application.
> However the problem I described that the servers are not shown in the list
> box that opens for example when you create a data source remains.
> Because this is a bit crucial when creating new connections can someone
> help
> me out with this and explain why it is happening.
> regards,
> Danny Gaethofs
> "Danny Gaethofs" wrote:
>> Dear all,
>> I have installed both environments on my system, running windows 2000.
>> When I start the SQL Enterprise Manager I can see 1 SQL Server Group,
>> containing two branches:
>> - (local) (windows nt) which contains the msde
>> - named instance which contains the sql server 2000
>> I have an application running in which I can make a selection between
>> servers. After installing sql server the servers running on my system are
> no
>> longer presented. My application still runs with the msde server if I
>> type
> in
>> the name of the server but not with the sql server.
>> To check wehther the problem is caused by the application or not, I tried
> to
>> create a DSN (odbc data source) on my system. Because there the server is
>> also requested. When I click on the list box for the server no servers
>> are
>> presented. When I type in the name I get an error message that the
> connection
>> failed.
>> sql server error: 1231
>> ....
>> sqlstate: '08001'
>> sql server error: 17
>> [microsoft][odbc sql server dirver][dbnetlib]sql server does not exist or
>> access denied
>> Because I did not see the servers available in the list box I the server
>> does not exist part of the message seems to match my problem. But looking
>> into the enterprise manager I have it up and running.
>> Has someone experienced this in the past and solved it. Can you share the
>> solution for this problem.
>> regards,
>> Danny Gaethofs
>

Monday, March 12, 2012

MSDE & SQL 7 running, backups fail

I have a W2K Server with SQL Server 7 and an instance of MSDE 2000 installed.
SQL Server 7 and MSDE 2000 both run OK together (I can make ODBC connections
to their databases from other clients, Enterprise Manager and dbamgr2k work)
and the MSDE 2000 backup jobs run successfully.
However, the SQL Server 7 maintenance jobs do not run successfully. SQL
Agent is running.
The same jobs DO run if MSDE 2000 is not running.
SQL Server connection is NT authentication.
SQL Agent Service startup account is system account.
SQL Agent SQLServer connection is Windows NT authentication.
MSDE connection is trusted NT authentication.
The Event log shows:
SQL Server Scheduled Job 'DB Backup Job for DB Maintenance Plan 'DB
Maintenance Plan Test'' (0xA15AFA82EC43BD4FBA057E1ECA0E2E61) - Status: Failed
- Invoked on: 29/07/2005 15:22:23 - Message: The job failed. Unable to
determine if the owner (sa) of job DB Backup Job for DB Maintenance Plan 'DB
Maintenance Plan Test' has server access (reason: Unable to connect to server
- check SQL Server and SQL Server Agent errorlogs).
SQLAgent.OUT:
29/07/2005 15:21:32 - ! [298] SQLServer Error: 14, Invalid connection.
[SQLSTATE 08001]
29/07/2005 15:21:32 - ! [298] SQLServer Error: 14, ConnectionOpen (Invalid
Instance()). [SQLSTATE 01000]
29/07/2005 15:21:32 - ! [382] Logon to server '(local)' failed
(ConnCachePerfCounterValues)
29/07/2005 15:22:23 - ! [298] SQLServer Error: 14, Invalid connection.
[SQLSTATE 08001]
29/07/2005 15:22:23 - ! [298] SQLServer Error: 14, ConnectionOpen (Invalid
Instance()). [SQLSTATE 01000]
29/07/2005 15:22:23 - ! [382] Logon to server '(local)' failed
(ConnCachePerfCounterValues)
Interestingly, I have to start the services in a particular order - SQL
Server and SQL Server Agent start automatically with Windows. I then have to
manually start MSDE and MSDE Agent otherwise SQL Server Agent cannot start.
I have recreated the same problem on a second server.
Any ideas why my SQL Server 7 jobs will not run?
Has anyone else achieved this?
hi,
Swaffs wrote:
> I have a W2K Server with SQL Server 7 and an instance of MSDE 2000
> installed. SQL Server 7 and MSDE 2000 both run OK together (I can
> make ODBC connections to their databases from other clients,
> Enterprise Manager and dbamgr2k work) and the MSDE 2000 backup jobs
> run successfully.
> However, the SQL Server 7 maintenance jobs do not run successfully.
> SQL Agent is running.
> The same jobs DO run if MSDE 2000 is not running.
I've tried reproducing the problem as indicated, but it seems I'm more lucky
then you
on a virtual machine, where both SQL Server 7.0 Dev Edition sp4 and MSDE Rel
A (sp3a) and relative Agent are running under LocalSystem account...
searching fo your reported exceptions I only found problems related to the
account running the service, but this should not be the case as SQL Server
7.0 Agent runs ok when MSDE is not running...
but I'll keep searching..
Andrea Montanari (Microsoft MVP - SQL Server)
http://www.asql.biz/DbaMgr.shtmhttp://italy.mvps.org
DbaMgr2k ver 0.14.0 - DbaMgr ver 0.59.0
(my vb6+sql-dmo little try to provide MS MSDE 1.0 and MSDE 2000 a visual
interface)
-- remove DMO to reply
|||Thanks Andrea - after reading that you tried it with SP3a without any issues,
I installed the latest Service Pack for MSDE, rebooted and started the MSDE
services before the SQL Services and the SQL Agent jobs work fine now.
Amazing what a difference a weekend makes!

MSDE & SQL 2000

I have a client that has a server running Windows 2000 Server. another
company has installed MSDE (version unknown) on this server. I need to
install SQL 2000 on the same server. Will the two coexist peacefully?

Tia
CruznOz

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!Certainly; I have had both on a test machine for a couple of months. But
you will have to tell your application code which one to connect to.

N. Shamsundar
University of Houston

CruznOz wrote:
> I have a client that has a server running Windows 2000 Server. another
> company has installed MSDE (version unknown) on this server. I need to
> install SQL 2000 on the same server. Will the two coexist peacefully?
> Tia
> CruznOz
>
> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!

MSDE # connections

Hello All-
We are doing some performance monitoring of clients. We are running merge
replication ( push) on SQL Server 2000. Clients use MSDE.
We notice that merge replication is taking 5 connections to the client. I
thought that MSDE had a max 5 concurrent connections and then adds a
performance penalty when above 5. Our concern is that when our app connects
to MSDE, we are getting a big performance hit.
Is it valid for merge replication to take 5 connections? We verified this
number by monitoring and then stopping & restarting merge agent. The number
went from 7 ( merge agent at central db host enabled ) to 2 connections (
merge agent stopped).
Thanks,
bruce
actually its 8 simultaneous connections. Subsequent connections are
throttled. However if you run sp_who2, you will find that many of these
connections are sleeping, which means that they are not doing work.
So the short answer to your question is that you should not experience a
significant performance hit as long as you have only a few clients
connecting.
Hilary Cotter
Looking for a book on SQL Server replication?
http://www.nwsu.com/0974973602.html
"rr" <bruceradtke@.REMOVEspamREMOVE.earthlink.net> wrote in message
news:b79Nc.104089$a92.87050@.twister.nyc.rr.com...
> Hello All-
> We are doing some performance monitoring of clients. We are running merge
> replication ( push) on SQL Server 2000. Clients use MSDE.
> We notice that merge replication is taking 5 connections to the client. I
> thought that MSDE had a max 5 concurrent connections and then adds a
> performance penalty when above 5. Our concern is that when our app
connects
> to MSDE, we are getting a big performance hit.
> Is it valid for merge replication to take 5 connections? We verified
this
> number by monitoring and then stopping & restarting merge agent. The
number
> went from 7 ( merge agent at central db host enabled ) to 2 connections (
> merge agent stopped).
> Thanks,
> bruce
>
>

MSDE - Not associated with a trusted SQL Server connection

I have just installed MSDE on my PC running WinXP Pro. I set it up to use
mixed mode for security mode. However, when I try to log in to the database
using a user account I created I get the following error:
Login Failed for user 'username'. Reason: Not associated with a trusted SQL
server connection.
I am using DbaMgr 2k to view the database settings. I have provided all
admin level access to this user. However, I just cannot login using a
username. I have tried using the sa account to login and I get the same
error. I can only login using a Trusted NT Connection option. Any ideas what
I should try? When I searched it on the web, the only suggestion I can see
is to make sure the security mode is set to mixed mode, which seems to be
correct in this case.
Any help will be appreciated.
DeepaliHi
You don't say how you are trying to connect to the server? Try the following
from a command prompt
osql -S <Servername> -U <username> -P <Password>
John
"Deepali Garg" wrote:

> I have just installed MSDE on my PC running WinXP Pro. I set it up to use
> mixed mode for security mode. However, when I try to log in to the databas
e
> using a user account I created I get the following error:
> Login Failed for user 'username'. Reason: Not associated with a trusted SQ
L
> server connection.
> I am using DbaMgr 2k to view the database settings. I have provided all
> admin level access to this user. However, I just cannot login using a
> username. I have tried using the sa account to login and I get the same
> error. I can only login using a Trusted NT Connection option. Any ideas wh
at
> I should try? When I searched it on the web, the only suggestion I can see
> is to make sure the security mode is set to mixed mode, which seems to be
> correct in this case.
> Any help will be appreciated.
> Deepali
>
>|||SQL will not use the changes until it has been re-started... The error
seems to be saying it will only use trusted connections... perhaps you
simply need to re-start SQL...
Wayne Snyder, MCDBA, SQL Server MVP
Mariner, Charlotte, NC
www.mariner-usa.com
(Please respond only to the newsgroups.)
I support the Professional Association of SQL Server (PASS) and it's
community of SQL Server professionals.
www.sqlpass.org
"Deepali Garg" <dgarg@.bigpond.net.au> wrote in message
news:mycTd.173155$K7.61651@.news-server.bigpond.net.au...
>I have just installed MSDE on my PC running WinXP Pro. I set it up to use
> mixed mode for security mode. However, when I try to log in to the
> database
> using a user account I created I get the following error:
> Login Failed for user 'username'. Reason: Not associated with a trusted
> SQL
> server connection.
> I am using DbaMgr 2k to view the database settings. I have provided all
> admin level access to this user. However, I just cannot login using a
> username. I have tried using the sa account to login and I get the same
> error. I can only login using a Trusted NT Connection option. Any ideas
> what
> I should try? When I searched it on the web, the only suggestion I can see
> is to make sure the security mode is set to mixed mode, which seems to be
> correct in this case.
> Any help will be appreciated.
> Deepali
>|||Wayne,
Thanks for your help. This is exactly what the problem was. As soon as I
restarted the SQL Server everything worked ok!
Deepali
"Wayne Snyder" <wayne.nospam.snyder@.mariner-usa.com> wrote in message
news:eW1ECQnGFHA.3628@.TK2MSFTNGP15.phx.gbl...
> SQL will not use the changes until it has been re-started... The error
> seems to be saying it will only use trusted connections... perhaps you
> simply need to re-start SQL...
> --
> Wayne Snyder, MCDBA, SQL Server MVP
> Mariner, Charlotte, NC
> www.mariner-usa.com
> (Please respond only to the newsgroups.)
> I support the Professional Association of SQL Server (PASS) and it's
> community of SQL Server professionals.
> www.sqlpass.org
> "Deepali Garg" <dgarg@.bigpond.net.au> wrote in message
> news:mycTd.173155$K7.61651@.news-server.bigpond.net.au...
see[vbcol=seagreen]
be[vbcol=seagreen]
>

MSDE - Not associated with a trusted SQL Server connection

I have just installed MSDE on my PC running WinXP Pro. I set it up to use
mixed mode for security mode. However, when I try to log in to the database
using a user account I created I get the following error:
Login Failed for user 'username'. Reason: Not associated with a trusted SQL
server connection.
I am using DbaMgr 2k to view the database settings. I have provided all
admin level access to this user. However, I just cannot login using a
username. I have tried using the sa account to login and I get the same
error. I can only login using a Trusted NT Connection option. Any ideas what
I should try? When I searched it on the web, the only suggestion I can see
is to make sure the security mode is set to mixed mode, which seems to be
correct in this case.
Any help will be appreciated.
Deepali
Hi
You don't say how you are trying to connect to the server? Try the following
from a command prompt
osql -S <Servername> -U <username> -P <Password>
John
"Deepali Garg" wrote:

> I have just installed MSDE on my PC running WinXP Pro. I set it up to use
> mixed mode for security mode. However, when I try to log in to the database
> using a user account I created I get the following error:
> Login Failed for user 'username'. Reason: Not associated with a trusted SQL
> server connection.
> I am using DbaMgr 2k to view the database settings. I have provided all
> admin level access to this user. However, I just cannot login using a
> username. I have tried using the sa account to login and I get the same
> error. I can only login using a Trusted NT Connection option. Any ideas what
> I should try? When I searched it on the web, the only suggestion I can see
> is to make sure the security mode is set to mixed mode, which seems to be
> correct in this case.
> Any help will be appreciated.
> Deepali
>
>
|||SQL will not use the changes until it has been re-started... The error
seems to be saying it will only use trusted connections... perhaps you
simply need to re-start SQL...
Wayne Snyder, MCDBA, SQL Server MVP
Mariner, Charlotte, NC
www.mariner-usa.com
(Please respond only to the newsgroups.)
I support the Professional Association of SQL Server (PASS) and it's
community of SQL Server professionals.
www.sqlpass.org
"Deepali Garg" <dgarg@.bigpond.net.au> wrote in message
news:mycTd.173155$K7.61651@.news-server.bigpond.net.au...
>I have just installed MSDE on my PC running WinXP Pro. I set it up to use
> mixed mode for security mode. However, when I try to log in to the
> database
> using a user account I created I get the following error:
> Login Failed for user 'username'. Reason: Not associated with a trusted
> SQL
> server connection.
> I am using DbaMgr 2k to view the database settings. I have provided all
> admin level access to this user. However, I just cannot login using a
> username. I have tried using the sa account to login and I get the same
> error. I can only login using a Trusted NT Connection option. Any ideas
> what
> I should try? When I searched it on the web, the only suggestion I can see
> is to make sure the security mode is set to mixed mode, which seems to be
> correct in this case.
> Any help will be appreciated.
> Deepali
>
|||Wayne,
Thanks for your help. This is exactly what the problem was. As soon as I
restarted the SQL Server everything worked ok!
Deepali
"Wayne Snyder" <wayne.nospam.snyder@.mariner-usa.com> wrote in message
news:eW1ECQnGFHA.3628@.TK2MSFTNGP15.phx.gbl...[vbcol=seagreen]
> SQL will not use the changes until it has been re-started... The error
> seems to be saying it will only use trusted connections... perhaps you
> simply need to re-start SQL...
> --
> Wayne Snyder, MCDBA, SQL Server MVP
> Mariner, Charlotte, NC
> www.mariner-usa.com
> (Please respond only to the newsgroups.)
> I support the Professional Association of SQL Server (PASS) and it's
> community of SQL Server professionals.
> www.sqlpass.org
> "Deepali Garg" <dgarg@.bigpond.net.au> wrote in message
> news:mycTd.173155$K7.61651@.news-server.bigpond.net.au...
see[vbcol=seagreen]
be
>