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

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

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

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

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.


 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;

            StringBuilder buffer = new StringBuilder();

            using (StreamReader reader = process.StandardOutput)
                string line = reader.ReadLine();
                while (line != null)
                    line = reader.ReadLine();

View Complete Post

More Related Resource Links

sql server start service error "The request failed or the service didn't respond in a timely fashio

I cannot start sql server 2008 after repair windows. sql server (MSSQLSERVER) not start dialog message "The request failed or the service didn't respond in a timely fashion.Consult the event log or other applicable error logs for details"  I open even log (control panel >> administration >> event viewer) find error log with sql server it notice Could not open error log file 'C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\Log\ERRORLOG'. Operating system error = 5(failed to retrieve text for this error. Reason: 1815) I open file ERRORLOG.5 but I don't understand where I should fix?  I copy errorlog.5 on this webboard  Please help me! thank you   2010-08-20 08:16:52.89 Server      Microsoft SQL Server 2008 (RTM) - 10.0.1600.22 (Intel X86)  Jul  9 2008 14:43:34  Copyright (c) 1988-2008 Microsoft Corporation  Standard Edition on Windows NT 5.1 <X86> (Build 2600: Service Pack 3) 2010-08-20 08:16:52.89 Server      (c) 2005 Microsoft Corporation. 2010-08-20 08:16:52.89 Server      All rights reserved. 2010-08-20 08:16:52.89 Server      Server process ID is 2248. 2010-08-20 08:16:52.89 Server      Authentication mode is MIXED. 2010-08-20 08:16:52.89 Server  &

SQL2008 Installation error Service SQLBrowser start request failed

This relates to the Enterprise SQL 2008 Failover Cluster installation. After the initial setup reaches a near completion point the Setup receives the following Error has occurred: Service 'SQLBrowser start request failed. Click Retry to retry the failed action, or click Cancel to cancel this action and continue setup.

error 1069: The service did not start due to logon problems

The local sql server that was working fine earlier does not start now. I have already created tables and accessed them using stored procedures. I get an error 1069: The service did not start due to logon problems. I have only changed my domain password. I do not remember what authentication I chose for log on. Any suggestions would be helpful. Thanks

Error "some or all identity references could not be translated" when trying to start search from cen

I am receiving the following error when trying to start the search in the central admin for Sharepoint 3.0:   . Event Type: Error Event Source: Windows SharePoint Services 3 Event Category: Timer Event ID: 3899 Date: 9/14/2010 Time: 12:21:03 PM User: N/A Computer: Description: Error executing service instance (un)provisioning job. Service instance: "Windows SharePoint Services Search" (id "****") "Some or all identity references could not be translated."" Anyone have any ideas? I searched and found a few close error messages but none exactly the same  

Session "WSSUSAGESESSION14" failed to start with the following error: 0xC0000022


Getting this error in event log. Anyone seen this before?


The SQL Server(2005 express) service failed to start. Error 29503


Product: Microsoft SQL Server 2005 Express Edition -- Error 29503. The SQL Server service failed to start. For more information, see the SQL Server Books Online topics, "How to: View SQL Server 2005 Setup Log Files" and "Starting SQL Server Manually."
The error is  (1067) The process terminated unexpectedly.

Initially the SQL Server was running over there, later one day it stopped. When trying to start manually I got "The process terminated unexpectedly" error. Tthen I uninstalled it and tried to install again, but got "Error 29503. The SQL Server service failed to start" error while installation and installation rolled back. If I install it using Local System and without "Enable User Instance" I get same error but after multiple retry it started. However my desktop application is not running and giving error message "Failed to generate a user instance of SQL Server due to a failure process for the user instance. The connection will be closed".

I tried "sp_Configure .......... " and "Reconfigure" to enable user instance but still got "Failed to generate......" error.

Another problem is that SQL Server service starts in multiple retry.

I have tried most of the forum solutions however I am still getting the same error in my desktop application. Mos

Database mail process does not start, no error generated, for only one maintenance plan

I have three maintenance plans:

1. Application DBs - 2am (checks integrity, full backup, log backup)
2. System DBs - 3am (checks integrity, updates statistics, full backup)
3. Backup and log file cleanup - 3:30am (removes backup history, .bak and .trn files)

For items 1 and 3 above, I see the database mail process start up and receive emails that the jobs completed.  For item 2, no email....the database mail process does not start and there are no errors in the event log.  The job history shows that the job completed successfully.

I'm having the same problem on a different server, except that items 2 and 3 email me their results, but item 1 does not.  Same exact job steps and times of execution.  None of the jobs are set to notify the operator, the notification is coming from the maintenance plan.

Obviously I've gone through the basics:

Configured an operator
Created a default, public profile
Enabled mail profile in SQL Server agent
Tested mail delivery

How do I diagnose the database mail process just not starting?  Has anyone seen this before?

SQL Server 2005 SP3, with KB 970892 applied.

Workflow has failed to start due to internal error


Hello everbody,

We have critical issue w.r.t workflows in 3 site collections(Collaboration sites).
When we start a workflow for a document library/document , below error is displayed.

"The Workflow has failed due to an internal error"

We had deactivated and activated all the related workflow features at site collection level but didn't succeed. This we have also tried using SharePoint Manager 2007 .

Could you please check and help on this issue ?

Thanks in advance.


Error when trying to open a file with Process.Start()



Well, I have a folder called GUI. Inside GUI thers another folder called PDF and inside this folder, there are some PDF files. This folder (GUI) is uploaded to the server too.

Then I have a WebForm with some ImageButtons. When I click one of these ImageButtons, I want the file to open in a new tab. I tried with the following code:

private void LnkRelease_Click(object sender, EventArgs e)
 try { if ((((System.Web.UI.WebControls.WebControl)(sender))).ToolTip != "") { string virtualFolder = @"~\GUI\"; string physicalFolder = Server.MapPath(virtualFolder); string virtualPath = physicalFolder + "PDF" + @"\" + ((System.Web.UI.WebControls.WebControl)(sender)).ToolTip;  System.Diagnostics.Process.Start(virtualPath);
  } else { Console.WriteLine("The URL is broken"); } } catch (Exception ex) { throw ex; } }

As you can see, I build the path using the tooltips of the different ImageButtons. The ToolTip = File Name I want to open.

When I try this in debug mode, it works. It opens the pdf file in a new tab. However when I

Workflow Error - Failed on Start (retrying) - Allow this list to receive e-mail? Yes


I have created a simple discussion board list with NO modifications to the fields or views.  I have turned on the option to allow new items to be created via email (Allow this list to receive e-mail? = yes).  In sharepoint designer I have created a simple workflow that sets a workflow variable (type string) to 'true'.  When I manually create a new discussion board item for this list, the workflow completes successfully; however, when I email in a new discussion board item, the item is created, but the workflow fails with the "Failed on Start (retrying)" workflow status.

The workflow is set to only fire when new items are created.


SQL 2008 R2 error on install 1053 The service did not respond to the start or control request in a t


SQL Express 2008 R2

I'm using Windows 7 64bit. During installation with all default settings I receive the above error. After completion I am unable to start the service using services management console, receiving the same error.

I've uninstalled SQL and deleted remaining program files with the same result. I cannot find any other relevant online resources.

Please advise.

Server 2005 won't start - get 1814 error


I am not a database guy, but am trying to get this issue resolved.  Yesterday I got a call that nobody could connect to our databases.  I checked the services and saw that the SQL server service wasn't running, and when I tried to start it manually, I'm getting a 1814 error.

I did see that trying a sqlservr -f might shed some light on the problem, so I've attached the output of that.

If anyone has any suggestions, I would be most grateful.....


C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn>sqlservr -f
2010-11-03 08:19:52.93 Server      Microsoft SQL Server 2005 - 9.00.3042.00 (Int
el X86)
        Feb  9 2007 22:47:07
        Copyright (c) 1988-2005 Microsoft Corporation
        Enterprise Edition on Windows NT 5.2 (Build 3790: Service Pack 2)

2010-11-03 08:19:52.93 Server      (c) 2005 Microsoft Corporation.
2010-11-03 08:19:52.93 Server      All rights reserved.
2010-11-03 08:19:52.93 Server      Server process ID is 324.
2010-11-03 08:19:52.93 Server      Authentication mode is MIXED.
2010-11-03 08:19:52.95 Server 

Error:Unable to start debugging on the server



I am trying to run my application on IIS 7 and Windows Vista Home Premium. I am getting the following error "Debugging failed because Integrated Windows Authentication is not enabled". How do i resolve this issue? 

WSS Error: Safe mode did not start successfully


We are running WSS 3.0 version


Almost every every day the same errors appers in our Application Log:

EventID: 6614

Source: Windows SharePoint Services 3

"Safe mode did not start successfully"


Once it appears all WSS sites become unavailable with "unknown error"

iisreset appears to be helpful to resolve it, bit would like to listen to any ideas on how to fix it completely.


Thanks in advance.

Attempting to re-start OSearch14 gives Error 183: Cannot create a file when that file already exists


The SharePoint 2010 Health Analyzer logged the following error: "One or more services have started or stopped unexpectedly."  with detail "The following services are managed by SharePoint, but their running state does not match what SharePoint expects: OSearch14."  

Attempting to restart the service via the Windows Services gives the error:  "Windows could not start the SharePoint Server Search 14 service on Local Computer.  Error 183:  Cannot create a file when that file already exists."

A command-line approach ("net start OSearch14") run as administrator gives the same results:

The SharePoint Server Search 14 service is starting.
The SharePoint Server Search 14 service could not be started.
A system error has occurred.
System error 183 has occurred.
Cannot create a file when that file already exists.

To what file is it referring?  What is the appropriate action?

Trying to trigger workflow for Survey got error" Failed to Start(retrying)"


I created an survey for the department i am working for. I did that at sharepoint designer 2007, then i created workflow and attached that with the survey page, i added conditions and actions when workflow is started upon item is created. But it throws me an error saying" Failed to Start(retrying)".

I dont know what going on , I saw in ablog saying windows sharepoint services 3.0 doesnt support attaching workflow into surveys. I dont know what else can be done to make this possible.

Can you please give me some advices, i am new on this field.

Thank You


Navin Pokhrel

SSRS 2008R2 Forms Authentication - service won't start: rshost ERROR: Error in managed ServiceMain,


I implemented a forms authentication solution based on the MSDN sample. However, when I attempt to start the reporting services service either via Services or the RS Config tool, I get the following error in the reporting services logfile:


rshost!rshost!b04!04/12/2011-22:37:21:: e ERROR: Error in managed ServiceMain, error=0x8007000b

I have not been able to find any information around this error. Please help!!

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