B
Bob Britton
OK. On my dev server, I have a web application with a web service.
http://myserver/webreports/productionsummaryreportbybatchid.asmx
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:
http://myserver/mainapplication/productionsummaryreportbybatchid.asmx 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:
http://myserver/selfserve/webreport....asmx/DisplayProductionSummaryReportByBatchID
if i put in the browser all but the last part, like this:
http://myserver/selfserve/webreportsrpb/productionsummaryreportbybatchid.asmx
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?
http://myserver/webreports/productionsummaryreportbybatchid.asmx
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:
http://myserver/mainapplication/productionsummaryreportbybatchid.asmx 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:
http://myserver/selfserve/webreport....asmx/DisplayProductionSummaryReportByBatchID
if i put in the browser all but the last part, like this:
http://myserver/selfserve/webreportsrpb/productionsummaryreportbybatchid.asmx
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?