Showing posts with label connection. Show all posts
Showing posts with label connection. Show all posts

Friday, March 30, 2012

please help me

Hi

i connect to remote Integration Service. i configure server for remote connection( on component services and DCOM config , ... ) .and now i can connect to Integration Service remotely and correctly.

but when i expand Stored Package and then click to expand MSDB this error will hapen:

login failed for user ... .(microsoft sql native client )

please help me

thanks in advance

anyone answer to me

i need it soon

thanks

Please help lost connection urgent!

Hi,
After I install Service Pack3 on my local PC machine, I cannot connect to
the Development Server by using Query Analyzer and SQL Profiler. but the
strangest thing is i can connect to that server by using Enterprise Manager.
The error message showing on QA is
[Microsoft][ODBC SQL Server Driver][DBNETLIB]SQL Server does not exist or
access denied. -- it really doesn't make sense to me to only QA but not EM
.
Please help and thanks
EdThat may help:
http://groups.google.de/groups? q=S...ftngxa06&rnum=1
HTH, Jens Smeyer.
"Ed" <Ed@.discussions.microsoft.com> schrieb im Newsbeitrag
news:C80F022D-B11F-432A-9B86-5A9F86232244@.microsoft.com...
> Hi,
> After I install Service Pack3 on my local PC machine, I cannot connect
> to
> the Development Server by using Query Analyzer and SQL Profiler. but the
> strangest thing is i can connect to that server by using Enterprise
> Manager.
> The error message showing on QA is
> [Microsoft][ODBC SQL Server Driver][DBNETLIB]SQL Server does not exist or
> access denied. -- it really doesn't make sense to me to only QA but not
> EM.
> Please help and thanks
> Ed|||I'll quote you some possible solutions from sswug.org mailing list:
I recall that changing the port at which a named instance exists requires
restart of the default instance (or perhaps just SQL Agent?). If you can
easily restart the default instance and agent on the DEV box, I would do
so.
--
Fixed the problem on the DEV server. When the instance came back up, it
was for some reason, listening on 1433.... same as the default instance.
Changed the port number in SNU, restarted the services, and can connect
fine now.
--
Did you check the local Windows firewall settings on the MSDE machine?
You have to explicitly enable TCP and/or named pipes (globally or for a
single instance of SQL).
--
Is this a clustered instance? If so, disabling named pipes messes up the
named pipes reg key and this messes up both TCP and named pipes
connectivity.
Can you connect locally or does that fail as well? What about if you
force a specific protocol or port?
Np:Server\Instance
TCP:server\instance
LPC:server\instance
TCP:server\instance,port
Maybe some of these q&a's may give an idea.
Regards,
Marko Simic
"Ed" wrote:

> Hi,
> After I install Service Pack3 on my local PC machine, I cannot connect
to
> the Development Server by using Query Analyzer and SQL Profiler. but the
> strangest thing is i can connect to that server by using Enterprise Manage
r.
> The error message showing on QA is
> [Microsoft][ODBC SQL Server Driver][DBNETLIB]SQL Server does not exist or
> access denied. -- it really doesn't make sense to me to only QA but not
EM.
> Please help and thanks
> Ed|||Thanks for the answer from both.
I spent some much time looking at MS website to find the solution.
Finally, after I downloaded the MDAC 2.8 (newest version), everything is
back to normal now.
Ed
"Simic Marko" wrote:
> I'll quote you some possible solutions from sswug.org mailing list:
> --
> I recall that changing the port at which a named instance exists requires
> restart of the default instance (or perhaps just SQL Agent?). If you can
> easily restart the default instance and agent on the DEV box, I would do
> so.
> --
> Fixed the problem on the DEV server. When the instance came back up, it
> was for some reason, listening on 1433.... same as the default instance.
> Changed the port number in SNU, restarted the services, and can connect
> fine now.
> --
> Did you check the local Windows firewall settings on the MSDE machine?
> You have to explicitly enable TCP and/or named pipes (globally or for a
> single instance of SQL).
> --
> Is this a clustered instance? If so, disabling named pipes messes up the
> named pipes reg key and this messes up both TCP and named pipes
> connectivity.
> Can you connect locally or does that fail as well? What about if you
> force a specific protocol or port?
> Np:Server\Instance
> TCP:server\instance
> LPC:server\instance
> TCP:server\instance,port
> Maybe some of these q&a's may give an idea.
> Regards,
> Marko Simic
> "Ed" wrote:
>

Monday, March 26, 2012

PLEASE HELP - Remote connection to SQL Server 2005 fall over after 100 seconds

Hi,
I am remotely accessing SQL Server 2005 using an import manager,
through a windows authentication login.
I start the loading, it connects perfectly at first but at the 100
second mark I get the error
"[Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]SQL Server d
oes
not exist or access denied" it then reconnects and continues to load
but really slowly. So it looks like a timeout is occuring at 100
seconds
I have tried to change the connection timeout, the execution timeout
and the remote login timeout, nothing stops this happening.
The version of sql I am using is a SQL Server 2005 Evaluation edition.
Can anyone help?
Thanks
ArchanaIs there some reason you're using the ODBC driver to access SQL Server
instead of a native provider?
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
INETA Speaker
www.betav.com/blog/billva
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
Visit www.hitchhikerguides.net to get more information on my latest book:
Hitchhiker's Guide to Visual Studio and SQL Server (7th Edition)
and Hitchhiker's Guide to SQL Server 2005 Compact Edition (EBook)
----
---
<archanapatelwhite@.googlemail.com> wrote in message
news:1174608028.525589.151310@.e65g2000hsc.googlegroups.com...
> Hi,
> I am remotely accessing SQL Server 2005 using an import manager,
> through a windows authentication login.
> I start the loading, it connects perfectly at first but at the 100
> second mark I get the error
> "[Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]SQL Server
does
> not exist or access denied" it then reconnects and continues to load
> but really slowly. So it looks like a timeout is occuring at 100
> seconds
> I have tried to change the connection timeout, the execution timeout
> and the remote login timeout, nothing stops this happening.
> The version of sql I am using is a SQL Server 2005 Evaluation edition.
> Can anyone help?
> Thanks
> Archana
>|||Hi Bill
The loading is going through a third party import manager, they must
be setting the ODBC driver to access SQL Server.
However when the company who wrote the import manager test it in their
environment replicating what I do they have no problems and it loads
fine
Thanks
Archana

Wednesday, March 21, 2012

PLASE HELP - remote connectivity to named instance of 2005

Hi all,
I just installed version 2005, and it is co-existing with
an instance of 2000. I am trying to test the remote connection string from
an ASP .Net page which works fine already in 2000. However it does not work
in 2005.
In 2005, I went to configuration Manager/Protocols/TCP IP, and entered 7544
as the default port, and for port value in IP1, IP2, and IP3. Then, in my
connection string I just included the port number, and changed the
databasename to point to 'AdventureWorks' instead of the DB that I used for
2K. The connection could not be openned. I also configured the user id, and
password the same way as I have in 2K, and re-started the engine.
This is a sample of my connection string:
this.sqlConnection1.ConnectionString =
"Server=xxx.xx.xx.xx\\<myNamedServerInstance>,7544;Database=AdventureWorks;U
ser
ID=myUID;Password=myPWD;Trusted_Connecti
on=True";
I tested the local connection to this server/Database, and it works fine,
however, there is a problem with the remote connection.
Any help will be appreciated.
Thanks in advance,
CarlosNever mind.. I got it Thanks.
"Carlos" <chsanin@.earthlink.net> wrote in message
news:uaKDKFB5FHA.2560@.TK2MSFTNGP12.phx.gbl...
> Hi all,
> I just installed version 2005, and it is co-existing with
> an instance of 2000. I am trying to test the remote connection string from
> an ASP .Net page which works fine already in 2000. However it does not
> work in 2005.
> In 2005, I went to configuration Manager/Protocols/TCP IP, and entered
> 7544 as the default port, and for port value in IP1, IP2, and IP3. Then,
> in my connection string I just included the port number, and changed the
> databasename to point to 'AdventureWorks' instead of the DB that I used
> for 2K. The connection could not be openned. I also configured the user
> id, and password the same way as I have in 2K, and re-started the engine.
> This is a sample of my connection string:
> this.sqlConnection1.ConnectionString =
> "Server=xxx.xx.xx.xx\\<myNamedServerInstance>,7544;Database=AdventureWorks
;User
> ID=myUID;Password=myPWD;Trusted_Connecti
on=True";
> I tested the local connection to this server/Database, and it works fine,
> however, there is a problem with the remote connection.
> Any help will be appreciated.
> Thanks in advance,
> Carlos
>

PLASE HELP - remote connectivity to named instance of 2005

