Showing posts with label web. Show all posts
Showing posts with label web. Show all posts

Monday, March 26, 2012

membership deployment

hi

I am trying to add membership to my site. i use visual web developer and the set controls. i.e. login etc. I also used the asp web config tool which is where my test users are. Everything works locally. but when i upload it and try to log on I get this error message:

Server Error in '/' Application.

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: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

Description:An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details:System.Data.SqlClient.SqlException: 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: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


Stack Trace:

[SqlException (0x80131904): 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: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)] System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +735043 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +188 System.Data.SqlClient.TdsParser.Connect(Boolean& useFailoverPartner, Boolean& failoverDemandDone, String host, String failoverPartner, String protocol, SqlInternalConnectionTds connHandler, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, SqlConnection owningObject, Boolean aliasLookup) +820 System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance) +628 System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance) +170 System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection) +130 System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options) +28 System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject) +424 System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject) +66 System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +496 System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +82 System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +105 System.Data.SqlClient.SqlConnection.Open() +111 System.Web.DataAccess.SqlConnectionHolder.Open(HttpContext context, Boolean revertImpersonate) +84 System.Web.DataAccess.SqlConnectionHelper.GetConnection(String connectionString, Boolean revertImpersonation) +197 System.Web.Security.SqlMembershipProvider.GetPasswordWithFormat(String username, Boolean updateLastLoginActivityDate, Int32& status, String& password, Int32& passwordFormat, String& passwordSalt, Int32& failedPasswordAttemptCount, Int32& failedPasswordAnswerAttemptCount, Boolean& isApproved, DateTime& lastLoginDate, DateTime& lastActivityDate) +1121 System.Web.Security.SqlMembershipProvider.CheckPassword(String username, String password, Boolean updateLastLoginActivityDate, Boolean failIfNotApproved, String& salt, Int32& passwordFormat) +105 System.Web.Security.SqlMembershipProvider.CheckPassword(String username, String password, Boolean updateLastLoginActivityDate, Boolean failIfNotApproved) +42 System.Web.Security.SqlMembershipProvider.ValidateUser(String username, String password) +83 System.Web.UI.WebControls.Login.OnAuthenticate(AuthenticateEventArgs e) +160 System.Web.UI.WebControls.Login.AttemptLogin() +105 System.Web.UI.WebControls.Login.OnBubbleEvent(Object source, EventArgs e) +99 System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +35 System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e) +115 System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +163 System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102


Can anyone out ther please help me with this.

thanks

Nick

Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210

Not sure if this will help, but you might want to try the tool I wrote that works well for deployment. It's also an MSDN article and can be found at:

http://peterkellner.net/2006/01/09/microsoft-aspnet-20-memberrole-management-with-iis/

|||

Thanks for that. Unfortunately i am very new to coding and your article is some feet over my head. I use Visual web developer, asp.net 2.0 and sql server 2005 Express. I understand that I do not need IIS. Am i right? Also is the admin tool that comes with VWD files and creates the database only available locally for testing. can it not be used remotely? I have a database with my host and i have uploaded the membership tables to that database. is it possible to connect to my hosts database and still use asp config tool in VWD and the controls?

sorry for all the questions but thanks for your time

nick

|||

Hi Nick,

You mentioned that you have a database with your host, is it SQL2005 Express or other editions? If for SQL2005 Express, just upload your database(aspnetdb) to the app_data folder on your host and modify your connection string according the information which provided by your hoster.(your hoster will give you such information like "data source" and etc.). If for other editons, there will be some other steps required. I suggest you to export your whole aspnetdb into SQLServer 2000(for example) instead of just exporting some tables which memebership uses, because except tables, views, stored procedure in aspnetdb may be required in the application. And then, upload the database to the one on your host and make the connection string look like "DataSource=ServerName\InstanceName;Initial Catelog=DatabaseName;..." It points to a database on server instead of a .mdf file.

Hope that helps. Thanks.

membership control, MSDE, SQLExpress

