Showing posts with label express. Show all posts
Showing posts with label express. Show all posts

Thursday, March 29, 2012

Can I install both Management Studio and Management Studio Express on same machine?

I want to install the following on my machine:

MSDE 2000 Release A

SQL Server 2000 SP4

SQL Server 2005 Developer Edition with SP1

SQL Server 2000 Express with SP1

Management Studio

Management Studio Express

The only one that I'm concerning is whether Management Studio and Management Studio Express can coexist in one machine.

Thanks for any help,

Peter

NO. Products have been mutually exclusive since early betas.sql

Can I host the web service in SQL Express?

In WCF, web services can be hosted in many processes other than IIS. Can I
write my CLR extension (web service) to the SQL Express? SQL Server
Enterprise edition supports native web service, but it requires IIS.
Thanks.
HaoHello Hao,

> Can I
> write my CLR extension (web service) to the SQL Express?
If you mean, "can I write an CLR-based function or procedure and host that
in an instance of SQL Express?" then the answer is yes.
If you mean, "can I create an HTTP endpoint in an SQL Express instance?"
then the answer is no. You'll get error 7878 for your efforts.

> SQL Server
> Enterprise edition supports native web service, but it requires IIS.
Um, no, that's the point of HTTP endpoints.
Thanks!
Kent Tegels
DevelopMentor
http://staff.develop.com/ktegels/|||There are two challenges for deploying a full SQL edition as providing web
services.
1. Customers have to buy full SQL.
2. IIS is required.
Please correct me if the above two requirements are wrong.
Therefore it seems that the only work around is to write my own windows
service in WCF to expose web services and have this windows service talk to
SQL Express. Am I on the right track?
Thanks.
Hao
"Kent Tegels" <ktegels@.develop.com> wrote in message
news:18f2bcb184248c93ffc0278bcf5@.news.microsoft.com...
> Hello Hao,
>
> If you mean, "can I write an CLR-based function or procedure and host that
> in an instance of SQL Express?" then the answer is yes.
> If you mean, "can I create an HTTP endpoint in an SQL Express instance?"
> then the answer is no. You'll get error 7878 for your efforts.
>
> Um, no, that's the point of HTTP endpoints.
> Thanks!
> Kent Tegels
> DevelopMentor
> http://staff.develop.com/ktegels/
>|||> There are two challenges for deploying a full SQL edition as providing
> web services.
> 1. Customers have to buy full SQL.
Define full SQL. HTTP endpoints are availble in the fairly cheap workgroup
SKU and higher.

> 2. IIS is required.
HTTP Endpoints DO NOT require IIS on XP, Server 2003 or higher.

> Therefore it seems that the only work around is to write my own windows
service in WCF to expose web services and have this windows service talk
to SQL Express. Am I on the right track?
If you want to use SQLExpress then the basic answer is yes.
Alternatively, you could use Mono to develop an ASMX service and deploy what
ever
HTTP stack you like.
Thanks!
Kent Tegels
DevelopMentor
http://staff.develop.com/ktegels/

Can I host the web service in SQL Express?

In WCF, web services can be hosted in many processes other than IIS. Can I
write my CLR extension (web service) to the SQL Express? SQL Server
Enterprise edition supports native web service, but it requires IIS.
Thanks.
Hao
Hello Hao,

> Can I
> write my CLR extension (web service) to the SQL Express?
If you mean, "can I write an CLR-based function or procedure and host that
in an instance of SQL Express?" then the answer is yes.
If you mean, "can I create an HTTP endpoint in an SQL Express instance?"
then the answer is no. You'll get error 7878 for your efforts.

