Windows error 0x00000042, 66

Detailed Error Information

BAD_DEV_TYPE[1]

MessageThe network resource type is not correct.
Declared inwinerror.h

This appears to be a raw Win32 error. More information may be available in error 0x80070042.

ATDISK_DRIVER_INTERNAL[2]

This is a Blue Screen of Death stop code. More information is available in the Knowledge Base article Bug Check 0x42: ATDISK_DRIVER_INTERNAL.

HRESULT analysis[3]

This is probably not the correct interpretation of this error. The Win32 error above is more likely to indicate the actual problem.
FlagsSeveritySuccess

This code indicates success, rather than an error. This may not be the correct interpretation of this code, or possibly the program is handling errors incorrectly.

Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode0 (0x000)
NameFACILITY_NULL[3][1]
DescriptionThe default facility code.[3][1]
Error Code66 (0x0042)

Questions

10votes
2answers

L2TP/IPSec from Windows 7 to ASA 5520

I am trying to setup L2TP/IPSec on our ASA5520 to support a fringe case for one of our developers. The Windows VPN subsystem apparently stores the kerberos or NTLM cookie for the login when you use the built-in vpn subsystem, and the Cisco VPN client and AnyConnect client do not [...] read more
windows-7
vpn
cisco-asa
ipsec
l2tp
8votes
0answers

Fixing crashes Windows Phone apps with crashinfo of dev dashboard

I have a simple wp8.1 app published in the store (universal app) but it crashed. So I downloaded the excel file containing crash info from https://dev.windowsphone.com/en-us/DownloadReport The crash(es) occur in the latest version of my app and the clients have 8.1 (because you cannot run universal apps otherwise) Here is [...] read more
exception
windows-phone-8.1
win-universal-app
6votes
3answers

How to copy image without using the clipboard?

Question: I have the below code to capture an image from a webcam. My problem is this part: SendMessage(hCaptureWnd, WM_CAP_COPY, 0, 0); // copy it to the clipboard What it does is copy the image from the window to the clipboard, and then create a byte array out of it. [...] read more
c#
winapi
video
webcam
vfw
2votes
2answers

Are Sub-Arrays Guaranteed to be Allocated Linearly?

I know this answer is in violation of the reinterpret_cast rules but it also presumes that sub-arrays will be allocated linearly. I believed this was not guaranteed, but as I search the standard, I find my confidence wavering. If I statically allocate a 2D array, like this: int foo[][4] = [...] read more
c++
arrays
memory-layout
static-allocation
2votes
1answer

Why can't I delete the Ogre OverlaySystem created with new?

I am using the Ogre framework for my application. When the application shuts down I shut down Ogre deleting the Ogre::Root object. After that I need to delete some pointers, because I have own classes for every Ogre class I use as interfaces. I just delete the pointers to my [...] read more
c++
pointers
access-violation
ogre
2votes
1answer

jna Pointer in 32 bit JRE

I am using jna to call Magnification api functions in Java. MagImageScalingCallback.java package jna.extra; import com.sun.jna.Callback; import com.sun.jna.Pointer; import com.sun.jna.platform.win32.WinDef.HRGN; import com.sun.jna.platform.win32.WinDef.HWND; import com.sun.jna.platform.win32.WinDef.RECT; public interface MagImageScalingCallback extends Callback{ public Boolean MagImageScalingCallback(HWND hwnd, Pointer srcdata,MAGIMAGEHEADER srcheader, Pointer destdata,MAGIMAGEHEADER destheader,RECT source,RECT clipped,HRGN dirty); } MAGIMAGEHEADER.java package jna.extra; import java.util.Arrays; import java.util.List; [...] read more
java
winapi
jna
magnification-api
2votes
0answers

JVM issues keeps crashing

I'm using IntellJ IDEA 13 CE and jdk 1.7. Compiling my project results in no errors. When I try to run the application, I'm notified that: The last time you opened java, it unexpectedly quit while reopening windows. Do you want to try to reopen its windows again? Given options [...] read more
java
intellij-idea
1vote
2answers

after compiler jdk8 ,execute commond java -version ,jvm crash;

my after jdk8 sources compiler (make)(macos) , execute commond ”java -version“ ,jvm crash ; execute make output: ## Finished docs (build time 00:01:52) ----- Build times ------- Start 2020-09-03 11:18:37 End 2020-09-03 11:30:07 00:00:19 corba 00:00:46 demos 00:01:52 docs 00:02:53 hotspot 00:01:28 images 00:00:12 jaxp 00:00:18 jaxws 00:03:07 jdk 00:00:26 [...] read more
java
jvm-hotspot
1vote
1answer

Trying to output hex data as readable text in Python 3.6

I am trying to read hex values from specific offsets in a file, and then show that as normal text. Upon reading the data from the file and saving it to a variable named uName, and then printing it, this is what I get: Card name is: b'\x95\xdc\x00' Here's the [...] read more
python-3.x
1vote
0answers

