Timeout Expires When Deploying Assemblies In SQL Server 2005 June CTP

Aug 10, 2005

I am encountering a timeout expired error when deploying a .NET assembly in SQL Server 2005 using Visual Studio.NET.  I already enabled SQL Server for CLR.  Whenever I run the CREATE ASSEMBLY command in SQL Management Studio, my query just ends up executing without stopping.

View 10 Replies


ADVERTISEMENT

Timeout Expires

Feb 6, 2002

Im using Windows 98 OS with MSDE2000 but I always got this "Timeout Expires" error everytime I connect to our SQL Server 2000 running on our Advance Server. Whats wrong with this one?

View 1 Replies View Related

Deploying Assemblies Using Visual Studio Is Slow...

Feb 13, 2007

Hello,

I am using CLR integration to provide all the stored procedures for my project, but the issue I am finding is that deployment of my assembly and it's stored procedures (and two UDTs) is now starting to take so long that I am getting a timeout from SQL Server during deployment (with the default settings of 600 seconds remote connection timeout).

Is there a way to speed-up the deployment process?

I know I could employ a differing strategy of splitting the procedures into multiple assemblies, but I am more concerned that the legth of time used to deploy might indicate some other issues with my server.

By the way, my current assemly contains: 247 Stored Procedures, 7 User Defined Functions, and 2 User Defined Types.

Thanks,

View 3 Replies View Related

SQL Server 2005 June CTP Download Link

Jun 8, 2005

The first public beta  of SQL Server 2005 is available for download.  Try the link below and happy coding.http://www.microsoft.com/downloads/details.aspx?FamilyId=DC02CBB3-D688-4663-9103-37C83E044D59&displaylang=en

View 5 Replies View Related

Incompatible Frameworks Between Sql Server June CTP And VS 2005

Sep 2, 2005

Hi,

View 1 Replies View Related

SQL Server 2005 June CTP Installation Issues

Nov 13, 2005

I recd. a free DVD of SQL Server 2005 June CTP Readiness Kit.

View 8 Replies View Related

Assemblies In Sql Server 2005

Mar 20, 2008

How to add assemblies to Sql server 2005 to do some user defined function......with some example code..........

View 1 Replies View Related

Cannot Remove SQL 2005 June CTP

Nov 29, 2005

I have SQL 2005 June CTP installed and running. I previously had VS 2005 CTP installed as well. I removed VS with the beta removal tool and installed the release version. I am now trying to remove SQL and cannot do it.

View 6 Replies View Related

Beta Period Is Over (June 2005 CTP)

Jun 5, 2006

hi everyone,

This is home installation no tricky one. That's fine, I understand that. But I wonder whether I will be able to load any SSIS package already defined by mean of Visual Basic .Net after that message.

That message appears after I try to open BIDS IDE.

Thanks in advance,

View 3 Replies View Related

SQL 2005 Enterprise June CTP Installation Error

Jun 9, 2005

Tried to install several times (on Win2003 Ent. SP1) but I always get the following error:

View 36 Replies View Related

Sql 205/Visual Studio, June 2005 CTP, From MSDN Install Problem

Aug 18, 2005

I installed Sql 2005 on a Win2003, Sp1 platform. Some problems but nothing too big. Next I attempted to install VS 2005 (June) CTP. The install faled and here's the error log:

View 1 Replies View Related

Deploying SQL Server 2005 Express

Feb 1, 2006

Hello
1.) Is there any solution for integrating the deployment of the sql server express into the setup project of my vb 2005 app ? 'Cause it is too much to install the framework... then the sql server and then the app....... Any help would be appreciated!

Thx

View 1 Replies View Related

Deploying .Net / SQL Server 2005 Replication

Jun 15, 2006

Hi,

I am experiencing a problem with deployment of a VB .Net application which carries out merge replication, and would greatly appreciate any assistance. I am currently struggling to find stuff about my problem on the net, which probably means either (a) I'm missing something really simple or (b) I shouldn't be trying to do this in the first place. :)

