ServerVersion      <error: an exception of type: {System.InvalidOperationException} occurred>

Posted on 2006-03-20
Last Modified: 2008-01-09
Hi There,

I have started getting this error, I had not changed much of the code and it just started happening once I compiled the application. It's been fine up till now, I'm wondering if anyone else has had this error and can tell me how to fix it.

'straight from the locals window in my IDE
      ServerVersion      <error: an exception of type: {System.InvalidOperationException} occurred>      String

Please help, thanks in advance - sean
Question by:bullrout
    LVL 16

    Accepted Solution

    Hi bullrout,
    Following may help you.

    System.InvalidOperationException Class

    Error message occurs when you run commands on a command object: "Unhandled exception of type 'System.InvalidOperationException'";en-us;311544

    LVL 10

    Expert Comment

    Can you please provide more information about this error, as well as your code lines so we can help you?

    Featured Post

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Join & Write a Comment

    In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
    Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    24 Experts available now in Live!

    Get 1:1 Help Now