can I implement the membership control (provided by ASP.NET) on MSDE? my web hoster is not supporting SQL2005 that is why i am asking this. my web project is using ASP.NET 2.0, C#, SQLExpress2005. i am not sure if i migrate to MSDE it can implement the membership control. im sorry if i sound dumb. im really a newbie.

thanks.
Already answered here:

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

HTH, Jens Suessmeyer.

http://www.sqlserver2005.de

Membership Configuration

I am attempting to follow the instructions:

Walkthrough: Creating a Web Site with Membership and User Login (Visual Studio)

When I attempt to create a membership user with the ASP.NET Configuration wizard nothing happens - it attempts to launch my browser and if I am not connected to the intenet it insists on connecting. If I am connected then nothing happens - it is as if I clicked on air. A wizard is supposed to launch so that I can set up users.

Any help would be appreciated - I am really trying to get to creating an application that authenticates users for admitance to a restricted area in a website.

Thanks!

I would try posting you question in the http://forums.asp.net membership and security groups as the question you are asking relates to Web development and the membership providers.

But To start with I would check to make sure you have the correct provider set up and configured, you could also check to see if the membership tables and such have been created, this could be inside your database or inside another database called aspnetdb from memory. Did you try following the wizard inside the asp configuration pages to set up the security.. if not try that..

sql

Friday, March 23, 2012

MELL version 2.0

I have Microsoft eLearning Library Desktop Edition v2.0 installed on a web server. I can view the reports viewer without any error messages, but the database seems to be empty. It doesn't update the database when a user starts training. Any suggestions
?
Hi,
Would you please show me by what you are looking into the data in database?
You could open a Profiler to trace what MELL is doing with SQL Server. I
think the trace will help us much on determining whether the data is
available in database
Anyway, I am not an expert on MELL so that I will try to find some expert
on this to give you reply.
Thank you for your patience and cooperation. If you have any questions or
concerns, don't hesitate to let me know. We are here to be of assistance!
Sincerely yours,
Mingqing Cheng
Microsoft Developer Community Support
Introduction to Yukon! - http://www.microsoft.com/sql/yukon
This posting is provided "as is" with no warranties and confers no rights.
Please reply to newsgroups only, many thanks!
|||It doesn't see the database at all. When I open the reports viewer which connects to the database, it says that the database doesn't exist, but it does.
""Mingqing Cheng [MSFT]"" wrote:

> Hi,
> Would you please show me by what you are looking into the data in database?
> You could open a Profiler to trace what MELL is doing with SQL Server. I
> think the trace will help us much on determining whether the data is
> available in database
> Anyway, I am not an expert on MELL so that I will try to find some expert
> on this to give you reply.
> Thank you for your patience and cooperation. If you have any questions or
> concerns, don't hesitate to let me know. We are here to be of assistance!
>
> Sincerely yours,
> Mingqing Cheng
> Microsoft Developer Community Support
> Introduction to Yukon! - http://www.microsoft.com/sql/yukon
> This posting is provided "as is" with no warranties and confers no rights.
> Please reply to newsgroups only, many thanks!
>
|||Hi,
Here is the reply from specialist on MELL
===================================
It looks like this issue is related to the ASP application not being set.
If they are unable to get the Collections to show up under the
collections.asp page, and they are only getting certain reports in the
Reports Wizard. Here is how to set this:
1. Open up IIS Services Manager and navigate to the MELL directory.
2. Expand MELL, then ENG, then Viewer. You will see an ASP directory
3. Right click on the ASP directory and choose Properties
4. Under the first tab (Directory), and under the Applications settings
you will see Application Name which should be grayed out. Click Create to
set the ASP application. Select Apply and OK to exit the Properties page.
After doing this they should be able to navigate to
http://<servername>//mell/eng and see all Collections installed on the
machine. It should also fix the Reports page.
===================================
Would you please have a try on the steps above and then tell me whether it
works?
Thank you for your patience and cooperation. If you have any questions or
concerns, don't hesitate to let me know. We are here to be of assistance!
Sincerely yours,
Mingqing Cheng
Microsoft Developer Community Support
Introduction to Yukon! - http://www.microsoft.com/sql/yukon
This posting is provided "as is" with no warranties and confers no rights.
Please reply to newsgroups only, many thanks!
|||I tried it and now it is saying that it can't connect to the MELL database.
Any suggestions?
""Mingqing Cheng [MSFT]"" wrote:

> Hi,
> Here is the reply from specialist on MELL
> ===================================
> It looks like this issue is related to the ASP application not being set.
> If they are unable to get the Collections to show up under the
> collections.asp page, and they are only getting certain reports in the
> Reports Wizard. Here is how to set this:
> 1. Open up IIS Services Manager and navigate to the MELL directory.
> 2. Expand MELL, then ENG, then Viewer. You will see an ASP directory
> 3. Right click on the ASP directory and choose Properties
> 4. Under the first tab (Directory), and under the Applications settings
> you will see Application Name which should be grayed out. Click Create to
> set the ASP application. Select Apply and OK to exit the Properties page.
> After doing this they should be able to navigate to
> http://<servername>//mell/eng and see all Collections installed on the
> machine. It should also fix the Reports page.
> ===================================
> Would you please have a try on the steps above and then tell me whether it
> works?
> Thank you for your patience and cooperation. If you have any questions or
> concerns, don't hesitate to let me know. We are here to be of assistance!
>
> Sincerely yours,
> Mingqing Cheng
> Microsoft Developer Community Support
> Introduction to Yukon! - http://www.microsoft.com/sql/yukon
> This posting is provided "as is" with no warranties and confers no rights.
> Please reply to newsgroups only, many thanks!
>
>
>
|||Hi,
The most likely cause of this is that there is something wrong with the
File DSN. The username and password that were entered during setup must be
a SQL username and password, it can't be a Windows name (by default is asks
for SA)
If that is not the problem, then you need to manually edit the File DSN.
Windows 2000 and 2003 Server strip out the password in the File DSN which
breaks the connection. To correctly fix this problem, open the MELL File
DSN (mell2.dsn or mell25.dsn) manually with a text editor.
The default location of the File DSN is c:\\program files\common
files\odbc\data sources. You will notice the password is not included.
Edit the file so that it includes a password entry. The file should look
like this:
[ODBC]
DRIVER=SQL Server
UID=username
PWD=password
Network=DBMSLPCN
DATABASE=MELL
WSID=MELLSERVER
APP=Microsoft Open Database Connectivity
SERVER=MELLSERVER
Thank you for your patience and cooperation. If you have any questions or
concerns, don't hesitate to let me know. We are here to be of assistance!
Sincerely yours,
Mingqing Cheng
Microsoft Developer Community Support
Introduction to Yukon! - http://www.microsoft.com/sql/yukon
This posting is provided "as is" with no warranties and confers no rights.
Please reply to newsgroups only, many thanks!
|||Ok, I can connect to the database now, but when I run any one of the reports,
I get this error:
ADODB.Recordset error '800a0bcd'
Either BOF or EOF is True, or the current record has been deleted. Requested
operation requires a current record.
Any Ideas?
""Mingqing Cheng [MSFT]"" wrote:

> Hi,
> The most likely cause of this is that there is something wrong with the
> File DSN. The username and password that were entered during setup must be
> a SQL username and password, it can't be a Windows name (by default is asks
> for SA)
> If that is not the problem, then you need to manually edit the File DSN.
> Windows 2000 and 2003 Server strip out the password in the File DSN which
> breaks the connection. To correctly fix this problem, open the MELL File
> DSN (mell2.dsn or mell25.dsn) manually with a text editor.
> The default location of the File DSN is c:\\program files\common
> files\odbc\data sources. You will notice the password is not included.
> Edit the file so that it includes a password entry. The file should look
> like this:
>
> [ODBC]
> DRIVER=SQL Server
> UID=username
> PWD=password
> Network=DBMSLPCN
> DATABASE=MELL
> WSID=MELLSERVER
> APP=Microsoft Open Database Connectivity
> SERVER=MELLSERVER
> Thank you for your patience and cooperation. If you have any questions or
> concerns, don't hesitate to let me know. We are here to be of assistance!
>
> Sincerely yours,
> Mingqing Cheng
> Microsoft Developer Community Support
> Introduction to Yukon! - http://www.microsoft.com/sql/yukon
> This posting is provided "as is" with no warranties and confers no rights.
> Please reply to newsgroups only, many thanks!
>
>
>
>
|||Hi,
It seems the following documents would be a lot of help
FIX: Data Queries Sporadically Return Empty Recordsets
http://support.microsoft.com/?id=230101
Thank you for your patience and cooperation. If you have any questions or
concerns, don't hesitate to let me know. We are here to be of assistance!
Sincerely yours,
Mingqing Cheng
Microsoft Developer Community Support
Introduction to Yukon! - http://www.microsoft.com/sql/yukon
This posting is provided "as is" with no warranties and confers no rights.
Please reply to newsgroups only, many thanks!
|||I tried everything in this article, but without any success. Any ideas?
Thanks.
""Mingqing Cheng [MSFT]"" wrote:

