SAGE L50 and ASP.net

F

FOTL

Hi people!

Quick question. I am connecting to a SAGE Line50 database via Sage SDO in
ASP.net.

I can connect to the database but have problems creating a particular
workspace...

This is the message I get...

"
The server threw an exception.
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.Runtime.InteropServices.COMException: The server
threw an exception.

Source Error:


Line 41:
Line 42: ' Create an Instance of the SalesRecord object
Line 43: oSalesRecord = oWS.CreateObject("SalesRecord")
Line 44:
Line 45: 'RecordCount



"

It highlights Line 43 as the problem "oSalesRecord =
oWS.CreateObject("SalesRecord")" - any help would be superb.

Cheers

Maverick
 
H

Hans Kesting

FOTL said:
Hi people!

Quick question. I am connecting to a SAGE Line50 database via Sage
SDO in ASP.net.

I can connect to the database but have problems creating a particular
workspace...

This is the message I get...

"
The server threw an exception.
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.Runtime.InteropServices.COMException: The
server threw an exception.

Source Error:


Line 41:
Line 42: ' Create an Instance of the SalesRecord object
Line 43: oSalesRecord = oWS.CreateObject("SalesRecord")
Line 44:
Line 45: 'RecordCount



"

It highlights Line 43 as the problem "oSalesRecord =
oWS.CreateObject("SalesRecord")" - any help would be superb.

Cheers

Maverick

Maybe you should try to "catch" the exception and inspect it in the debugger.
I have found that the exception message for CDO was not very helpfull,
but inner exceptions had a better message. Maybe that applies here also.

Also you can try and find a "SAGE Line50" newsgroup for problems
relating to that specific product.

Hans Kesting
 

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,769
Messages
2,569,581
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top