The story so far:
1. I added the SQLMergXLib.dll COM to my Visual Studio project, allowing me access to SQL Server merge replication functionality from my code, and wrote a procedure for synchronising a given pull subscription. This worked beautifully and with minimal fuss.
2. I tried to deploy the project to a different machine. I received an error to the effect of, "Couldn't create object, it's a COM object and it's not registered correctly." I have encountered this problem a few times before when trying to use Interop, so I called myself a few names, went back to the deployment project, and specified that the object should be registered. Still no joy. I tried this a couple of different ways round but then...
3. ...found an article on MSDN suggesting that I should consider using the managed Microsoft.SqlServer.Replication, Microsoft.SqlServer.Management, Microsoft.SqlServer.RMO interfaces instead. I reasoned that this would eliminate the registry issue altogether as everything would become native to the .Net framework, and this seemed infinitely preferable anyway, so I promptly substituted the SQLMergX DLL for these, rehashing my code to match. Again, this built and ran OK on my development machine.
4. I tried to deploy the project to a different machine. I received the following error: "Could not load file or assembly 'Microsoft.SqlServer.Replication, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. This application has failed to start because the application configuration is incorrect."

Now it's worth pointing out that I think I know what the problem might be here: No SQL Server of any kind is installed on the target machine. However, SQL Server is not required to deploy standard database solutions in .Net, and I am hoping this is also true with the Microsoft.SqlServer... namespaces, as it is a requirement that the subscription database can be located anywhere (not necessarily the target machine), and therefore that SQL Server need not be present on the target machine. However, if this is simply impossible, please let me know so that I can look at other alternatives.

Other than that, I don't mind what method I use to get the synchronisation working as long as it works (I've been at this a good few days now...), so if anyone has done this before and can offer any assistance (any registering/files I need to include etc, I am hoping it is something that simple), it would be appreciated.

Thanks,

Steve.

View 5 Replies View Related

2005:how To Find Installed Assemblies

Mar 29, 2006

Did this as a exercise and am fed up with my fruitless searching.Went and create an CLR assembly and all with min hassel. Now that Ihave that dll out there, I am tring to find some system table or somedisplay in management studio that shows me where the file is located onthe hard drive and cannot locate it.Can someone please point me in the correct location.Thanks.

View 1 Replies View Related

Deploying ASP.net Pages With Sql Server 2005 (ASPNETDB)

Jun 15, 2008

hi,i'm new to deploying asp.net pages with built in asp.net login controls over the web server. i've uploaded my asp.net pages with web.config and placed my ASPNETDB in App_Data folder on the webserver as it was placed in local machine. but it dint work and displayed the following error
 
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) +735123
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



Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210
 
 
i also enabled the TCP/IP connection on my local machine to accept remote connections.. Can any1 please provide me a step to step guide on how to deploy the webiste?
Thanking u in advance.
Regards

View 1 Replies View Related

Installing/Deploying Windows App With SQL Server 2005 CE

Jan 17, 2007

I am a little bit confused about making an installer/deployer.

I have an application using SQL Server 2005 CE (I have just updated to the most recent version Jan 2007). It will run on a new desktop PC (windows XP) if I install the SQL CE runtime and then copy the .EXE and the .SDF database file. This is great but my client wants the whole thing to install as one operation. I thought click once could do this but it seems that is only for Pocket PC targets? Can anyone point me to a method to make an appropriate installer please?

Pete

I am using the following:
SQLServerCE31-EN.msi - installer for SQL CE server runtime
SSCE31VSTools-ENU.exe - installed over VS 2005 SP1.

View 6 Replies View Related

Problem Deploying Site Developed With Sql Ex. To Server Running Sql Server 2005.

Apr 10, 2006

Can someone show me, or direct me, to a source,  that shows me how, and what to change,  when deploying a website from a development server running Sql Ex to a production server running Sql server 2005.  I can’t get the sites to run under Sql server 2005.
 
They work in Sql Ex. what must I change?  The connection string, to what format?  and what else?  I attached the dB to Sql 2005 and browsed the content in the Sql manager.  But can’t get the aspx pages to work on the server.
 
Help please

View 6 Replies View Related

MSBUILD (or Something) For Command Line Deployment Of CLR Assemblies In SQL 2005

Mar 3, 2006

VS2005 has a deployment feature that uses a database connection string to automatically connect to SQL2005 and create the assembly and procedures within the IDE. I am unable to access this feature from MSBUILD or any other command prompt utility so far which is a requirement for our internal build procedures.

