Visual Studio .NET walkthrough help

L

Luke Smith

Im following the walkthroughs in the VS.NET 2003 walkthrough booklet. Im
getting an error when wokring on the webservices one. Chapter 2 page 29, my
application compiles but when clicking the LoadData button i get the
following message. Ne suggestions? (using vs.net 2003 pro, sql server 2000
developer, winxp pro)

luke

An unhandled exception of type 'System.Web.Services.Protocols.SoapException'
occurred in system.web.services.dll

Additional information: System.Web.Services.Protocols.SoapException: Server
was unable to process request. ---> System.InvalidOperationException: Fill:
SelectCommand.Connection property has not been initialized.
at System.Data.Common.DbDataAdapter.GetConnection(IDbCommand command,
String method)
at System.Data.Common.DbDataAdapter.FillFromCommand(Object data, Int32
startRecord, Int32 maxRecords, String srcTable, IDbCommand command,
CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32
startRecord, Int32 maxRecords, String srcTable, IDbCommand command,
CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet)
at AuthorsWebService.AuthorsService.GetAuthors() in
D:\W3Sites\AuthorsWebService\AuthorsService.asmx.cs:line 153
--- End of inner exception stack trace ---
 
A

Andras Walz

Hi there,

I have written a webservice with VB.net and it runs fine. The problem is the
performance.
I am calculating with an array 1000 x 1000 x 5 elements and it take time to
load it into the memory each time i send a request.
Is there a possibility to keep the array?

Thanks

Andreas
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,812
Latest member
GracielaWa

Latest Threads

Top