> SQL Server
> Enterprise edition supports native web service, but it requires IIS.
Um, no, that's the point of HTTP endpoints.
Thanks!
Kent Tegels
DevelopMentor
http://staff.develop.com/ktegels/
|||There are two challenges for deploying a full SQL edition as providing web
services.
1. Customers have to buy full SQL.
2. IIS is required.
Please correct me if the above two requirements are wrong.
Therefore it seems that the only work around is to write my own windows
service in WCF to expose web services and have this windows service talk to
SQL Express. Am I on the right track?
Thanks.
Hao
"Kent Tegels" <ktegels@.develop.com> wrote in message
news:18f2bcb184248c93ffc0278bcf5@.news.microsoft.co m...
> Hello Hao,
>
> If you mean, "can I write an CLR-based function or procedure and host that
> in an instance of SQL Express?" then the answer is yes.
> If you mean, "can I create an HTTP endpoint in an SQL Express instance?"
> then the answer is no. You'll get error 7878 for your efforts.
>
> Um, no, that's the point of HTTP endpoints.
> Thanks!
> Kent Tegels
> DevelopMentor
> http://staff.develop.com/ktegels/
>
|||> There are two challenges for deploying a full SQL edition as providing
> web services.
> 1. Customers have to buy full SQL.
Define full SQL. HTTP endpoints are availble in the fairly cheap workgroup
SKU and higher.

> 2. IIS is required.
HTTP Endpoints DO NOT require IIS on XP, Server 2003 or higher.

> Therefore it seems that the only work around is to write my own windows
service in WCF to expose web services and have this windows service talk
to SQL Express. Am I on the right track?
If you want to use SQLExpress then the basic answer is yes.
Alternatively, you could use Mono to develop an ASMX service and deploy whatever
HTTP stack you like.
Thanks!
Kent Tegels
DevelopMentor
http://staff.develop.com/ktegels/

Can I have...

Hi

Is it possible to have both sql server 2005 and sql server express 2005 installed on the same machine?

thanks

Yes.

SQL Server Express will install with a 'default' instance name of [.\SQLExpress]

And if you allow the SQL (non-Express) to use the 'default' instance, it will be know by the computer name.

|||

As long as you do not specify the non-SQLExpress instance to be the named "SQLEXPRESS" instance, you can install as many additional SQL Server non-SQLExpress instances in addition to the SQL Server Express one as the machine can take.

Jens K. Suessmeyer.

http://www.sqlserver2005.de

|||Thanks guys.sql

Sunday, March 25, 2012

Can I encrypt a field of a table using stored procedure?

Can I encrypt a field of a table using stored procedure in SQL Server 2005 Express Edition? And also, how to decrypt it through stored procedure?

Using the encryption functions.

In Books Online, look up the topic: Encryption, sub-topic: Functions.

You can download a version of Books Online for SQLServer Express from:

SQL Server 2005 Express Books Online Express Edition
http://msdn2.microsoft.com/en-us/library/ms165706.aspx

Thursday, March 22, 2012

Can i create reports using VB Express and SQL Server Express?

Hi,

i ve installed visual basic express and sql server express. my question is can i create reports in my database application?

An update for SQL Server Express that includes a limited edition of Report Server is expected to become available in 2006. Its features are described here: http://www.microsoft.com/sql/technologies/reporting/rsfeatures.mspx

-- Robert

can i create database using backup file in SQl server 2005 Express edition

hi

i have a database file backup which is having no extension (eg saims) . Can i create a database using this backup in sql server expression edition.

Or else is there any way to get the .mdf file from sql server 2005 full edition??????

Thanx in advance

Hi

Is it possible you don't see the extention mdf just because your folder options in windows xp tell you to "hide extentions of known file types"?

Just create a new database and force it to backup on the file you have.

Hope this helps!

Wim

|||

no actually its a text file which is backup file taken from a sql server 2005 enterprise edition.

So now i want original file (.mdf) from DE since i don't have sql server2005 full version.

I have DE that comes with .net 2005

Tuesday, March 20, 2012

Can i connect to SQLExpress instance using (local)

Hello,

I am using the following connection string to connect to SQL Server 2005 Express Edition installed on my local PC.
string sqlstr = "Server=(local);Database=MyDB;User ID=sa;Password=sa;Trusted_Connection=False";

And it gives me the following error. The string works fine in computer with SQL Server 2000 instance but fails with 2005. The string also fails for "Server = localhost".
However the string works very fine if I use the name of Server 2005 i.e ./SQLExpress

===================================

Cannot connect to (local).

===================================

An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (.Net SqlClient Data Provider)


Error Number: 2
Severity: 20
State: 0


Now the main problem is that, of course I could use a named instance, but since I am embedding the Connection String in a dll file so that any user can use it to connect it to the local instance of the SQL Server 2005 installed in his/her computer, I need to use "server = localhost". Doesn't SQL 2005 support this. If yes, where could i find option to enable it?

I have enabled every option available in surface area configuration for SQL Server 2005, but nothing seems to help out. I even use local as well as remote connections using both TCP/IP and named pipes.
Can nyone help me out?

By default SQL Server 2005 Express edition is installed as a named instance with name "SQLExpress". As a result, the connection string should specify the instance, e.g. ".\SQLExpress" or "(local)\SQLExpress" to distinguish it from a possible default instance of SQL Server that may be installed on the same machine. If you install SQL Express as a default instance then "." or "(local)" are the proper ways to specify in the connection string.|||Is there a way to convert the named instance to a default one apart from re-installation. I have only a single named instance on my computer.|||The only way to change the instance name is to re-install - uninstall and install as default instance.|||Thanks a lot, Peter. That solves it all.sql

Can I connect to remote SQL 2005 server through SQL Server Management Studio Express?

Can I connect to remote SQL 2005 server through SQL Server Management Studio Express?

I always get a error code 18456 when I try to connect to SQL 2005 server through SQL Server Management Studio Express. I'm sure I enter correct username and password!

The answer is yes its possible but it depends on the security configuration of the remote server.

Hope it helps,

Joe

|||oh wait. I don't have the Express version so I'm not sure if it is limited to local connections, it might be.|||

mycwcgr:

Can I connect to remote SQL 2005 server through SQL Server Management Studio Express?

I always get a error code 18456 when I try to connect to SQL 2005 server through SQL Server Management Studio Express. I'm sure I enter correct username and password!

Try the thread below everything you need and alternatives is covered in it. Post again if you still have questions. Hope this helps.

http://forums.asp.net/thread/1379211.aspx

Monday, March 19, 2012

Can I backup database using SQL server 2005 express to CD or DVD

Hi,

I tried to backup a database in MSSQL 2005 using Management studio express edition directly to CD. The CD is formated with Sonic DLA. I'am getting this error message:

TITLE: Microsoft SQL Server Management Studio Express

Backup failed for Server 'adilpc\sqlexpress'. (Microsoft.SqlServer.Express.Smo)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=9.00.2047.00&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Backup+Server&LinkId=20476


ADDITIONAL INFORMATION:

System.Data.SqlClient.SqlError: Write on "D:\Test" failed: 87(The parameter is incorrect.) (Microsoft.SqlServer.Express.Smo)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=9.00.2047.00&LinkId=20476

Is it possible to backup directly to a CD or am I missing something? Any help is greatly appreciated.

Tnx

Adil

Hello

It's impossible to backup with SQL DServer 2005 Express directly to CD.

You can backup only to a file on a tape drive or a hard disk ( local or over a network connection ).

Afterwards, you have to copy this file to a CD

Sorry but SQL Server 2005 Express is free

It' possible with the standard,workgroup,Enterprise editions

Have a nice day

Can I attach to my 2005 Express DB using the 2005 Mgt Studio (NOT EXPRESS) client?

I have a 2005 Express DB I wish to attach to using the 2005 Mgt Studio Client (Not the express version, but the full blown 2005 Mgt Studio Client from the SQL 2005 Standard Edition Install disk). Can this be done, or can I only use the 2005 Mgt Studio Express Edition Client?

Thanks in advance.
M. Scott Blalock

You can use either one.

Buck Woody

can I add a row to a data base table with VWD Express

I have a data table I have adabted for my own use and want to add a row to the table. Can I do that with Visual Web developer Express?

I can add update modify the colums and data in the exciting table but I cannot figure out how to add a row.

This is just a simple datalist of names. firstname lastname. there are 18 of them and i want to add more names

jayirvin wrote:

I have a data table I have adabted for my own use and want to add a row to the table. Can I do that with Visual Web developer Express?

I can add update modify the colums and data in the exciting table but I cannot figure out how to add a row.

This is just a simple datalist of names. firstname lastname. there are 18 of them and i want to add more names

I am using ASP.NET 2.0 GridView to show the data. I have found some code to incert a row into an ASP DetailsView that even has an auto generate incert button. the code below may work for my gridview if I can create my own incert button: Can anyone help me add a relative to my list of relatives?

Can anyone help me adapt this code

'

<asp:SqlDataSourceID="SqlDataSource"runat="server"ConnectionString="<%$ ConnectionStrings:MyConnectionString1 %>"

DeleteCommand="DELETE FROM [relatives] WHERE

[RelativesID] = @.original_RelativesID"FilterExpression="RelativesID='{0}'"

InsertCommand="INSERT INTO [Relatives] ([RelativesID], [FirstName],

[LastName]) VALUES (@.RelativesID, @.FirstName,

@.LastName)"SelectCommand="SELECT * FROM [Relatives]">

<FilterParameters>

<asp:ControlParameterControlID="GridView1"Name="RelativesID"PropertyName="SelectedValue"/>

</FilterParameters>

<InsertParameters>

<asp:ParameterName="RelativesID"Type="String"/>

<asp:ParameterName="FirstName"Type="String"/>

<asp:ParameterName="LastName"Type="String"/>

</InsertParameters>

</asp:SqlDataSource>

|||

I have solved my own probelm I can incert a row with ASP:FormView

ASP:GridView does not support incert

|||

jayirvin wrote:

ASP:GridView does not support incert

Hi Jay,

The GridView does support database inserts. Did you have an InsertItemTemplate setup?

Marcie

|||

datagridgirl wrote:

jayirvin wrote:

ASP:GridView does not support incert

Hi Jay,

The GridView does support database inserts. Did you have an InsertItemTemplate setup?

Marcie

I was working with edit delete update and select template. WVD only wrote the SQL statements for the select. No incert new

|||

Hi Marcie,

Can you please tell me where I can find more information on inserting a record using GridView?

I have edit and delete functioning fine.

Thanks,

Doug

|||

Hi Doug,

This article has some good info on inserting with a GridView: http://fredrik.nsquared2.com/viewpost.aspx?PostID=155

Also visit the GridView articles section of my site: http://www.gridviewgirl.com/GridViewGirl/articles.aspx

Marcie

|||I had to use and ASP Details view component and add insert delete and new while configuring its data scorce go to advanced

Can I access SQL Server 2005 via a Window XP pro workgroup network?

Hi,

I am new to SQL Server and I am trying to install SQL Server 2005 Express or Stnadard Edition on a computer runing XP pro on a XP's workgroup network using a router. Can I access the the database from another computer running XP pro on the same network? If I can, what setting do I need when installing SQL 2005 in order to do this?

Any help is appricated.

Make only sure that you enable remote connections, see the Screencast for this on my site for a detailed explanation.

HTH, jens Suessmeyer.

http://www.sqlserver2005.de

Thursday, March 8, 2012

Can connect to 'ServerName' but not to its IP address

I'm using SQL Manager from my Enterprise server to connect to my SQL Express server that will act as a witness to a db mirroring system. If I try to connect to the SQL Express server using its IP address, I get a "named pipes error 53." If I connect by browsing the network and connect to the Name of the Server "Machinename\SQLExpress", I am successful. I would like to be able to connect to the IP directly as it's not dependant upon certain services to be started or configured a certain way.

Thank you,

ChadTry Data Source=tcp:192.168.0.3,1433 in your connection string using applicable IP and port number (remember to setup port number in SQL Configuration Manager on the SQL Express machine).

Wednesday, March 7, 2012

Can co-installations of MS SQL 2005 Express and Oracle 10g XE database server interfere with MS

Hi -

I may not sound desparate, but I really am. I have spent many days now trying to install and re-install Microsoft SQL 2005 Express. I still cannot connect to the database! I have read this forum and tried various suggestions, like setting the remote connections and TCP/IP + Named Pipes. Still doesnt work!

The environment is Dell Dimension 24000 (I86) with WinXPPro.

Out of desparation, I downloaded and installed Oracle 10g XE. It works just fine !

My question is: Does the Oracle database server interfere with connecting to the Microsoft SQL 2005 Express server ?

