Reliably reproducing Native Exception 0xc0000005 on SQL CE 2.0
- From: "Ken" <kmsuzuki@xxxxxxxxx>
- Date: 8 Apr 2005 01:19:16 -0700
I am reliably reproducing the ExceptionCode 0xc0000005 native exception
on SQL CE 2.0 simply by issuing a particular SELECT statement against
it. If I issue the statement through ADO.NET, I get the Native
Exception window that displays ExceptionCode (among other things)
before the app crashes to the desktop. If I run the statement in the
Query Analyzer tool, it hangs the tool reliably but no Exception is
reported.
------------------
Environment Info
------------------
SQL CE 2.0.4415.0
..NETCF 1.0.3316.00
PocketPC 3.0.11171 Build 11178 (on both ARM and X86)
--------------------------
SQL CE 2.0 database file
--------------------------
http://snice.net/AssetTrackMobile.sdf
------------------------------------------
SQL Statement that causes Native Exception
------------------------------------------
SELECT
ProductSummary.ProductID,ProductSummary.Name,ProductSummary.Number,ProductSummary.ManufacturerID,ProductSummary.ManufacturerName,ProductSummary.AssetTypeID,ProductSummary.AssetTypeName,ProductSummary.DateCreated,ProductSummary.DateModified,ProductSummary.Status,ProductSummary.AssetTypeLineage
FROM ProductSummary
WHERE (ProductSummary.AssetTypeID IN (
SELECT AssetType.AssetTypeID
FROM AssetType
WHERE (AssetType.Path LIKE
'%86171b60-72f7-4b74-96e4-dc1ef32f3f73>%')))
ORDER BY ProductSummary.Number ASC
Oddly enough, omitting the ORDER BY clause allows the statement to run
without raising the NativeException.
If there's someone who is familiar with this problem, I'd appreciate
any insights. I've seen a few people from the SQL CE group at MS
interested in reliable repro please let me know if I can provide
further information on this.
Regards,
Ksuzuki AT gmail DOT com
.
- Follow-Ups:
- Re: Reliably reproducing Native Exception 0xc0000005 on SQL CE 2.0
- From: Darren Shaffer
- Re: Reliably reproducing Native Exception 0xc0000005 on SQL CE 2.0
- Prev by Date: Ken
- Next by Date: dynamic snapshots - applying initial snapshot
- Previous by thread: Ken
- Next by thread: Re: Reliably reproducing Native Exception 0xc0000005 on SQL CE 2.0
- Index(es):
Relevant Pages
|