> Hi,
> It seems the following documents would be a lot of help
> FIX: Data Queries Sporadically Return Empty Recordsets
> http://support.microsoft.com/?id=230101
> Thank you for your patience and cooperation. If you have any questions or
> concerns, don't hesitate to let me know. We are here to be of assistance!
>
> Sincerely yours,
> Mingqing Cheng
> Microsoft Developer Community Support
> Introduction to Yukon! - http://www.microsoft.com/sql/yukon
> This posting is provided "as is" with no warranties and confers no rights.
> Please reply to newsgroups only, many thanks!
>
|||Hi,
Have you contacted PSS for that hotfix? It will be a free case asking
hotfix.
If the hotfix doesn't resolve your issue, would you please take the
following steps gathering more information
1. Using Profiler tracing the SQL Server and be sure to include the events:
Errors and Warnings: Exception; Attention
TSQL: SQL:StmtStarting and Completed
Have them include all the data columns and make a note of the date/time
when they run the report and the hostname (machine name) from where they
are running the MELL Report so that it can traced back in the Profiler
trace for further investigation.
2. try to connect to the same instance of SQL Server and the database that
they are trying to connect via the report directly using isql or osql using
the same credentials as in the DSN from the *same* machine as the machine
from where they are running the report to see if
there is any problem on the SQL end. If they are able to connect just fine
using SQL tools, this indicates the problem might be on the
application-end, in which case you would have to work with a MELL expert to
troubleshoot further.
Thank you for your patience and cooperation. If you have any questions or
concerns, don't hesitate to let me know. We are here to be of assistance!
Sincerely yours,
Mingqing Cheng
Microsoft Developer Community Support
Introduction to Yukon! - http://www.microsoft.com/sql/yukon
This posting is provided "as is" with no warranties and confers no rights.
Please reply to newsgroups only, many thanks!

MELL version 2.0

I have Microsoft eLearning Library Desktop Edition v2.0 installed on a web s
erver. I can view the reports viewer without any error messages, but the da
tabase seems to be empty. It doesn't update the database when a user starts
training. Any suggestions
?Hi,
Would you please show me by what you are looking into the data in database?
You could open a Profiler to trace what MELL is doing with SQL Server. I
think the trace will help us much on determining whether the data is
available in database
Anyway, I am not an expert on MELL so that I will try to find some expert
on this to give you reply.
Thank you for your patience and cooperation. If you have any questions or
concerns, don't hesitate to let me know. We are here to be of assistance!
Sincerely yours,
Mingqing Cheng
Microsoft Developer Community Support
---
Introduction to Yukon! - http://www.microsoft.com/sql/yukon
This posting is provided "as is" with no warranties and confers no rights.
Please reply to newsgroups only, many thanks!|||It doesn't see the database at all. When I open the reports viewer which co
nnects to the database, it says that the database doesn't exist, but it does
.
""Mingqing Cheng [MSFT]"" wrote:

> Hi,
> Would you please show me by what you are looking into the data in database
?
> You could open a Profiler to trace what MELL is doing with SQL Server. I
> think the trace will help us much on determining whether the data is
> available in database
> Anyway, I am not an expert on MELL so that I will try to find some expert
> on this to give you reply.
> Thank you for your patience and cooperation. If you have any questions or
> concerns, don't hesitate to let me know. We are here to be of assistance!
>
> Sincerely yours,
> Mingqing Cheng
> Microsoft Developer Community Support
> ---
> Introduction to Yukon! - http://www.microsoft.com/sql/yukon
> This posting is provided "as is" with no warranties and confers no rights.
> Please reply to newsgroups only, many thanks!
>|||Hi,
Here is the reply from specialist on MELL
===================================
It looks like this issue is related to the ASP application not being set.
If they are unable to get the Collections to show up under the
collections.asp page, and they are only getting certain reports in the
Reports Wizard. Here is how to set this:
1. Open up IIS Services Manager and navigate to the MELL directory.
2. Expand MELL, then ENG, then Viewer. You will see an ASP directory
3. Right click on the ASP directory and choose Properties
4. Under the first tab (Directory), and under the Applications settings
you will see Application Name which should be grayed out. Click Create to
set the ASP application. Select Apply and OK to exit the Properties page.
After doing this they should be able to navigate to
http://<servername>//mell/eng and see all Collections installed on the
machine. It should also fix the Reports page.
===================================
Would you please have a try on the steps above and then tell me whether it
works?
Thank you for your patience and cooperation. If you have any questions or
concerns, don't hesitate to let me know. We are here to be of assistance!
Sincerely yours,
Mingqing Cheng
Microsoft Developer Community Support
---
Introduction to Yukon! - http://www.microsoft.com/sql/yukon
This posting is provided "as is" with no warranties and confers no rights.
Please reply to newsgroups only, many thanks!|||I tried it and now it is saying that it can't connect to the MELL database.
Any suggestions?
""Mingqing Cheng [MSFT]"" wrote:

> Hi,
> Here is the reply from specialist on MELL
> ===================================
> It looks like this issue is related to the ASP application not being set.
> If they are unable to get the Collections to show up under the
> collections.asp page, and they are only getting certain reports in the
> Reports Wizard. Here is how to set this:
> 1. Open up IIS Services Manager and navigate to the MELL directory.
> 2. Expand MELL, then ENG, then Viewer. You will see an ASP directory
> 3. Right click on the ASP directory and choose Properties
> 4. Under the first tab (Directory), and under the Applications settings
> you will see Application Name which should be grayed out. Click Create to
> set the ASP application. Select Apply and OK to exit the Properties page.
> After doing this they should be able to navigate to
> http://<servername>//mell/eng and see all Collections installed on the
> machine. It should also fix the Reports page.
> ===================================
> Would you please have a try on the steps above and then tell me whether it
> works?
> Thank you for your patience and cooperation. If you have any questions or
> concerns, don't hesitate to let me know. We are here to be of assistance!
>
> Sincerely yours,
> Mingqing Cheng
> Microsoft Developer Community Support
> ---
> Introduction to Yukon! - http://www.microsoft.com/sql/yukon
> This posting is provided "as is" with no warranties and confers no rights.
> Please reply to newsgroups only, many thanks!
>
>
>|||Hi,
The most likely cause of this is that there is something wrong with the
File DSN. The username and password that were entered during setup must be
a SQL username and password, it can't be a Windows name (by default is asks
for SA)
If that is not the problem, then you need to manually edit the File DSN.
Windows 2000 and 2003 Server strip out the password in the File DSN which
breaks the connection. To correctly fix this problem, open the MELL File
DSN (mell2.dsn or mell25.dsn) manually with a text editor.
The default location of the File DSN is c:\\program files\common
files\odbc\data sources. You will notice the password is not included.
Edit the file so that it includes a password entry. The file should look
like this:
[ODBC]
DRIVER=SQL Server
UID=username
PWD=password
Network=DBMSLPCN
DATABASE=MELL
WSID=MELLSERVER
APP=Microsoft Open Database Connectivity
SERVER=MELLSERVER
Thank you for your patience and cooperation. If you have any questions or
concerns, don't hesitate to let me know. We are here to be of assistance!
Sincerely yours,
Mingqing Cheng
Microsoft Developer Community Support
---
Introduction to Yukon! - http://www.microsoft.com/sql/yukon
This posting is provided "as is" with no warranties and confers no rights.
Please reply to newsgroups only, many thanks!|||Ok, I can connect to the database now, but when I run any one of the reports
,
I get this error:
ADODB.Recordset error '800a0bcd'
Either BOF or EOF is True, or the current record has been deleted. Requested
operation requires a current record.
Any Ideas?
""Mingqing Cheng [MSFT]"" wrote:

> Hi,
> The most likely cause of this is that there is something wrong with the
> File DSN. The username and password that were entered during setup must b
e
> a SQL username and password, it can't be a Windows name (by default is ask
s
> for SA)
> If that is not the problem, then you need to manually edit the File DSN.
> Windows 2000 and 2003 Server strip out the password in the File DSN which
> breaks the connection. To correctly fix this problem, open the MELL File
> DSN (mell2.dsn or mell25.dsn) manually with a text editor.
> The default location of the File DSN is c:\\program files\common
> files\odbc\data sources. You will notice the password is not included.
> Edit the file so that it includes a password entry. The file should look
> like this:
>
> [ODBC]
> DRIVER=SQL Server
> UID=username
> PWD=password
> Network=DBMSLPCN
> DATABASE=MELL
> WSID=MELLSERVER
> APP=Microsoft Open Database Connectivity
> SERVER=MELLSERVER
> Thank you for your patience and cooperation. If you have any questions or
> concerns, don't hesitate to let me know. We are here to be of assistance!
>
> Sincerely yours,
> Mingqing Cheng
> Microsoft Developer Community Support
> ---
> Introduction to Yukon! - http://www.microsoft.com/sql/yukon
> This posting is provided "as is" with no warranties and confers no rights.
> Please reply to newsgroups only, many thanks!
>
>
>
>|||Hi,
It seems the following documents would be a lot of help
FIX: Data Queries Sporadically Return Empty Recordsets
http://support.microsoft.com/?id=230101
Thank you for your patience and cooperation. If you have any questions or
concerns, don't hesitate to let me know. We are here to be of assistance!
Sincerely yours,
Mingqing Cheng
Microsoft Developer Community Support
---
Introduction to Yukon! - http://www.microsoft.com/sql/yukon
This posting is provided "as is" with no warranties and confers no rights.
Please reply to newsgroups only, many thanks!|||I tried everything in this article, but without any success. Any ideas?
Thanks.
""Mingqing Cheng [MSFT]"" wrote:

> Hi,
> It seems the following documents would be a lot of help
> FIX: Data Queries Sporadically Return Empty Recordsets
> http://support.microsoft.com/?id=230101
> Thank you for your patience and cooperation. If you have any questions or
> concerns, don't hesitate to let me know. We are here to be of assistance!
>
> Sincerely yours,
> Mingqing Cheng
> Microsoft Developer Community Support
> ---
> Introduction to Yukon! - http://www.microsoft.com/sql/yukon
> This posting is provided "as is" with no warranties and confers no rights.
> Please reply to newsgroups only, many thanks!
>|||Hi,
Have you contacted PSS for that hotfix? It will be a free case asking
hotfix.
If the hotfix doesn't resolve your issue, would you please take the
following steps gathering more information
1. Using Profiler tracing the SQL Server and be sure to include the events:
Errors and Warnings: Exception; Attention
TSQL: SQL:StmtStarting and Completed
Have them include all the data columns and make a note of the date/time
when they run the report and the hostname (machine name) from where they
are running the MELL Report so that it can traced back in the Profiler
trace for further investigation.
2. try to connect to the same instance of SQL Server and the database that
they are trying to connect via the report directly using isql or osql using
the same credentials as in the DSN from the *same* machine as the machine
from where they are running the report to see if
there is any problem on the SQL end. If they are able to connect just fine
using SQL tools, this indicates the problem might be on the
application-end, in which case you would have to work with a MELL expert to
troubleshoot further.
Thank you for your patience and cooperation. If you have any questions or
concerns, don't hesitate to let me know. We are here to be of assistance!
Sincerely yours,
Mingqing Cheng
Microsoft Developer Community Support
---
Introduction to Yukon! - http://www.microsoft.com/sql/yukon
This posting is provided "as is" with no warranties and confers no rights.
Please reply to newsgroups only, many thanks!sql