Also, I notice that there are an awful lot of questions posted on this Forum concerning just getting your software up and running. Are there that many stupid folks out there like myself, or has this application been released prematurely ?

hi,

PussyFoot wrote:

Hi -

I may not sound desparate, but I really am. I have spent many days now trying to install and re-install Microsoft SQL 2005 Express. I still cannot connect to the database! I have read this forum and tried various suggestions, like setting the remote connections and TCP/IP + Named Pipes. Still doesnt work!

The environment is Dell Dimension 24000 (I86) with WinXPPro.

Out of desparation, I downloaded and installed Oracle 10g XE. It works just fine !

My question is: Does the Oracle database server interfere with connecting to the Microsoft SQL 2005 Express server ?

I do not think so, but Mike probably knows better...

Also, I notice that there are an awful lot of questions posted on this Forum concerning just getting your software up and running. Are there that many stupid folks out there like myself, or has this application been released prematurely ?

I do think it's all so "complicated" becouse of the features exposed by SQLExpress it self.. so, installing as default as a named instance can perhaps provide problems becouse the SQLBrowser service is not up and running (just usual) and this will prevent remote connections, as the "secure" setting of disabling remote connections (both TCP/IP and named pipes) to be "opend" via Surface Area Configuration applet... then often the product is "used" in User Instance "mode", but User Instances are not enabled as well by default... you can then add Windows Firewall (or other firewall as well) to the potential problems as well..

the "secure" phylosophy is secure, but sometimes provides some headaches to use the product as desired becouse of all the underlying "settings to be "set"...

just my $0.02

regards

|||

Andrea -

A very diplomatic response indeed.

But all I am concerned with at this point is Step 1, getting the SQL Server 2005 Express Management Studio to connect to the SQL Server 2005 Express. That seems pretty basic to me. On another machine at my office, without any fussing around, the same installation appears to be in working order.

Any suggestions on what might be wrong with my home installation?

#1 - Home environment: Dell Dimension 2400 (I86), WinXPPro, only manual dial-up connection to Internet

#2 - Work environment: Dell Optiplex (I86) on corporate network with many other network servers

1 doesnt connect, 2 connects without any fussing around.

What's the difference and how might I troubleshoot #1 ?

Please advise. Thanks. Mike

|||

Hi Mike,

There should be no conflict or problems by installing Orcacle 10g XE and SQL Express on the same machine.

As far as the Express connection problem, it would help to know the exact error you are getting.

It seems from the configuration you've listed that you are just trying to connect locally, i.e. Management Studio is on the same computer with SQL Express. Is that right? I typically don't have any problems making local connections since the default installation includes everything you need to be able to make a connection on the local computer. The problem I typically see people have is getting the instance name right.

Assuming you didn't change anything during install, and that you are connecting locally, we can try a direct connection from SQLCmd just to rule out anything wrong with SSMSE. Open a command window and type the following at the prompt:

SQLCmd -S .\SQLEXPRESS -E -Q "SELECT @.@.Version"

This should return information about the version of SQL Express you are running. If this works, then SQL Express is running and you can connect to it using Shared Memory, the default protocol for local connections. If this doesn't work, reply with the exact text of the error message.

If you are connecting from a remote computer, you should make sure you have everything configured correctly to allow remote connections. You can find a link in the FAQ at the top of this forum to information about configuring SQL Express for remote connections. There are a number of things that must be configured to allow remote connectons to SQL Express.

I think it's worth exploring a bit why SQL Express is designed this way. It might seem that you should just be able to connect to SQL Express through the network, but it's important to understand what that really means to you. First you need to understand a term we use called "Surface areas of attack." In short, the surface area of attack for a computer is sum total of the ways an evil doer can gain access to your computer. The more you reduce the surface area of attack, the lest risk you have. As an example, consider a house: each door and window is a posible means of attack where a burgler could enter, the more doors and windows you have the larger your surface area and the greater your risk. The ability to connect to SQL Express from a remote computer is like adding another door to your computer, SQL Browser is like a window. Now doors and windows are important to a house, and remote connections and SQL Browser are important to SQL Express, but if you don't need them, you shouldn't have them. We've made the decision as part of our Secure by Default efforts that we will not arbitrarily increase the surface area of attack for your computer. There are millions of people out there who are using SQL Express only to store local data, they do not need the extra doors and windows created by allowing remote connections. Being Secure by Default means that users have to make the explicit decision to increase the surface area of attack, not the other way around.