I am looking for the ability perform a command line deployment of a SQL CLR project and pass in the proper server and database name also on the command line (or config file if necessary).

Does this functionality exist out of the box? If not, any suggestions on how to accomplish this?

-Ben

View 1 Replies View Related

Sql Express Server 2005 Timeout

Jan 30, 2008

Hi fairly new to sql but getting the hang of it but now i have started to work with some large qty of data i keep gettingqueries timing out.

i have a large table of data millions of records can't check how many because every time i open the few that gives me the total records it times out the same with another view that gives me the max date both these views work on identical smaller samples of data.

Is there a setting i can increase or is there some size limits i have exceeded

Any help much appreciated

Hope i have explained this in enough detail

Nigel

View 3 Replies View Related

Timeout Period In SQL Server 2005

Nov 24, 2005

How do you set the "Timeout Period" in SQL Server 2005?

View 1 Replies View Related

Timeout Of ADO.NET Connection To SQL Server 2005.

Apr 10, 2008



I am experiencing a very odd timeout when connecting to a SQL Server 2005 db.

The code works fine and connects to the database no problem. The problem arises when the network connection is lost for more than a few minutes (which is common as the application is based on remote locations with highly mobile equipment). The code to open the connection immediately throws a error number 17 (SQL Server does not exist or access denied).DBConnection.Open()
The connection object will connect after a few minutes and the application will resume. But the delay is not acceptable and should be quick to recover once the network connection is available. I have checked and I can do all other network functions from the PC once the network is available. (Ping, web browse, DNS etc)

The Code is written in VB.net using framework 1.1.

The db is SQL Server 2005 with SP3.

The code utilizes a dataadapter with associated connection object.

Connection string is as follows;

"SqlConn.ConnectionString" value="initial catalog=TheDB;packet size=4096;integrated security=SSPI;data source=Server05;persist security info=False;connect timeout=2;workstation id=MyWORKSTATION"/>

Any thoughts or ideas would be appreciated.

View 5 Replies View Related

Timeout Connecting To Upgraded 2005 Server

Nov 2, 2007

I just did a 2005 "In-Place" upgrade to a 2000 server yesterday, and now we're getting intermittant time-out errors trying to connect via SQL Server Management Studio. Sometimes we connect instantly, then if I try again 10 minutes later, it might time-out. No problems with our other 4 SQL 2005 servers (2 were just upgraded, 2 are native 2005). No timeouts so far when logged on to the server directly, just when logging in from our desks.

It's set to TCPIP only (removed named pipes), but can't think what else might be the problem. Any ideas ?

One little thing I just noticed while comparing to another server: In the console, a "good" server has the little green arrow on the server & SQL Agent icons, while the "problem" server is connected, but there is no green arrow. If I log on the server directly and open SQL, I get the green arrows. Is that trying to tell me something about the connection ??

View 13 Replies View Related

SQL Server 2005 Timeout Expired Exception

Feb 13, 2006

Hi,

I have a program in C# that I used to run on Visual Studio 2000 and SQL Server 2000 without any problem.

Now I upgrade to VS2005 and SQL Server 2005 and get and exception while

insert via SqlCommand.ExecuteNonQuery(). the insert is after many inserts to the same table by that program. the CommandTimeout is set to 600 (in the 2000 version I never had to change the default value of 30 seconds).

the insert is through a connection that is kept open throughout the program for more than 30 minutes

the exception message is:

Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.

the trace is:

at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()


Thanks for your help !

View 11 Replies View Related

How To Set SQL Server 2005 Transaction Timeout Programatically

Nov 26, 2007



