Search Result

Collapse
17 results in 0.0019 seconds.
Keywords
Members
Tags
exception
  •  

  • gyanendar
    started a topic HRESULT: 0x80010108 (RPC_E_DISCONNECTED)
    in C

    HRESULT: 0x80010108 (RPC_E_DISCONNECTED)

    Hi ,

    I am invoking a WMI method(served by WMI provider) from managed C++ code .Sometimes I am getting Exception :

    System.Runtime. InteropServices .COMException was unhandled by user code

    Message="The object invoked has disconnected from its clients. (Exception from HRESULT: 0x80010108 (RPC_E_DISCONNE CTED))"

    Source="mscorli b"

    I browsed this on google...
    See more | Go to post

  • How to fix mscorlib exception: Unrecognized OS PlatformId.

    On my dev machine Silverlight applications won't run out of browser. I get a blank window. The apps run fine in the browser and on other machines in or out of the browser. This happens with my apps, other people's apps, brand new VS2010 projects, etc.

    A bit of digging revealed that the OOB app causes an Unrecognized OS PlatformId exception in mscorlib. Presumably this prevents it from executing.

    I reinstalled all Silverlight...
    See more | Go to post

  • AlarV
    started a topic Java GUI Static component, NullPointerException
    in Java

    Java GUI Static component, NullPointerException

    Hey everyone, I created a GUI project, where I'm using a JTree. When it's created everything is ok, but in my run() method when I call it i get a nullPointerExce ption. Here is the code.
    Code:
    treePanel = new javax.swing.JPanel();
    DefaultMutableTreeNode top =
            new DefaultMutableTreeNode("blah");
            mytree = new javax.swing.JTree(top);
    javax.swing.GroupLayout treePanelLayout = new javax.swing.GroupLayout(treePanel);
    ...
    See more | Go to post
    Last edited by AlarV; Jan 7 '11, 10:11 AM. Reason: additional code

  • danielo
    started a topic Why do i get uncaught exception and the program exits?
    in C

    Why do i get uncaught exception and the program exits?

    Code:
    class Error {
    Error(string err) { cout << err; }
    }
    void main()
    {
      try {
            throw string("exception");
     }
     catch(Error Err)
    {
    }
    return
    }
    my question is :
    why i get uncaught exception and the program exits ,
    even though i have a Error constructor that gets string ?
    thanks
    See more | Go to post

  • An error occurred creating the form... the error is: Index was out of range.

    Hello All,

    While trying to open a form I get the following error:

    An error occurred creating the form. See Exception.Inner Exception for details. The error is: Index was out of range. Must be non-negative and less than the size of the collection.
    Parameter name: index

    Previously the form loaded flawlesly. I made several small changes to subs contained in the form, and after that the problem appeared....
    See more | Go to post

  • How to fix mozilla error 0x80004005 (NS_ERROR_FAILURE)

    i have this error on my web application ( i check the error console of mozilla)

    Code:
    [Exception..."Component returned failure code:0x80004005 (NS_ERROR_FAILURE) [nsIURI.hostPort]
    how to fix that?thanks.
    See more | Go to post

  • Error: "System.Data.OleDb.OleDbException: No value given for one or more required par

    No value given for one or more required parameters.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.Data.Ole Db.OleDbExcepti on: No value given for one or more required parameters.

    Source Error:

    An unhandled exception was generated...
    See more | Go to post

  • Leito
    started a topic SqlConnection :: No Exception Raised w/o Network

    SqlConnection :: No Exception Raised w/o Network

    Hello,

    First the context: In my C# application form, I use an SqlConnection to access a Microsoft SQL Server located on a remote server:
    Code:
    connection = new SqlConnection(strConnection);
    try {
       connection.Open();
    } catch {
       return;
    }
    I want to manage errors when my network cable is unplugged. So I thought that treating the exception raised by the SqlConnection.O pen()...
    See more | Go to post

  • sparky159357
    started a topic how do i get rid of my error
    in Java

    how do i get rid of my error

    i need to get rid of my error just compile and run
    help!!!
    it is for adding up monthly income dont copy my idea!!!

    help i am n00b

    i know alot of stuff is not used it is not even half way done!!

    ps it is very messy i have still not cleaned it up

    pss my batery is dieing so i have to type fast i deleted a section and cant get it back what i am trying to do is add up the...
    See more | Go to post
    Last edited by Niheel; Jun 25 '10, 12:20 AM. Reason: please use code tags to display code

  • nandhiniprabhu
    started a topic throw and throws
    in Java

    throw and throws

    What is the difference between throw and throws.
    See more | Go to post

  • alex21
    started a topic Wierd exception from DataGridView, why?

    Wierd exception from DataGridView, why?

    Ok im getting this exception from a DataGridView control in my program.

    Code:
    System.ArgumentOutOfRangeException was unhandled
      Message="Value of '132' is not valid for 'Value'. 'Value' should be between 'minimum' and 'maximum'.\r\nParameter name: Value"
      Source="System.Windows.Forms"
      ParamName="Value"
      StackTrace:
           at System.Windows.Forms.ScrollBar.set_Value(Int32
    ...
    See more | Go to post

  • tincho87
    started a topic dll not found when changing the path

    dll not found when changing the path

    Hi everyone, sorry about my english. Im having a problem and i don't know how to fix it.

    I have a plugin-based application that i'm developing. Every plugin has a reference to a dll that has different static classes with functions. When i run the application with all the dlls (plugins and their references) in the same directory, the application works fine. But the problem comes when i change the application's path, leaving the dlls...
    See more | Go to post

  • para15000
    started a topic Conversion error in web service

    Conversion error in web service

    Hello,

    I am working on a single sign on sollution for two different websites.
    I am trying to make the methods in my customized(over riden) provider post to a web service and get the results from it so that the same login.

    It works for most methods but there are ones that return System.We.Secur ity sp3ecific objects that fail. For example

    Code:
    public override MembershipUser GetUser(object providerUserKey,
    ...
    See more | Go to post

  • BurnTard
    started a topic Exception for incomparable types?
    in Java

    Exception for incomparable types?

    Okay, new programming language for Burnie. Can anyone tell me how to write a try catch statement for incomparable types? I can't figure out how to get emacs to give me the actual error, and not the very useful description... Basically I want this:

    [CODE=java]
    public class ThisProgram
    {
    public static void main (String[] args)
    {
    String[] list1={"a","b"} ;
    ...
    See more | Go to post

  • hsachdevah
    started a topic Custom Exception in C# windows application

    Custom Exception in C# windows application

    Hello,
    I have a c# windows application and I am using a try catch block to handle some exception.
    I want to show show error in messagebox. but the problem is that program execution does not stop there.
    If I use 'throw new exception', I get that ugly windows default msg box.

    any solutions?

    Code:
    try
    {
    ...code
    }
    catch (Exception)
    {
        MessageBox.Show("Error:
    ...
    See more | Go to post
    Last edited by tlhintoq; Jun 23 '09, 06:32 PM. Reason: [CODE] ... your code here ... [/CODE] tags added
Working...