all groups > sql server dts > september 2004 >
You're in the

sql server dts

group:

VB.NET and EXCEPTION_ACCESS_VIOLATION


VB.NET and EXCEPTION_ACCESS_VIOLATION Proc
9/27/2004 1:46:49 PM
sql server dts:
I have a package built in VB.NET being run from an ASP.NET webpage.
It is pulling large amounts of data from SQL Server into an Access
database for download by the user.

I have two Web servers running this package and only one of them is
getting the following error, while the other Web server runs the
package perfectly:

System.Runtime.InteropServices.COMException (0x80040005): Code
execution exception: EXCEPTION_ACCESS_VIOLATION
at DTS.Connection2.get_ConnectionProperties()
...

The problematic Web server is running SQL Client Tools SP3 and the
database server is running SQL 2000 SP3. Both Web servers are using
the same connection string and are using the same user account for
access to the SQL Server.

Please Note:
I have already made sure that all steps have:
ExecuteInMainThread = True

I have some ASP sites successfully running a similar package on the
same server experiencing these problems.

Any ideas where I could be experiencing a problem?

Re: VB.NET and EXCEPTION_ACCESS_VIOLATION Allan Mitchell
9/27/2004 9:29:42 PM
this error

0x80040005

Suggests usually to me that

1. You do not have permissions
2. You are referencing something that does not exaist
3. You are trying to reach a property that does not exist

From your description it would seem only 1 box is affected?
Does this package run on another web server?
Is the connectivity the same? User Accounts?


--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.Konesans.com


[quoted text, click to view]

Re: VB.NET and EXCEPTION_ACCESS_VIOLATION Proc
9/29/2004 7:14:21 PM
I found a resolution to my issue, see the following Knowledgebase
article:
http://support.microsoft.com/default.aspx?scid=kb;en-us;827190

Thanks for any help provided.


[quoted text, click to view]
AddThis Social Bookmark Button