I am looking at ways to make this choice more obvious to you when you install, so that stuff like this doesn't require a set of extra steps after installation, but can be accomplished more easily during installation. (But it will still be off be default.) Hopefully this at least gives you some insight into why we work the way we do.

Mike

Can coexist express server 2005 with sql 7 in the same machine?

I have SQL server 7 installed and running ok. Can I install express server? The idea is to have two different databases for different applications, each running in each sql.In short yes, but only one can be the default instance, Express will need to be a named instance

Saturday, February 25, 2012

CAN ANYONE PLS HELP ME ON THIS--REGARDING SQL SERVER installation....VERY URGENT

I have downloaded the sql server 2005 express edition from the MSDN...but i cant figure out how to create the database there....no database engine is shown where I can proceed.Only Configuration tool is shown...how do i go about it...pls tell me asap.thanks

If you've installed the database engine (check config tool or services) your next step may be to download the SQL Server Management Studio Express which is the GUI for managing express databases. This doesn't come out the box (unless you chose the edition with advanced services).

HTH!

|||

Could you tell me that ...in order to work on VB.NET,ASP.NET,SQL SERVER 2000......to create web application.....which software to download from the internet free of cost so that I can work on it for practice.....

|||you can download Mnagment Studio from this link
http://www.microsoft.com/downloads/details.aspx?FamilyId=C243A5AE-4BD1-4E3D-94B8-5A0F62BF7796&DisplayLang=en|||

Check out the Visual Studio express editions.

http://msdn2.microsoft.com/en-gb/express/default.aspx

Sunday, February 19, 2012

Can a SQL Server Express talk with other SQL Server Express in the same network?

Hi

There is a service from SQL Server 2005 that "listens" to the network, if the network is down, all data gets saved within the local instance of the SQL server 2005. And when the network becomes available, the local instance of the sql server will automatically "feed" the local records to the central SQL server 2005.

What is that feature called?

It sounds like you're talking about Service Broker, but Service Broker doesn't support communication between two Express instances. Service Broker communication between SQL instances must include a paid edition somewhere in the message chain. I'm not aware of any other tools that support the type of communication you've describe.

Mike

|||

Mike,thanks for the information.

I will look into service broker

Thanks

Thursday, February 16, 2012

can a non-administrator user run the SQL Server Management Studio Express ?

If i install the SQL Server Express and the Management Studio in my computer with an administrator account... can a non-administrator user run the SQL Server Management Studio Express ?

When the non-administrator user tries run the SSEMS, he gets an error, something like "Cannot load the SQL Management Studio Package".

Can i set several permissions to let non-administrator users run the SSEMS ?

Hi Jamie,

Any user can run Managment Studio Express, but you need permissions to use SQL Express. By default, only members of the Administrators group have permissions to do any tasks in SQL Express. For non-administrative users, you will need to explicitely create Logins and Users in SQL Server for those users. You can only create Logins and Users when you are an SA, so you'll need to log in as an adminstrator and setup the appropriate permissions.

I'd recommend you read the Books Online topics related to security.

Mike

can a non-administrator user run the SQL Server Management Studio Express ?

If i install the SQL Server Express and the Management Studio in my computer with an administrator account... can a non-administrator user run the SQL Server Management Studio Express ?

When the non-administrator user tries run the SSEMS, he gets an error, something like "Cannot load the SQL Management Studio Package".

Can i set several permissions to let non-administrator users run the SSEMS ?

Hi Jamie,

Any user can run Managment Studio Express, but you need permissions to use SQL Express. By default, only members of the Administrators group have permissions to do any tasks in SQL Express. For non-administrative users, you will need to explicitely create Logins and Users in SQL Server for those users. You can only create Logins and Users when you are an SA, so you'll need to log in as an adminstrator and setup the appropriate permissions.

I'd recommend you read the Books Online topics related to security.

Mike