I have been having a lot of problems with a Server Error. There's not a lot of activity on the server or site and it's not very big. Other communities on the same server work fine ???
Here's what I get...
Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.
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.InvalidOperationException: Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.
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:
[InvalidOperationException: Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.]
Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached. 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.InvalidOperationException: Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.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:
Ok bear with me here :). I have a server that is getting about 1000000 hits per day with about 10,000 unique vistors. For the past 2 months I have been revamping my code trying to deal with the increase in traffic. I have 2 boxes, one for the website, and one for the SQL. They are connected through a secure backlink so that I dont have to worry about encrypting the data. So the problem started when I updated the MDAC components a few weeks ago. I started getting these freaking timeout errors, they are up to about 1000 errors per hour. I have been monitoring the connection pooling using the system monitor for about a week and have noticed that I am not maxing out the pooling but I am still dropping connections. I went into the web.config and turned my max connections to 1000. Unfortunately this didn't even put a dent in the problem. It doesn't matter if I have 12 or 212 open connections it still drops them. I am at my wits end with trying to debug this problem. I am wondering if anyone else has had similiar problems recently. Also on a side note I have checked all my connections to make sure that I am closing them. Not only do I close my datareaders but I also set them to nothing. In addition to closing and reseting my datareaders I am also disposing and reseting my connection objects as well as closing them. Any help would be greatly appreciated.
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
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.
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
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
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.
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.
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
Hi I am getting error:Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not respondingMy Connection string is like this. But still i am getting above error: <add key="ConnectionString" value="Initial Catalog=XX;DataBase=XX;Data Source=XX;User ID=XX;pwd=xx;Min Pool Size=5;Max Pool Size=225;Connection Reset=True;Connection Lifetime=180;"></add> Please advice me.Thanks-Dil
Hi, I keep getting this error. I have a query that takes 47 seconds when I run it in SQL Server 2005. My connection string looks like this:connectionString="Server=server; Database=db; Pooling = true; Connect Timeout=60; Max Pool Size=300;I understand that Connect Timeout 60 = 60 minutes. Is there any other place where a timeout can be set in an ASP.NET 2.0 application?Thanks for any ideas.
Hi....i got this error,I have already set in my connection string:---- Connect Timeout=300; pooling='true'; Max Pool Size=200;but i got this error till now,how can i solve this .......thanks
When I connect remotely to SQL SERVER 2005 the following error occurs.Error: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.thanks & regards priya.
I'm trying to do mass inserts/updates. Using Transactions. The table hierarchy contains 3 levels (TL1, TL2, and TL3): Here is what I'm trying to accomplish:
1) Start Begin Transaction (in desperation, I've tried all the isolation levels- I was hoping ReadUncommitted would work!) 2) Do an Insert/Update in table TL1 (this works). 3) Grab the ID from step 2 and do a SELECT on table TL2 to determine if I need to an UPDATE or INSERT.
Since I'd be inserting 3 rows into table TL2 (for a particular parent ID with different types), the first SELECT (on TL2) works and then I'm able to do an INSERT into TL2. The transaction is still alive. Now, I try to do a SELECT on table TL2 to see if a record exists for this type and this is when I get the exception "Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding."
My guess is that I have a LOCK on the table TL2 (from the first SELECT), which seems to be causing the problem.
Note: The INSERTs and UPDATEs are done by executing stored procs. For the SELECTS, I'm using a different connection (from the one which the transaction is using) and close it after the SELECT is executed.
Okay all this used to be fine on another machine it has jsut been moved. Original machineWindows 2003 server.Net 2.0Sql server 2005New machine Windows 2003 server.Net 2.0Sql server 2005Not that I don't see how this is a timeout setting issue as it shoudln't take but a second to access what it needs. It also workse fine on the original machine which is still up. I go to the website and try to login and get that error message. Says it timed out or server is not responding. below is the details.HERE IS THE ERROR IN EVENT VIEWER____________________________________________________Event code: 3005 Event message: An unhandled exception has occurred. Event time: 7/17/2005 3:26:38 AM Event time (UTC): 7/17/2005 7:26:38 AM Event ID: 1da418026f5641e8914bcafa571233c3 Event sequence: 10 Event occurrence: 1 Event detail code: 0
Application information: Application domain: /LM/W3SVC/1/Root/application1-127660587297031250 Trust level: Full Application Virtual Path: /application Application Path: D:Websitesapplication Machine name: DATING
Process information: Process ID: 3892 Process name: w3wp.exe Account name: NT AUTHORITYNETWORK SERVICE
Exception information: Exception type: SqlException Exception message: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
Request information: Request URL: http://dating/application/Login.aspx Request path: /application/Login.aspx User host address: 192.168.1.20 User: Is authenticated: False Authentication Type: Thread account name: NT AUTHORITYNETWORK SERVICE
Thread information: Thread ID: 7 Thread account name: NT AUTHORITYNETWORK SERVICE Is impersonating: False Stack trace: at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Connect(Boolean& useFailoverPartner, Boolean& failoverDemandDone, String host, String failoverPartner, String protocol, SqlInternalConnectionTds connHandler, Int64 timerExpire, Boolean encrypt, Boolean integratedSecurity, SqlConnection owningObject, Boolean aliasLookup) at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance) at System.Data.SqlClient.SqlInternalConnectionTds..ctor(SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance) at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection) at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject) at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject) at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) at System.Data.SqlClient.SqlConnection.Open() at citimatch.Login.LoginButton_Click(Object sender, EventArgs e) at System.Web.UI.WebControls.Button.OnClick(EventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Custom event details:
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.HERE IS THE ERROR IN INTERNET EXPLORER____________________________________________________Server Error in '/APPlication' Application.
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:
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:
Hi, I am running a stored procedure that collects some records from two tables do some calculations with those records and insert those calculation result in a temp. table. I am calling this stored procedure in my aspx page and then later select all the records from temp table and show it in a table. When I run this application on browser it give me Timeout expired error but whn I execute the stored procedure it runs properly but takes around 3:10 mins to execute in query analyzer. I did some google work and based on that I specified CommandTimeout = 300 for SP and Connection timeout=400 in web.config. But still it didnt worked. Sometimes it runs properly but sometimes its not. Where I am doing mistake? and Wht should i do to resolve this? Plz. help. Thanks in adv. Regards, Yogita
Guys, I am trying to attach a database object to the App_Data directory I got thie error Error: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. This is what I did. I right click the App_Data folder and click Add New Item. Then I click the SQL Database. This is where I got the error. What should I do? Please help
When I run my web app on my dev machine it works perfect. When I precomile it to my web deployment project and then copy the debug files to my web server I get this problem when trying to login (obviously it's using ASPNETDB.mdf). Any ideas?
Server Error in '/' Application.
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:
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:
I am getting the following error when running SQL Server 2005 Upgrade Advisor on a test database of 300Gb aprox. After a long wait we got the following error:
Database Server,"PreUpgrade","Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.","OLDSYSTEMTABLES",
After that error we got several similar errors of "timeout expired" pointing to FTCATALOGNAMERESTRICTION, and others.
I found the same problem reported in other forums and recommended to run the UA database per database, but we are running the Upgrade Advisor against only one database in periods of low activity.
We cannot advance the upgrade to SQL Server 2005 on other databases due to this error. I would appreciate some clues or suggestions.
Hi,I get this error from our web application every once in a while. " Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding". I email myself when an error occurs, and once every 2-3 days I get this timeout error emails, like 5-10 emails in a span of few minutes. Then it goes away. I have set the command timeout for 60 secs. It doesn't happen from the same stored procedure, actually I have seen it timeout from really simple 1 or 2 line stored procedures, which shouldn't normally take 1 sec. Its like sql server just shuts down for few minutes. We have some backups and maintenance jobs scheduled, but they run only after midnight. I have checked the application event viewer, there are no warnings or error messages for MSSQLSERVER. Can any one tell me how to check whats going on during that short timespan when timeout error occurs, and what causes it? I don't want to run sql profiler continuously for 2-3 days, I am afraid it will slow down the server more. Thanks.
Hi Everyone, I have an ASP.Net webpage for uploading multiple files. The process is, when the client uploads files..using SQL queries I am inserting into a database1 and then calling a stored procedure to remove garbage data from database1 and insert this new data into a production database(Database2). When the file size is aroung 6-7MB it executes fine....but when the size increases to 30 MB I can see the data in Database1 but only when the Stored procedure is called...after a minute or so, I get the following error in the analyser. I a getting the following error:Error System.Data.SqlClient.SqlException Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. No Changes made to the ClientPlan table. Inserting records(s) in ClientPlan table. No Changes made to ClientPlan table. Updating changes to PlanStatementInfo. Updated 1 record(s) in PlanStatementInfo. Inserting new records into PlanStatementInfo. No new records were added to PlanStatementInfo. 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.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(SqlConnection connection, CommandType commandType, String commandText, SqlParameter[] commandParameters) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, String spName, Object[] parameterValues) at icc.BaseClasses.DL.DLImportPlan.Import(Int32 ClientId, Int32 PeriodId, Int32 UserId) in CDocuments and SettingskroslundMy DocumentskareniccPlanStatementsiccImportDLDLImportPlan.csline 116
I'm getting the following error..Target Site:System.Data.SqlClient.SqlDataReader ExecuteReader(System.Data.CommandBehavior, System.Data.SqlClient.RunBehavior, Boolean)Exception Messages:Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.It works locally not in production if the query runs to long...I have the following settings..web.config.. <add key="DBConnection" value="server=LocalHost;uid=sa;pwd=;database=DB1;pooling='true'; Max Pool Size=20"/> <httpRuntime executionTimeout="400" maxRequestLength="1048576" />In VB sConnect = ConfigurationSettings.AppSettings("DBConnection") 'create connectionobjHelperConnection = New SqlConnection(sConnect) 'stored procobjHelperCommand = New SqlCommand(strSP, objHelperConnection)objHelperCommand.CommandTimeout = 120Anyone have an idea why this is happening or a possible solution....the queries on the page run at the most 30-50 seconds...
"Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding" I get this message when I execute a stored procedure which normally took 3-5 minutes to run. The CommandTimeout for this is set to 10 minutes and the SP is timing out recently. This app has ran successfully in the past. The SP ran alone takes 5 minutes from Query Analyzer from my machine. The Stored procedure creates some temp tables and deletes, inserts records in different servers. I have tried hosting the application on my box but it still timedout. What could be the problem? Thanks in advance
Hi to all, I create a project using asp.net,c# & sql server. Some time i meet the below problem when connecting to sql server. how to solve this by coding?. Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached
I am trying to execute a stored proc from a .NET web page. I get the error message: "Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding."
I have seen some posts that say that I need to set the connection timeout. Is this correct? How do i do it.
I use a class in the code behind to get the connection.
Hi, I've been stuck on this for ages! Suddenly yesterday all my websites started getting timeout expired every time they made a database connection on our local server. I dont know whats happened to cause this as no one messed around with any settings - now I cant make any websites locally to our websites and is proving to be a big annoyance.
Can anyone tell me what the possible causes of this are and how to remedy them!
If this is of any use in enterprise manager I can connect and run queries no problem its only when our asp pages try to access the databases we get the error "timeout expired"
Hi all, I m getting the following error whenever i run my application in debug mode.
"Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached."
I m using same connection string for my connections to database and i think the pool size is not exceeded becoz this only happens when i start application with VS.Net in debug mode.
I try to import excell data in a microsoft sql server2000 database. Most of the time but not always I get the timout error below:
Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
Basically I create a DataSet with the data of the excell file. Then I loop through the dataset and import each row separately. I get the timeout here: da.RunProc("pCustomerImport",prams, out dr1);. This is where the procedure to import one single row is executet.
Thank you for your help.
My code looks the following:
<code> private void ImportCustomers(DataSet ds) { da = new DataAccess(sConn);
// loop through rows int iRows = ds.Tables[0].Rows.Count;
for (int x=0;x<iRows;x++) {
if (ds.Tables[0].Rows[x].ItemArray[0].ToString() != "" & ds.Tables[0].Rows[x].ItemArray[0].ToString() ! null) {
ImportCustomer(ds.Tables[0].Rows[x],da); } } }
private void ImportCustomer(DataRow dr, DataAccess da) { da = new DataAccess(sConn); // input parameters for procedure SqlParameter[] prams = {
For some reason I can not connect to SQL via EM/QA if I'm on server inself, but I'm successfully connecting from any client machine. Any clues on that?