Hi all,
I just installed version 2005, and it is co-existing with
an instance of 2000. I am trying to test the remote connection string from
an ASP .Net page which works fine already in 2000. However it does not work
in 2005.
In 2005, I went to configuration Manager/Protocols/TCP IP, and entered 7544
as the default port, and for port value in IP1, IP2, and IP3. Then, in my
connection string I just included the port number, and changed the
databasename to point to 'AdventureWorks' instead of the DB that I used for
2K. The connection could not be openned. I also configured the user id, and
password the same way as I have in 2K, and re-started the engine.
This is a sample of my connection string:
this.sqlConnection1.ConnectionString =
"Server=xxx.xx.xx.xx\\<myNamedServerInstance>,7544 ;Database=AdventureWorks;User
ID=myUID;Password=myPWD;Trusted_Connection=True";
I tested the local connection to this server/Database, and it works fine,
however, there is a problem with the remote connection.
Any help will be appreciated.
Thanks in advance,
Carlos
Never mind.. I got it Thanks.
"Carlos" <chsanin@.earthlink.net> wrote in message
news:uaKDKFB5FHA.2560@.TK2MSFTNGP12.phx.gbl...
> Hi all,
> I just installed version 2005, and it is co-existing with
> an instance of 2000. I am trying to test the remote connection string from
> an ASP .Net page which works fine already in 2000. However it does not
> work in 2005.
> In 2005, I went to configuration Manager/Protocols/TCP IP, and entered
> 7544 as the default port, and for port value in IP1, IP2, and IP3. Then,
> in my connection string I just included the port number, and changed the
> databasename to point to 'AdventureWorks' instead of the DB that I used
> for 2K. The connection could not be openned. I also configured the user
> id, and password the same way as I have in 2K, and re-started the engine.
> This is a sample of my connection string:
> this.sqlConnection1.ConnectionString =
> "Server=xxx.xx.xx.xx\\<myNamedServerInstance>,7544 ;Database=AdventureWorks;User
> ID=myUID;Password=myPWD;Trusted_Connection=True";
> I tested the local connection to this server/Database, and it works fine,
> however, there is a problem with the remote connection.
> Any help will be appreciated.
> Thanks in advance,
> Carlos
>

Saturday, February 25, 2012

Pivot Tables in Excel

I Created pivot tables and pivot charts in excel getting data from an external source (SQL Server 2000) using an ODBC Connection. The problem is when i want to use the same spreadsheet acceess the server from outside through the internet using an ODBC connection.

The odbc which access the sql server remotely uses as server name the ip address of the server than sql server running to.

The pivot tables when it was created it used the odbc connection accessed from with in the LAN (Server name /SERVERGROUP/SQLSERVER).

I was just wondering if there is an easy way to modify the code that the pivot tables uses to make the connection to the SQL Server with out
recreating all those pivot tables and pivot charts.

When I try to open the file remotely it fails to make a connection of course.

Any help is appreciated!

ThanksIf you are using an Excel Macro to do your queries, you are in luck. All you need to do is open the VB Editor and edit the connection string.

Otherwise, you will most likely have to recreate your queries (but if you do so, create a Macro, so you can edit it moreeasily in the future). All you need to do it turn on the Macro Recorder, build your queries as you did before, even perform any formatting, then stop the recorder. Now, if you ever need to tweek the query or change the datasource, it's simply a matter of editing the Marco code.

-b|||well thanks i knew that I could do that but I have over 20 graphs and 10 reports so it would be nice if there is a way for a quick and dirty solution. Saying all that if there is not a way to access the code that excel creates on the background when you use those pivot table wizards so I could manually modify the connection string then I guess I need to redo it from scrach and use macros this time.

Thanks for your input

Pivot Table Connection with OLAP Cubes

Hello,

I am having issue with Performance of the Pivot Table connecting to OLAP Cubes. I am wondering if any of you have links to how to improve Pivot Table performance? Basically, I have done the backend optimization on the schema, but there should tricks on the Excel such as Connection Properties that I could use that could relate to MDX or Threshold Level that could speed up the Pivot Table performance. Below is some initial thoughts...

Non Empty Threshold=1

Any help is appreciated!

-Lawrence

I would guess you are talking about Analysis Services 2000.

The shema optimization in the Analysis Services is not a single optimization avaliable. For instance designing aggregations should be big help.

Check out performance guide for AS2000 on http://www.microsoft.com/technet/prodtechnol/sql/2000/maintain/ansvcspg.mspx it should plenty of information to go over. See if applies to your case.

Edward Melomed.
--
This posting is provided "AS IS" with no warranties, and confers no rights.

|||

That is a possible answer

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=379271&SiteID=1

Did you try This version of Excel?

I would be glad to know if this fixes most of these Excel perfomance issues mentioned in this forum.

Make sure you use native Excel2007 file format. When starting from an older Excel format, save as Excel 2007, close, re-open and try.

Philippe

|||

I am currently using Excel 2003 for pivot table functionality of AS 2000 & AS 2005 cubes.

-Lawrence

|||

Me too.

Here is my personnal experience with this.

I went through all dimensions optimizations like attributes relationships cascades, Rigid properties, cardinality, key/values pairs and the like.

I also spent time closing in on calculated measures non empty behavior and MDX optimization

then I limited the number of dimensions members to the bare minimum.

After that, I have created dynamic partitioning of my cubes by quarters.

Lastly I used the wizard build a 30 to 40 % aggregations optimization and after one week or two I added usage based optimization.

The lowdown is that from an Excel 2003 point of view, the performance gain is almost nothing.

With Excel 2007, the performance gain is enormous. Excel2007 works much faster even on a non-optimized cube and when I use Excel2007 against an optimized version of the cube, it is simply uncomparably faster, no matter how complex the view is and how large the result set is.

My best 3-5 power users will install Excel2007 B2TR ($1.50 a pop) on a separate folder than 2003 and use 2007 for the cubes.

We will use this UAT to build a business case that will help convince our IT to switch all my cube users to 2007 soon after it becomes public release.

BTY, We are going to build a 64bit server in the next few weeks and see what will be the outcome. This may help the 2003 users who have to wait next year untill they get the update.

There would be another thing to try to boost Excel2003 performance. I remember than in AS2000 excel was performing much better against "denormalized" cubes. This may sound to be the opposite of best practice cube design but if it helps, why not.

Regards,

Philippe

|||

I don't think spending a lot of money to upgrade to Excel 2007 just for Pivot Table performance gain is worth it. There are some settings on Pivot Table connection could increase the performance. Thanks!

|||Hi,
That is very interesting. I would love to know what are these setting, could you please share this information? I tried all what was available from the GUI. Can your setting be part of the initial template I send the users? Can I give them a macro that would update their existing Excel views?

On a cube build at top of a 10M rows fact table and with quite a few cross dimensions having up to 20000 members, the "out of of the box" performance of Excel 2003 compared to Excel 2007 for one specific case is 45 minutes in Excel 2003 and 15 milliseconds in Excel 2007.

For me, any smart setting would be more than welcome even if I get "only" a 50% speed increase however upgrading to 2007 is clearly the long term solution.

Thanks,
Philippe

Pivot Table Connection with OLAP Cubes

Hello,

I am having issue with Performance of the Pivot Table connecting to OLAP Cubes. I am wondering if any of you have links to how to improve Pivot Table performance? Basically, I have done the backend optimization on the schema, but there should tricks on the Excel such as Connection Properties that I could use that could relate to MDX or Threshold Level that could speed up the Pivot Table performance. Below is some initial thoughts...

Non Empty Threshold=1

Any help is appreciated!

-Lawrence

I would guess you are talking about Analysis Services 2000.

The shema optimization in the Analysis Services is not a single optimization avaliable. For instance designing aggregations should be big help.

Check out performance guide for AS2000 on http://www.microsoft.com/technet/prodtechnol/sql/2000/maintain/ansvcspg.mspx it should plenty of information to go over. See if applies to your case.

Edward Melomed.
--
This posting is provided "AS IS" with no warranties, and confers no rights.

|||

That is a possible answer

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=379271&SiteID=1

Did you try This version of Excel?

I would be glad to know if this fixes most of these Excel perfomance issues mentioned in this forum.

Make sure you use native Excel2007 file format. When starting from an older Excel format, save as Excel 2007, close, re-open and try.

Philippe

|||

I am currently using Excel 2003 for pivot table functionality of AS 2000 & AS 2005 cubes.

-Lawrence

|||

Me too.

Here is my personnal experience with this.

I went through all dimensions optimizations like attributes relationships cascades, Rigid properties, cardinality, key/values pairs and the like.

I also spent time closing in on calculated measures non empty behavior and MDX optimization

then I limited the number of dimensions members to the bare minimum.

After that, I have created dynamic partitioning of my cubes by quarters.

Lastly I used the wizard build a 30 to 40 % aggregations optimization and after one week or two I added usage based optimization.

The lowdown is that from an Excel 2003 point of view, the performance gain is almost nothing.

With Excel 2007, the performance gain is enormous. Excel2007 works much faster even on a non-optimized cube and when I use Excel2007 against an optimized version of the cube, it is simply uncomparably faster, no matter how complex the view is and how large the result set is.

My best 3-5 power users will install Excel2007 B2TR ($1.50 a pop) on a separate folder than 2003 and use 2007 for the cubes.

We will use this UAT to build a business case that will help convince our IT to switch all my cube users to 2007 soon after it becomes public release.

BTY, We are going to build a 64bit server in the next few weeks and see what will be the outcome. This may help the 2003 users who have to wait next year untill they get the update.

There would be another thing to try to boost Excel2003 performance. I remember than in AS2000 excel was performing much better against "denormalized" cubes. This may sound to be the opposite of best practice cube design but if it helps, why not.

Regards,

Philippe

|||

I don't think spending a lot of money to upgrade to Excel 2007 just for Pivot Table performance gain is worth it. There are some settings on Pivot Table connection could increase the performance. Thanks!

|||Hi,
That is very interesting. I would love to know what are these setting, could you please share this information? I tried all what was available from the GUI. Can your setting be part of the initial template I send the users? Can I give them a macro that would update their existing Excel views?

On a cube build at top of a 10M rows fact table and with quite a few cross dimensions having up to 20000 members, the "out of of the box" performance of Excel 2003 compared to Excel 2007 for one specific case is 45 minutes in Excel 2003 and 15 milliseconds in Excel 2007.

For me, any smart setting would be more than welcome even if I get "only" a 50% speed increase however upgrading to 2007 is clearly the long term solution.

Thanks,
Philippe

Pivot Table Connection with OLAP Cubes

Hello,

I am having issue with Performance of the Pivot Table connecting to OLAP Cubes. I am wondering if any of you have links to how to improve Pivot Table performance? Basically, I have done the backend optimization on the schema, but there should tricks on the Excel such as Connection Properties that I could use that could relate to MDX or Threshold Level that could speed up the Pivot Table performance. Below is some initial thoughts...

Non Empty Threshold=1

Any help is appreciated!

-Lawrence

I would guess you are talking about Analysis Services 2000.

The shema optimization in the Analysis Services is not a single optimization avaliable. For instance designing aggregations should be big help.

Check out performance guide for AS2000 on http://www.microsoft.com/technet/prodtechnol/sql/2000/maintain/ansvcspg.mspx it should plenty of information to go over. See if applies to your case.

Edward Melomed.
--
This posting is provided "AS IS" with no warranties, and confers no rights.

|||

That is a possible answer

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=379271&SiteID=1

Did you try This version of Excel?

I would be glad to know if this fixes most of these Excel perfomance issues mentioned in this forum.

Make sure you use native Excel2007 file format. When starting from an older Excel format, save as Excel 2007, close, re-open and try.

Philippe

|||

I am currently using Excel 2003 for pivot table functionality of AS 2000 & AS 2005 cubes.

-Lawrence

|||

Me too.

Here is my personnal experience with this.

I went through all dimensions optimizations like attributes relationships cascades, Rigid properties, cardinality, key/values pairs and the like.

I also spent time closing in on calculated measures non empty behavior and MDX optimization

then I limited the number of dimensions members to the bare minimum.

After that, I have created dynamic partitioning of my cubes by quarters.

Lastly I used the wizard build a 30 to 40 % aggregations optimization and after one week or two I added usage based optimization.

The lowdown is that from an Excel 2003 point of view, the performance gain is almost nothing.

With Excel 2007, the performance gain is enormous. Excel2007 works much faster even on a non-optimized cube and when I use Excel2007 against an optimized version of the cube, it is simply uncomparably faster, no matter how complex the view is and how large the result set is.

My best 3-5 power users will install Excel2007 B2TR ($1.50 a pop) on a separate folder than 2003 and use 2007 for the cubes.

We will use this UAT to build a business case that will help convince our IT to switch all my cube users to 2007 soon after it becomes public release.

BTY, We are going to build a 64bit server in the next few weeks and see what will be the outcome. This may help the 2003 users who have to wait next year untill they get the update.

There would be another thing to try to boost Excel2003 performance. I remember than in AS2000 excel was performing much better against "denormalized" cubes. This may sound to be the opposite of best practice cube design but if it helps, why not.

Regards,

Philippe

|||

I don't think spending a lot of money to upgrade to Excel 2007 just for Pivot Table performance gain is worth it. There are some settings on Pivot Table connection could increase the performance. Thanks!

|||Hi,
That is very interesting. I would love to know what are these setting, could you please share this information? I tried all what was available from the GUI. Can your setting be part of the initial template I send the users? Can I give them a macro that would update their existing Excel views?

On a cube build at top of a 10M rows fact table and with quite a few cross dimensions having up to 20000 members, the "out of of the box" performance of Excel 2003 compared to Excel 2007 for one specific case is 45 minutes in Excel 2003 and 15 milliseconds in Excel 2007.

For me, any smart setting would be more than welcome even if I get "only" a 50% speed increase however upgrading to 2007 is clearly the long term solution.

Thanks,
Philippe