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

Sunday, March 25, 2012

A couple of SQL Server Express questions

Hello - I'm about to rebuild my website on a nice new windows 2k3 server. I was previously using SQL server 7 but I'd like to use the 2005 edition.

Here's my first question - is the Express edition 2005 good enough to use on my live web server? Are there limits on the amount of connections at any one time?

My second question is this - what's the best way to connect to SQL Server 2005 Express?

At the moment I would use something like:

Server=.\SQLEXPRESS;Integrated Security=True;Database=myDB

And then I would set up a COMPUTERNAME\ASPNET account under SQL Server 2005 Express.

Is that an ok way to connect??

Any ideas?

Thanks.

Hi,

1) you don't have connection limits with SQl Express. Limitations are related to maximum RAM (1GB), 1 CPU and maximum database size. You can see information also at http://msdn.microsoft.com/vstudio/express/support/faq/#sql

2) That means using Windows authentication to connect. That is fine as long as you use this single account (built-in ASp.NET one) to connect to SQL Express, so that you don't provide own login (account) for each user, since that would cause connection pool fragmentation. (http://msdn2.microsoft.com/en-US/library/8xx3tyca(VS.80).aspx) If you do as you describe here, that's ok.

A connection was successfully established with the server, but then an error occurred during the

I have just installed MS SQL Server 2005 Express edition along with the SSMSE. I am using windows authentication. When I open SSMSE it connects me to a 'local instance' of the server. From there I right click on Database and select to add a new Database and I get the error above. I think I only need to allow local connections to the engine but I have tried allowing remote conections with all varations of named pipes and TCP/IP. I am running on Windows XP SP2 (home).Hi,

could you please post the whole error message ?

You might take a look at this site in the meantime: http://blogs.msdn.com/sql_protocols/Default.aspx?p=2

HTH; Jens K. Suessmeyer.

http://www.sqlserver2005.de

A connection was successfully established with the server, but then an error occurred duri

Hi,

I am having such a problem. I have SQL Express installed on the windows 2003 server and originally I installed instance1 of SQL Server 2005. When I installed Instance1, I remember having problems with remotely connecting to that instance1, but somehow I fixed it. Now I installed instance2 and I started having remote connection issues again with that instance2. I am able to connect to instance1 but not instance2. I checked settings for both instances and they look identical.

I turned firewall off for now. I checked TCP settings using surface area configuration (allowing both local and remote connections). I turned off VIA protocol. I specified TCP properties to use dynamic port for that instance2.

In the sql native client configuration I have the following order#: 1. Shared memory, 2. tcp, 3. np, 4. VIA(Disabled). TCP is configured to use 1433.

I have no clue about what is going on. Sometimes I am able to connect remotely and sometimes I get the following error:

"A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 0 - The specified network name is no longer available.) (.Net SqlClient Data Provider)."

When I connect locally - everything connects fine. File sharing is also checked, it works etc...

Thanks for help!!!

GK

I just noticed that I was able to connect from different computer on the different network.

What kind of account are you trying to connect with, Windows or SQL? I'm guessing it is trying to do a windows authentication but the remote computer isn't authenticated to the domain.

|||

No. It is SQL server account. I connect remotely to the sql server on different network.

Thanks,
GK

|||

You say it only happens sometimes? It sounds like a timeout issue. Changing the connection timeout property in the connection string will temporarily solve your problem but it sounds like there is a greater underlying network problem between the client and sql server.

Connection timeout and other connection string properties:http://msdn2.microsoft.com/en-us/library/system.data.sqlclient.sqlconnection.connectionstring(VS.71).aspx

|||

I am connecting using Client Tools (Enterprise Manager).

You are correct about network problem. I am not sure how to configure network on the server.

It is not timeout.

Also, I am not the only one. It happends to everyone who just installed sql server 2005 with sql express. There so many posts on Google, but not a single solution.

Thanks,
GK

|||

Just to be clear, when you set up sql server 2005 you went in to sql security and cre-created all your logins?

Also, is there SSL or any other kind of extra security on the sql server?

|||

All the accounts have same privilidges, I connect using dbo.

No SSL or anything like that.

Thanks,
GK

|||

I asked whether or not you re-created the accounts when you installed sql server 2005. Did you actually go into sql 2005 and re-create all the accounts.

Also, here is a post that seemed to have helped a couple othershttp://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=984492&SiteID=1

Thursday, March 22, 2012

A connection could not be made to the report server

installed MS SQL 2005 Express Advanced (with Reporting services). I built a
sample report using the wizard. When i click on 'deploy' i get the error as
below. There is an application with virtual name as 'ReportServer' in the
IIS 5.1 . What could be the possible reasons for this error ?
Regards,
Chak.
:-
TITLE: Microsoft Report Designer
--
A connection could not be made to the report server
http://localhost/ReportServer.
--
ADDITIONAL INFORMATION:
The attempt to connect to the report server failed. Check your connection
information and that the report server is a compatible version.
(Microsoft.ReportingServices.Designer)
--
The request failed with HTTP status 404: Not Found.
(Microsoft.ReportingServices.Designer)
--
BUTTONS:
OK
--I re-installed the Reporting server after checking the 'Apply default
settings' check box. Now the report seems to be deployable.
Regards.
"Chakravarthy" <r_chakravarthy@.hotmail.com> wrote in message
news:OHGSa16uGHA.2224@.TK2MSFTNGP06.phx.gbl...
> installed MS SQL 2005 Express Advanced (with Reporting services). I built
> a sample report using the wizard. When i click on 'deploy' i get the error
> as below. There is an application with virtual name as 'ReportServer' in
> the IIS 5.1 . What could be the possible reasons for this error ?
> Regards,
> Chak.
> :-
>
> TITLE: Microsoft Report Designer
> --
> A connection could not be made to the report server
> http://localhost/ReportServer.
> --
> ADDITIONAL INFORMATION:
> The attempt to connect to the report server failed. Check your connection
> information and that the report server is a compatible version.
> (Microsoft.ReportingServices.Designer)
> --
> The request failed with HTTP status 404: Not Found.
> (Microsoft.ReportingServices.Designer)
> --
> BUTTONS:
> OK
> --
>

