Comprehensive, categorized, searchable collection of links to ASP & ASP.NET resources...
Our Directory

Applications
ASP.NET Directory
Books & Media
Community
Components
Other ASP Sites
Reference Material
Software & Server
Tutorials & Code
Web Site Hosts

Expand Directory...
Personlise Results...

Newsgroups

Participate in over
100 ASP & ASP.NET related newsgroups right here @ Fuzzy Software...

.NET Framework
- .net.faqs
- .net.framework
- .net.general
- .net.setup
- .net.scripting
- .net.xml

Web Services
- aspnet.webservices
- msdn.soaptoolkit
- msdn.webservices

SQL Server
- sqlserver.setup
- sqlserver.prog...
- sqlserver.tools

Classic ASP
- asp.db
- asp.general
- asp.components

Scripting
- scripting.jscript
- scripting.remote
- scripting.vbscript
- scripting.wsh

All newsgroups...

ASP Built-in
Objects Reference


Application Object
ObjectContext Object
Request Object
Response Object
Server Object
Session Object

Personalise Fuzzy
Make Homepage
Link To Fuzzy
Bookmark This Page

Add our directory to your site in less than
2 minutes...














Whats New!


From: "Andreas"
Subject: ADO from multiple applications causes "object reference not ...
Date: Fri, 7 Jun 2002 08:25:54 -0700


>-----Original Message-----
>Hi,
>
>We have a .NET web application and a .NET web service
that
>are using a common assembly (each has one copy in its bin
>directory, of course). This assembly is using ADO (old
>ado, not ADO.NET) and was originally written in VB6 but
>has now been upgraded to .NET.
>
>This works just fine on our development machines but as
>soon as we deploy it to machines with only the .NET
>framework installed instead of Visual Studio.NET we get
>strange problems.
>
>If we access the web service first, it works but results
>in us not being able to run the web application. If we
>then restart IIS and run the web application first, we
get
>the same problem with the web service. This is strange
and
>very annoying.
>
>The exception we get is:
>
>"System.NullReferenceException: Object reference not set
>to an instance of an object.
> at System.Enum.InternalGetValue()
> at System.Enum.System.IConvertible.ToSByte
>(IFormatProvider provider)
> at DataAccessMTS.CDataAccessMTS.CreateParameters
>(Command& Cmd, Object[] ArgParams)
> at DataAccessMTS.CDataAccessMTS.RunSPGetRS(String
>SPName, String RegistryKey, Object[] Parameters) "


I found a solution to the problem. I just drag-and-dropped
ADODB.DLL to c:\winnt\assembly and it worked.

// Andreas
Post a follow up to this message...





InstantGallery.NET - ASP.NET Enabled Image Gallery

Receive all the latest quality ASP
& ASP.NET content direct to your inbox. Sign-up to our newsletter.




DevASP.NET

CoverYourASP

CodeFixer

Menwar.com

TheASPSite.org

More partners...

Ektron web editor and content management software
  5714 ASP & ASP.NET resources in over 449 categories and growing daily...
Fuzzy Software - asp / asp.net resources, tutorials, code, scripts, applications, components, newsgroups, hosts and much more... Sitemap 0 1 4