Create BussinesObject in ASP.net

  • Thread starter Thread starter kong
  • Start date Start date
K

kong

Hi All,

I need to open Business Objects in asp.net (vb).
I added ref : Business Object 5.1 Object Lib
Below are the coding i use.

Dim BOApp As New busobj.Application

BOApp = Server.CreateObject("BusinessObjects.Application")
BOApp.LoginAs("user_name", "password", True, "domain")



But the error below accured:

Server execution failed
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: Server
execution failed

Source Error:

An unhandled exception was generated during the execution of the
current web request.




Anybody know how to fix it??
Your help is very much appreciated!!!!! Thanks....
This is very urgent for ma. Please help.
 
Mmmm,

Sounds like a blocked port. Is the call going out over HTTP?

If so, do you have a virus scanning package on your PC? Are you running XP?

Service Pack 2?

Robert
 
Another question:

Are you sure Business Objects is COM Compliant?

If it is COM compliant, it will need to be registered in the registry.

Robert
 
Back
Top