Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

reporting services - Data Driven Subscription times out on connection -


i have data driven subscription each time runs shows "pending" status in report manager. after little bit errors with

error: timeout expired. timeout period elapsed prior completion of operation or server not responding. statement has been terminated.

i not doing extraordinary here. sproc retrieving users returns 2 records (and executes instantly in management studio). data report isn't fancy either. it's pulling in 3 records 3 data sources - straightforward selects based on id passed in through parameters.

when set report send in regular subscription, works fine. it's when make data driven times out.

the timeout in config set default (120 seconds).

here's logs saying.

reportingservicesservice!dbpolling!4!12/20/2010-14:52:03:: eventpolling processing item 3c45f091-aab6-4354-bd1e-e5a8a8103391 reportingservicesservice!dbpolling!c!12/20/2010-14:52:03:: eventpolling processing 1 more items. 1 total items in internal queue. reportingservicesservice!library!4!12/20/2010-14:52:03:: schedule fc2dd7c4-ae29-4e20-a24f-e6d7ee04686d executed @ 12/20/2010 2:52:03 pm. reportingservicesservice!schedule!4!12/20/2010-14:52:03:: creating time based subscription notification subscription: 8a70b89a-bcea-403a-a200-ed0b6e4bc4ab reportingservicesservice!library!4!12/20/2010-14:52:03:: schedule fc2dd7c4-ae29-4e20-a24f-e6d7ee04686d execution completed @ 12/20/2010 2:52:03 pm. reportingservicesservice!dbpolling!4!12/20/2010-14:52:03:: eventpolling finished processing item 3c45f091-aab6-4354-bd1e-e5a8a8103391 reportingservicesservice!dbpolling!4!12/20/2010-14:52:03:: eventpolling processing item 63c3c8af-b3e5-4822-bb17-73f5f1b9fecc reportingservicesservice!dbpolling!c!12/20/2010-14:52:03:: eventpolling processing 1 more items. 1 total items in internal queue. reportingservicesservice!dbpolling!4!12/20/2010-14:52:03:: eventpolling finished processing item 63c3c8af-b3e5-4822-bb17-73f5f1b9fecc reportingservicesservice!library!d!12/20/2010-14:52:33:: e error: error processing data driven subscription: system.data.sqlclient.sqlexception: timeout expired.  timeout period elapsed prior completion of operation or server not responding. statement has been terminated.    @ system.data.sqlclient.sqlconnection.onerror(sqlexception exception, boolean breakconnection)    @ system.data.sqlclient.tdsparser.throwexceptionandwarning(tdsparserstateobject stateobj)    @ system.data.sqlclient.tdsparser.run(runbehavior runbehavior, sqlcommand cmdhandler, sqldatareader datastream, bulkcopysimpleresultset bulkcopyhandler, tdsparserstateobject stateobj)    @ system.data.sqlclient.sqldatareader.consumemetadata()    @ system.data.sqlclient.sqldatareader.get_metadata()    @ system.data.sqlclient.sqlcommand.finishexecutereader(sqldatareader ds, runbehavior runbehavior, string resetoptionsstring)    @ system.data.sqlclient.sqlcommand.runexecutereadertds(commandbehavior cmdbehavior, runbehavior runbehavior, boolean returnstream, boolean async)    @ system.data.sqlclient.sqlcommand.runexecutereader(commandbehavior cmdbehavior, runbehavior runbehavior, boolean returnstream, string method, dbasyncresult result)    @ system.data.sqlclient.sqlcommand.runexecutereader(commandbehavior cmdbehavior, runbehavior runbehavior, boolean returnstream, string method)    @ system.data.sqlclient.sqlcommand.executereader(commandbehavior behavior, string method)    @ system.data.sqlclient.sqlcommand.executedbdatareader(commandbehavior behavior)    @ system.data.common.dbcommand.system.data.idbcommand.executereader(commandbehavior behavior)    @ microsoft.reportingservices.dataextensions.sqlcommandwrapperextension.executereader(commandbehavior behavior)    @ microsoft.reportingservices.library.datadrivensubscriptionhandler.datadrivensubscriptionworker(object o) 

i tried making new data source using local administrator account (who sa) , still timeout. report nothing special. it's formatted text little pieces of data. i'm using ssrs handle sending formatted e-mails. concern have machine running ssrs has 2.0 gb ram. causing timeout? why when execute report 1 user, it's fine, 2 users goes kablooey?

can set trace on database servers see if you're getting unexpected on data source servers?

you can monitor memory being used iis process in perfmon, describe, think server make report. but, maybe you're generating massive pdf? sql 2005 can have trouble doing such things.


Comments

Popular posts from this blog

c# - Usage of Server Side Controls in MVC Frame work -

cocoa - Nesting arrays into NSDictionary object (Objective-C) -

ios - Very simple iPhone App crashes on UILabel settext -