L
Laurel
My web service is running extrememly slow when consumed in Excel VBA
(using MS Office XP Web Services toolkit to add a Web Reference to
ws). I'm dealing with client spreadsheets calling the same function
160 times or more in one sheet and it takes a minute or more to return
all the values. (Excel func calls proxy class func calls web service
func calls code behind func which gets data from sql that is
returned.)
More info:
1. Cache duration on each web method set to 1 hour.
2. Buffer set to False on web methods.
3. I'm not running in debug mode - web.config debug="false"
I have taken the code behind layer out of the mix so I can rule out
any slowness caused by sql or my code. Now, my amt() function, which
is called hundreds of times in the xls, just returns the decimal value
of 1 each time. It is still taking longer than it should (in my mind)
just to return all of the 1s. How can I speed things up??
When the ws is running, the cpu is nearly maxed out - definite spike.
Also worth mentioning - this is happening on IIS 5.0 with ASP.NET 1.1.
Any advice would be greatly appreciated!
Laurel
(using MS Office XP Web Services toolkit to add a Web Reference to
ws). I'm dealing with client spreadsheets calling the same function
160 times or more in one sheet and it takes a minute or more to return
all the values. (Excel func calls proxy class func calls web service
func calls code behind func which gets data from sql that is
returned.)
More info:
1. Cache duration on each web method set to 1 hour.
2. Buffer set to False on web methods.
3. I'm not running in debug mode - web.config debug="false"
I have taken the code behind layer out of the mix so I can rule out
any slowness caused by sql or my code. Now, my amt() function, which
is called hundreds of times in the xls, just returns the decimal value
of 1 each time. It is still taking longer than it should (in my mind)
just to return all of the 1s. How can I speed things up??
When the ws is running, the cpu is nearly maxed out - definite spike.
Also worth mentioning - this is happening on IIS 5.0 with ASP.NET 1.1.
Any advice would be greatly appreciated!
Laurel