Hello,
I need to execute a stored procedure from the data layer, that uses a transaction. And I have to override the default transaction timeout for this traansaction
I know how to change the transaction timeout form Management Studio, but I need to be able to change it only for that specific transaction (from the stored procedure's code or from the data layer)

Thanks in advance

View 2 Replies View Related

Where Are CLR Assemblies Stored On SQL Server?

Jul 11, 2007



Where are CLR Assemblies stored on SQL Server when compiled from a SQL Server Project?



Are they stored in a specific folder or stored inside the database?



Does deleting the Assembly under Programmability/Assemblies remove the Assembly from the server?



Thanks.

View 6 Replies View Related

Upgrade To SQL Server 2005 - ODBC Timeout Problem

Oct 18, 2006

Hi, on a web application that I develop, I just upgraded to a new database server running SQL Server 2005 and Windows Server 2003 Enterprise Edition. The previous database server ran SQL Server 2000 and Windows Server 2003 Standard Edition. Since this upgrade, the application has been causing "timeout" errors all over the application. I've been stumped. Here's the error mssage:

Microsoft OLE DB Provider for ODBC Drivers error '80040e31'
[Microsoft][ODBC SQL Server Driver]Timeout expired

I'm hoping there is some sort of a setting that can be modified to increase the maximum number of connections between the web server and database server. This is a fresh version of Windows Server 2003 and SQL Server 2005. Any support that can be provided will be greatly appreciated.

View 3 Replies View Related

Timeout Expired. The Timeout Period Elapsed Prior To Completion Of The Operation Or The Server Is Not Responding.

Dec 28, 2006

Hey,
From time to time i get this error "Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding." so I tried to change the connection string by adding thie following "Connect Timeout=200; pooling='true'; Max Pool Size=200" but still it is giving the same error! so why is this happening ? and what can I do!
btw the timeout expired happens when a stored procedure is executed at the Fill method !
Thank you in advance
Hiba

View 2 Replies View Related

Timeout Expired. The Timeout Period Elapsed Prior To Completion Of The Operation Or The Server Is Not Responding.

Mar 1, 2007

Hi All,
I am facing a problem in SQL Server 2005 and the .NET Environment. I have an SP, which will return me the result within fraction of second when i execute it in SQL Server Management studio. But randomly (Frequently), its giving timeout when i execute it from .NET Envirnment.
If i execute it at that same time in Management studio, i am not getting the error. But getting the Timeout when i execute it in the Server Explorere of VS 2005 or in the Application which uses it.
Can any one figure out the solution.

View 9 Replies View Related

Timeout Expired. The Timeout Period Elapsed Prior To Completion Of The Operation Or The Server Is Not Responding.

May 19, 2007

Hi Team Iam working in a asp.net web application. In my system i have installed the xp as os and the in my network is of 2003 server. All files and database are there. But when me accessing the files from my laptop it shows the error as follows Timeout expired.  The timeout period elapsed prior to completion of the
operation or the server is not responding.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: Timeout expired.  The timeout period
elapsed prior to completion of the operation or the server is not
responding.Source Error:



Line 19: con = New SqlConnection(constring)Line 20: If con.State = ConnectionState.Open Then con.Close()Line 21: con.Open()Line 22: cmdobj = New SqlCommand(query, con) Source File:
Y:Inetpubwwwrootsreeskybuilderssreeskybuildersdbmain.vb    Line:
21 If me accessing that same from that mechine there were no errors and i can go thru that program successfully. So please help me to do access the db from anywhere in my network Thanks Rajesh.C.S 

View 5 Replies View Related

Timeout Expired. The Timeout Period Elapsed Prior To Completion Of The Operation Or The Server Is Not Responding.

Jul 15, 2007

Hi!
 I am having a problem with my windows app in VB.net. I am just trying to do a very simple select command to retrieve some data. I am using a hosting server with a VPN.
When i click on the button it keeps giving me the error above. When I use server management express to do the same query it works fine and relatively fast.
So I have tried setting the CommandTimeout to 120 but when it stops, the debugger shows that the value of the COmmandTimeout is 30, although it stops after about 15 secs.
I am really lost and would need some help please! Find my code underneath.
 Private Sub RetrieveButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RetrieveButton.Click
'Create a connection string to connect to the database. Associate it to a connection object.Dim connString As String = "Data Source=192.168.24.75;Initial Catalog=edenoverseasproperty;" & _
"Integrated Security=SSPI;User ID=edenoverseasproperty;Password=blossomcar"
'Dim connString As String = "Data Source=JPCHENOTSQLEXPRESS;Initial Catalog=EdenOverseasProperty;" & _
' "Integrated Security=SSPI;User ID=sa;"Dim sqlConn As New SqlConnection(connString)
'Create a new command and associate the connection object to it.Dim cmd As New SqlCommand()
cmd.CommandTimeout = 120
cmd = sqlConn.CreateCommand()
'Define the command type and the source
cmd.CommandType = CommandType.Text
cmd.CommandText = "SELECT * FROM Clients"
'Create a data adapter and a datasetDim da As New SqlDataAdapter()Dim ds As New DataSet()
da.SelectCommand = cmd
da.Fill(ds, "Clients")
'Bind the data to the datagrid
EdenDataGridView.DataSource = ds
EdenDataGridView.DataMember = "Clients"
End Sub
 
Jean-Philippe

View 2 Replies View Related

Timeout Expired. The Timeout Period Elapsed Prior To Completion Of The Operation Or The Server Is Not Responding

Feb 1, 2008

HI,
 
I am getting this error on web server. My Appication is working fine on my Local Network where DB server and web server are on different machine. But getting TimeOut on web server. I tested the query on Query Analyzer it takes hardly 3 sec (Max) to execute. There is only Select query and total number of records are around 2100 which is not a big data.
I have used Connect Timeout = 180  in connection string which is also not effective. 
please tell me how can I handle this exception.

View 1 Replies View Related

Timeout Expired. The Timeout Period Elapsed Prior To Completion Of The Operation Or The Server Is Not Responding.

Mar 7, 2008

We've been having timeout problems.
In our development environment we have IIS and SQL Server 2005 both running on the same box. We use VWD or our dev server's IIS to run the apps.
What happens is the database stops responding to our web applications and we continue to get the timeout error. I can still execute queries from Management Studio but all of the web apps all timeout.
Then, the only was we can get the database to start responding again is if we restart the SQL Server service.
Any ideas as to why the database would stop responding to all of the web apps but not Management Studio? It tends to happen a couple times a day when we are developing. Only the other developer and myself use the DEV environment.
 

View 2 Replies View Related

Timeout Expired. The Timeout Period Elapsed Prior To Completion Of The Operation Or The Server Is Not Responding.

Mar 28, 2008

 Hi Dear,I have some problem.Problem Is:
Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.I have two table.1. BlogUrl2.HistoryBlogstable BlogUrl has approximate 30 url(some part of url).and table HistoryBlogs has approximate 2,00,000(2 lac) record.table history blog has a colon blogUrl and a colon subject name.when a user select one url from blogUrl table then display all subject related to blogUrl.it's ok.but i want select all blogUrl related subject.my query is:SSELECT distinct S.subject_id as 'id', cast(S.subject_raw as varchar(8000)) as 'subject' FROM HistoryBlogs S where                    substring                    (                     cast(S.blog_url as varchar(8000)),                     charindex('/',cast(S.blog_url as varchar(8000)))+2,                     charindex('/',                         substring                            (                              cast(S.blog_url as varchar(8000)),                                  charindex('/',cast(S.blog_url as varchar(8000)))+2,                              len(cast(S.blog_url as varchar(8000)                                    )                              )                          )                          )-1                    )                    IN                       
('-' , 'discussions.apple.com' , 'feeds.gawker.com' ,
'legalalan.blogspot.com' , 'real.estatez.net' , 'szeteng.blogspot.com'
, 'willdo.philadelphiaweekly.com' , 'www.beginnertriathlete.com' ,
'www.bestbuy.ca' , 'www.bestbuy.com' , 'www.binsearch.info' ,
'www.centennialcollege.ca' , 'www.chatsusa.com' , 'www.dvinfo.net' ,
'www.feedhub.com' , 'www.futureshop.ca' , 'www.libble.com' ,
'www.mcdonalds.com' , 'www.monova.org' , 'www.net-security.org' ,
'www.osnews.com' , 'www.senecac.on.ca' , 'www.shop.com' ,
'www.sumotorrent.com' , 'www.theimpulsivebuy.com' ,
'www.tomshardware.com' , 'www.wal-mart.ca' , 'www.walmart.com' ,
'www.xbitlabs.com') group by S.Subject_Id,cast(S.Subject_Raw as
varchar(8000))This query is ok.but when we want select all blogUrl.then i found above mention errori have asp.net 2.0 and sql server 2000.this type problem i am facing on remote serverPlease help me.Yogesh Saini

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved