Application Not Running Sequentially?
Sep 30, 2010
I have a web app that processes XML data. There are many steps, but to keep things simple, here are the relevant parts:
A PGP encrypted file is POSTED to my web site.I run a BATCH file to decrypt the PGP file. This batch file is run via System.Diagnostics.Process with WaitForExit set to TRUE (i.e. the decrypt process should complete before any else happens). The decrypted file is saved to a folder on my server as .XML.
Load the XML doc for processing via XmlTextReader.
I have extensive logs and ran across an exception I can't explain. While trying to load the decrypted data into XmlTextReader my app threw a System.IO.FileNotFoundException. My application is not multi threaded, so all steps should complete sequentially. I checked the timestamp of my logs when this System.IO.FileNotFoundException was encountered which as 3:00 AM. I then looked for the decrypted XML file the BATCH process should have created, and it does exist, but the file created time stamp is 3:05 AM. I can't understand why the file's created time is 3:05AM when my PGP decrypt BATCH process says it completed @ 3:00 AM.
View 2 Replies
Similar Messages:
Apr 27, 2016
I want to keep the sequence of files(images) selected by user.Upload and preview these images in a sequence in which they are selected.
View 1 Replies
Oct 12, 2010
Application domains allow applications to be unloaded separately. My question is how unloading an apllication can crash another application.
View 2 Replies
Mar 9, 2011
I am logged in as the administrator when I installed an application named pdflatex.exe on my server. This application works as a converter from LaTeX input file to Pdf file. I host an Asp.net MVC 3 application running under an Application Pool Identity with Load User Profile = True. The Asp.net MVC 3 code contains a code that executes pdflatex.exe using System.Diagnostic.Process instance as follows:
Process p = new Process();
p.EnableRaisingEvents = true;
p.Exited += new EventHandler(p_Exited);
p.StartInfo.Arguments = "-interaction=nonstopmode " + inputpath;
p.StartInfo.WorkingDirectory = @"c:mydomain.comworking";
p.StartInfo.UseShellExecute = false;
p.StartInfo.FileName = "pdflatex.exe";
p.Start();
p.WaitForExit();
From the scenario above, the web application runs under a restricted acount but it executes an external application under a default account that I don't know. Can an application running under a less privileged account start a process executing another application under an administrative account?
View 2 Replies
Sep 19, 2010
I created a simple .NET 4.0 WebSite through VisualStudio 2010 using the Installed Template for ASP.NET Web Site.This brought me to "Choose Location" where I chose Local IIS, then Create New Web Application.This created the template app with all of the local files within IIS.This complies fine, but Im constantly getting the HTTP 403 Error "the website declined to show this webpage"I checked IIS properties for this and its set to 4.0 and the Directory Security has Anonymous Access enabled. Allow IIS to control password is also checked.I just installed VS 2010 on my new computer, and Im trying to get this configured so I can run 4.0 apps through IIS.
View 2 Replies
Sep 17, 2010
I am getting below error while running the application
Exception in MS Oracle DAAB Method - GetDataSet : Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "DABResource.resources" was correctly embedded or linked into assembly "DBServices" at compile time, or that all the satellite assemblies required are loadable and fully signed.
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.Exception: Exception in MS Oracle DAAB Method - GetDataSet : Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "DABResource.resources" was correctly embedded or linked into assembly "DBServices" at compile time, or that all the satellite assemblies required are loadable and fully signed.
View 5 Replies
Mar 24, 2010
I have an application in asp.net.I configured it in IIS.When i running this application in IIS i getting an error;
Server "/" error:
Resource Cannot be Found
Error:404
Some of pages only produce this issues.Other forms are working perfectly.Without running application in IIS Its working perfectly.
If any one can answer send the answer immediatly.
View 2 Replies
Feb 21, 2011
when i am trying to run the application i am getting error like this one The service.svc file has the following code.
<%@ ServiceHost Language="C#" Debug="true" Service="prodcuts.ProductServiceImpl" CodeBehind="~/App_Code/ProductsService.cs" %>
View 1 Replies
Nov 19, 2010
I have a ASP.NET web application running under IIS 6, and another process that is responsible to monitor and report status. I'd like to sample the web application by the monitoring process in order to check its status by accessing a dedicated handler on the web application, BUT i don't want to "wake up" the web application in case it is not running. Is there an option to determine whether a specific web application is currently running? if there is such an option, i would be able to first check if the application is running, and only then to access the handler to check its status.
View 6 Replies
Feb 17, 2010
We have a running asp.net application which is accessed by various offices of the client worldwide (around 42 offices in 12 countries). Now after 8 months of hosting it we have to include updations in 6 pages and addition of 15 new asp.net pages. Now is there any way by which we could update the existing upside without taking it offline i.e. stopping it ?
View 4 Replies
Feb 1, 2011
I want to start using memcached in my ASP.NET application.
I think I need to set up a memcached server and then access it using a .NET specific client.
However I'm struggling to see how to set it up, where to find the exact downloads for .NET and so on
Is there a port of memcache to .Net? memcached - using with a C# asp.net application
View 1 Replies
Feb 18, 2011
Does anybody see any problem running an APS.Net 2.0 application on more than one browser windows at the same time concurrently? Users are accessing the application with IE and they do Control+N and access the same application in another windows and use both windows concurrently. Would there be any issue coming from session or anything such that I need to be concerned?
View 7 Replies
Aug 27, 2010
i am trying to upload my applicaiton on IIS5.1 version.my application uses SQL server 2005 and Membership provider. everytime i create an virtual directory and run it ,it always says that login failed for user IUSR_TPN0150 .cannot open database emp.
how can i give access to annonymous users so that my login page is shown.
View 6 Replies
Apr 4, 2011
I want my .net2.0 webservice application to run on IIS7.0 under CLR4.0, Is this possible simply creating an apppool with Classic,.netframework 4.0 settings and pointing my app to this pool? I have tried this and it works fine, but want to confirm on right track?
View 2 Replies
Aug 27, 2010
i have created an application in asp.net with C# this application is running well when i run it from visual studio but when i deployed it on IIS for testing it is not working it gives me error that isThe control with ID 'UpdatePanel1' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it.i have check complete project i did forget any thing and application is running wll but on iis it gave me above stated error any body can help me and one thing is that i install IIS after installing VS2008
View 1 Replies
Nov 10, 2010
I have a simple question but I still a bit confused after googling. The situation is like this. I have ASP.NET deployed in a Web Server, and had set to a Web Garden and IIS Worker Process is more than 1. So I would like to ask, is it all worker processes running under same Application Domain? Or can said Web Garden running under same Application Domain?
View 1 Replies
Feb 5, 2010
We are trying to add a new page to a running web application. such that a new dll and aspx file are being added. I've setup break points in the code file and Built the application transfering the dll to the remote machine bin file and the aspx page to a folder within the web application. Note this folder is not in the same folder hierarchy as it built in. I'm not sure if thats the problem. Basically we are appending new functionality to a web application.I've copied the correct Remote Debug Monitor to the server and have it running.
View 1 Replies
Feb 19, 2011
Am running asp.net application with access database using gridview application..while running i got the run time error as Object reference not set to an instance of an object.
Line 41: RadioButtonList rblGender = (RadioButtonList)GridView1.Rows[e.RowIndex].FindControl("rbGenderEdit");
Line 42:DropDownList ddlStatus = (DropDownList)GridView1.Rows[e.RowIndex].FindControl("ddlStatusEdit");
Line 43:SqlDataSource1.UpdateParameters["Sex"].DefaultValue = rblGender.SelectedValue;
Line 44:SqlDataSource1.UpdateParameters["MaritalStauts"].DefaultValue = ddlStatus.SelectedValue;
Line 45: }
I got this error specially in line 43.
View 4 Replies
Feb 22, 2011
There's a web app I've been assigned to, which is running very slow. It is a site that sells products so it is database driven, however even pages that do not query the database are loading very slow. The pages use master pages, and the code is in VB.NETI checked with fiddler and the time it takes to load basic (non database driven) pages are about 5.5 seconds on average.
What are some tools that can help me determine the cause of the slow speeds, and any recommendations as to how to speed it up, or potential issues that could cause it?UpdateSo I messed around with the code piece by piece as I wasn't getting anywhere with these tools. As soon as I remove master pages, and I include the same code that's on the master pages in the .aspx page itself, the speed improves drastically (approximately 5 times faster load times).What might cause the master pages to cause load times to slow down so much?
View 4 Replies
Apr 13, 2010
What are the alternatives to System.Diagnostics API for running external EXE or BAT files under IIS hosted web application?
I would like to run external EXE program from my ASP.NET-MVC web application. I don't need to wait till the program exits. I just want to start the program. The execution can take some time or it may crash, so I would like to run it separatelly from IIS in such a way that the web application only triggers its execution.
View 1 Replies
Feb 4, 2011
I have two systems (System A & System B) both are windows xp.
System A is 32 bit operating system with more Memory so I Installed Visual studio here.
System B is 16 bit with low memory and some peripheral(Finger Print Reader, Thermal Printer) attached.
Now I need to develop a application for System B. Peripherals are attached with system B Only so i need to debug the application which is running in system B. But I cannot install visual studio in system B. Now how can I do that?
View 3 Replies
Mar 28, 2011
I'm having trouble executing this line of code in my MVC application:
IntPtr hModule = LoadLibrary(BondProbeSettings.AssemblyFilePath);
The problem is that hModule is always 0.
If I run the same code with the same value for BondProbeSettings.AssemblyFilePath but from a console application instead of the MVC app hModule is non-zero.
Are there any security issues I need to consider?
The signature for LoadLibrary is:
[DllImport("kernel32.dll", CharSet = CharSet.Auto)]
static extern IntPtr LoadLibrary(string lpFileName);
View 2 Replies
Jun 11, 2010
How do I get an ICredential object within my web application?
I use Windows Authentication
I tried using the following code:
WindowsImpersonationContext securityContext =
Request.LogonUserIdentity.Impersonate();
After the last line of code both: CredentialCache.DefaultCredentials and CredentialCache.DefaultNetworkCredentials are still empty.
I know that the identity is right because the following property shows the right domainuser account I'm using:
Request.LogonUserIdentity.Name => "domainuser"
This is the authentication type of that object:
Request.LogonUserIdentity.AuthenticationType => "NTLM"
View 2 Replies
Jun 4, 2010
the application keeps running even after Application_Error event is called, is there any way to terminate the application in that event itself
View 2 Replies
Mar 31, 2011
i want a continously running thread in my web application for sending mail to admin if the logged complaint of the user in not solved by technician within 24 hours.
i am able to send mail to administrator
i just want a watch on database for unsolved issues with timespan of more than 24 hours and inform to administrator about the same
View 3 Replies