You shouldn't piggy back on another thread btw.
Have a look at your event log? any error messages that seem strange? Are you
doing anything funky in your code that you are not telling us about?

Signature
Regards,
Alvin Bruney [MVP ASP.NET]
[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ www.lulu.com/owc
Forth-coming VSTO.NET - Wrox/Wiley 2006
-------------------------------------------------------
> Since migrating to .net 2.0 , I repeatedly get Access Violation errors in the
> log when tryimg to access vb.net code in a server control from the vb code in
[quoted text clipped - 7 lines]
>
> Any help would be greatly appreciated.
Mike - 09 Jan 2006 18:57 GMT
Here is what is in the log:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 1/8/2006 12:12:07 PM
Event time (UTC): 1/8/2006 8:12:07 PM
Event ID: b8b9666a2afc499e98c6835528ab945a
Event sequence: 294
Event occurrence: 3
Event detail code: 0
Application information:
Application domain:
/LM/W3SVC/317529278/Root/NarrowCast2005-1-127811691606502107
Trust level: Full
Application Virtual Path: /NarrowCast2005
Application Path: C:\Inetpub\BFI_info\NarrowCast2005\
Machine name: CARL
Process information:
Process ID: 540
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE
Exception information:
Exception type: AccessViolationException
Exception message: Attempted to read or write protected memory. This is
often an indication that other memory is corrupt.
Request information:
Request URL:
http://www.navistechnologies.info/Narrowcast2005/NCInboundCalls.aspx
Request path: /Narrowcast2005/NCInboundCalls.aspx
User host address: 216.103.190.100
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\NETWORK SERVICE
Thread information:
Thread ID: 1
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at ADODB.ConnectionClass.Open(String ConnectionString,
String UserID, String Password, Int32 Options)
at NarrowcastChart.MyIncludes.OpenSQL() in
C:\Inetpub\BFI_info\narrowcast2005\MyIncludes.ascx.vb:line 192
at NarrowcastChart.MyIncludes.GetNCMenu(String MenuName, Boolean
DashBoard, Boolean CustomRecordings, String Userlevel, Boolean AllowMarkets,
Boolean RezForce) in
C:\Inetpub\BFI_info\narrowcast2005\MyIncludes.ascx.vb:line 265
at NarrowcastChart.NCInboundCalls.Page_Load(Object sender, EventArgs e)
in C:\Inetpub\BFI_info\narrowcast2005\NCInboundCalls.aspx.vb:line 54
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Custom event details:
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.

Signature
Mike Hollibaugh
> You shouldn't piggy back on another thread btw.
>
[quoted text clipped - 16 lines]
> >
> > Any help would be greatly appreciated.
Mike - 09 Jan 2006 19:23 GMT
Sorry, didn't realize I was piggy backing. There are messages in the log
showing where in the code the errors are occurring but the code works most of
the time. It really just simple stuff like opening an ADODB Connection
object and using a class to post to an SQL table.

Signature
Mike Hollibaugh
> You shouldn't piggy back on another thread btw.
>
[quoted text clipped - 16 lines]
> >
> > Any help would be greatly appreciated.