Wrox Programmer Forums
|
.NET Web Services Discussions about .NET XML Web Service technologies including ASMX files, WSDL and SOAP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Web Services section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 17th, 2003, 04:47 AM
Registered User
 
Join Date: Oct 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default .net Query

Hi,

I am calling a VB Dll in C#. When i run it, It is displaying the error
"Object variable or With block variable not set" Please help me, I am Lost.

detail error:
:(
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: Object variable or With block variable not set.


Thanks,
Sindhoor

 
Old October 20th, 2003, 12:22 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Post your code so we can see where the problem is.

Most likely, you are not setting a var to an instance of an object before you try to call something on it.

Peter





Similar Threads
Thread Thread Starter Forum Replies Last Post
.NET query neha2007 ASP.NET 2.0 Basics 3 June 19th, 2007 03:36 PM
Query for ScreenScraping Tech in .NET visit2siva ASP.NET 1.x and 2.0 Application Design 1 December 15th, 2005 12:42 PM
Query for ScreenScraping Tech in .NET visit2siva C# 1 December 7th, 2005 09:44 AM
how to query 2 tables in asp.net method ASP.NET 1.0 and 1.1 Basics 3 March 18th, 2005 04:35 PM
.NET XPath query not coming out right perropicante C# 0 June 15th, 2003 10:53 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.