Application Crashes Without Specific Error

Oct 16, 2010

I developed one application in VB.Net 2010. It worked fine on my laptop.[code]...

View 1 Replies


ADVERTISEMENT

App Crashes Without Error

Apr 22, 2010

I've had an app running without problem for a few months now. When the app crashed it would pop up a message where I could look at the error message to determine why it crashed. After a recent Windows 2003 update, when the app crashes it no longer pops up the message, writes to any log or appears in the event viewer so I have no idea now why it's crashing. Is there a way to determine what is going on that would help me see why my app is crashing?

View 3 Replies

Program Crashes With No Error?

Nov 10, 2011

I have an application that I have built that used a winsock control to send commands and receive data from a wafer map program. I have been converting the winsock to use the built in sockets in .net and so far things have been going fine. I have been able to get it to connect and send out a command to the wafer map. Yet I have having a troubling error that I can't resolve.

View 5 Replies

Application Crashes After Few Hours?

Mar 27, 2011

I am writing a system that utilizes the Timer to execute a command after an interval of three seconds. The command is to send a trigger to my RFID reader and hence the program will then decode the received data and changed it to information. It runs fine for the first few hours, but it will crash after that and the error given is an "System.NullReferenceExeption - Object reference not set to an instance of an object." error. Initially, i thought that it might be something that relates to my comobobox selected index change event that might be causing the crashes, but yet the application is crashes after i removed the section.

I fail to find the reason of the crash, even after spend fewing days finding the memory leak or some other events that might cause the crash.

I have insert TRY CATCH METHOD, just to catch the exeption error message that might cause by one of the codes, but still it doesnt show me.

View 1 Replies

Application Crashes For Other Users

Jun 8, 2010

I recently finished an application which I spent a long time making, but when I sent it to my friends so they could beta test, everyone single one of them said it stopped responding on start up. I took the .exe out of the project>bin>debug>application.exe and thats what I gave them, and it doesn't crash for me, so i was wondering what might be causing it to crash, or if they would need extra files for it to work properly?

Also, when my friend opened it, he says he got an error that says:
Name: Microsoft .NET Error

View 1 Replies

Application Crashes On Client?

Nov 2, 2009

I have created a program in Visual Basic 2008 Express Edition, and it runs fine on my computer, but on client computers (which do have the .NET |Framework installed), it crashes. I have ran Win dbg, and it says the program encountered a break instruction exception. I have googled a lot, but can't make the program work on client computers.

View 6 Replies

Console Application Crashes?

Apr 24, 2012

i have created a very simple console application in vb.net that emails me some info from the db daily. everythign works in my dev environment, however when i move it out to production and try to run the executable, i get the following error message:"A problem caused the program to stop working correctly. please close the program"i have put in some exception checks in the code:

Dim output As String
Try
output = FormatIndividualRecords(False)

[code].....

View 1 Replies

Program Crashes Due To Vshost.exe Error

Apr 7, 2009

The application is like a client for a game site. I made it for the fan site i am apart of to help the members of our community.The application crashes when you click play on the game at the site. The game site uses Java all games are made in Java so i am guessing its a conflict with the Java, if you can help me it would be great i will attach a copy of the application for you to look at if you need.The password for the application is "cr2pafut" user name is anything you want it to be.url...

View 14 Replies

Application Crashes When Use MSFlexgrid In 64 Mode?

May 21, 2010

In my application (VB2008),I am using MS flex grid and it was workingfine on 32bit mode. When I tried to compile the same code base in 64 bit ,it crashes the application.

View 2 Replies

VB Application Crashes When Trying To Show The Next Form

May 21, 2009

I have a VB application in .NET Framework 2.0 and I'm using VS 2008 Professional for development. The application is running without any problem on some PCs and it's not running on one of the PCs. To make sure that nothing is wrong with the that specific PC, I tried to reproduce the issue on my machine. So I formatted my PC and reinstalled everything. After installing .NET Framework and required drivers, the ran the application i got the same error. Then I installed VS 2008 and open the project to debug my code and then I realized that the exception is being thrown on this line:

********************************
Private Sub btnEnterRecords_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnEnterRecords.Click
' Dim frmNext As New frmIncident()

[Code].....

View 1 Replies

AppHangB1 And APPCRASH Error Crashes The Program?

Sep 24, 2007

I am using VS2005 VB.NET on a Vista duel core processor machine.Completely updated from Microsoft.I have create a communication program that talks to a sensor we build.The software seems to work fine most of the time. But it keeps crashing randomly.

Here is one I get.

Description:A problem caused this program to stop interacting with Windows.
Problem signature:
Problem Event Name: AppHangB1
Application Name: LPU2428_VS.vshost.exe

[code]....

View 13 Replies

32 Bit Application Crashes When Exiting On Windows 2008 64 Bit

Jan 4, 2011

We have an application that works well on XP/Pro, Vista, Windows 7, Windows 2003 Server, Windows 2008 Server (32 bit) but is problematic on Windows 2008 Server (64 bit). The application uses an unsigned activeX control which may or may not be related to the problem. To install we need to add the program name and regsvr32 as DEP exceptions. Once that is done the application installs correctly and operates normally except when the application closes.

If a user clicks the 'exit' button our code basically says 'unload me' (where me = the main form of the application) and there is no code in the form_unload section of the program.

Everything works well on every Windows platform except Win 2008 64 bit where we get

APPCRASH
Application Name: PDFPrint.exe
Application Version: 10.10.0.18
Application Timestamp: 4d238253

[Code].....

After we continue to close the program we see a message box with run time error 216 at 00002B24 message.

View 2 Replies

Application Crashes At Run Laptop, But Works On Netbook?

Jul 2, 2010

I seem to have a problem with an application i made. I hope you can help me with this as it has puzzled me for awhile now.

[Code]...

View 7 Replies

Application Crashes When Calling Embedded Resources?

Jul 3, 2009

I'm writing a console application in Visual Basic 2008 Express. I added several text files to my project as resources. Specifically... I went to my project's "Properties" page and selected the "Resources" tab. I clicked the "Add Resource" dropdown and chose "Add New Text File". I entered some simple text and saved the file as "Welcome.txt". I built the entire solution.n my code, I use console.writeline(My.Resources.Welcome) to display the text

View 1 Replies

Application Crashes While Using GetKeyboardState Win32 API In 64 Bit Mode?

May 20, 2010

Iam using GetKeyboardState API in my application for getting keyboard state . it was working fine for win32 applicati9on. When I moved to 64 bit application gets crahes without popping any exception message.my sample code is as given below:

Private Declare Sub keybd_event Lib "user32" (ByVal bVk As Byte, ByVal bScan As Byte, ByVal dwFlags As Integer, ByVal dwExtraInfo As Integer)
Private Declare Function GetKeyboardState Lib "user32" (ByRef pbKeyState As Byte) As Integer

[code].....

View 2 Replies

Application Stopped Working And Just Crashes On Startup?

Sep 12, 2009

Application stopped working and just crashes on startup?

View 11 Replies

Loaded PDF In AxAcroPDF Crashes When Closing My Application

Jan 14, 2009

I have a small application (in VB.NET 2008) which gives the user the option to open a PDF document. This document is stored on a mapped network drive and is loaded in to the AxAcroPDF Control.

When closing my application I get the following message

The instruction at "0x0700609c" referenced memory at "0x00000014". The memory could not be read.

I've been google-ing this error message, but seen only a lot of problems, but no solutions.

I also tried using the WebBrowser Control, but this gives the same error.

View 2 Replies

Serialport Datareceived Crashes Closing Application?

Jul 8, 2011

I have an application with serial port datareceived event. My instrument sends me aprox.00bytes every 1 second. Which I then process and update few textboxes on the main formRecently my application started crashing if I press close button.I am guessing form_closing closes serialport at the same time datareceived event triggers in which the sp1.bytestoread causes the crash.1. I added synclock in datareceived and in form_closing.Within synclock in form_closing I removed datareceived handler.

View 8 Replies

Mouse Control Functions / Crashes With A PInvokeStackImbalance Error

Oct 5, 2011

he Just trying to figure out some mouse Control Functions, I got it sort of working.the program run's, and does what it's meant to do, but then it crashes with a PInvokeStackImbalance error. [code] I just shortened the Code because there were a lot of Sub's that were not part of the problem, now it's easier to read.and If you haven't seen my other post it's NET version 4.0 in VS 2010

View 3 Replies

VS 2008 Error Messages Not Appearing When Program Crashes

Apr 16, 2011

whenever my program crashes at college, an error message pops up in a window which tells me why the program crashed and points to the line of code which made the program crash. I have recently taken the program home to finish on my own computer but now whenever it crashes nothing pops up to tell me why it has just crashed.

View 1 Replies

Access Database Engine 2010 Crashes Application

Apr 8, 2011

I have a vb.net 2005 application that connects to an access database. I use Access Database Engine 2007 to connect to to this database.

Everything worked fine until i install MS Office 2010. After this, the application started to crash, returning the error 'application has stopped working'.

I've a Windows Seven Enterprise SP1 32bits.

When i debug the application, visual studio also crashes. I get the following error, closing an OleDbConnection: 'vshost.exe stopped working'.

I decided to run some tests. I installed my application on 2 virtual machines: a windows xp sp3 and a windows 7. When i installed ACE 2007 everything worked fine, but when i installed ACE 2010, thats when the problems began. This behavior ocurred on both machines.

View 5 Replies

Application Crashes For Some (but Not All) Customers When Clicking A Listbox After Printing?

Feb 3, 2011

We have a rather large VB.NET accounting application that crashes occasionally for some customers. I have now been able to reproduce this particular almost 100% in my test nvironment using certain data. The crash happens when clicking a list box after printing a report. The form involved has a list box listing available reports. You select one or more reports from the list box and click the print button. After printing, if you click the list box again, the program crashes, with an exception that does not seem like one VB.NET should even be able to produce.The exception message is: "Attempted to read or write protected memory. This is often an indication that other memory is corrupt."The call stack is:

1. System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
2. System.Windows.Forms.NativeWindow.DefWndProc(Message& m) [IL offset: 0x3e]

[code]....

View 12 Replies

Asp.net - IIS Application Pool Crashes When Using Context.Server.Execute?

Apr 13, 2012

I am having an issue with an ASP.Net page I am writing and struggling to diagnose why this page is failing.

I am trying to do this:

Dim st As New StringWriter()
Dim strURL As String = "CourseProgramme.aspx?id=3733"
Context.Server.Execute(strURL, st)
txtNotes.Text = st.ToString()

The aim here is to get the HTML back for the page that has been specified in strURL and then display it in a textbox. However when I run this code it crashes the ApplicationPool in IIS and when I look in event viewer I see this error message:

A process serving application pool 'blueprintdev' suffered a fatal communication error with the Windows Process Activation Service. The process id was '5284'. The data field contains the error number.The strange thing here is that in another page I do this code which works fine:

Dim strDutyStartDate As Date
strDutyStartDate = TextboxDutyStartDate.Text
Dim st As New StringWriter()

[code]....

As far as I can see other than the URL I am passing, which does exist, I cannot see a difference between the two.The page I am developing is in ASP.Net with .Net 4.0 however in the website there are some classic ASP pages. IIS is running at version 7.5.7600.16385 on Windows Server 2008 R2 64Bit.So far I have tried setting the application pool to run in 32bit mode but that causes errors in other areas and the site will not load.

View 1 Replies

[2005] When Try - Catch - End Try Doesn't Work - Crashes Or Throws Up An Error

Mar 15, 2009

I've used this in a couple of places and it simply doesn't work. Despit the try event, VB.Net still crashes or throws up an error.

View 14 Replies

.net - Why Does A Large Amount Of AppSettings Calls To A None Existent Key Cause Application Crashes

May 23, 2012

There is a very strange problem with a Windows Service I am working on that I would like to understand why it occurs. The service loops every 5 minutes and then within that loop it loops through keys containing webservice URLs that are numbered such as:

<add key="URL.1" value="http://dummy1.com/Service.asmx"/>
<add key="URL.2" value="http://dummy2.com/Service.asmx"/>
<add key="URL.3" value="http://dummy3.com/Service.asmx"/>

The code that does this check is:

If String.IsNullOrEmpty(AppSettings("OM." & intCount & ".Name").ToString) Then

When it hits a key that doesn't exist an exception is thrown and the service stops and waits for 5 minutes until the next loop.This usually works great but every week or two the Windows service will crash on that line without any Exception. The application log has a line from before that line but nothing after, none of the Try Catches are hit (the main one is catching the base "Exception" class).In the Event Log for Windows is the following:

Faulting application name: MyService.exe, version: 1.1.2.0, time stamp: 0x4fa22a24
Faulting module name: KERNELBASE.dll, version: 6.1.7601.17651, time stamp: 0x4e211319
Exception code: 0xe053534f

[code]....

The weird part is that this line of code is executing fine 300 times a day for at least a week which is around 2000 times before that one time it causes a full crash of the application. why this is occurring? I have changed that line of code to not rely on Exceptions and it has been working fine for a week now with no crash so could be something to do with too many Exceptions - maybe causing a stack overflow?

View 1 Replies

VS 2008 : Random Application Crashes: Exception Code: E053534f

Jul 26, 2011

the error code points to a Stack-Overflow I can not pin the offending code down because the software works faultlessly on some computers after deployment but on others the crash occurs when a Gantt chart gets redrawn after changing activity dates. All the computers are situated on the same LAN and connect to the same SQL server 2008 database.The application has been developed with Visual Studio 2008.

I used the same install disk on all the computers and they are all using the same date/time format. The crashes occur on both 32 - and 64 bit machines.

The error message:
Stopped working
Problem signature:
Problem Event Name: APPCRASH
Application Name: Pfisterer Project Manager.exe

[code]....

View 2 Replies

Visual Studio 2010 - .net Application Works With Files Dragged Onto The Exe But Crashes If There's A Space In The File's Path?

Jun 15, 2011

I'm developing an application in vb.net. You drag any type of file onto the exe, and a window pops up with some options for the file, then it saves the file to a different location, works some SQL magic, etc. It works great for the most part. The only issue I've found is that if the path of the file contains any spaces, the application will crash immediately with the error window:[URl]..I'm using: Private filename as String = Command$ This is located right inside my form's class declaration, not within a sub/function.Without this line, my program runs fine (although useless, without accessing the file).I've also tried (I think this was it, I don't have the code with me at the moment): Private filename as String = Environment.CommandLine So, in vb.net, is there a way to drag a file onto an exe and use that path name, even if there are spaces in the path name?

View 2 Replies

Asp.net - Server Error Asks For Error Specific Page Instead Of Error Details?

Mar 6, 2012

When I deployed my project on a server, in certain circumstances, I get an error page that indicates I should create a custom error page. I was wondering how exactly I would implement this custom error page the server asks for to give me a precise and helpful message or preferably, how I would get the error to just display on the main page?This is the error message I got below

Runtime Error

Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".

<!-- Web.Config Configuration File -->
<configuration>
<system.web>

[code]....

Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.

<!-- Web.Config Configuration File -->
<configuration>
<system.web>

[code]....

View 2 Replies

Asp.net - Display Specific Error Message On Custom Error Page

Sep 1, 2011

I know it's possible in asp.net to create a custom error page in a web app, by putting the following line in the web.config: <customErrors mode="RemoteOnly" defaultRedirect="frmErrorPage.aspx" />

I have had to do this for my web app, since it is clearly much tidier than letting the program bomb out with it's ugly default error page. My custom error page just has the customer's logo and a brief message saying "Error has occurred. Please return to homepage"The trouble now is that I have no way of knowing what caused the error, when a customer reports it.

Is there a way to make the actual error message appear on this custom error page too?

View 2 Replies

VS 2010 VB 2010 Express Ed Sql Error - A Network-related Or Instance-specific Error Occurred

Jun 1, 2010

trying to get my hands wet on vs 2010 and i downloaded samples from ms site but when i tried to run some of the DB samples i received this sql error: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) any ideas how to get around on this?

View 5 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved