spicysudhi
Programmer
hi,
I am trying to connect to the CRN service. I have tried VB, ASP programs, and both getting error. my sample lines from the VB source is below
Dim CRN As New CognosReportNetService
CRN.endPointUrl = "Call CRN.Query("~", Nothing, Nothing, Nothing)
I registered the CRN.dll and added that to the project. In the line call CRN.Query(........ I am getting error "Object variable or With block variable not set". The same error comes in the ASP file also. Do I have to setup anything else? I am following the documentation. Even the samples in the SDK also resulting in the same error (i tested cmTester under sdk/vb folder).
Reportnet service is running and I am able to connect to in the web.
Note: above in the "CRN.endPointUrl = ..." line there is no semicolon ( in the end, but its coming somehow.
regards,
Sudhi
I am trying to connect to the CRN service. I have tried VB, ASP programs, and both getting error. my sample lines from the VB source is below
Dim CRN As New CognosReportNetService
CRN.endPointUrl = "Call CRN.Query("~", Nothing, Nothing, Nothing)
I registered the CRN.dll and added that to the project. In the line call CRN.Query(........ I am getting error "Object variable or With block variable not set". The same error comes in the ASP file also. Do I have to setup anything else? I am following the documentation. Even the samples in the SDK also resulting in the same error (i tested cmTester under sdk/vb folder).
Reportnet service is running and I am able to connect to in the web.
Note: above in the "CRN.endPointUrl = ..." line there is no semicolon ( in the end, but its coming somehow.
regards,
Sudhi