Saturday, February 25, 2012

64 bit SQL Express

Can some one provide the link to download SQLEXPRESS.EXE (the 64 bit version) not SQLEXPRESS32.EXE (the 32 bit version).http://go.microsoft.com/fwlink/?LinkID=83387|||Thanks Euan. Is documentation on the 64 bit version available?|||At the basic level there are no differences between the 2 versions(in reality once you get into more advanced features of Workgroup there are diffs)|||

To be exact, there is not a 64-bit version of SQL Express, so there is no unique documentation for it. SQL Express 2005 only has a 32-bit version, the difference between the two packages, SQLEXPR32.EXE and SQLEXPR.EXE is that the latter contains the files required to run SQL Express in Windows on Windows (Wow) on x64 operating systems, but it's still 32-bit. Either package will install onto 32-bit OS, but only the second one can install on 64-bit. We did this to allow for a smaller download size if you know your gong to always install to 32-bit, which is the case for most Express users.

Mike

|||What about SQL Server 2005 Express Edition with Advanced Services? Is it contains files requred on x64 platforms like SQLEXPR.EXE?

64 bit SQL Express

Can some one provide the link to download SQLEXPRESS.EXE (the 64 bit version) not SQLEXPRESS32.EXE (the 32 bit version).http://go.microsoft.com/fwlink/?LinkID=83387|||Thanks Euan. Is documentation on the 64 bit version available?|||At the basic level there are no differences between the 2 versions(in reality once you get into more advanced features of Workgroup there are diffs)|||

To be exact, there is not a 64-bit version of SQL Express, so there is no unique documentation for it. SQL Express 2005 only has a 32-bit version, the difference between the two packages, SQLEXPR32.EXE and SQLEXPR.EXE is that the latter contains the files required to run SQL Express in Windows on Windows (Wow) on x64 operating systems, but it's still 32-bit. Either package will install onto 32-bit OS, but only the second one can install on 64-bit. We did this to allow for a smaller download size if you know your gong to always install to 32-bit, which is the case for most Express users.

Mike

|||What about SQL Server 2005 Express Edition with Advanced Services? Is it contains files requred on x64 platforms like SQLEXPR.EXE?

Thursday, February 16, 2012

50(The request is not supported.)

I'm attempting to create an assembly in SQL Server Management Studio
express and I'm getting the following error message.
Msg 6502, Level 16, State 7, Line 1
CREATE ASSEMBLY failed because it could not read from the physical file
'Iit457wks1.Telspan.Intra\c$\TriggerUpdate.dll': 50(The request is not
supported.).
I've tried a ton of different things and I can't get this to work. Does
anyone have any ideas?<DIV>"IndyChris" <chrisshearier@.yahoo.com> wrote in message
news:1157049490.180110.320140@.74g2000cwt.googlegroups.com...</DIV>> I'm
attempting to create an assembly in SQL Server Management Studio
> express and I'm getting the following error message.
> Msg 6502, Level 16, State 7, Line 1
> CREATE ASSEMBLY failed because it could not read from the physical file
> 'Iit457wks1.Telspan.Intra\c$\TriggerUpdate.dll': 50(The request is not
> supported.).
> I've tried a ton of different things and I can't get this to work. Does
> anyone have any ideas?
>
Put the DLL in a folder that SQL Server can access, and reference it there.
David

4GB size limtation on SQL server express

Hi,

I would like to know what problems will occur when I try to create a database that exceed the size limit of 4GB ?

Thanks

Moving to the SQL Server Express forum.|||SQL Server will provide an error message and the attempt to create a database exceeding 4GB will fail.|||

hi,

as Arnie already pointed out, SQLExpress will throw an exception..

this exception is little misleading as it reports
Server: Msg 1105, Level 17, State 2, Line 6
Could not allocate space for object 'a' in database 'test' because the 'PRIMARY' filegroup is full.

I do actually think another exception should be raised, something like
Err 1827: CREATE/ALTER database failed becouse the resulting cumulative database size would exceed your licensed limit of xxxx mb per database.

but this is another story
regards

Monday, February 13, 2012

40000 Pages /day with SQL Express

I can some on tell why I can or I cannot run a 40000 Pages /day with SQL Express.

Thanks

Easily|||

The reponse is not.

I did the test and the performance limitation from msde makes it impossible to run properly

Erez

|||

You asked about SQL Express, not MSDE. But even MSDE should be able to handle 40,000 pages/day easily, so I would take a look at what you are doing wrong that's causing the performance issue.

With an average response time of serving a page of 2 seconds or less, you could serve 40,000 pages in a day. If you can't get your average page response to be below 2 seconds, you've got other problems, cause that's painfully slow. That's with a single page request being presented in a serial fashion, which isn't likely. With overlapping requests even with a 2 second response you should be able to handle a LOT more than 40,000 pages under most circumstances (Depends where the 2 second response bottleneck is).

Now that's assuming a consistant load for 24 hours, perhaps you wanted to know some other metric? Like can I handle a peak load of x pages/sec, or some such.