|
Ravi,
Thank you. I hadn't noticed it before.
However, in my Visual Studio Server Explorer, the "Generate Create Scripts" item appears in the context menu but it is disabled (grayed out). It looks like maybe I need to install the "Client Tools"? But I don't know how to find them since my SQL Server came with Visual Studio.
Any help?
Thanks again,
Steve
|
|
|
|
|
Hi
scrozier wrote:
It looks like maybe I need to install the "Client Tools"?
Visual Studio .NET Server Explorer uses the SQL Server Generate script dialog (When you click the menu, the same dialog appears as in SQL Server Enterprise Manager). So, You must have SQL Server Enterprise Manager installed in the machine that has the Visual Studio installed.
Ravi Shankar S
Programmer Analyst
iSOFT R&D Pvt Ltd
Chennai, INDIA
Ph: 91-44-4414980 Extn 1103
|
|
|
|
|
I'm using VS.NET and need to distribute MSDE (Microsoft SQL Server 2000
Desktop Engine) with an application I'm building for a client. I've read a
stack of articles and white papers about MSDE that talk all around the
issue, but nothing that deals directly with what must be a relatively simple
task. I am admittedly new to the Microsoft deployment/setup world.
Can someone point me to a source for a step-by-step for MSDE distribution?
Thanks,
Steve
|
|
|
|
|
Yes, MSDE is located on the SQL Server Developer edition or on an Office CD. All you need to do is run the Setup.exe. However, I recommend creating a Batch file to run the Setup because by default when it installs on WindowsNT it will be setup with "Windows Authentication Only" which will mess up any SQL Server Logins you have created. I have yet to find an easy way to run the Scripts after it's installed though.
|
|
|
|
|
Anonymous is correct; but he missed one location to find the setup files.
Microsoft Visual Studio .NET\Setup\MSDE .
After it is installed you should be able to run the osql command to execute scripts.
James
"Java is free - and worth every penny." - Christian Graus
|
|
|
|
|
I think the subject line just about says it all...
- DanielD
|
|
|
|
|
Greetings,
I am trying to connect to a ms access db remotely, and I keep getting a file not found error.
Does anyone know what I am doing wrong?
Here is my connection string like what I am using:
------------------------------------------------------------
"Provider=Microsoft.Jet.OLEDB.4.0;Data Source = http://Myserverblah/somedir/mydatabase.mdb";
The file exists on the server, and I can actually download it via a browser, so
it appears that there is no apparent security problem. I have tried putting the mdb file in the root web directory, and I have tried creating a virtual directory to put the database in.
I keep getting the error below:
-------------------------------
"Source = Microsoft JET Database Engine"
"Description = Not a valid file name. "
I am new to remote database, so any ideas as to what I am doing wrong would be great.
I think it has something to do with my connection string, but I am not sure.
Thanks in advance!
|
|
|
|
|
What's the size of your project? If you are going to have more than a handful of people access this then do not use Access over the web. It's slow! The DB can't grow past 2GB and Access can't handle more than 64K rows in a table.
Bart-Man wrote:
The file exists on the server, and I can actually download it via a browser, so
it appears that there is no apparent security problem.
Never, ever, allow anyone to download your database. Move it out of a public folder pronto. But, do make sure you have write permissions for the folder the MDB is in so it can create a lock file.
Try this for your connection string...
"Provider=MS Remote; Remote Server=http://somewhere.com; Remote Provider=Microsoft.Jet.OLEDB.4.0; Data Source=c:\somewhere\my.mdb;"
If you require a login to the database you can also specify User Id and Password in the connection string.
Jeremy Falcon
Imputek
<nobr>"..." - Paul Watson 07-17
|
|
|
|
|
Thanks for your reply, and your suggestions about access db and it's limitations!!!
For now I am stuck using it since only a few people use the db, and they are sticking
to access.
Here's what I did.
------------------
1.) I moved the database from the public folder like you suggested.
2.) Checked the folder to make sure it had write permissions.
2.) Tried the connection string you provided and it worked great!!!
I can now connect to the database!!
*3.) ++My Problem now++: I can't seem to get the recordset to do anything.
I just did a simple query of "Select * from Table1".
and I get the error "Internet Client Error: Invalid Server Response".
I checked, and "Table1" is a valid table within the database
Is this a security setting that I didn't set right?
At any rate thanks for helping me with the connection string.
|
|
|
|
|
Bart-Man wrote:
and I get the error "Internet Client Error: Invalid Server Response".
How exactly are you accessing this DB? Is it from a program or within an ASP page or what?
Bart-Man wrote:
At any rate thanks for helping me with the connection string.
No problem.
Jeremy Falcon
Imputek
<nobr>"..." - Paul Watson 07-17
|
|
|
|
|
A program...is that the problem should I use an asp page instead?
|
|
|
|
|
Bart-Man wrote:
A program...is that the problem should I use an asp page instead?
No, not at all.
Could you tell me what language you are using? RDS (what you are using) over ADO is idenpendent of language, but I'm gonna try and past a code sample for ya.
Jeremy Falcon
Imputek
<nobr>"..." - Paul Watson 07-17
|
|
|
|
|
Jeremy Falcon wrote:
Could you tell me what language you are using?
I am using Visual c++ 6.0 to connect to the database.
Cool, thanks for your help!
|
|
|
|
|
|
It is weird I used microsoft's sample, changed the connection string, and it still does not work.
I noticed something odd about when I connect a "First-chance exception" ocurrs, but my exception code does not catch it. It appears that an access problem occurs on the server side.
I am trying to configure the rds, so that it will allow access..
After several attempts, it still does not work correctly. An msdn article suggested that I download msadc sdk and use that to test that the Rds is working correctly.
At any rate I think the connection string is right, and my query code was right. But the rds is not setup right.
|
|
|
|
|
Bart-Man wrote:
At any rate I think the connection string is right, and my query code was right. But the rds is not setup right.
Ok, if you get the solution I'd love to hear about it. Inquiring minds wanna know.
Jeremy Falcon
Imputek
<nobr>"..." - Paul Watson 07-17
|
|
|
|
|
I figured it out, it was a configuration problem in rds.
It took awhile to find it buried in msdn, and after many cans of mountain dew.
See the link below for the solution:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ado270/htm/mdhowconfigurerdsonwin2k.asp
|
|
|
|
|
Bart-Man wrote:
and after many cans of mountain dew.
You could be on one of their commericals for this! Mountain Dew helps solve crisis!
Thanks!
Jeremy Falcon
Imputek
<nobr>"..." - Paul Watson 07-17
|
|
|
|
|
Is it possible to define and use variables within a query in Access?
I've tried DECLARE, but it didn't work.
Cheers,
Simon
"Sign up for a chance to be among the first to experience the wrath of the gods.", Microsoft's home page (24/06/2002)
|
|
|
|
|
PARAMETERS test Text ( 255 );
SELECT Table1.ID1, Table1.name
FROM Table1
where name = [test]
|
|
|
|
|
Thanks.
I'm keen to do something similar to this:
DECLARE @EntTypeID int
SELECT @EntTypeID=0 --init
SELECT @EntTypeID = ( SELECT [ID] from tblEntityTypes WHERE [Descr]='BLAH')
--do something with the @EntTypeID var. Anyway to implement this in Access 2000, XP?
Cheers,
Simon
"Sign up for a chance to be among the first to experience the wrath of the gods.", Microsoft's home page (24/06/2002)
|
|
|
|
|
Well, you can have query with parameters and access them from Access Basic, however I do not know how to get functionality as you want within one query. When you will write code in Basic and use several queries then you can simulate your code.
|
|
|
|
|
Another question about SQL Server.WHat stored in transaction log file?
Mazy
"If I go crazy then will you still
Call me Superman
If I’m alive and well, will you be
There holding my hand
I’ll keep you by my side with
My superhuman might
Kryptonite"Kryptonite-3 Doors Down
|
|
|
|
|
|
Again thank you.
Mazy
"If I go crazy then will you still
Call me Superman
If I’m alive and well, will you be
There holding my hand
I’ll keep you by my side with
My superhuman might
Kryptonite"Kryptonite-3 Doors Down
|
|
|
|