Error 404 with webservices on production server?
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngwebservices' list.


[www.Jitic.Net] Andreas Kviby
Hi
It seems a common problem when you make a webservice, create a proxy class,
create an assembly DLL and everything just works fine on your local machine
BUT, when uploading everything to the production server, in my case with
Orcsweb this error shows up and I just can't solve it. I sam postings about
the same thing in the asp.net forums but no replies. Please help.

My asmx file (type in 1 as Recordtype) THIS WORKS!
http://66.129.69.178/geeks/displayareas.asmx

My aspx client that should call the above with the
recordtype of 1 inserted. THIS DOESN'T WORK!
http://66.129.69.178/geeks/displayareas.aspx

ASP.NET Posting
http://www.asp.net/Forums/ShowPost.aspx?tabindex=1&PostID=7444

Source for aspx file:
<%@ Page Language="vb" %>
<%@ import Namespace="System.Data" %>
<script runat="server">

sub submit(obj as object, e as eventargs)

Dim objservice As new JServices
dim objds as new dataset

objds = objservice.DisplayContentAreas(1)
datagrid1.datasource = objds
datagrid1.datamember = "table"
datagrid1.databind()
end sub

</script>
<html>
<head>
</head>
<body>
<form runat="server">
Showing areas where we have books:<br />
<asp:Button id="btSubmit" onclick="Submit" text="Display Areas"
Runat="server"></asp:Button>
<br />
<asp:DataGrid id="Datagrid1" runat="server"
AlternatingItemStyle-BackColor="#cccccc" ItemStyle-BackColor="#ffffff"
HeaderStyle-Backcolor="#cccc99" Font-Size="8pt" Font-Name="Arial"
Width="100%" Cellspacing="0" CellPadding="4" Gridlines="Vertical"
BorderColor="#000000" AutoGenerateColumns="False">
<Columns>
<asp:TemplateColumn HeaderText="AreaTitle">
<ItemTemplate>
<asp:Label ID="lblID" Runat="server"
Text='<%#Container.DataItem("area") %>' />
</ItemTemplate>
</asp:TemplateColumn>
</Columns>
</asp:DataGrid>
</form>
</body>
</html>

/Regards

Andreas Kviby

Reply to this message...
 
    
Brad Kingsley
Andreas,

(me again:>). I think it is an issue with the DLL (wsdl) compilation as
noted in an earlier email. I was able to compile the DLL on a test machine
and have it call the remote web service at
http://66.129.69.178/geeks/displayareas.asmx - and it worked with no
problems.

~Brad Kingsley
Microsoft MVP - ASP
Windows 2000 MCSE

http://www.orcsweb.com/
Powerful Web Hosting Solutions
#1 in Service and Support

----- Original Message -----
From: "[www.Jitic.Net] Andreas Kviby" <Click here to reveal e-mail address>
To: "aspngwebservices" <Click here to reveal e-mail address>
Sent: Thursday, July 04, 2002 2:21 AM
Subject: [aspngwebservices] Error 404 with webservices on production server?

[Original message clipped]

---
[This E-mail scanned for viruses by Declude Virus]

Reply to this message...
 
 
System.ComponentModel.Container
System.Web.UI.WebControls.DataGrid
System.Web.UI.WebControls.TemplateColumn
System.Windows.Forms.DataGrid




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com