Wednesday, March 21, 2012

Measuring Login Times

I'm looking for a way to measure how long it takes to log into a SQL 2005
server from a web server running IIS 6. Does anyone have any ideas?
I've tried using the Profiler, but I haven't been able to think of a way to
capture this info
TIA
--
MGMGeles wrote:
> I'm looking for a way to measure how long it takes to log into a SQL 2005
> server from a web server running IIS 6. Does anyone have any ideas?
> I've tried using the Profiler, but I haven't been able to think of a way t
o
> capture this info
> TIA
> --
> MG
AFAIK, SQL 2005 tracks only when a login is successful or unsuccessful,
not the time it takes to make the connection. You may need to use a
network sniffer to capture traffic between the servers, if that's what
you're trying to measure.
Stavros

Measuring Login Times

I'm looking for a way to measure how long it takes to log into a SQL 2005
server from a web server running IIS 6. Does anyone have any ideas?
I've tried using the Profiler, but I haven't been able to think of a way to
capture this info
TIA
--
MGMGeles wrote:
> I'm looking for a way to measure how long it takes to log into a SQL 2005
> server from a web server running IIS 6. Does anyone have any ideas?
> I've tried using the Profiler, but I haven't been able to think of a way to
> capture this info
> TIA
> --
> MG
AFAIK, SQL 2005 tracks only when a login is successful or unsuccessful,
not the time it takes to make the connection. You may need to use a
network sniffer to capture traffic between the servers, if that's what
you're trying to measure.
Stavros

Measureware for SQL server 2000 - any experiences?

Hi everyone,
Hope you can help me here please. We are going to stress test a VB.NET
coded application (a web service to be exact) that pulls from a SQL
server 2000 database.
I am looking for some nice free measureware that we can install easily
on the Server that will show some nice graphs on things like:
1. CPU usage
2. Memory usage
3. Read/Writes etc
4. etc/etc...
Does anyone out there have any nice
recommendations/ideas/suggestions/user experiences that thay would like
to share?
Any comments - greatly welcomed.
Cheers,
Al.
> I am looking for some nice free measureware that we can install easily
> on the Server that will show some nice graphs on things like:
> 1. CPU usage
> 2. Memory usage
> 3. Read/Writes etc
> 4. etc/etc...
The Windows perfmon utility provides these metrics and much more and is
included free with the OS. Is there something lacking?
Hope this helps.
Dan Guzman
SQL Server MVP
<almurph@.altavista.com> wrote in message
news:1140699676.730010.306530@.u72g2000cwu.googlegr oups.com...
> Hi everyone,
> Hope you can help me here please. We are going to stress test a VB.NET
> coded application (a web service to be exact) that pulls from a SQL
> server 2000 database.
> I am looking for some nice free measureware that we can install easily
> on the Server that will show some nice graphs on things like:
> 1. CPU usage
> 2. Memory usage
> 3. Read/Writes etc
> 4. etc/etc...
>
> Does anyone out there have any nice
> recommendations/ideas/suggestions/user experiences that thay would like
> to share?
> Any comments - greatly welcomed.
> Cheers,
> Al.
>

Measureware for SQL server 2000 - any experiences?

