Go Back   Velocity Reviews > General Computer Discussion > Software
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread
Old 01-14-2008, 09:37 PM   #1
Default Server Error in '/' Application


We have a .net application that runs a powerpoint executible and ends the process. This works fine, but when it starts it is supposed to determine if the process is already running and if it is, kill it. It will only kill it if it started the process, but fails with this error if it tries to kill a process that was previously running:

Access is denied
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.ComponentModel.Win32Exception: Access is denied

Source Error:

Line 741: For Each pItem In pCollection
Line 742: 'Try
Line 743: pItem.Kill()
Line 744: 'Catch
Line 745: 'End Try


Source File: D:\WebApps\PDIV0R12\Proj\ProRpt1.aspx.vb Line: 743

Stack Trace:

[Win32Exception (0x80004005): Access is denied]
System.Diagnostics.Process.Kill() +107
_Default.KillGraph() in D:\WebApps\PDIV0R12\Proj\ProRpt1.aspx.vb:743
_Default.AddFooterGraph(Presentation objPres, Slide objSlide, Int32 LeftMargin, Int32 Top, Int32 TotalWidth, Int32 TotalHeightPer) in D:\WebApps\PDIV0R12\Proj\ProRpt1.aspx.vb:872
_Default.CreateFile() in D:\WebApps\PDIV0R12\Proj\ProRpt1.aspx.vb:322
_Default.Button3_Click(Object sender, EventArgs e) in D:\WebApps\PDIV0R12\Proj\ProRpt1.aspx.vb:968
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
System.Web.UI.WebControls.Button.RaisePostBackEven t(String eventArgument) +107
System.Web.UI.WebControls.Button.System.Web.UI.IPo stBackEventHandler.RaisePostBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCol lection postData) +33
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102

We can't figure out where the access denied is coming from. Any help would be greatly appreciated.

Thank You


Kristine
Kristine is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
File transfer program for local machine to application server. Jagadeeshg Software 0 03-02-2009 09:51 AM
Passed 70-646 webster MCITP 3 06-23-2008 02:26 PM
Server Error in '/Forms' Application. AxleWack General Help Related Topics 0 10-11-2007 01:47 PM
deploy web application behind a server (no NAT) xavoux Software 0 06-22-2006 01:11 PM
Re: Need Ideas For A New Server, Long Post Gareth Church A+ Certification 2 07-27-2003 12:46 PM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46