.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan
Fauzul Azmi
Asad Ali
Post New Web Links

MVC application won't start: code -2147023895

Posted By:      Posted Date: September 28, 2010    Points: 0   Category :ASP.Net
 

I started trying to refactor my code, and made some changes to the repositories of my application. The solution still builds successfully, but when I try to run it in debug mode, the app hangs for a time, then shuts down without starting completely. The error message I get is:

The program '[3256] WebDev.WebServer40.EXE: Managed (v4.0.30319)' has exited with code -2147023895 (0x800703e9).

Since I'm not getting an exception, and Googling the error didn't yield any useful results, I'm stuck at the moment. The exit code looks somewhat like the min value for an integer, but that doesn't really mean anything to me in this context.




View Complete Post


More Related Resource Links

Ho to fire the Application Error in asax from the code?

  

 Hi All,

I have this code in Global.asax but it not firing once an error occured:

 

void Application_Error(object sender, EventArgs e)

 

    {

        // Get the error details

        HttpException lastErrorWrapper = Server.GetLastError() as HttpException;

        Exception lastError = lastErrorWrapper;

        if (lastErrorWrapper.InnerException != null)

        lastError = lastErrorWrapper.InnerException;

        Server.ClearError();

        

        string lastErrorTypeName = lastError.GetType().ToString();

        string lastErrorMessage = lastError.Message;

        string lastErrorStackTrace = lastError.StackTrace;

        Response.Redirect("ErrorPage.aspx");

    }


Please help me so I can call this method from any page?

Thaxxxxxxxxxxxxx a lot,


 

 


Code Reviews: Find and Fix Vulnerabilities Before Your Application Ships

  

Code defects can be found using many approaches, but manual code reviews stand out in terms of precision and quality. We provide some best practices for planning and executing code reviews on your own team.

M. Chmielewski, N. Clift, S. Fonrobert, and T. Ostwald

MSDN Magazine November 2007


Testing: Perform Code Coverage Analysis with .NET to Ensure Thorough Application Testing

  

When running your tests how do you know which parts of your product code are actually executed and tested? This article presents a complete system called Fundamental Function code coverage that operates at the method level. The author gives an overview of the system so you can understand code coverage principles, explains the key parts of the underlying code, and discusses how code coverage fits into the overall product development cycle. After reading this article you will be able to perform code coverage analysis on any .NET software system.

James McCaffrey

MSDN Magazine April 2004


C# and the Web: Writing a Web Client Application with Managed Code in the Microsoft .NET Framework

  

When the author wanted to build a middleware Web client to connect to other applications over the Internet, he realized that the XMLHttpRequest COM object was not sufficient for his purposes. In order to build a Web client using managed code, the author had to use the HTTPWebRequest and HTTPWebResponse classes provided by the Microsoft .NET framework. These classes are used in the sample project as a substitute for the less powerful XMLHttpRequest COM object, allowing the author to build a full-featured Web client. They also take advantage of all the benefits that the CLR and managed code have to offer.

Avi Ben-Menahem

MSDN Magazine September 2001


Resume SharePoint Services Web Application and returns code 1387 error

  

Hello everyone! Newbie here. I would like to ask how to start the SharePoint Services Web Application on (WSS3.0,internal database, stanalone users) without getting error 1387 ?

I would love to provide more information regarding this issue but what I got is error 1387 displayed in the browser.

I look forward to seeing you guys feedback from your expertise angle.

 

 


how run my C# console application when i start the computer ?

  
hi i have build a console application (any listener) and i need that when i open the computer - this application will run. i don't have installation for hem (it a simple little .exe file) is there any way to do it through my C# code ? thank's in advance

dllimport("mapi32.dll") changes the path context of application (i.e. relative paths start pointing

  
I have a WPF desktop application. We use mapi32.dll to show a new outlook mail window to allow user to send an email. After user sends email / just closes the new mail window without sending email, relative path starts pointing to C:\Program Files\Microsoft Office\Office12. I have office 2007 installed.  How can I restore this relative path ?   Thanks & Regards, Nadeem Ullah

How to Find out Windows service application path from Code ?

  
Dear frnds, Could you please help me to find out the path of  windows serivce exe ( application path ) from code?   Regards. Sajid P K  

"System.ArgumentException: Font '?' cannot be found" during application start up. Any ideas?

  
We have couple of users that get this error when they run our application.  I have never seen this problem before. Client says fonts are installed and Microsoft Sans Serif font is there as well. Also he states that user has Read permissions to %SytemRoot%Fonts folder. Any suggestions or ideas how to fix this problem will be appreciated. Thank you.  Here is the stack:   Exception: System.ArgumentException: Font '?' cannot be found.   at System.Drawing.FontFamily.GetGdipGenericSansSerif()    at System.Drawing.FontFamily.get_GenericSansSerif()    at System.Drawing.SystemFonts.get_DefaultFont()    at System.Windows.Forms.Control.get_DefaultFont()    at System.Windows.Forms.Control.get_Font()    at System.Windows.Forms.Control.AssignParent(Control value)    at System.Windows.Forms.Control.ControlCollection.Add(Control value)    at Bloomberg.SmartClient.Hosting.ErrorControl.InitializeComponent() in C:\Projects\Source\Client\ApplicationHosting\ErrorControl.cs:line 218    at Bloomberg.SmartClient.Hosting.ErrorControl..ctor(String appTitle, Boolean inPanel, Exception exception) in C:\Projects\Source\Client\ApplicationHosting\ErrorControl.cs:line 119    at Bloomberg.SmartClient.Hosting.ApplicationHost.OnDisplayError(ApplicationDescription appDescription, Excepti

"System.ArgumentException: Font '?' cannot be found" during application start up. Any ideas?

  
We have couple of users that get this error when they run our application.  I have never seen this problem before. Client says fonts are installed and Microsoft Sans Serif font is there as well. Also he states that user has Read permissions to %SytemRoot%Fonts folder. Any suggestions or ideas how to fix this problem will be appreciated. Thank you.  Here is the stack: Exception: System.ArgumentException: Font '?' cannot be found.   at System.Drawing.FontFamily.GetGdipGenericSansSerif()    at System.Drawing.FontFamily.get_GenericSansSerif()    at System.Drawing.SystemFonts.get_DefaultFont()    at System.Windows.Forms.Control.get_DefaultFont()    at System.Windows.Forms.Control.get_Font()    at System.Windows.Forms.Control.AssignParent(Control value)    at System.Windows.Forms.Control.ControlCollection.Add(Control value)    at Bloomberg.SmartClient.Hosting.ErrorControl.InitializeComponent() in C:\Projects\Source\Client\ApplicationHosting\ErrorControl.cs:line 218    at Bloomberg.SmartClient.Hosting.ErrorControl..ctor(String appTitle, Boolean inPanel, Exception exception) in C:\Projects\Source\Client\ApplicationHosting\ErrorControl.cs:line 119    at Bloomberg.SmartClient.Hosting.ApplicationHost.OnDisplayError(ApplicationDescription appDescription, Exception err

code to run visual basic application in between desktop icon and wallpaper

  
Plex can anyone of you tell me the visual basic net code to make the application run between desktop icon and background wallpaper . it mean if that application is running in background the icon in the desktop should be selectable...  pleax send you code to me ....    

Where can i place this line of code so that its accessible thruout my entire web application?

  

Currently im capturing the users name during certain functions, so at the moment, i have the line below within each event that i need that information. Instead of having that line everywhere, cant iplace that line in a class or something so that i can just access it by "usn" string usn = User.Identity.Name.ToString();


Release mode application throws Break instruction exception - code 80000003 when running in WinDbg

  

Here is the initial output of my program after running it from WinDbg:

CommandLine: "C:\Documents and Settings\Administrator\My Documents\Work\QMI_Test_Tool\QMI_UT_Source\Release\QMI Validation Tool.exe"
Symbol search path is: SRV*c:\symbols*http://msdl.microsoft.com/download/symbols
Executable search path is: 
ModLoad: 00400000 0048f000  QMI Validation Tool.exe
ModLoad: 7c900000 7c9b2000  ntdll.dll
ModLoad: 79000000 7904a000  C:\WINDOWS\system32\mscoree.dll
ModLoad: 7c800000 7c8f6000  C:\WINDOWS\system32\KERNEL32.dll
ModLoad: 77dd0000 77e6b000  C:\WINDOWS\system32\advapi32.dll
ModLoad: 77e70000 77f03000  C:\WINDOWS\system32\RPCRT4.dll
ModLoad: 77fe0000 77ff1000  C:\WINDOWS\system32\Secur32.dll
ModLoad: 7c420000 7c4a7000  C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.4053_x-ww_e6967989\MSVCP80.dll
ModLoad: 78130000 781cb000  C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.4053_x-ww_e6967989\MSVCR80.dll
ModLoad: 77c10000 77c68000  C:\WINDOWS\system32\msvcrt.dll
ModLoad: 7c9c0000 7d1d7000  C:\WINDOWS\system32\SHELL32.dll
ModLoad: 77f10000 77f59000  C:\WINDOWS\system32\GDI32.dll
ModLoad: 7e410000 7e4a1000  C:\WINDOWS\system32\USER32.dll
ModLoad: 77f60000 77fd6000  C:\WINDOWS\system32\SHLWAPI.dll
ModLoad: 7c4c0000 7c53d000  C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.4053_x-ww_e6967989\m

Getting error when trying to start acroRd32.exe "Not a valid Win32 Application"

  

I am writing a .pdf file to a folder then attempting to silent print using acroRd32.exe. When I run the program I get the error 

"Not a valid win32 application"

The program is creating the pdf file correctly.


Thanks



 string pathToExecutable = @"c:\Program Files\Adobe\Reader 9.0\AcroRd32.exe";

     RunExecutable(pathToExecutable, @"/t ""C:\WR014v2_.pdf""     ""//ussnadprt/USNPA039""");




 private static void RunExecutable(string executable, string arguments)
        {
            ProcessStartInfo starter = new ProcessStartInfo(executable, arguments);
            starter.CreateNoWindow = true;
            starter.RedirectStandardOutput = true;
            starter.UseShellExecute = false;

            Process process = new Process();
            process.StartInfo = starter;
            process.Start();

            StringBuilder buffer = new StringBuilder();

            using (StreamReader reader = process.StandardOutput)
            {
                string line = reader.ReadLine();
                while (line != null)
                {
                    buffer.Append(line);
                    buffer.Append(Environment.NewLine);
                    line = reader.ReadLine();
                  

application start

  

Hi


If I create a dataset in Application_Start - is that dataset available for the length of  application run time? if so how do I access it?


or do I have to store it in an application session (Application["SessionName"])



Thanks in advance


How to do code profiling for SharePoint application ?

  
How to do code profiling using clr profiler for SharePoint application in moss 2007 to identify memory consuming methods? Please help its very urgent...

how to generate the tabcontrol in code behind in WPF application

  

Hi All

 I Am new in WPF application i need to develop the application how the VS2010  solution Explorer Tree view is working when user click the particular file it open in the new tab in the same way i need to develope to my application.

What i am done is i have the menu item like

new

open

when user click the menu item  dynamically add the tab item with menu name . my problem is when i select the first menu item its working fine . when i am trying to click the next menu item it show error like this

--> Element already has a logical parent. It must be detached from the old parent before it is attached to a new one.

how to fix this problem any one help me.

this is my code in code behind

TabControl item_tabs = new TabControl();
    TabItem newtab1 = new TabItem();
    private void Window_Loaded(object sender, RoutedEventArgs e)
    {
      item_tabs = (TabControl)this.FindName("itemtab1");
    }

    private void new_men_Click(object sender, RoutedEventArgs e)
    {
      // TabControl item_tabs = (TabControl)this.FindName("itemtab1");
      int count = item_tabs.Items.Count;
      if (count == 0)
      {
        string itemname = new_men.Name.ToString();
        // newtab1.Content = itemname;
        newtab1.Header = itemname;
        item_tabs.Items.Add(newtab1);
      
Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend