Professional Web Applications Themes

HELP! web services deployment question - ASP.NET Web Services

OK. On my dev server, I have a web application with a web service. [url]http://myserver/webreports/productionsummaryreportbybatchid.asmx[/url] it works great. I this little web application/web service is developed isolated and is to be deployed into our main web application. i took the assembly from my project (myserver/webreports/bin/webservices.dll) and copied it over to my main web applicaiton's bin directory. i copied the asmx file over to the application directory of my main application. when I go to: [url]http://myserver/mainapplication/productionsummaryreportbybatchid.asmx[/url] on the machine itself (not remotely, but working on the actual server), the page displays fine. I have one web method in the system. Let's ...

  1. #1

    Default HELP! web services deployment question

    OK. On my dev server, I have a web application with a web service.

    [url]http://myserver/webreports/productionsummaryreportbybatchid.asmx[/url]

    it works great.

    I this little web application/web service is developed isolated and is to be
    deployed into our main web application.

    i took the assembly from my project
    (myserver/webreports/bin/webservices.dll) and copied it over to my main web
    applicaiton's bin directory.

    i copied the asmx file over to the application directory of my main
    application.

    when I go to:

    [url]http://myserver/mainapplication/productionsummaryreportbybatchid.asmx[/url] on the
    machine itself (not remotely, but working on the actual server), the page
    displays fine. I have one web method in the system. Let's call it MakeReport
    (it makes a PDF crystal report).

    on this page, if i click on the function, MakeReport, the page shows the
    Text input boxes for my paramters and the operation methods (SOAP, HTTP
    POST, HTTP GET).

    If I fill in values and click the INVOKE button, I get an error (http
    500 -page cannot be displayed. internal server error).

    here's what's interesting.

    the url in the pop up window from clicking on the INVOKE button is this URL:

    [url]http://myserver/selfserve/webreportsrpb/productionsummaryreportbybatchid.asmx/DisplayProductionSummaryReportByBatchID[/url]

    if i put in the browser all but the last part, like this:

    [url]http://myserver/selfserve/webreportsrpb/productionsummaryreportbybatchid.asmx[/url]

    i at least get the page to display in the browser.

    but i noticed that the end part causes the error. Also, on my test web app,
    I noticed that after putting in paramters then pushing INVOKE returns a
    longer URL with Key/Value pairs for all the parameter data where as the
    resulting URL after clicking the INVOKE button does not have any paramters
    (key value pairs at all).

    so basically, the basic ASMX page shows, but the invoke doesn't work (HTTP
    500 internal server error).

    If I take my test development asmx url, click on the INVOKE button and copy
    the URL to a new browser window (with all the key value paramters) but
    modify the first part to refer to my main application, it dies as well.
    (http 500 internal server error).

    Put it more succinctly, in deploying my web service, the test INVOKE is not
    working (POST method). In my web config, I enabled HTTP GET and HTTP POST
    for both apps.

    The one difference is that my test applicaiton is devloped under .net
    Framework 1.0, where as the main application configuration is set for 1.1.

    I also followed microsoft's KB to turn on HTTP GET and HTTP Post in the
    machine.config (or web.config) of my main web applicaiton.

    basically, the page is not posting correctly and is displaying an error.
    it's driving me nuts.

    Does anyone have any ideas on what I can do to check into this?





    Bob Britton Guest

  2. #2

    Default Re: HELP! web services deployment question

    Have you tried Copy Project from the VS.NET Project menu?

    Jeff

    "Bob Britton" <robertbrittonjrmaximumit.net> wrote in message
    news:usAfC8RwEHA.892TK2MSFTNGP10.phx.gbl...
    > OK. On my dev server, I have a web application with a web service.
    >
    > [url]http://myserver/webreports/productionsummaryreportbybatchid.asmx[/url]
    >
    > it works great.
    >
    > I this little web application/web service is developed isolated and is to
    be
    > deployed into our main web application.
    >
    > i took the assembly from my project
    > (myserver/webreports/bin/webservices.dll) and copied it over to my main
    web
    > applicaiton's bin directory.
    >
    > i copied the asmx file over to the application directory of my main
    > application.
    >
    > when I go to:
    >
    > [url]http://myserver/mainapplication/productionsummaryreportbybatchid.asmx[/url] on
    the
    > machine itself (not remotely, but working on the actual server), the page
    > displays fine. I have one web method in the system. Let's call it
    MakeReport
    > (it makes a PDF crystal report).
    >
    > on this page, if i click on the function, MakeReport, the page shows the
    > Text input boxes for my paramters and the operation methods (SOAP, HTTP
    > POST, HTTP GET).
    >
    > If I fill in values and click the INVOKE button, I get an error (http
    > 500 -page cannot be displayed. internal server error).
    >
    > here's what's interesting.
    >
    > the url in the pop up window from clicking on the INVOKE button is this
    URL:
    >
    >
    [url]http://myserver/selfserve/webreportsrpb/productionsummaryreportbybatchid.asmx/DisplayProductionSummaryReportByBatchID[/url]
    >
    > if i put in the browser all but the last part, like this:
    >
    >
    [url]http://myserver/selfserve/webreportsrpb/productionsummaryreportbybatchid.asmx[/url]
    >
    > i at least get the page to display in the browser.
    >
    > but i noticed that the end part causes the error. Also, on my test web
    app,
    > I noticed that after putting in paramters then pushing INVOKE returns a
    > longer URL with Key/Value pairs for all the parameter data where as the
    > resulting URL after clicking the INVOKE button does not have any paramters
    > (key value pairs at all).
    >
    > so basically, the basic ASMX page shows, but the invoke doesn't work (HTTP
    > 500 internal server error).
    >
    > If I take my test development asmx url, click on the INVOKE button and
    copy
    > the URL to a new browser window (with all the key value paramters) but
    > modify the first part to refer to my main application, it dies as well.
    > (http 500 internal server error).
    >
    > Put it more succinctly, in deploying my web service, the test INVOKE is
    not
    > working (POST method). In my web config, I enabled HTTP GET and HTTP POST
    > for both apps.
    >
    > The one difference is that my test applicaiton is devloped under .net
    > Framework 1.0, where as the main application configuration is set for 1.1.
    >
    > I also followed microsoft's KB to turn on HTTP GET and HTTP Post in the
    > machine.config (or web.config) of my main web applicaiton.
    >
    > basically, the page is not posting correctly and is displaying an error.
    > it's driving me nuts.
    >
    > Does anyone have any ideas on what I can do to check into this?
    >
    >
    >
    >
    >

    Jeff Dillon Guest

  3. #3

    Default Re: HELP! web services deployment question

    well, two things:

    For simplicity, I switched the site to .Net Framework 1.0 and it's working.

    Someone else told me that the Internal Server Error (500) is a simple
    display message from IE 5/6. I learned how to shut that off. now i just have
    to reset the site back to 1.1 to get the actual error and see what's going
    on.

    So, I have it running deployed under 1.0, but i'd like to get 1.1 working.

    Thanks for your help guys!

    "Jeff Dillon" <jeffremoveemergencyreporting.com> wrote in message
    news:uF9DkgqwEHA.3824TK2MSFTNGP15.phx.gbl...
    > Have you tried Copy Project from the VS.NET Project menu?
    >
    > Jeff
    >
    > "Bob Britton" <robertbrittonjrmaximumit.net> wrote in message
    > news:usAfC8RwEHA.892TK2MSFTNGP10.phx.gbl...
    > > OK. On my dev server, I have a web application with a web service.
    > >
    > > [url]http://myserver/webreports/productionsummaryreportbybatchid.asmx[/url]
    > >
    > > it works great.
    > >
    > > I this little web application/web service is developed isolated and is
    to
    > be
    > > deployed into our main web application.
    > >
    > > i took the assembly from my project
    > > (myserver/webreports/bin/webservices.dll) and copied it over to my main
    > web
    > > applicaiton's bin directory.
    > >
    > > i copied the asmx file over to the application directory of my main
    > > application.
    > >
    > > when I go to:
    > >
    > > [url]http://myserver/mainapplication/productionsummaryreportbybatchid.asmx[/url] on
    > the
    > > machine itself (not remotely, but working on the actual server), the
    page
    > > displays fine. I have one web method in the system. Let's call it
    > MakeReport
    > > (it makes a PDF crystal report).
    > >
    > > on this page, if i click on the function, MakeReport, the page shows the
    > > Text input boxes for my paramters and the operation methods (SOAP, HTTP
    > > POST, HTTP GET).
    > >
    > > If I fill in values and click the INVOKE button, I get an error (http
    > > 500 -page cannot be displayed. internal server error).
    > >
    > > here's what's interesting.
    > >
    > > the url in the pop up window from clicking on the INVOKE button is this
    > URL:
    > >
    > >
    >
    [url]http://myserver/selfserve/webreportsrpb/productionsummaryreportbybatchid.asmx/DisplayProductionSummaryReportByBatchID[/url]
    > >
    > > if i put in the browser all but the last part, like this:
    > >
    > >
    >
    [url]http://myserver/selfserve/webreportsrpb/productionsummaryreportbybatchid.asmx[/url]
    > >
    > > i at least get the page to display in the browser.
    > >
    > > but i noticed that the end part causes the error. Also, on my test web
    > app,
    > > I noticed that after putting in paramters then pushing INVOKE returns a
    > > longer URL with Key/Value pairs for all the parameter data where as the
    > > resulting URL after clicking the INVOKE button does not have any
    paramters
    > > (key value pairs at all).
    > >
    > > so basically, the basic ASMX page shows, but the invoke doesn't work
    (HTTP
    > > 500 internal server error).
    > >
    > > If I take my test development asmx url, click on the INVOKE button and
    > copy
    > > the URL to a new browser window (with all the key value paramters) but
    > > modify the first part to refer to my main application, it dies as well.
    > > (http 500 internal server error).
    > >
    > > Put it more succinctly, in deploying my web service, the test INVOKE is
    > not
    > > working (POST method). In my web config, I enabled HTTP GET and HTTP
    POST
    > > for both apps.
    > >
    > > The one difference is that my test applicaiton is devloped under .net
    > > Framework 1.0, where as the main application configuration is set for
    1.1.
    > >
    > > I also followed microsoft's KB to turn on HTTP GET and HTTP Post in the
    > > machine.config (or web.config) of my main web applicaiton.
    > >
    > > basically, the page is not posting correctly and is displaying an error.
    > > it's driving me nuts.
    > >
    > > Does anyone have any ideas on what I can do to check into this?
    > >
    > >
    > >
    > >
    > >
    >
    >

    Bob Britton Guest

  4. #4

    Default Re: HELP! web services deployment question

    Again, you didn't answer my question. I don't take time to respond to
    questions like this because I'm in need of a chat buddy. I ask specific
    questions, and expect a specific answer. Areas that I had problems with, and
    found an answer. Is it that difficult? What are they teaching these days
    for common sense trouble shooting? Obviously not enough.

    Jeff

    "Bob Britton" <robertbrittonjrmaximumit.net> wrote in message
    news:eJYYwIswEHA.3976TK2MSFTNGP09.phx.gbl...
    > well, two things:
    >
    > For simplicity, I switched the site to .Net Framework 1.0 and it's
    working.
    >
    > Someone else told me that the Internal Server Error (500) is a simple
    > display message from IE 5/6. I learned how to shut that off. now i just
    have
    > to reset the site back to 1.1 to get the actual error and see what's going
    > on.
    >
    > So, I have it running deployed under 1.0, but i'd like to get 1.1 working.
    >
    > Thanks for your help guys!
    >
    > "Jeff Dillon" <jeffremoveemergencyreporting.com> wrote in message
    > news:uF9DkgqwEHA.3824TK2MSFTNGP15.phx.gbl...
    > > Have you tried Copy Project from the VS.NET Project menu?
    > >
    > > Jeff
    > >
    > > "Bob Britton" <robertbrittonjrmaximumit.net> wrote in message
    > > news:usAfC8RwEHA.892TK2MSFTNGP10.phx.gbl...
    > > > OK. On my dev server, I have a web application with a web service.
    > > >
    > > > [url]http://myserver/webreports/productionsummaryreportbybatchid.asmx[/url]
    > > >
    > > > it works great.
    > > >
    > > > I this little web application/web service is developed isolated and is
    > to
    > > be
    > > > deployed into our main web application.
    > > >
    > > > i took the assembly from my project
    > > > (myserver/webreports/bin/webservices.dll) and copied it over to my
    main
    > > web
    > > > applicaiton's bin directory.
    > > >
    > > > i copied the asmx file over to the application directory of my main
    > > > application.
    > > >
    > > > when I go to:
    > > >
    > > > [url]http://myserver/mainapplication/productionsummaryreportbybatchid.asmx[/url]
    on
    > > the
    > > > machine itself (not remotely, but working on the actual server), the
    > page
    > > > displays fine. I have one web method in the system. Let's call it
    > > MakeReport
    > > > (it makes a PDF crystal report).
    > > >
    > > > on this page, if i click on the function, MakeReport, the page shows
    the
    > > > Text input boxes for my paramters and the operation methods (SOAP,
    HTTP
    > > > POST, HTTP GET).
    > > >
    > > > If I fill in values and click the INVOKE button, I get an error (http
    > > > 500 -page cannot be displayed. internal server error).
    > > >
    > > > here's what's interesting.
    > > >
    > > > the url in the pop up window from clicking on the INVOKE button is
    this
    > > URL:
    > > >
    > > >
    > >
    >
    [url]http://myserver/selfserve/webreportsrpb/productionsummaryreportbybatchid.asmx/DisplayProductionSummaryReportByBatchID[/url]
    > > >
    > > > if i put in the browser all but the last part, like this:
    > > >
    > > >
    > >
    >
    [url]http://myserver/selfserve/webreportsrpb/productionsummaryreportbybatchid.asmx[/url]
    > > >
    > > > i at least get the page to display in the browser.
    > > >
    > > > but i noticed that the end part causes the error. Also, on my test web
    > > app,
    > > > I noticed that after putting in paramters then pushing INVOKE returns
    a
    > > > longer URL with Key/Value pairs for all the parameter data where as
    the
    > > > resulting URL after clicking the INVOKE button does not have any
    > paramters
    > > > (key value pairs at all).
    > > >
    > > > so basically, the basic ASMX page shows, but the invoke doesn't work
    > (HTTP
    > > > 500 internal server error).
    > > >
    > > > If I take my test development asmx url, click on the INVOKE button and
    > > copy
    > > > the URL to a new browser window (with all the key value paramters) but
    > > > modify the first part to refer to my main application, it dies as
    well.
    > > > (http 500 internal server error).
    > > >
    > > > Put it more succinctly, in deploying my web service, the test INVOKE
    is
    > > not
    > > > working (POST method). In my web config, I enabled HTTP GET and HTTP
    > POST
    > > > for both apps.
    > > >
    > > > The one difference is that my test applicaiton is devloped under .net
    > > > Framework 1.0, where as the main application configuration is set for
    > 1.1.
    > > >
    > > > I also followed microsoft's KB to turn on HTTP GET and HTTP Post in
    the
    > > > machine.config (or web.config) of my main web applicaiton.
    > > >
    > > > basically, the page is not posting correctly and is displaying an
    error.
    > > > it's driving me nuts.
    > > >
    > > > Does anyone have any ideas on what I can do to check into this?
    > > >
    > > >
    > > >
    > > >
    > > >
    > >
    > >
    >
    >

    Guest

  5. #5

    Default Re: HELP! web services deployment question

    Hi Rob,

    Let me try and help.

    The easiest way to deploy to a server is to use the Publish feature from
    Visual Studio.Net. This does things like prepare the Virtual Directory,
    set up the ASP.NET version information, and determine whether the required
    parts of the framework are properly configured. Then when that is all set
    up, it copies the needed files.

    I suspect that since this is a 1.0 application that you wanted to upgrade
    to 1.1 that there are some VDIR setting issues. Try creating the service
    using Publish under a new Vdir. This will help you determine whether it is
    an issue with that particular Vdir, or whether there are some 1.1. setup
    issues that need to be resolved on the server.

    I hope this helps,

    Dan Rogers
    Microsoft Corporation
    --------------------
    >Reply-To: "Bob Britton" <robertbrittonjrmaximumit.net>
    >From: "Bob Britton" <robertbrittonjrmaximumit.net>
    >References: <usAfC8RwEHA.892TK2MSFTNGP10.phx.gbl>
    <uF9DkgqwEHA.3824TK2MSFTNGP15.phx.gbl>
    >Subject: Re: HELP! web services deployment question
    >Date: Thu, 4 Nov 2004 18:01:12 -0500
    >Lines: 118
    >Organization: MaximumIT
    >X-Priority: 3
    >X-MSMail-Priority: Normal
    >X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
    >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
    >Message-ID: <eJYYwIswEHA.3976TK2MSFTNGP09.phx.gbl>
    >Newsgroups: microsoft.public.dotnet.framework.aspnet.webservic es
    >NNTP-Posting-Host: 65.77.136.1
    >Path:
    cpmsftngxa10.phx.gbl!TK2MSFTFEED02.phx.gbl!TK2MSFT NGP08.phx.gbl!TK2MSFTNGP09
    phx.gbl
    >Xref: cpmsftngxa10.phx.gbl
    microsoft.public.dotnet.framework.aspnet.webservic es:26385
    >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservic es
    >
    >well, two things:
    >
    >For simplicity, I switched the site to .Net Framework 1.0 and it's working.
    >
    >Someone else told me that the Internal Server Error (500) is a simple
    >display message from IE 5/6. I learned how to shut that off. now i just
    have
    >to reset the site back to 1.1 to get the actual error and see what's going
    >on.
    >
    >So, I have it running deployed under 1.0, but i'd like to get 1.1 working.
    >
    >Thanks for your help guys!
    >
    >"Jeff Dillon" <jeffremoveemergencyreporting.com> wrote in message
    >news:uF9DkgqwEHA.3824TK2MSFTNGP15.phx.gbl...
    >> Have you tried Copy Project from the VS.NET Project menu?
    >>
    >> Jeff
    >>
    >> "Bob Britton" <robertbrittonjrmaximumit.net> wrote in message
    >> news:usAfC8RwEHA.892TK2MSFTNGP10.phx.gbl...
    >> > OK. On my dev server, I have a web application with a web service.
    >> >
    >> > [url]http://myserver/webreports/productionsummaryreportbybatchid.asmx[/url]
    >> >
    >> > it works great.
    >> >
    >> > I this little web application/web service is developed isolated and is
    >to
    >> be
    >> > deployed into our main web application.
    >> >
    >> > i took the assembly from my project
    >> > (myserver/webreports/bin/webservices.dll) and copied it over to my main
    >> web
    >> > applicaiton's bin directory.
    >> >
    >> > i copied the asmx file over to the application directory of my main
    >> > application.
    >> >
    >> > when I go to:
    >> >
    >> > [url]http://myserver/mainapplication/productionsummaryreportbybatchid.asmx[/url]
    on
    >> the
    >> > machine itself (not remotely, but working on the actual server), the
    >page
    >> > displays fine. I have one web method in the system. Let's call it
    >> MakeReport
    >> > (it makes a PDF crystal report).
    >> >
    >> > on this page, if i click on the function, MakeReport, the page shows
    the
    >> > Text input boxes for my paramters and the operation methods (SOAP, HTTP
    >> > POST, HTTP GET).
    >> >
    >> > If I fill in values and click the INVOKE button, I get an error (http
    >> > 500 -page cannot be displayed. internal server error).
    >> >
    >> > here's what's interesting.
    >> >
    >> > the url in the pop up window from clicking on the INVOKE button is this
    >> URL:
    >> >
    >> >
    >>
    >[url]http://myserver/selfserve/webreportsrpb/productionsummaryreportbybatchid.as[/url]
    mx/DisplayProductionSummaryReportByBatchID
    >> >
    >> > if i put in the browser all but the last part, like this:
    >> >
    >> >
    >>
    >[url]http://myserver/selfserve/webreportsrpb/productionsummaryreportbybatchid.as[/url]
    mx
    >> >
    >> > i at least get the page to display in the browser.
    >> >
    >> > but i noticed that the end part causes the error. Also, on my test web
    >> app,
    >> > I noticed that after putting in paramters then pushing INVOKE returns a
    >> > longer URL with Key/Value pairs for all the parameter data where as the
    >> > resulting URL after clicking the INVOKE button does not have any
    >paramters
    >> > (key value pairs at all).
    >> >
    >> > so basically, the basic ASMX page shows, but the invoke doesn't work
    >(HTTP
    >> > 500 internal server error).
    >> >
    >> > If I take my test development asmx url, click on the INVOKE button and
    >> copy
    >> > the URL to a new browser window (with all the key value paramters) but
    >> > modify the first part to refer to my main application, it dies as well.
    >> > (http 500 internal server error).
    >> >
    >> > Put it more succinctly, in deploying my web service, the test INVOKE is
    >> not
    >> > working (POST method). In my web config, I enabled HTTP GET and HTTP
    >POST
    >> > for both apps.
    >> >
    >> > The one difference is that my test applicaiton is devloped under .net
    >> > Framework 1.0, where as the main application configuration is set for
    >1.1.
    >> >
    >> > I also followed microsoft's KB to turn on HTTP GET and HTTP Post in the
    >> > machine.config (or web.config) of my main web applicaiton.
    >> >
    >> > basically, the page is not posting correctly and is displaying an
    error.
    >> > it's driving me nuts.
    >> >
    >> > Does anyone have any ideas on what I can do to check into this?
    >> >
    >> >
    >> >
    >> >
    >> >
    >>
    >>
    >
    >
    >
    Dan Rogers Guest

  6. #6

    Default Re: HELP! web services deployment question

    Thanks Dan. I appreciate your help.

    It makes sense what you say. let me try it and i'll follow-up.

    Bob.

    "Dan Rogers" <danromicrosoft.com> wrote in message
    news:mp4rPY3yEHA.1884cpmsftngxa10.phx.gbl...
    > Hi Rob,
    >
    > Let me try and help.
    >
    > The easiest way to deploy to a server is to use the Publish feature from
    > Visual Studio.Net. This does things like prepare the Virtual Directory,
    > set up the ASP.NET version information, and determine whether the required
    > parts of the framework are properly configured. Then when that is all
    set
    > up, it copies the needed files.
    >
    > I suspect that since this is a 1.0 application that you wanted to upgrade
    > to 1.1 that there are some VDIR setting issues. Try creating the service
    > using Publish under a new Vdir. This will help you determine whether it
    is
    > an issue with that particular Vdir, or whether there are some 1.1. setup
    > issues that need to be resolved on the server.
    >
    > I hope this helps,
    >
    > Dan Rogers
    > Microsoft Corporation
    > --------------------
    > >Reply-To: "Bob Britton" <robertbrittonjrmaximumit.net>
    > >From: "Bob Britton" <robertbrittonjrmaximumit.net>
    > >References: <usAfC8RwEHA.892TK2MSFTNGP10.phx.gbl>
    > <uF9DkgqwEHA.3824TK2MSFTNGP15.phx.gbl>
    > >Subject: Re: HELP! web services deployment question
    > >Date: Thu, 4 Nov 2004 18:01:12 -0500
    > >Lines: 118
    > >Organization: MaximumIT
    > >X-Priority: 3
    > >X-MSMail-Priority: Normal
    > >X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
    > >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
    > >Message-ID: <eJYYwIswEHA.3976TK2MSFTNGP09.phx.gbl>
    > >Newsgroups: microsoft.public.dotnet.framework.aspnet.webservic es
    > >NNTP-Posting-Host: 65.77.136.1
    > >Path:
    >
    cpmsftngxa10.phx.gbl!TK2MSFTFEED02.phx.gbl!TK2MSFT NGP08.phx.gbl!TK2MSFTNGP09
    > phx.gbl
    > >Xref: cpmsftngxa10.phx.gbl
    > microsoft.public.dotnet.framework.aspnet.webservic es:26385
    > >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservic es
    > >
    > >well, two things:
    > >
    > >For simplicity, I switched the site to .Net Framework 1.0 and it's
    working.
    > >
    > >Someone else told me that the Internal Server Error (500) is a simple
    > >display message from IE 5/6. I learned how to shut that off. now i just
    > have
    > >to reset the site back to 1.1 to get the actual error and see what's
    going
    > >on.
    > >
    > >So, I have it running deployed under 1.0, but i'd like to get 1.1
    working.
    > >
    > >Thanks for your help guys!
    > >
    > >"Jeff Dillon" <jeffremoveemergencyreporting.com> wrote in message
    > >news:uF9DkgqwEHA.3824TK2MSFTNGP15.phx.gbl...
    > >> Have you tried Copy Project from the VS.NET Project menu?
    > >>
    > >> Jeff
    > >>
    > >> "Bob Britton" <robertbrittonjrmaximumit.net> wrote in message
    > >> news:usAfC8RwEHA.892TK2MSFTNGP10.phx.gbl...
    > >> > OK. On my dev server, I have a web application with a web service.
    > >> >
    > >> > [url]http://myserver/webreports/productionsummaryreportbybatchid.asmx[/url]
    > >> >
    > >> > it works great.
    > >> >
    > >> > I this little web application/web service is developed isolated and
    is
    > >to
    > >> be
    > >> > deployed into our main web application.
    > >> >
    > >> > i took the assembly from my project
    > >> > (myserver/webreports/bin/webservices.dll) and copied it over to my
    main
    > >> web
    > >> > applicaiton's bin directory.
    > >> >
    > >> > i copied the asmx file over to the application directory of my main
    > >> > application.
    > >> >
    > >> > when I go to:
    > >> >
    > >> > [url]http://myserver/mainapplication/productionsummaryreportbybatchid.asmx[/url]
    > on
    > >> the
    > >> > machine itself (not remotely, but working on the actual server), the
    > >page
    > >> > displays fine. I have one web method in the system. Let's call it
    > >> MakeReport
    > >> > (it makes a PDF crystal report).
    > >> >
    > >> > on this page, if i click on the function, MakeReport, the page shows
    > the
    > >> > Text input boxes for my paramters and the operation methods (SOAP,
    HTTP
    > >> > POST, HTTP GET).
    > >> >
    > >> > If I fill in values and click the INVOKE button, I get an error (http
    > >> > 500 -page cannot be displayed. internal server error).
    > >> >
    > >> > here's what's interesting.
    > >> >
    > >> > the url in the pop up window from clicking on the INVOKE button is
    this
    > >> URL:
    > >> >
    > >> >
    > >>
    >
    >[url]http://myserver/selfserve/webreportsrpb/productionsummaryreportbybatchid.as[/url]
    > mx/DisplayProductionSummaryReportByBatchID
    > >> >
    > >> > if i put in the browser all but the last part, like this:
    > >> >
    > >> >
    > >>
    >
    >[url]http://myserver/selfserve/webreportsrpb/productionsummaryreportbybatchid.as[/url]
    > mx
    > >> >
    > >> > i at least get the page to display in the browser.
    > >> >
    > >> > but i noticed that the end part causes the error. Also, on my test
    web
    > >> app,
    > >> > I noticed that after putting in paramters then pushing INVOKE returns
    a
    > >> > longer URL with Key/Value pairs for all the parameter data where as
    the
    > >> > resulting URL after clicking the INVOKE button does not have any
    > >paramters
    > >> > (key value pairs at all).
    > >> >
    > >> > so basically, the basic ASMX page shows, but the invoke doesn't work
    > >(HTTP
    > >> > 500 internal server error).
    > >> >
    > >> > If I take my test development asmx url, click on the INVOKE button
    and
    > >> copy
    > >> > the URL to a new browser window (with all the key value paramters)
    but
    > >> > modify the first part to refer to my main application, it dies as
    well.
    > >> > (http 500 internal server error).
    > >> >
    > >> > Put it more succinctly, in deploying my web service, the test INVOKE
    is
    > >> not
    > >> > working (POST method). In my web config, I enabled HTTP GET and HTTP
    > >POST
    > >> > for both apps.
    > >> >
    > >> > The one difference is that my test applicaiton is devloped under .net
    > >> > Framework 1.0, where as the main application configuration is set for
    > >1.1.
    > >> >
    > >> > I also followed microsoft's KB to turn on HTTP GET and HTTP Post in
    the
    > >> > machine.config (or web.config) of my main web applicaiton.
    > >> >
    > >> > basically, the page is not posting correctly and is displaying an
    > error.
    > >> > it's driving me nuts.
    > >> >
    > >> > Does anyone have any ideas on what I can do to check into this?
    > >> >
    > >> >
    > >> >
    > >> >
    > >> >
    > >>
    > >>
    > >
    > >
    > >
    >

    Bob Britton Guest

Similar Threads

  1. web service deployment question
    By Saumin in forum ASP.NET Web Services
    Replies: 4
    Last Post: December 7th, 10:36 PM
  2. No Touch Deployment and Web Services.
    By Mats-Erik Grundh in forum ASP.NET Web Services
    Replies: 26
    Last Post: October 27th, 08:10 AM
  3. web services deployment options
    By WS_New in forum ASP.NET Web Services
    Replies: 0
    Last Post: September 22nd, 10:01 AM
  4. Deployment considerations for web services
    By Mark Norgate in forum ASP.NET Web Services
    Replies: 1
    Last Post: September 10th, 06:25 PM
  5. Question about ASP.NET Application Deployment
    By Cowboy \(Gregory A. Beamer\) in forum ASP.NET General
    Replies: 0
    Last Post: July 16th, 07:42 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

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 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139