Wednesday, 7 March 2012
Confused.
indexes.... can any one give me one basic difference.
I remember you, you asked few days ago:
http://groups.google.de/group/micros...0354ae6af6fdbc
HTH, Jens Suessmeyer.
http://www.sqlserver2005.de
"Joh" <joh@.mailcity.com> schrieb im Newsbeitrag
news:%23MNB6NZVFHA.2272@.TK2MSFTNGP15.phx.gbl...
> Still little bit confused regarding Statistics updates and rebuilding
> indexes.... can any one give me one basic difference.
>
|||On Tue, 10 May 2005 15:07:43 -0400, Joh wrote:
>Still little bit confused regarding Statistics updates and rebuilding
>indexes.... can any one give me one basic difference.
>
Hi Joh,
Take a text book, or an SQL manual or something like that. The last
20-50 pages will probably contain an index, that you can use to find
that deadlocks are discussed on pages 574-577 and 893, and that the
SELECT statement is discussed on pages 34-108, 145-160, 254 and 664.
Tear out this index. Then, take a stack of blank paper, scan each page
of the text book and recreate the index. This activity is somewhat
equivalent to rebuilding an index.
Now, take a quick scan over the index. You might note that there are
less (or maybe more?) words in the index that start with 'A' then with
'B'. You'll probably note that there are almost no words with 'X', but
quite a lot starting with 'Q'. Assuming that you don't forget this
information, but use it next time you need to find an entry to locate
the correct page in the index quicker, then you have just performed the
equivalent of updating statistics.
Best, Hugo
(Remove _NO_ and _SPAM_ to get my e-mail address)
|||Really appreciated Hugo... thanks
"Hugo Kornelis" <hugo@.pe_NO_rFact.in_SPAM_fo> wrote in message
news:rd32819sm6p33mfnhk6l62eb03hc8pun25@.4ax.com...
> On Tue, 10 May 2005 15:07:43 -0400, Joh wrote:
>
> Hi Joh,
> Take a text book, or an SQL manual or something like that. The last
> 20-50 pages will probably contain an index, that you can use to find
> that deadlocks are discussed on pages 574-577 and 893, and that the
> SELECT statement is discussed on pages 34-108, 145-160, 254 and 664.
> Tear out this index. Then, take a stack of blank paper, scan each page
> of the text book and recreate the index. This activity is somewhat
> equivalent to rebuilding an index.
> Now, take a quick scan over the index. You might note that there are
> less (or maybe more?) words in the index that start with 'A' then with
> 'B'. You'll probably note that there are almost no words with 'X', but
> quite a lot starting with 'Q'. Assuming that you don't forget this
> information, but use it next time you need to find an entry to locate
> the correct page in the index quicker, then you have just performed the
> equivalent of updating statistics.
> Best, Hugo
> --
> (Remove _NO_ and _SPAM_ to get my e-mail address)
|||Thanks Jens... really appreciated.
"Jens Smeyer" <Jens@.Remove_this_For_Contacting.sqlserver2005.de> wrote in
message news:OwbMTXZVFHA.3716@.TK2MSFTNGP12.phx.gbl...
> I remember you, you asked few days ago:
>
http://groups.google.de/group/micros...ts/browse_frm/
thread/17a8f88d35626ce5/4b0354ae6af6fdbc?q=Jens+S%C3%BC%C3%9Fmeyer+differe nc
e+statistics+index&rnum=1&hl=de#4b0354ae6af6fdbc
> HTH, Jens Suessmeyer.
>
> --
> http://www.sqlserver2005.de
> --
> "Joh" <joh@.mailcity.com> schrieb im Newsbeitrag
> news:%23MNB6NZVFHA.2272@.TK2MSFTNGP15.phx.gbl...
>
confused!....cube or data mart?
u can go for a datamart there is no ned for u to go to a
warehouse as ur scope is less and regarding to the cube i
didnt understand ur question.
>--Original Message--
>hi ppl...
>i'm a final year student in information systems and a
new comer in the field of data mining. i'm developing the
application using VB 6.0 for the front end and i'm using
SQL server 2000 : Analysis services for the back end.
taking customer transactions, my aim is to predict
customer buying patterns. im confused as to whether i
have to implement a data mart or a data warehouse to hold
my data.i'm also confused about the cube funtionality,
whether it has anything to do with data warehousing/mart.
the project scope doesn't include gathering data.
>.
>thank alot...but i'm confused as to what a data mart is? there are facts and
dimensions in data marts as well as in cubes. what is the diference between
these two. hold do i implement a data mart with regard to my project? does
analysis services provide t
he funtionality of building one?if so how is it done in context of my projec
t
thanks|||Maybe this help - http://199.239.255.16/html/articles.html
Ray Higdon MCSE, MCDBA, CCNA
--
"jrock" <anonymous@.discussions.microsoft.com> wrote in message
news:C2D503FC-DE46-4724-A6EA-EC657D29249C@.microsoft.com...
> thank alot...but i'm confused as to what a data mart is? there are facts
and dimensions in data marts as well as in cubes. what is the diference
between these two. hold do i implement a data mart with regard to my
project? does analysis services provide the funtionality of building one?if
so how is it done in context of my project
> thanks
>
Saturday, 25 February 2012
Confused about reporting feature
2005 regarding adding reporting capabilities to SQL Sever 2005. I am not
sure what it was but I think it had to do with the SQL Server being able to
process a full report request and return the report all ready to print. I
think it was some sort of server reporting engine.
I also noticed that Visual Studio 2005 comes with a control that allows you
to create reports.
My question is, was I smoking crack when I read all this about SQL 2005 new
reporting capabilities? Also, anybody knows if the reporting control that
comes with Visual Studio 2005 is somewhat connected to SQL Server 005?
ThanksSearch and read about "Reporting Services".
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"Rene" <a@.b.c> wrote in message news:uCSIzjQaGHA.508@.TK2MSFTNGP02.phx.gbl...
>I remember reading something about some sort of new feature on SQL Server 2
005 regarding adding
>reporting capabilities to SQL Sever 2005. I am not sure what it was but I t
hink it had to do with
>the SQL Server being able to process a full report request and return the r
eport all ready to
>print. I think it was some sort of server reporting engine.
> I also noticed that Visual Studio 2005 comes with a control that allows yo
u to create reports.
> My question is, was I smoking crack when I read all this about SQL 2005 ne
w reporting
> capabilities? Also, anybody knows if the reporting control that comes with
Visual Studio 2005 is
> somewhat connected to SQL Server 005?
> Thanks
>
>|||On Wed, 26 Apr 2006 03:13:02 -0500, "Rene" <a@.b.c> wrote:
>I remember reading something about some sort of new feature on SQL Server
>2005 regarding adding reporting capabilities to SQL Sever 2005. I am not
>sure what it was but I think it had to do with the SQL Server being able to
>process a full report request and return the report all ready to print. I
>think it was some sort of server reporting engine.
>I also noticed that Visual Studio 2005 comes with a control that allows you
>to create reports.
>My question is, was I smoking crack when I read all this about SQL 2005 new
>reporting capabilities? Also, anybody knows if the reporting control that
>comes with Visual Studio 2005 is somewhat connected to SQL Server 005?
>Thanks
Hi,
You're referring to SQL Server 2005 Reporting Services. Most editions
of SQL Server have some RS functionality.
See
http://www.microsoft.com/sql/prodin...e-features.mspx
for which edtions of SQL Server 2005 have what RS features.
Information about RS is available from
http://www.microsoft.com/sql/techno...ng/default.mspx
and in Books Online.
Andrew Watt [MVP]|||Hi,
look here:
http://www.microsoft.com/sql/techno...ng/default.mspx
The control is for rendering reports also in your other applications
like Windows Forms, rather than *only* in Web projects.-
HTH, Jens Suessmeyer.
http://www.sqlserver2005.de
--
Confused about reporting feature
2005 regarding adding reporting capabilities to SQL Sever 2005. I am not
sure what it was but I think it had to do with the SQL Server being able to
process a full report request and return the report all ready to print. I
think it was some sort of server reporting engine.
I also noticed that Visual Studio 2005 comes with a control that allows you
to create reports.
My question is, was I smoking crack when I read all this about SQL 2005 new
reporting capabilities? Also, anybody knows if the reporting control that
comes with Visual Studio 2005 is somewhat connected to SQL Server 005?
ThanksSearch and read about "Reporting Services".
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"Rene" <a@.b.c> wrote in message news:uCSIzjQaGHA.508@.TK2MSFTNGP02.phx.gbl...
>I remember reading something about some sort of new feature on SQL Server 2005 regarding adding
>reporting capabilities to SQL Sever 2005. I am not sure what it was but I think it had to do with
>the SQL Server being able to process a full report request and return the report all ready to
>print. I think it was some sort of server reporting engine.
> I also noticed that Visual Studio 2005 comes with a control that allows you to create reports.
> My question is, was I smoking crack when I read all this about SQL 2005 new reporting
> capabilities? Also, anybody knows if the reporting control that comes with Visual Studio 2005 is
> somewhat connected to SQL Server 005?
> Thanks
>
>|||On Wed, 26 Apr 2006 03:13:02 -0500, "Rene" <a@.b.c> wrote:
>I remember reading something about some sort of new feature on SQL Server
>2005 regarding adding reporting capabilities to SQL Sever 2005. I am not
>sure what it was but I think it had to do with the SQL Server being able to
>process a full report request and return the report all ready to print. I
>think it was some sort of server reporting engine.
>I also noticed that Visual Studio 2005 comes with a control that allows you
>to create reports.
>My question is, was I smoking crack when I read all this about SQL 2005 new
>reporting capabilities? Also, anybody knows if the reporting control that
>comes with Visual Studio 2005 is somewhat connected to SQL Server 005?
>Thanks
Hi,
You're referring to SQL Server 2005 Reporting Services. Most editions
of SQL Server have some RS functionality.
See
http://www.microsoft.com/sql/prodinfo/features/compare-features.mspx
for which edtions of SQL Server 2005 have what RS features.
Information about RS is available from
http://www.microsoft.com/sql/technologies/reporting/default.mspx
and in Books Online.
Andrew Watt [MVP]|||Hi,
look here:
http://www.microsoft.com/sql/technologies/reporting/default.mspx
The control is for rendering reports also in your other applications
like Windows Forms, rather than *only* in Web projects.-
HTH, Jens Suessmeyer.
--
http://www.sqlserver2005.de
--
Friday, 24 February 2012
conflict tables
I would very much appreciate any help regarding this problem. In short
again, when there are no conflict resolvers, an update of the same row
in the publisher and subscriber creates an entry in the conflict
table. But, when I use say datetime (Later wins) conflict resolver, no
such entry is found in the conflict table. Is there a way, one could
use the resolvers and at the same time have the conflict listings in
the table for the record?
Thanks in advance!
Jane.
jane201315@.yahoo.com (Jane) wrote in message news:<d7f9b5c5.0407071216.29d074d3@.posting.google. com>...[vbcol=seagreen]
> Hi Hilary,
> I am using a push subscription. So, the conflict tables should be
> populated on the publisher. They do get populated when I do not use
> the default resolvers. But when I do use the resolvers, and say change
> the same value in a row on the publisher and the subscriber, the
> conflict is not recorded but is resolved as per the default resolver,
> in my case the datetime(later wins) resolver.
> Any idea why it does not record this in the conflict tables?
> I appreciate your help!
> Thanks,
> Jane.
> "Hilary Cotter" <hilaryk@.att.net> wrote in message news:<#9aZk6CZEHA.1448@.TK2MSFTNGP12.phx.gbl>...
do you have a datetime column in this table? You must have one for this to
work.
"Jane" <jane201315@.yahoo.com> wrote in message
news:d7f9b5c5.0407121308.2f5c4d9@.posting.google.co m...
> Hi,
> I would very much appreciate any help regarding this problem. In short
> again, when there are no conflict resolvers, an update of the same row
> in the publisher and subscriber creates an entry in the conflict
> table. But, when I use say datetime (Later wins) conflict resolver, no
> such entry is found in the conflict table. Is there a way, one could
> use the resolvers and at the same time have the conflict listings in
> the table for the record?
> Thanks in advance!
> Jane.
>
> jane201315@.yahoo.com (Jane) wrote in message
news:<d7f9b5c5.0407071216.29d074d3@.posting.google. com>...[vbcol=seagreen]
news:<#9aZk6CZEHA.1448@.TK2MSFTNGP12.phx.gbl>...[vbcol=seagreen]
kind of[vbcol=seagreen]
but[vbcol=seagreen]
and[vbcol=seagreen]
of[vbcol=seagreen]
the[vbcol=seagreen]
|||Hi Hilary,
I do have a datetime column, I have set it up as the column to be used
for datetime(Later wins) conflict resolver. It works fine. But without
the resolver I do find conflicts in my conflict table. But with the
resolver set, my conflict table is empty even when the conflicts are
being created.
Any help is greatly appreciated!
Thanks in advance!
Jane.
"Hilary Cotter" <hilaryk@.att.net> wrote in message news:<#xRwAXOaEHA.2408@.tk2msftngp13.phx.gbl>...
> do you have a datetime column in this table? You must have one for this to
> work.
> "Jane" <jane201315@.yahoo.com> wrote in message
> news:d7f9b5c5.0407121308.2f5c4d9@.posting.google.co m...
|||"Jane" wrote:
> Hi Hilary,
> I do have a datetime column, I have set it up as the column to be used
> for datetime(Later wins) conflict resolver. It works fine. But without
> the resolver I do find conflicts in my conflict table. But with the
> resolver set, my conflict table is empty even when the conflicts are
> being created.
> Any help is greatly appreciated!
Hi Jane!
Did you ever find any solution to your problem? I have the same situation here. I'm using msde merge pull replication and I cannot find data in the conflict table. However, unlike you, even if I try to remove the conflict resolver (datetime, later wins),
I still can't see the log. Conflict table does exists but it remains empty, no matter what I do.
I would appreciate any help.
Ann
Conflict of Permissions by NT Groups
Hi,
This is regarding permission issue in windows-authenticated sql server 2000.
I have two NT groups namely A & B.
Groups A has all permissions on SQLDB1 while group B has all on SQLDB1 and SQLDB2.
Since I dont want B to have INS/UPD/DEL rights on SQLDB1, I revoked those permissions for B on the same. But users belonging to both groups suffer INS/UPD/DEL rights on SQLDB1.
Could anyone help please ?
Thanks in advance.
Use DENY instead of REVOKE.--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
Blog: http://solidqualitylearning.com/blogs/tibor/
news:2d0faecd-406e-4bcd-9aba-70fc886637ce@.discussions.microsoft.com... > Hi, > > This is regarding permission issue in windows-authenticated sql server > 2000. > > I have two NT groups namely A & B. > > Groups A has all permissions on SQLDB1 while group B has all on SQLDB1 > and SQLDB2. > > Since I dont want B to have INS/UPD/DEL rights on SQLDB1, I revoked > those permissions for B on the same. But users belonging to both groups > suffer INS/UPD/DEL rights on SQLDB1. > > Could anyone help please ? > > Thanks in advance. > >||| I tried DENY too. Result is the same as before. Can you explain in more detail what commands you executed? Also, can you check the catalog to verify that permissions are granted/denied as intended. The database permissions catalog is sys.database_permissions. Thanks In SQL 2000 you can use sysprotects. See http://msdn.microsoft.com/library/default.asp?url=/library/en-us/tsqlref/ts_sys-p_0837.asp, for a description. Thanks
Laurentiu
Laurentiu
Conflict of Permissions by NT Groups
Hi,
This is regarding permission issue in windows-authenticated sql server 2000.
I have two NT groups namely A & B.
Groups A has all permissions on SQLDB1 while group B has all on SQLDB1 and SQLDB2.
Since I dont want B to have INS/UPD/DEL rights on SQLDB1, I revoked those permissions for B on the same. But users belonging to both groups suffer INS/UPD/DEL rights on SQLDB1.
Could anyone help please ?
Thanks in advance.
Use DENY instead of REVOKE.--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
Blog: http://solidqualitylearning.com/blogs/tibor/
news:2d0faecd-406e-4bcd-9aba-70fc886637ce@.discussions.microsoft.com... > Hi, > > This is regarding permission issue in windows-authenticated sql server > 2000. > > I have two NT groups namely A & B. > > Groups A has all permissions on SQLDB1 while group B has all on SQLDB1 > and SQLDB2. > > Since I dont want B to have INS/UPD/DEL rights on SQLDB1, I revoked > those permissions for B on the same. But users belonging to both groups > suffer INS/UPD/DEL rights on SQLDB1. > > Could anyone help please ? > > Thanks in advance. > >||| I tried DENY too. Result is the same as before. Can you explain in more detail what commands you executed? Also, can you check the catalog to verify that permissions are granted/denied as intended. The database permissions catalog is sys.database_permissions. Thanks In SQL 2000 you can use sysprotects. See http://msdn.microsoft.com/library/default.asp?url=/library/en-us/tsqlref/ts_sys-p_0837.asp, for a description. Thanks
Laurentiu
Laurentiu
Friday, 17 February 2012
Configuring SQL Server Express 2005 for Remote Access
In the course of another thread I posted a question regarding problems
connecting to SQL Server Express 2005. The fundamental issue is that
SQL Server Express does not have remote access enabled by default.
Enabling it is a multi-step process.
I expect this will be a common problem given the popularity of the
(free) SQL Server Express so as a thank you for the help I have
received in resolving the issue, I have built a web page documenting
the steps involved.
http://www.datamasker.com/SSE2005_NetworkCfg.htm
Cheers
Dale
#####
The connectivity problems manifest themselves as the following error
messages (I list them here so online searches might pick up this
thread).
SQL Network Interfaces, error: 26 - Error Locating Server/Instance
Specified
An error has occured 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 connection to SQL Server))
Server does not exist or access deniedPerfect timing.. This is great.. it helped me out big-time.. thanksa again..
"NoSpam@.NoSpam.com" wrote:
> Hello All
> In the course of another thread I posted a question regarding problems
> connecting to SQL Server Express 2005. The fundamental issue is that
> SQL Server Express does not have remote access enabled by default.
> Enabling it is a multi-step process.
> I expect this will be a common problem given the popularity of the
> (free) SQL Server Express so as a thank you for the help I have
> received in resolving the issue, I have built a web page documenting
> the steps involved.
> http://www.datamasker.com/SSE2005_NetworkCfg.htm
> Cheers
> Dale
> #####
> The connectivity problems manifest themselves as the following error
> messages (I list them here so online searches might pick up this
> thread).
> SQL Network Interfaces, error: 26 - Error Locating Server/Instance
> Specified
> An error has occured 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 connection to SQL Server))
> Server does not exist or access denied
>|||Hi, how do I make sure everything sql server needs to have installed is
installed when I sign into suface area configuration and click add services
and connections I get a message that says no sql server components are
install or not under admin acssess. I am prety sure they are installed and
also that I am admin but for some strange reaosn I get this silly message.
*sigh* I would like to simply switch to express version of vs2005 hoping tha
t
its easyer for newbies.
Configuring SQL Server Express 2005 for Remote Access
In the course of another thread I posted a question regarding problems
connecting to SQL Server Express 2005. The fundamental issue is that
SQL Server Express does not have remote access enabled by default.
Enabling it is a multi-step process.
I expect this will be a common problem given the popularity of the
(free) SQL Server Express so as a thank you for the help I have
received in resolving the issue, I have built a web page documenting
the steps involved.
http://www.datamasker.com/SSE2005_NetworkCfg.htm
Cheers
Dale
#####
The connectivity problems manifest themselves as the following error
messages (I list them here so online searches might pick up this
thread).
SQL Network Interfaces, error: 26 - Error Locating Server/Instance
Specified
An error has occured 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 connection to SQL Server))
Server does not exist or access denied
Perfect timing.. This is great.. it helped me out big-time.. thanksa again..
"NoSpam@.NoSpam.com" wrote:
> Hello All
> In the course of another thread I posted a question regarding problems
> connecting to SQL Server Express 2005. The fundamental issue is that
> SQL Server Express does not have remote access enabled by default.
> Enabling it is a multi-step process.
> I expect this will be a common problem given the popularity of the
> (free) SQL Server Express so as a thank you for the help I have
> received in resolving the issue, I have built a web page documenting
> the steps involved.
> http://www.datamasker.com/SSE2005_NetworkCfg.htm
> Cheers
> Dale
> #####
> The connectivity problems manifest themselves as the following error
> messages (I list them here so online searches might pick up this
> thread).
> SQL Network Interfaces, error: 26 - Error Locating Server/Instance
> Specified
> An error has occured 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 connection to SQL Server))
> Server does not exist or access denied
>
|||Hi, how do I make sure everything sql server needs to have installed is
installed when I sign into suface area configuration and click add services
and connections I get a message that says no sql server components are
install or not under admin acssess. I am prety sure they are installed and
also that I am admin but for some strange reaosn I get this silly message.
*sigh* I would like to simply switch to express version of vs2005 hoping that
its easyer for newbies.
Configuring SQL Server Express 2005 for Remote Access
In the course of another thread I posted a question regarding problems
connecting to SQL Server Express 2005. The fundamental issue is that
SQL Server Express does not have remote access enabled by default.
Enabling it is a multi-step process.
I expect this will be a common problem given the popularity of the
(free) SQL Server Express so as a thank you for the help I have
received in resolving the issue, I have built a web page documenting
the steps involved.
http://www.datamasker.com/SSE2005_NetworkCfg.htm
Cheers
Dale
#####
The connectivity problems manifest themselves as the following error
messages (I list them here so online searches might pick up this
thread).
SQL Network Interfaces, error: 26 - Error Locating Server/Instance
Specified
An error has occured 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 connection to SQL Server))
Server does not exist or access deniedPerfect timing.. This is great.. it helped me out big-time.. thanksa again..
"NoSpam@.NoSpam.com" wrote:
> Hello All
> In the course of another thread I posted a question regarding problems
> connecting to SQL Server Express 2005. The fundamental issue is that
> SQL Server Express does not have remote access enabled by default.
> Enabling it is a multi-step process.
> I expect this will be a common problem given the popularity of the
> (free) SQL Server Express so as a thank you for the help I have
> received in resolving the issue, I have built a web page documenting
> the steps involved.
> http://www.datamasker.com/SSE2005_NetworkCfg.htm
> Cheers
> Dale
> #####
> The connectivity problems manifest themselves as the following error
> messages (I list them here so online searches might pick up this
> thread).
> SQL Network Interfaces, error: 26 - Error Locating Server/Instance
> Specified
> An error has occured 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 connection to SQL Server))
> Server does not exist or access denied
>|||Hi, how do I make sure everything sql server needs to have installed is
installed when I sign into suface area configuration and click add services
and connections I get a message that says no sql server components are
install or not under admin acssess. I am prety sure they are installed and
also that I am admin but for some strange reaosn I get this silly message.
*sigh* I would like to simply switch to express version of vs2005 hoping tha
t
its easyer for newbies.
Configuring SQL Server Express 2005 for Remote Access
In the course of another thread I posted a question regarding problems
connecting to SQL Server Express 2005. The fundamental issue is that
SQL Server Express does not have remote access enabled by default.
Enabling it is a multi-step process.
I expect this will be a common problem given the popularity of the
(free) SQL Server Express so as a thank you for the help I have
received in resolving the issue, I have built a web page documenting
the steps involved.
http://www.datamasker.com/SSE2005_NetworkCfg.htm
Cheers
Dale
#####
The connectivity problems manifest themselves as the following error
messages (I list them here so online searches might pick up this
thread).
SQL Network Interfaces, error: 26 - Error Locating Server/Instance
Specified
An error has occured 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 connection to SQL Server))
Server does not exist or access deniedPerfect timing.. This is great.. it helped me out big-time.. thanksa again..
"NoSpam@.NoSpam.com" wrote:
> Hello All
> In the course of another thread I posted a question regarding problems
> connecting to SQL Server Express 2005. The fundamental issue is that
> SQL Server Express does not have remote access enabled by default.
> Enabling it is a multi-step process.
> I expect this will be a common problem given the popularity of the
> (free) SQL Server Express so as a thank you for the help I have
> received in resolving the issue, I have built a web page documenting
> the steps involved.
> http://www.datamasker.com/SSE2005_NetworkCfg.htm
> Cheers
> Dale
> #####
> The connectivity problems manifest themselves as the following error
> messages (I list them here so online searches might pick up this
> thread).
> SQL Network Interfaces, error: 26 - Error Locating Server/Instance
> Specified
> An error has occured 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 connection to SQL Server))
> Server does not exist or access denied
>|||Hi, how do I make sure everything sql server needs to have installed is
installed when I sign into suface area configuration and click add services
and connections I get a message that says no sql server components are
install or not under admin acssess. I am prety sure they are installed and
also that I am admin but for some strange reaosn I get this silly message.
*sigh* I would like to simply switch to express version of vs2005 hoping that
its easyer for newbies.
Configuring SQL cache
Hi all,
I have a question regarding SQL caching.
I want to use SQL caching for my pages.I've gone throughhttp://msdn2.microsoft.com/en-us/library/e3w8402y(VS.80).aspx article on msdn, where in step by step procedure is explained for this. But I have a slightly different situation. In the article, we need to configure our application from web.config by following...
<!-- caching section group -->
<caching>
<sqlCacheDependency enabled = "true" pollTime = "1000" >
<databases>
<add name="Northwind"
connectionStringName="NorthwindConnectionString1"
pollTime = "1000"
/>
</databases>
</sqlCacheDependency>
</caching>
Where in"NorthwindConnectionString1"is the SQLdatasource connection string. But I'm not using SQLDatasource, and have my own classes to build a connection datasource and get a dataset, and then bind it to my control.So in this case what should I write for the above"connectionstring" attribute. My connection string is in web.config only with a section defined. and in my application i'm reading from web.fing only.The connection section i'm using is as follows...
<
ConnSettings><
addkey="ConnString"value="server=serverName;database=dbName;uid=dbuser;Pwd=password"/></
ConnSettings>I want to know how to configure my sql cache in this situation.
Thanks,
Mehul Mistry
Hi Mehul,
In your case, your connection string can be declared as below:
<ConnSettings>
<add name="MyConn" connectionString="server=serverName;database=dbName;uid=dbuser;Pwd=password"/>
</ConnSettings>
So your caching configuring can be declared in this way:
<caching>
<sqlCacheDependency enabled = "true" pollTime = "1000" >
<databases>
<add name="Northwind"
connectionStringName="MyConn"
pollTime = "1000"
/>
</databases>
</sqlCacheDependency>
</caching>
Note: You should usestring conn = ConfigurationManager.ConnectionStrings["MyConn"].ConnectionString; to get the connection string in your application code.
Hope this helps. Thanks.
|||Hi Nai,
After a long long time I'm posting again in this thread ( as I had to shift to some other module and issues). Regarding this caching, as I've written above that I'm not using any SQLDatasource and have my own classes for that. So I've problem in configuring the caching in web.config. I'm going through a tutorial on msdn ( http://msdn2.microsoft.com/en-us/library/e3w8402y(VS.80).aspx ). The solution which u gave above is not working still. I'm still getting eorror...
Parser Error Message:The connection name 'ConnSettings' was not found in the applications configuration or the connection string is empty.
Line 226: <databases>
Line 227: <add name="DBCACHE"
Line 228: connectionStringName="MyConn"
Line 229: pollTime = "2000"Line 230: />
I'm re-writing what I've done in web.config...
<configuration>
<section name="MyConn" type="System.Configuration.NameValueFileSectionHandler,System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 "/>
<ConnSettings>
<add name="MyConn" connectionString="server=serverName;database=dbName;uid=dbuser;Pwd=password"/>
</ConnSettings>
</<configuration>
<system.web>
<caching>
<sqlCacheDependency enabled = "true" pollTime = "2000" >
<databases>
<add name="DBCACHE"
connectionStringName="MyConn"
pollTime = "2000"
/>
</databases>
</sqlCacheDependency>
</caching>
</system.web>
I hope I gave a better picture of my problem now. I've not got any article on net which uses caching without SQLdatasource.
Can Someone please help me with this...
Thanks,
MehulMistry