Hi everyone,
Hope you can help me here please. We are going to stress test a VB.NET
coded application (a web service to be exact) that pulls from a SQL
server 2000 database.
I am looking for some nice free measureware that we can install easily
on the Server that will show some nice graphs on things like:
1. CPU usage
2. Memory usage
3. Read/Writes etc
4. etc/etc...
Does anyone out there have any nice
recommendations/ideas/suggestions/user experiences that thay would like
to share?
Any comments - greatly welcomed.
Cheers,
Al.> I am looking for some nice free measureware that we can install easily
> on the Server that will show some nice graphs on things like:
> 1. CPU usage
> 2. Memory usage
> 3. Read/Writes etc
> 4. etc/etc...
The Windows perfmon utility provides these metrics and much more and is
included free with the OS. Is there something lacking?
Hope this helps.
Dan Guzman
SQL Server MVP
<almurph@.altavista.com> wrote in message
news:1140699676.730010.306530@.u72g2000cwu.googlegroups.com...
> Hi everyone,
> Hope you can help me here please. We are going to stress test a VB.NET
> coded application (a web service to be exact) that pulls from a SQL
> server 2000 database.
> I am looking for some nice free measureware that we can install easily
> on the Server that will show some nice graphs on things like:
> 1. CPU usage
> 2. Memory usage
> 3. Read/Writes etc
> 4. etc/etc...
>
> Does anyone out there have any nice
> recommendations/ideas/suggestions/user experiences that thay would like
> to share?
> Any comments - greatly welcomed.
> Cheers,
> Al.
>

Measureware for SQL server 2000 - any experiences?

Hi everyone,
Hope you can help me here please. We are going to stress test a VB.NET
coded application (a web service to be exact) that pulls from a SQL
server 2000 database.
I am looking for some nice free measureware that we can install easily
on the Server that will show some nice graphs on things like:
1. CPU usage
2. Memory usage
3. Read/Writes etc
4. etc/etc...
Does anyone out there have any nice
recommendations/ideas/suggestions/user experiences that thay would like
to share?
Any comments - greatly welcomed.
Cheers,
Al.> I am looking for some nice free measureware that we can install easily
> on the Server that will show some nice graphs on things like:
> 1. CPU usage
> 2. Memory usage
> 3. Read/Writes etc
> 4. etc/etc...
The Windows perfmon utility provides these metrics and much more and is
included free with the OS. Is there something lacking?
--
Hope this helps.
Dan Guzman
SQL Server MVP
<almurph@.altavista.com> wrote in message
news:1140699676.730010.306530@.u72g2000cwu.googlegroups.com...
> Hi everyone,
> Hope you can help me here please. We are going to stress test a VB.NET
> coded application (a web service to be exact) that pulls from a SQL
> server 2000 database.
> I am looking for some nice free measureware that we can install easily
> on the Server that will show some nice graphs on things like:
> 1. CPU usage
> 2. Memory usage
> 3. Read/Writes etc
> 4. etc/etc...
>
> Does anyone out there have any nice
> recommendations/ideas/suggestions/user experiences that thay would like
> to share?
> Any comments - greatly welcomed.
> Cheers,
> Al.
>

Monday, March 19, 2012

Means to access SQL w/o EM

Hey folks,

Here's my situation. My web host has enabled SQL 2000 for my account but has left it to me to connect to it. I don't have the money to spend to buy the SQL Server 2000 software myself so I can get Enterprise MAnager. Is there some way, perhaps open source, that would allow me to interface even through a command line with SQL? I am a bred and bled MySQL man but I am trying to get a hang of SQL so I will be more adequetly prepared for a potential job I may have in the near future.

SketchI know that you can download the trial version of SQL Server 2000
Trial Version (http://www.microsoft.com/sql/evaluation/trial/2000/default.asp)
You only need the client tools, so just install them. The trial version is limited to a 120 days, but I wonder if that is on the Server/Database? You could try and install the client tools only.

I've downloaded and installed this product, because it works with all ADO supported RDMS.
Query Tool (using ADO) (http://gpoulose.home.att.net/)|||Yes, 120 days trial version of SQL Server might be your answer for now, however keep in mind, that you need server type of O/S (2000 Server or NT Server) to install instance of SQL Server itself.
You can download it or buy it on CD with many SQL Server books and then just download SQL S. Service Pack 2 from http://www.microsoft.com/downloads/search.asp?

Workstation such as Win 2000 Pro allows for client tools only and yes, you get Enterprise Manager with it.
With this option you need permission from the actuall SQL Server to connect to it.