freelanceprogrammers.org Forum Index » ASP

COM object that has been separated from its underlying RCW c


View user's profile Post To page top
ahmet_gulbas Posted: Mon Jun 27, 2005 10:38 pm


Joined: 08 Jan 2005

Posts: 5
COM object that has been separated from its underlying RCW c
hi.this is an emergency..please help asap..
I have a site written with vb.net..Im hosting it on windows 2003 server with
framework 1.1 .this site using microsoft access as database..I can run this
project on my local computer(windows xp professional with framework 1.1)
fine..but on server,sometimes not everytime,when I want to add records to
db,I get this error:
COM object that has been separated from its underlying RCW can not be used.
but after a while(a few minutes later) it works fine..
I search the web but couldnt find any solution..any kind of solution would
be appreciated ..thanks..
Reply with quote
Send private message
View user's profile Post To page top
kindawords Posted: Tue Jun 28, 2005 12:50 am


Joined: 11 Jan 2006

Posts: 46
COM object that has been separated from its underlying RCW c
This happens when you have released the underlying COM object when it
is still referenced by another .NET object.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dno2k3ta/html/o
dc_OFComplexComObjectsPIAs.asp
provides a little information on how COM and .NET work together.

The reason this only happens on your server is that something isn`t
working as expected under load with multiple users, which is not
uncommon when using MS Access as a back-end.

You might want to try granting the NETWORK SERVICE user FULL CONTROL
permissions on the folder that holds the database.

You will also want to make sure you have the latest MDAC verision
installed on the server,
http://www.microsoft.com/downloads/details.aspx?FamilyID=6c050fe3-c795-4b7d-b037
-185d0506396c&DisplayLang=en





On 6/27/05, AHMET GULBAS <gulbasa@...> wrote:
> hi.this is an emergency..please help asap..
> I have a site written with vb.net..Im hosting it on windows 2003 server with
> framework 1.1 .this site using microsoft access as database..I can run this
> project on my local computer(windows xp professional with framework 1.1)
> fine..but on server,sometimes not everytime,when I want to add records to
> db,I get this error:
> COM object that has been separated from its underlying RCW can not be used.
> but after a while(a few minutes later) it works fine..
> I search the web but couldnt find any solution..any kind of solution would
> be appreciated ..thanks..
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>


--
Dean Fiala
Very Practical Software, Inc
http://www.vpsw.com
Reply with quote
Send private message
Post new topic Reply to topic
Display posts from previous:   
 

All times are GMT
Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Freelace Website Designer - Customer web design and software building.
Booking Calendar - reservation calendar script
Land Surveying - total station instruments and equipments
China Wholesale - Electronics Products
Character Studio - Tutorials and Help