asp.net - SQL Server 2012 - Intermittant Timeout Issue -


i having darnest time trying figure out happening...

a simple query

alter procedure [dbo].[splistcounties] @pstatenumeric int  select distinct a.county, a.countynumeric dbo.geolocations inner join dbo.zipcodes b on b.cityname = a.featurename , a.statealpha = b.stateabbr a.statenumeric = @pstatenumeric , a.county<>'' , a.countynumeric<>'' , (b.citytype = 'a' or b.citytype='d') order county asc 

if run query through analyzer literally takes less second.

produces barnstable 1 berkshire 3 bristol 5 dukes 7 essex 9 franklin 11 hampden 13 hampshire 15 middlesex 17 nantucket 19 norfolk 21 plymouth 23 suffolk 25 worcester 27

if run query through vs2013 asp.net literally hangs , times out.

i not understanding heck problem.

i have standard dal has been developed query database ensure connections , transactions closed.

doing little more complicated query town on same tables has no problem on same page.

i have tried rebooting 2012 sql server. have restarted it. have restarted iis (in case open connections or application pool issue). have closed visual studio 2013 , reopened it.

and should when left work on friday working fine.

all on test sql server , development machine.

the test sql server has me developing against , windows 2008 server vm running windows server 2012 operating system.

anyone have thoughts how figure out? keep in mind not dba.


Comments

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -