473,830 Members | 2,172 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to report an error to microsoft?

On "some client's computer" the folowing C# code:
==
XmlDocument doc = new XmlDocument();
....
doc.Save(Applic ation.LocalUser AppDataPath + "config.config" );
==

throw the following error:
==
Exception : System.IO.IOExc eption
Message : Unknown error "-1".
Stack :
at System.IO.__Err or.WinIOError(I nt32 errorCode, String maybeFullPath)
at System.IO.FileS tream.Init(Stri ng path, FileMode mode, FileAccess
access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize,
FileOptions options, SECURITY_ATTRIB UTES secAttrs, String msgPath, Boolean
bFromProxy)
at System.IO.FileS tream..ctor(Str ing path, FileMode mode, FileAccess
access, FileShare share)
at System.Xml.XmlD ocument.Save(St ring filename)
==

The disk is not full, look at the directory and error, obviously everything
should be fine.

I would like to complain to Microsoft.

However I could foresee the answer from support:
"There is not enough information for use to do anything about it, case
closed."

Now I don't know what to do!
I played with interop and wrote some code to create a minidump
( inspired by this blog entry
http://blogs.msdn.com/greggm/archive...14/214725.aspx )
but when I try to open some MiniDump I generated for fun from C# (i.e. no
real exception,just a button click), all I get is
==
*ntdll.dll!0000 0000773d082a()
[Frames below may be incorrect and/or missing, no symbols loaded for
*ntdll.dll]
*kernel32.dll!0 00000007727ed73 ()
==

not even my C# calls are present... (I generated with all dump information,
but without exception info, obviously)

Any tip on how to generate meaningfull information (from C#) for Microsoft
Support to be able to help me on this issue?

May 9 '07 #1
6 1442
"Lloyd Dupont" <net.galador@ld wrote in message
news:Oy******** ******@TK2MSFTN GP02.phx.gbl...
On "some client's computer" the folowing C# code:
==
XmlDocument doc = new XmlDocument();
...
doc.Save(Applic ation.LocalUser AppDataPath + "config.config" );
==

throw the following error:
==
Exception : System.IO.IOExc eption
Message : Unknown error "-1".
Stack :
at System.IO.__Err or.WinIOError(I nt32 errorCode, String maybeFullPath)
at System.IO.FileS tream.Init(Stri ng path, FileMode mode, FileAccess
access, Int32 rights, Boolean useRights, FileShare share, Int32
bufferSize, FileOptions options, SECURITY_ATTRIB UTES secAttrs, String
msgPath, Boolean bFromProxy)
at System.IO.FileS tream..ctor(Str ing path, FileMode mode, FileAccess
access, FileShare share)
at System.Xml.XmlD ocument.Save(St ring filename)
==

The disk is not full, look at the directory and error, obviously
everything should be fine.

I would like to complain to Microsoft.

However I could foresee the answer from support:
"There is not enough information for use to do anything about it, case
closed."

Now I don't know what to do!
I played with interop and wrote some code to create a minidump
( inspired by this blog entry
http://blogs.msdn.com/greggm/archive...14/214725.aspx )
but when I try to open some MiniDump I generated for fun from C# (i.e. no
real exception,just a button click), all I get is
==
>*ntdll.dll!000 00000773d082a()
[Frames below may be incorrect and/or missing, no symbols loaded for
*ntdll.dll]
*kernel32.dll!0 00000007727ed73 ()
==

not even my C# calls are present... (I generated with all dump
information, but without exception info, obviously)

Any tip on how to generate meaningfull information (from C#) for Microsoft
Support to be able to help me on this issue?
The error doesn't mean that the disk is full, "Unknown error "-1"" is a
generic error message, indicating that the error is not handled by the Init
function's catch handler, the error code -1, returned from the Win32 API
CreateFile(), means "unknown error".
I know this error message is of little help, anyway the problem is that the
system cannot create the file as specified by the path
Application.Loc alUserAppDataPa th + "config.config" , mostly due to an
incorrect sequence of IO operations on the file or the path as result of a
virus scanner activity.
Willy.
May 9 '07 #2
JR
I think you are missing the backslash, and suggest you use Path.Combine.

JR
"Willy Denoyette [MVP]" <wi************ *@telenet.be???
??????:CA****** *************** *************@m icrosoft.com...
"Lloyd Dupont" <net.galador@ld wrote in message
news:Oy******** ******@TK2MSFTN GP02.phx.gbl...
>On "some client's computer" the folowing C# code:
==
XmlDocument doc = new XmlDocument();
...
doc.Save(Appli cation.LocalUse rAppDataPath + "config.config" );
==

throw the following error:
==
Exception : System.IO.IOExc eption
Message : Unknown error "-1".
Stack :
at System.IO.__Err or.WinIOError(I nt32 errorCode, String maybeFullPath)
at System.IO.FileS tream.Init(Stri ng path, FileMode mode, FileAccess
access, Int32 rights, Boolean useRights, FileShare share, Int32
bufferSize, FileOptions options, SECURITY_ATTRIB UTES secAttrs, String
msgPath, Boolean bFromProxy)
at System.IO.FileS tream..ctor(Str ing path, FileMode mode, FileAccess
access, FileShare share)
at System.Xml.XmlD ocument.Save(St ring filename)
==

The disk is not full, look at the directory and error, obviously
everything should be fine.

I would like to complain to Microsoft.

However I could foresee the answer from support:
"There is not enough information for use to do anything about it, case
closed."

Now I don't know what to do!
I played with interop and wrote some code to create a minidump
( inspired by this blog entry
http://blogs.msdn.com/greggm/archive...14/214725.aspx )
but when I try to open some MiniDump I generated for fun from C# (i.e. no
real exception,just a button click), all I get is
==
>>*ntdll.dll!00 000000773d082a( )
[Frames below may be incorrect and/or missing, no symbols loaded for
*ntdll.dll]
*kernel32.dll!0 00000007727ed73 ()
==

not even my C# calls are present... (I generated with all dump
information, but without exception info, obviously)

Any tip on how to generate meaningfull information (from C#) for
Microsoft Support to be able to help me on this issue?

The error doesn't mean that the disk is full, "Unknown error "-1"" is a
generic error message, indicating that the error is not handled by the
Init function's catch handler, the error code -1, returned from the Win32
API CreateFile(), means "unknown error".
I know this error message is of little help, anyway the problem is that
the system cannot create the file as specified by the path
Application.Loc alUserAppDataPa th + "config.config" , mostly due to an
incorrect sequence of IO operations on the file or the path as result of a
virus scanner activity.
Willy.


May 9 '07 #3
"JR" <No****@qsm.co. ilwrote in message
news:Oq******** ******@TK2MSFTN GP04.phx.gbl...
>I think you are missing the backslash, and suggest you use Path.Combine.

JR

You are right, the path is messed up, however, the missing backslash is not
the cause of the Exception, at least not on my system.
Don't know what the OP is using as OS, but it's sure worth a try after
correcting this using Path.Combine.
Willy.

May 9 '07 #4
I was using Path.Combine in the real code anyway!

--
Regards,
Lloyd Dupont
NovaMind Software
Mind Mapping at its best
www.nova-mind.com
"Willy Denoyette [MVP]" <wi************ *@telenet.bewro te in message
news:CD******** *************** ***********@mic rosoft.com...
"JR" <No****@qsm.co. ilwrote in message
news:Oq******** ******@TK2MSFTN GP04.phx.gbl...
>>I think you are missing the backslash, and suggest you use Path.Combine.

JR


You are right, the path is messed up, however, the missing backslash is
not the cause of the Exception, at least not on my system.
Don't know what the OP is using as OS, but it's sure worth a try after
correcting this using Path.Combine.
Willy.
May 9 '07 #5
JR
What else is different in the real code?

JR

"Lloyd Dupont" <net.galador@ld ???
??????:uj****** **********@TK2M SFTNGP03.phx.gb l...
>I was using Path.Combine in the real code anyway!

--
Regards,
Lloyd Dupont
NovaMind Software
Mind Mapping at its best
www.nova-mind.com
"Willy Denoyette [MVP]" <wi************ *@telenet.bewro te in message
news:CD******** *************** ***********@mic rosoft.com...
>"JR" <No****@qsm.co. ilwrote in message
news:Oq******* *******@TK2MSFT NGP04.phx.gbl.. .
>>>I think you are missing the backslash, and suggest you use Path.Combine.

JR


You are right, the path is messed up, however, the missing backslash is
not the cause of the Exception, at least not on my system.
Don't know what the OP is using as OS, but it's sure worth a try after
correcting this using Path.Combine.
Willy.

May 10 '07 #6
nothing much.
but every one focuse about the missing "\\" whereas wether or nor I forgot
it, it changes nothing to the error..... :-(

--
Regards,
Lloyd Dupont
NovaMind Software
Mind Mapping at its best
www.nova-mind.com
"JR" <No****@qsm.co. ilwrote in message
news:%2******** ********@TK2MSF TNGP05.phx.gbl. ..
What else is different in the real code?

JR

"Lloyd Dupont" <net.galador@ld ???
??????:uj****** **********@TK2M SFTNGP03.phx.gb l...
>>I was using Path.Combine in the real code anyway!

--
Regards,
Lloyd Dupont
NovaMind Software
Mind Mapping at its best
www.nova-mind.com
"Willy Denoyette [MVP]" <wi************ *@telenet.bewro te in message
news:CD******* *************** ************@mi crosoft.com...
>>"JR" <No****@qsm.co. ilwrote in message
news:Oq****** ********@TK2MSF TNGP04.phx.gbl. ..
I think you are missing the backslash, and suggest you use Path.Combine.

JR

You are right, the path is messed up, however, the missing backslash is
not the cause of the Exception, at least not on my system.
Don't know what the OP is using as OS, but it's sure worth a try after
correcting this using Path.Combine.
Willy.

May 10 '07 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
23882
by: Nicola | last post by:
Hi Everyone, I am new to programming and would like to know how to open an access Report from within vb 6. I am trying to write a program to organise cross stitch threads. I have found out how to use a database table but all I want to do now is to click a command button to display this access report. Any suggestions please ?????
1
17687
by: Nathan Bloomfield | last post by:
Does anyone know if there is any documentation which relates to Access2k + ? or can anyone help adjust the code? I am having trouble converting the DAO references. TITLE :INF: How to Create a Dynamic Crosstab Report PRODUCT :Microsoft Access PROD/VER:1.00 1.10 OPER/SYS:WINDOWS
2
2478
by: Galina | last post by:
Hello All of a sudden I started getting error 13, type mismatch in a command, which was running happily for years. Here is a code: Option Compare Database Option Explicit Dim CmdClose1_Clicked As Boolean, CmdClose_Clicked As Boolean Private Sub CmdClose_Click() On Error GoTo Err_CmdClose_Click 'Check, if there are any messages marked to delete
0
7511
by: smkkaleem | last post by:
I am stuck with the error I have posted above in the question title I am developing ASP.NET 2.0 web site and I have added a new rdlc file to my project by using the following process: -Right clicking my project in the Solutions explorer -Selecting Add New Item -Selecting Report.rdlc template -Renaming it to Main.Rdlc and then clicking OK.
5
3356
by: David L. | last post by:
I'm running into a frustrating problem. ASP.NET 2.0 web application, against SQL'05, I'm trying to run a report against a 'table provider' (query) that excutes well within SQL MGT studio, and within the data environment. However, when the report is executed in a web report viewer, the report engine comes back with: An error has occurred during report processing.
3
2407
by: lodatokab | last post by:
I'm have problem to run crystal report (VS 2005) on my computer with Windows 2000 Server. I run the solution in my dev envroiment (Windows XP) and no problems. When I try to run in on IIS 5.0 on Windows 2000 Server I got the following error: Compiler Error Message: CS0433: The type 'CrystalDecisions.Shared.ExportOptions' exists in both ...
3
5548
by: steve | last post by:
Hi All I have a VB.net 2005 app which uses MS Report Viewer to create reports Occassionally I get the following error when changing to a different report User code running on thread 196 has attempted to abort thread 3560. This may result in a corrupt state or resource leaks if the thread being aborted was in the middle of an operation that modifies global state or uses native resources. Aborting threads other than the currently...
1
2255
by: =?Utf-8?B?Y2hhaXJtYW4=?= | last post by:
I am trying to set up a Report Server to publish reports that I have created in Visual Studio 2005. I have been able to get it up and running and I am able to access reports via the web and set up another user. The other user can log on and see the reports available but when he runs then it begins to run the report then throws the error below. I have tried looking in the virus software logs to see if it is being blocked but that doesn't...
1
2354
by: bh | last post by:
I have a vb.net 2003 front-end, which is a crystal report (8.5) viewer/generator. When trying to export the crystal report to excel spreadsheets, today, which has always been successful, up until this week, the following error is generated: Crystal Report Windows Forms Viewer: Error in file (myreport.rpt): Error detected by export dll My only guess is that a windows-update (we've had 2 this week) did something to affect the built-in...
0
4259
by: silverrock7 | last post by:
Hello Friends i m stuck up to a place wherein i want to print a report which is displaying on a reportviewer. I actually want to send the report to printer directly without viewing it. i am using a code for the same which i m posting here. I am getting an error on the line wherein i m rendering the report. the error is " a window handle is not created for the control" My code is :
0
9791
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9642
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10487
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10202
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7745
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5617
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5780
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4411
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3958
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.