473,412 Members | 2,027 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,412 software developers and data experts.

Visual Basic 6.0 connect to SQL Server 2000

We have forms written in Visual Basic 6.0. They were previously
written for an Access database which was moved to SQL Server 2000.

Here's the connect string I used:
ODBC;UID=visualbasic;PWD=password;SERVER=MPSQL;DRI VER={SQL
SERVER};DATABASE=MPPhoto

The user visualbasic and the user logged in to the computer have full
rights to the database.

When they open the form which is based on a view it is opened as read
only with an error 3027. The data control is not set to read only.
The database file is not read only. All of the permissions are set to
allow this user read, write and modify.

Can anyone hep me?
Jul 20 '05 #1
3 39888
Julie (ju************@averydennison.com) writes:
We have forms written in Visual Basic 6.0. They were previously
written for an Access database which was moved to SQL Server 2000.

Here's the connect string I used:
ODBC;UID=visualbasic;PWD=password;SERVER=MPSQL;DRI VER={SQL
SERVER};DATABASE=MPPhoto

The user visualbasic and the user logged in to the computer have full
rights to the database.

When they open the form which is based on a view it is opened as read
only with an error 3027. The data control is not set to read only.
The database file is not read only. All of the permissions are set to
allow this user read, write and modify.


Error message 3027 in SQL Server is

Could not find filegroup '%.*ls' in sysfilegroups for database '%.*ls'.

Somehow I suspect that your error 3027 comes from another source, as
the SQL message does not really fit in your brief description.

You probably need to track down which component is producing the error.
Even better is of course if you can find a text to that message.

I'm sorry for not being more helpful, but without any knowledge about
your application it is difficult to say anything useful.

--
Erland Sommarskog, SQL Server MVP, so****@algonet.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techinf...2000/books.asp
Jul 20 '05 #2
Julie:

Need more info.

-You using a bound control?
-PLease show the code that opens the connection and recordset.
-What version of ADO?

ju************@averydennison.com (Julie) wrote in message news:<a9**************************@posting.google. com>...
We have forms written in Visual Basic 6.0. They were previously
written for an Access database which was moved to SQL Server 2000.

Here's the connect string I used:
ODBC;UID=visualbasic;PWD=password;SERVER=MPSQL;DRI VER={SQL
SERVER};DATABASE=MPPhoto

The user visualbasic and the user logged in to the computer have full
rights to the database.

When they open the form which is based on a view it is opened as read
only with an error 3027. The data control is not set to read only.
The database file is not read only. All of the permissions are set to
allow this user read, write and modify.

Can anyone hep me?

Jul 20 '05 #3
Julie:

Need more info.

-You using a bound control?
-PLease show the code that opens the connection and recordset.
-What version of ADO?

ju************@averydennison.com (Julie) wrote in message news:<a9**************************@posting.google. com>...
We have forms written in Visual Basic 6.0. They were previously
written for an Access database which was moved to SQL Server 2000.

Here's the connect string I used:
ODBC;UID=visualbasic;PWD=password;SERVER=MPSQL;DRI VER={SQL
SERVER};DATABASE=MPPhoto

The user visualbasic and the user logged in to the computer have full
rights to the database.

When they open the form which is based on a view it is opened as read
only with an error 3027. The data control is not set to read only.
The database file is not read only. All of the permissions are set to
allow this user read, write and modify.

Can anyone hep me?

Jul 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Ben | last post by:
Hi everyone, Now I am using Visual Basic.net to write a program but having some headaches. The situation is as follows: I am using ODBC connection to connect one database( non-SQL server) ,...
1
by: Zvonko Tusek | last post by:
Is there a way to use access database on web host (I have a web hosting account) in visual basic. I want to make Visual basic client applications that connect to internet and work with access...
5
by: Microsoft | last post by:
Hi, I have Visual Basic .net 2003 (Standard Edition) & SQL Server 2000 Developer Edition. When trying to create a connection in the server explorer from the .net IDE I get a number of problems;...
3
by: Philipp | last post by:
Hey! I have a question, can I use the SQL Server 2000 with VB.net or assists VB.net only SQL Server 2005 thanks very much
1
by: nuoo | last post by:
Programming Microsoft SQL Server 2000 with Microsoft Visual Basic .NET Learn how to turn data into solutions with SQL Server 2000, Visual Basic .NET, and XML. Get a fundamental grasp of SQL...
0
by: Killer42 | last post by:
Originally posted by sashi... Connection string More samples MsAccess - Connection String Standard securityoConn.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data...
0
by: keshabtsk | last post by:
I have a problem that to create an application which demands to transfer tthe data from Visual Fox Pro 6 to Oracle 8i. Oracle 8i is hosted on Windows 2003 Server. The application is required to be...
4
by: Cindy H | last post by:
Hi I am currently using Visual Studio.Net 2003 running on Windows Server 2000 operating system. I have used Visual Studio.net 2003 connecting to Access 2002 databases in the pass with great...
1
by: Hemantk | last post by:
I am having a Problem in connecting MS SQL server with Visual Basic 6 on window XP. I have a project made in VB using MS SQL server as database, Now when I tryed to run it its showing run time "...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.