Questions tagged [win32exception]

Win32Exception Class is part of .NET Framework and is used as wrapper of Win32 error codes.

Win32Exception Class is part of .NET Framework and is used as wrapper of Win32 error codes.

81 questions
0
votes
2 answers

winform Apps for SharePoint works on the dev but getting errors in staging

I get this after few minutes. visual studio just-in-time debugger an unhandled win32 exception occured in winprogram.exe[6108] Then I see this in the event logger. Time Provider NtpClient: No valid response has been received from domain controller…
Mina Kumari
  • 85
  • 2
  • 2
  • 6
0
votes
2 answers

C# System.ComponentModel.Win32Exception

I have been trying to download a program off of a website and then run said program. When I run it I get the following exception. I am new to C# so please use simple language. System.ComponentModel.Win32Exception: 'The process cannot access the file…
Zach Generic Name
  • 115
  • 1
  • 1
  • 8
0
votes
1 answer

System.ComponentModel.Win32Exception (0x80004005) AWS VM IIS

I am trying to get my handler.ashx page working on our new AWS Windows Instance, I have installed IIS and seemingly everything i need for the handler to work on the instance, but when I pass a value to the handler and it tried to connect to our…
Rolthar
  • 151
  • 2
  • 23
0
votes
1 answer

Closing All User Applications

I'm making a 'simple' program to close down all active applications on Windows 10 that I have running i.e. Chrome, Outlook, Notepadd++, etc.. After doing a lot of searching I came across this code: foreach (Process p in…
Nate R.
  • 1
  • 1
0
votes
1 answer

exe created from mBlock source code gives not a valid win32 application

I am trying to compile the mBlock source code from github (https://github.com/Makeblock-official/mBlock/tree/V3.4.5) I followed all the steps that are present in the tutorial from mBlock in 'HOW TO COMPILE MBLOCK'. My problem is that mblock runs…
arshh
  • 21
  • 1
  • 4
0
votes
0 answers

MVC App and API Communication Issue on Local IIS with Client Authentication

I have inherited an ASP.NET MVC Application and an ASP.NET Web Api which both use SSL along with the api requiring client certificates. Both have been in production for over a year now with minor changes. For development everything was originally…
amc25114
  • 3
  • 2
0
votes
1 answer

How to deal with create window handle exception when add custom control to a panel in C#?

Currently I have a program to display some item information. What I have is a com box to exercise different categories, and one panel to display items per selection in the com box. I created my own custom control to display, but when I add it to a…
Jacob_Liu
  • 19
  • 3
0
votes
0 answers

System.ComponentModel.Win32Exception: The wait operation timed out on line Roles.Provider.GetRolesForUser MVC C#

Sometimes I get this error and I don't know why :?: When user log on I adding roles: if (!System.Web.Security.Roles.RoleExists(user.roles.Title)) System.Web.Security.Roles.CreateRole(user.roles.Title); if…
0
votes
1 answer

Error when launching some .lnk files and getting their icon using Process.Start and SHGetFileInfo()

I have problems getting launching some shortcuts and getting their icon for some strange and unknown reason, using the following methods : Public Shared Sub Launch(itemToLaunch As String) Process.Start(itemToLaunch) End Sub Public…
Oliver
  • 23,072
  • 33
  • 138
  • 230
0
votes
1 answer

ASP.NET MVC Database not being created/uploaded System.ComponentModel.Win32Exception: The system cannot find the file specified

Background I have just created an MVC website (as an application) using Visual Studio 2013 Express for Web from the default MVC template using the "Individual user accounts" option. I have created views to fit and added two fields ("Username" and…
0
votes
2 answers

access denied trying extracting an archive on the windows user temp folder

I'm trying to run a command-line process (which is extraction of a .7z archive) on a file that lies in a temporary folder on the windows user temp directory (C:\Documents and Settings\User\Local Settings\Temp), using Process in my c# app. I think…
Hanan
  • 1,395
  • 4
  • 18
  • 29
0
votes
1 answer

MySQL backup process hit with a Win32Exception that the system cannot find the file specified

I am hit with a mysterious win32exception here when i was attempting to do a mysqldump(backup) to backup my database on a windows form , .Net Framework 4.0, Visual Studio 2010 on a x64 Windows 8.0 machine. All went fine except for this process where…
Guo Hong Lim
  • 1,690
  • 3
  • 13
  • 20
0
votes
2 answers

change MessageDialog content or show new one from MessageDialog handler Windows Store app

I have MessageDialog dialogue responsible for delete confirmation. private async void ShowDialogClick(object sender, RoutedEventArgs e) { MessageDialog md = new MessageDialog("Are your sure you want to delete this?"); md.Commands.Add(new…
Jakub Kuszneruk
  • 1,188
  • 1
  • 12
  • 37
0
votes
1 answer

Error using Process.Start()

I am trying to run sysprep from a vb.net application, and even though the path and file name are confirmed accurate, it is returning that it can not find the file. I've tried using process.start, declaring as a new process, declaring the path…
0
votes
1 answer

Win32Exception when trying to save a file

I'm developing a Windows Form application under Windows XP. I've created a Class Library that is accessed by the user application in order to create PDF documents using PdfSharp and MigraDoc libraries. My problem starts when I try to add a bitmap to…
adripanico
  • 1,026
  • 14
  • 32