Class Wizard in VS2013 doesn't create Attribute methods for OCX control

I have a legacy application that was built with VC++6.0 that uses an OCX control. I have upgraded the application to build with VS2013. Initially I got it to build and run successfully but when I tried to regenerate the ocx.h and ocx.cpp file using the Class Wizard by 1. [...] read more
c++
visual-studio
activex
ocx
classwizard
1vote
2answers

How to catch system.xml.xmlexception

I published a small free App for Windows Phone 8 Smartphones (to get to know C# - so I am a beginner in programming). A lot of my users seem pretty happy with the functionality but some of them seem to keep getting random crashes (for example in Canada: http://www.windowsphone.com/en-ca/store/app/picture-of-the-day/fc977a34-c09d-4c70-8a7b-66b6f09ab7f0) [...] read more
c#
.net
visual-studio
windows-phone-8
1vote
1answer

GDI Write Bitmap to File in C#

I'm trying to Capture an Image from a window given the Handle/DC. I want to capture the Image with all the transparency and pixels so I decided I'd use GDI/GDI+. The below code is what I have, but when it "writes" the bitmap, it writes it wrong :S In other [...] read more
c#
bitmap
gdi+
gdi
1vote
1answer

Getting Win32 API to draw a square on form

Yes - I know this is not exciting - but my colleague can get the same psuedocode to work in a C program, it show a black square with some green bands - but in C# it only draws a black square - see below: enter image description here [https://i.stack.imgur.com/DJSn4.png] [...] read more
c#
winapi
gdi
0votes
0answers

Eclipse crashing and disappearing (Windows XP)

I have two instances of Eclipse. Old instance Few months of use. Upgraded from Helios to Juno. JRE 1.6. Recently started crashing with Java error code -1. So I decided to start fresh: New instance Fresh download of Juno. JRE 1.7. From the very beginning, would randomly disappear all of [...] read more
java
crash
eclipse
0votes
1answer

VPN from ASA5505-Checkpoint failing after one hour

I have an IPsec site-site VPN set up and working, however I'm having problems once the connection has been established for over an hour. After an hour ASDM still thinks the VPN is connected and the connection duration continues to increment, however as soon as UI try to send data [...] read more
vpn
cisco-asa
site-to-site-vpn
checkpoint
0votes
0answers

dwarfdump output with overlapping ranges

I am using the dwarfdump command with these options -fFpPEo against a binary file. The output looks like this: fde: < 7><0x00000000:0x00000092><clear><fde offset 0x00005d70 length: 0x00000030><eh offset none> 0x00000000: <off cfa=00(r13) > 0x00000004: <off cfa=24(r13) > <off r4=-24(cfa) > <off r5=-20(cfa) > <off r6=-16(cfa) > <off r7=-12(cfa) > <off r8=-8(cfa) [...] read more
dwarf
0votes
0answers

What is a better way to turn a user-inputted hexadecimal string into a binary in MIPS?

I'm taking a computer architecture class, and they're having us use MIPS assembly. Our current assignment is asking us to take a user-inputted hex string, and turn it into a binary one. The code I've written "works", but it's horrible, to say the least. What would be a better approach [...] read more
assembly
mips
mars-simulator
0votes
1answer

Draw image to screen using StretchBlt and GetDesktopWindow

I'm trying to display a Bitmap to the screen using GetDesktopWindow() to get a handle of the desktop window, and StretchBlt to copy an image to it. However, this does not work. It shows either a completely blank image, or a completely white image, depending if I use SRCCOPY or [...] read more
c#
dll
handle
0votes
4answers

What does this Windows crash dump mean?

Yesterday my system software got crashed on WINDOWS 2003 server. The Core shown below. kernel32.dll!_RaiseException@16() + 0x3c bytes rpcrt4.dll!_RpcpRaiseException@4() + 0x21 bytes rpcrt4.dll!_NdrGetBuffer@12() - 0x1d3fe bytes rpcrt4.dll!_NdrClientCall2() + 0x132 bytes hnetcfg.dll!_FwOpenDynamicFwPort@16() + 0x1d bytes hnetcfg.dll!_IcfOpenDynamicFwPort@12() + 0x6a bytes mswsock.dll!_WSPBind@16() + 0xa55 bytes ws2_32.dll!_bind@12() + 0x4e bytes sal.dll!s_SktBind(s_Socket * sp=0x05943800, SAL_AddrBuf_t [...] read more
crash
windows-server-2003
crash-dumps

Comments

Leave a comment

(plain text only)

Sources

  1. winerror.h from Windows SDK 10.0.14393.0
  2. https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/bug-check-code-reference2
  3. https://msdn.microsoft.com/en-us/library/cc231198.aspx

User contributions licensed under CC BY-SA 3.0