Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
| Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old April 9th, 2008, 08:49 AM
Registered User
Join Date: Feb 2008
Location: Pune, Maharashtra, India.
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default Process must exit before requested information

I am working to access a Web Service(i.e. an .asmx page) from a web page (i.e. an .aspx page),I am getting this ERROR[u]"Process must exit before requested information can be determined."</u>
Please help me
any help will be appreciated
[u]My code of web page</u>:
<%@ Page Language="C#" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>Untitled Page</title>
    <script type="text/javascript" language="javascript" src="scripts/progressbar.js"></script>
    <form id="form1" method="post" runat="server">
    <script type="text/javascript" language="javascript">
    function callResponse()
    var url;
    url = "";
    Displays the progress bar and corresponding text
    function startProgressBar()
     divProgressBar.style.visibility = "visible";
     pMessage.style.visibility = "visible";
Hides the progress bar and corresponding text
function stopProgressBar()
        divProgressBar.style.visibility = "hidden";
         pMessage.style.visibility = "hidden";
Creates a XMLHTTP async-call to an ASP.NET async handler
    function postRequest(url)
    var xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
    // 'true' specifies that it's a async call
    xmlhttp.Open("get", url, true);
         // Register a callback for the call
    xmlhttp.onreadystatechange =
    function ()
    var response = xmlhttp.responseText;
    divResponse.innerHTML += "<p>" + response + "</p>";
    // Send the actual request
        <table id="TABLE1" onclick="return TABLE1_onclick()">
         <tr valign="top">
                <td colspan="3">
         <tr valign="top">
            <td align="left" colspan="3">
             <input onclick="javascript:callResponse();" type="button" value="START" id="EchoButton" />
            <tr valign="top">
                <td align="left" style="height: 46px">
                <p id="pMessage" style="visibility: hidden; position: relative">
                 <b>Processing request...</b>
                <td colspan="2" style="height: 46px">
                    <div id="divProgressBar" style="border-right: black 1px solid; padding-right: 2px;
                        border-top: black 1px solid; padding-left: 2px; font-size: 12pt; visibility: hidden;
                        padding-bottom: 2px; border-left: black 1px solid; width: 112px; padding-top: 2px;
                        border-bottom: black 1px solid; position: relative">
                        <span id="progress1">#63728;#63728;</span> <span id="progress2">#63728;#63728;</span>
                        <span id="progress3">#63728;#63728;</span> <span id="progress4">#63728;#63728;</span>
                        <span id="progress5">#63728;#63728;</span> <span id="progress6">#63728;#63728;</span>
                        <span id="progress7">#63728;#63728;</span> <span id="progress8">#63728;#63728;</span>
                        <span id="progress9">#63728;#63728;</span>
    <div id="divResponse"></div>

[u]AND CODE of web service</u>:

using System;
using System.Web;
using System.Web.Services;
using System.Web.Services.Protocols;
using System.Threading;
using System.IO;
using System.Diagnostics;

    [WebService(Namespace = "http://tempuri.org/")]
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
    public class Service : System.Web.Services.WebService
        public Service()

        //Uncomment the following line if using designed components

        public string Hello()
            return "hello world";
             public void hello1()
                 int ExitCode;
                 ProcessStartInfo ProcessInfo;
                 Process Process;
             ProcessInfo=newProcessStartInfo"notepad.exe" , "/C " );
                 ProcessInfo.CreateNoWindow = false;
                 ProcessInfo.UseShellExecute = false;
                 Process = Process.Start(ProcessInfo);
                 ExitCode = Process.ExitCode;


Similar Threads
Thread Thread Starter Forum Replies Last Post
Report you requested requires further information cathiec Crystal Reports 5 August 6th, 2009 02:32 AM
process.startinfo opens new instance of process Anypond General .NET 0 August 28th, 2008 05:35 AM
SQL help requested mvoosten MySQL 4 March 18th, 2007 03:38 AM
The webpage you requested is not available offline cathiec ASP.NET 1.0 and 1.1 Basics 0 October 6th, 2005 09:35 AM
Tool recommendation requested pankaj_daga Oracle 1 July 11th, 2004 09:09 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.