荔园在线

荔园之美,在春之萌芽,在夏之绽放,在秋之收获,在冬之沉淀

[回到开始] [上一篇][下一篇]


发信人: tang (独孤九剑), 信区: Program
标  题: MSVC Digest - 18 May 1998 to 19
发信站: BBS 荔园晨风站 (Wed May 20 23:05:15 1998), 转信

There are 6 messages totalling 364 lines in this issue.

Topics of the day:

  1. MSVC Digest - 17 May 1998 to 18 May 1998 (#1998-133)
  2. SQL Server for VC++ (4)
  3. CdbQuerydef.Parameters?

--------------------------------------------------------------------------
The MSVC list is hosted on a Windows NT(TM) machine running L-Soft
international's LISTSERV(R) software.  For subscription info and archives,
see http://peach.ease.lsoft.com/archives/msvc.html .  For LISTSERV sales
information, see http://www.lsoft.com or write to SALES@LSOFT.COM.

----------------------------------------------------------------------

Date:    Tue, 19 May 1998 06:13:04 -0400
From:    Rodney A James <rajames@INMIND.COM>
Subject: Re: MSVC Digest - 17 May 1998 to 18 May 1998 (#1998-133)

> Doug,

I have recently encountered the same problem. I had SQL Server 6.5 installed on
my NT WorkStation,and it was running fine. Then I uninstalled it, then I could
not reinstall it.

I called MicroSoft, and they charge $195.00 per incident for these things, so I
bit the bullet and learned
several things. It is incredible that they don't even support SQL Server for
installation. I am angry
about this and am writing a letter to their Advocacy Dept. You can get this
address from their
Customer Service Dept. if you like.

Here is a description of what you have to do, if you don't' feel comfortable wit
h
this then you should
call for the service, too. It is per incident, so they will be with you for the
duration, for only one
charge. I am not paid by Microsoft, nor do I give support for their products, so

I can not guarantee
any of this. Please, read my entire message before attempting any of this to mak
e
sure that you are
comfortable with it:

First, back up your Registry and any data you want to save that may be in SQL
Server.

Second, you should delete the keys in the registry which are for MSSQLServer and

SQLExecutive. Do
a search for these, they are located in HKLM/Software/Microsoft and you should b
e
careful to ONLY
delete the keys that say exactly MSSQLServer and SQLExecutive. My registry only
had each one
listed twice, and I deleted both of them. Yours may be different.

Now reboot. Go to My Computer|Control Panel|Services and see that the services
for SQL Server are
NOT there.

You need to install the MS Loopback Adapter Device, which you can find under the

Network Neighborhood|Properties|Adapters tab. Next, you need to go  to My
Computer|Control
Panel|Services and shut down Server, and the Workstation services.

DO NOT reboot. Then, try to reinstall SQL Server and you should have more luck.

SQLServer gave me an error message during install that said that Workstation was

not running, but went
through the install anyway. Before trying his suggestions, three other times it
would refuse to continue
through to the end. Now, it is up and running fine.

The technical support engineer who I talked to said that in addition to
installing SQLServer again, that I
should UNinstall ALL Visual Studio tools and then REinstall them in order for
them to get their "HOOKS"
set up to SQL Server (his words). I have not had time to do this. I wanted to
make sure I could get
SQL Server up and running first, before I tried to reinstall all of
VisualStudio97.

Why didn't I have to do ANY of this the first time I installed SQLServer? Good
question. :-)

Now, for the not so bad news. This install is all I have gotten so far. I still
need to talk to my support
engineer about the Service Pack 4 installation, which fails under ALL of these
precautions to get
the initial install going.

I will write back to this list after I talk to him and get this Service Pack
installed.

Rodney James
rajames@inmind.com


> From: Doug Graham [mailto:dgraham@XYPOINT.COM]
> Sent: Saturday, May 16, 1998 12:15 AM
> To: MSVC@PEACH.EASE.LSOFT.COM
> Subject: SQL Server for VC++
>
> This may be a little off list.
>
> Can anyone tell me where to find instructions for installing SQL Server
> on a single PC (NT Workstation).  I want to start writing programs
> around SQL Server.  To do this I want to be able to work on a single
> PC.  When I install SQL Server now I have trouble getting it right.
>  Like I can't see my server which should be my PC.  I have a few books
> but they don't cover this type of install.
>
> Any help appreciated.
>
> TIA, Doug

------------------------------

Date:    Tue, 19 May 1998 07:29:50 -0700
From:    Stuart Boyle <StuartB@SUNSYSINC.COM>
Subject: Re: SQL Server for VC++

Doug

Your machine will have to be on a network during the install of SQL Server.
After that you can remove the machine from the network and work stand alone.
There is suppose to be a way to install SQL Server on a machine not on a
network, but I don't remember the procedure and I never did get it to work.
This seems to work fine. I have been running a machine for about 1 year
after installing while on a network.  Sorry I have not got the answer, but a
work around is better then nothing!

Good luck!
Stuart Boyle

> -----Original Message-----
> From: Doug Graham [SMTP:dgraham@XYPOINT.COM]
> Sent: Friday, May 15, 1998 4:15 PM
> To:   MSVC@PEACH.EASE.LSOFT.COM
> Subject:      SQL Server for VC++
>
> This may be a little off list.
>
> Can anyone tell me where to find instructions for installing SQL Server
> on a single PC (NT Workstation).  I want to start writing programs
> around SQL Server.  To do this I want to be able to work on a single
> PC.  When I install SQL Server now I have trouble getting it right.
>  Like I can't see my server which should be my PC.  I have a few books
> but they don't cover this type of install.
>
> Any help appreciated.
>
> TIA, Doug
>
> --------------------------------------------------------------------------
> The MSVC list is hosted on a Windows NT(TM) machine running L-Soft
> international's LISTSERV(R) software.  For subscription info and archives,
> see http://peach.ease.lsoft.com/archives/msvc.html .  For LISTSERV sales
> information, see http://www.lsoft.com or write to SALES@LSOFT.COM.

------------------------------

Date:    Tue, 19 May 1998 10:49:24 -0400
From:    "Charles R. Derk, Jr." <CharlieD@ADTAKER.COM>
Subject: Re: SQL Server for VC++

Actually, it doesn't need to be on a network.  I installed it on my
machine at home with no problems at all - and to tell you the truth, I
don't remember having to do anything different.  I also have a SQL
server at work as well as having it local on my development machine.

I know this sounds dumb, but have you:
-Tried opening up the SQL Server Manager and "add" your machine to the
list of registered servers?
-created a System DSN in the ODBC Manager?
-try getting to the database using access?

-charlie-

-----Original Message-----
From: Stuart Boyle [mailto:StuartB@SUNSYSINC.COM]
Sent: Tuesday, May 19, 1998 10:30 AM
To: MSVC@PEACH.EASE.LSOFT.COM
Subject: Re: SQL Server for VC++


Doug

Your machine will have to be on a network during the install of SQL
Server.
After that you can remove the machine from the network and work stand
alone.
There is suppose to be a way to install SQL Server on a machine not on a
network, but I don't remember the procedure and I never did get it to
work.
This seems to work fine. I have been running a machine for about 1 year
after installing while on a network.  Sorry I have not got the answer,
but a
work around is better then nothing!

Good luck!
Stuart Boyle

> -----Original Message-----
> From: Doug Graham [SMTP:dgraham@XYPOINT.COM]
> Sent: Friday, May 15, 1998 4:15 PM
> To:   MSVC@PEACH.EASE.LSOFT.COM
> Subject:      SQL Server for VC++
>
> This may be a little off list.
>
> Can anyone tell me where to find instructions for installing SQL
Server
> on a single PC (NT Workstation).  I want to start writing programs
> around SQL Server.  To do this I want to be able to work on a single
> PC.  When I install SQL Server now I have trouble getting it right.
>  Like I can't see my server which should be my PC.  I have a few books
> but they don't cover this type of install.
>
> Any help appreciated.
>
> TIA, Doug
>
>
------------------------------------------------------------------------
--
> The MSVC list is hosted on a Windows NT(TM) machine running L-Soft
> international's LISTSERV(R) software.  For subscription info and
archives,
> see http://peach.ease.lsoft.com/archives/msvc.html .  For LISTSERV
sales
> information, see http://www.lsoft.com or write to SALES@LSOFT.COM.

------------------------------------------------------------------------
--
The MSVC list is hosted on a Windows NT(TM) machine running L-Soft
international's LISTSERV(R) software.  For subscription info and
archives,
see http://peach.ease.lsoft.com/archives/msvc.html .  For LISTSERV sales
information, see http://www.lsoft.com or write to SALES@LSOFT.COM.

------------------------------

Date:    Tue, 19 May 1998 08:09:16 -0700
From:    Doug Graham <dgraham@XYPOINT.COM>
Subject: Re: SQL Server for VC++

Thanks you guys (Charles and Stuart).  I do have my SQL working now.  My
problem was part bone-head and I had a problem with an Executive related
DLL.  When I reinstalled I selected autostart and sure enough my
problems were solved.  Someone else suggested manually doing the same
thing which I finally have figured out and will probably do in the
future as I don't need SQL all the time on my PC.

Now I'm interested in what I can do with it.  I got the book "Inside SQL
6.5..." from MS Press.  It's a bit more in-depth than I wanted but I
also know that I should learn the foundations if I'm ever going to be
really good at it.  So, I'll probably work at understanding as much of
it as possible over time.

I also downloaded the interesting parts of the SQL Server Developers
Kit.  This is a start.  If anybody has any more advise it would be
appreciated.

Thanks,
Doug

>
>

------------------------------

Date:    Tue, 19 May 1998 11:40:03 -0400
From:    "Charles R. Derk, Jr." <CharlieD@ADTAKER.COM>
Subject: Re: SQL Server for VC++

actually, working with a local SQL database can be a little misleading
(as well as working with a Pentium II 333 w/ 128 mb ram :)

My development environment is awfully fast... and then I wonder why its
so damn slow when I install it on a "normal" machine (P166 w 32mb ram)
that one of our customer's would be using.

-charlie-

-----Original Message-----
From: Doug Graham [mailto:dgraham@XYPOINT.COM]
Sent: Tuesday, May 19, 1998 11:09 AM
To: MSVC@PEACH.EASE.LSOFT.COM
Subject: Re: SQL Server for VC++


Thanks you guys (Charles and Stuart).  I do have my SQL working now.  My
problem was part bone-head and I had a problem with an Executive related
DLL.  When I reinstalled I selected autostart and sure enough my
problems were solved.  Someone else suggested manually doing the same
thing which I finally have figured out and will probably do in the
future as I don't need SQL all the time on my PC.

Now I'm interested in what I can do with it.  I got the book "Inside SQL
6.5..." from MS Press.  It's a bit more in-depth than I wanted but I
also know that I should learn the foundations if I'm ever going to be
really good at it.  So, I'll probably work at understanding as much of
it as possible over time.

I also downloaded the interesting parts of the SQL Server Developers
Kit.  This is a start.  If anybody has any more advise it would be
appreciated.

Thanks,
Doug

>
>

------------------------------------------------------------------------
--
The MSVC list is hosted on a Windows NT(TM) machine running L-Soft
international's LISTSERV(R) software.  For subscription info and
archives,
see http://peach.ease.lsoft.com/archives/msvc.html .  For LISTSERV sales
information, see http://www.lsoft.com or write to SALES@LSOFT.COM.

------------------------------

Date:    Tue, 19 May 1998 16:15:46 -0500
From:    "Rolando Romero Acosta." <roly@SOFTEL.COLOMBUS.CU>
Subject: CdbQuerydef.Parameters?

I'm working with CdbQueryDef Class wich have a CdbParameters into.

How I can to reference one Cdbparameter into CdbParameters Collection.

I'm making that:

CdbDatabase db;
   CdbQueryDef qd1;
   CdbDBEngine dben;

  db =
dben.OpenDatabase(_T("COSTO"),dbDriverNoPrompt,TRUE,_T("ODBC;DSN=COSTO;UID=sa;PW
D=;DATABASE=COSTO;"));

    qd1 = db.CreateQueryDef(NULL, _T("{call get_nivel_acceso(?,?,?)}"));

    CdbParameter a = qd1.Parameters[1];

In last line I get the next error message:    error C2666: '[]' : 2
overloads have similar conversions

I dont know why


Thanks.

--
========================================
Rolando Romero acosta. (Ingeniero Informatico.)
Email:  roly@softel.colombus.cu
Empresa Productora y Comercializadora de Software.
Calle 194 y 7ma Siboney. Playa. Ciudad de la Habana.
CUBA.                        Telefonos: (53-7)21-8082
Fax: (53-7)33-6123                     (53-7)21-8003 ext 140.
========================================

------------------------------

End of MSVC Digest - 18 May 1998 to 19 May 1998 (#1998-134)
***********************************************************
--
        There are these few times I feel lonely for you.
        But I know this shade of blue will soon pass through!
        I must be strong without you by my side!
        I can see forever you are my light.

※ 来源:.BBS 荔园晨风站 bbs.szu.edu.cn.[FROM: 192.168.0.4]


[回到开始] [上一篇][下一篇]

荔园在线首页 友情链接:深圳大学 深大招生 荔园晨风BBS S-Term软件 网络书店