By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,660 Members | 1,123 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,660 IT Pros & Developers. It's quick & easy.

404.3 when trying to browse MyAstoriaService.svc

P: n/a

Having installed SP1 with no Issues...

I have
....created a Web app...
....Added a LINQ to SQL dbml (MyAstoriaDataContext) for some tables in my
database
....Created "MyAstoriaService.svc" and changed the passed type to "MyAstoriaDataContext"
....Added the following code to "InitializeService"
-------------------------------------------------------------
config.SetEntitySetAccessRule("*", EntitySetRights.AllRead)
config.SetServiceOperationAccessRule("*", ServiceOperationRights.All)
-------------------------------------------------------------

but when I try to browse to MyAstoriaService.svc, I get a 404.3 error suggesting
that ASP.Net has not mapped this file to anything.

Indeed the mapping does not seem to be in place in IIS

Can enyone indicate what I should do about this?

Thanks

--
Rory

Aug 14 '08 #1
Share this Question
Share on Google+
7 Replies


P: n/a
Hi Rory,

You're encountering some error accessing an WCF svc endpoint, correct?

It seems the error message indicate some 404.3 error code, this usually
means that the target service endpoint is not correctly located or not
available. I'd like to confirm the following things first:

**Are you using VS 2008 SP1 and are you using IIS server or vs test server
to host the web application?

**Have you tried run any other web application which contains WCF svc
endpoint before on the same server(in IIS) and did it work?

I suggest you create a simple WCF service in IIS to see whether it works.
If not, that means there exists some configuration problem of the WCF
service on the server(in IIS). You can also find a machine with WCF mapping
setup correctly in IIS and compare the extension mappings setting with the
problem server's IIS.

http://msdn.microsoft.com/en-us/libr...dnwcfhc_topic5

http://technet.microsoft.com/en-us/l.../cc754271.aspx

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we

can improve the support we provide to you. Please feel free to let my
manager know what you think of

the level of service provided. You can send feedback directly to my manager
at: ms****@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to

http://msdn.microsoft.com/en-us/subs...#notifications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response

from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take

approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution.

The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump

analysis issues. Issues of this nature are best handled working with a
dedicated Microsoft Support

Engineer by contacting Microsoft Customer Support Services (CSS) at

http://support.microsoft.com/select/...tance&ln=en-us.
==================================================
This posting is provided "AS IS" with no warranties, and confers no
rights.--------------------
>Date: Thu, 14 Aug 2008 12:00:55 +0000 (UTC)
Message-ID: <3a**************************@news.microsoft.com >
From: Rory Becker <ro********@newsgroup.nospam>
Subject: 404.3 when trying to browse MyAstoriaService.svc
>
I have
...created a Web app...
...Added a LINQ to SQL dbml (MyAstoriaDataContext) for some tables in my
database
...Created "MyAstoriaService.svc" and changed the passed type to
"MyAstoriaDataContext"
>...Added the following code to "InitializeService"
-------------------------------------------------------------
config.SetEntitySetAccessRule("*", EntitySetRights.AllRead)
config.SetServiceOperationAccessRule("*",
ServiceOperationRights.All)
>-------------------------------------------------------------

but when I try to browse to MyAstoriaService.svc, I get a 404.3 error
suggesting
>that ASP.Net has not mapped this file to anything.

Indeed the mapping does not seem to be in place in IIS

Can enyone indicate what I should do about this?

Thanks

--
Rory
>
Aug 15 '08 #2

P: n/a
Hello Steven Cheng [MSFT],
You're encountering some error accessing an WCF svc endpoint, correct?
I was not aware that this involved WCF... but I guess it might

What I'm trying to do is create and use a ADO.Net Data Services(Codenamed
Astoria) service.

I have see instructions for how to do this here -- http://codebetter.com/blogs/david.ha...-services.aspx.
but they seem a little out of data as of VS2008 SP1
It seems the error message indicate some 404.3 error code, this
usually means that the target service endpoint is not correctly
located or not available. I'd like to confirm the following things
first:

**Are you using VS 2008 SP1 and are you using IIS server or vs test
server to host the web application?
SP1 - Yes
IIS 7 (on Vista 64) - Yes

**Have you tried run any other web application which contains WCF svc
endpoint before on the same server(in IIS) and did it work?
Never touched WCF before.

Hopefully this should clarrify what I'm trying to do.

I admit the WCF suggestion has kinda thrown me.

Thanks in any case for any help.
--
Rory
Aug 15 '08 #3

P: n/a
Hello Steven Cheng [MSFT],

Ok I've been doing some research based on the fact that ADO.Net Data Services
(Astoria) (Does anyone else think that theis name is far too long?)

and found CleanIISScriptMaps.exe here (http://snurl.com/3gb34) .

It seems that this tool is designed to correct the mapping issue I seem to
have. It's designed to correct issues created by some beta releases. I'm
not sure how these might have affected me in the first place since I didn't
install and of the beta SP1s. I did however have some of the silverlight
bits on my machine before. Perhaps that was it.

In any case, my Astoria is now working. Unfortunately it is working well
enough to tell me that it is not compatible with LINQ2SQL.

(I needed to use <System.ServiceModel.ServiceBehavior(IncludeExcept ionDetailInFaults:=True)>
to my Service class before it would admit this though)

This is a big downer because LINQ2SQL is far easier to use compared to the
Entity Framework :(
--
Rory
Aug 15 '08 #4

P: n/a
In any case, my Astoria is now working. Unfortunately it is working
well enough to tell me that it is not compatible with LINQ2SQL.

Ok It now seems that I can mitigate this to a degree by applying a DataServiceKey
attribute to each Table.

However this only gets me as far as rendering the svc file

I was under the impression that I could access the url "http://localhost:someport/MyService.svc/MyTable"
and that this would render some kind of xml representation of the data in
that table.

In Firefox 3 I get nothing. Not even a context menu can be produced

In IE7 I get a rendering which implies that it thinks there is an rss feed
in the page, but there is no data on screen and view source does not work
either.

I'm really confused. Astoria seems like it could be really useful if I can
just make it work :)

--
Rory
Aug 15 '08 #5

P: n/a
Thanks for your followup Rory,

Yes, since Astoria is still under CTP, the documentation and reference is a
bit lag. I think it may also changes after some furhter new versions since
the DEV team may do some changes according to community or other partner
feedback.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsoft.com.
--------------------
>Date: Fri, 15 Aug 2008 12:48:53 +0000 (UTC)
Message-ID: <3a**************************@news.microsoft.com >
From: Rory Becker <ro********@newsgroup.nospam>
Subject: RE: 404.3 when trying to browse MyAstoriaService.svc
>
>In any case, my Astoria is now working. Unfortunately it is working
well enough to tell me that it is not compatible with LINQ2SQL.


Ok It now seems that I can mitigate this to a degree by applying a
DataServiceKey
>attribute to each Table.

However this only gets me as far as rendering the svc file

I was under the impression that I could access the url
"http://localhost:someport/MyService.svc/MyTable"
>and that this would render some kind of xml representation of the data in
that table.

In Firefox 3 I get nothing. Not even a context menu can be produced

In IE7 I get a rendering which implies that it thinks there is an rss feed
in the page, but there is no data on screen and view source does not work
either.

I'm really confused. Astoria seems like it could be really useful if I can
just make it work :)

--
Rory
>
Aug 18 '08 #6

P: n/a
Hello Steven Cheng [MSFT],
Thanks for your followup Rory,

Yes, since Astoria is still under CTP, the documentation and reference
is a bit lag. I think it may also changes after some furhter new
versions since the DEV team may do some changes according to community
or other partner feedback.

Erm....as far as I know... Although I keep refering to is as astoria (for
brevity more than anything else) it was released inside VS2008 SP1 as ADO.Net
Data Services. So I think it's hit RTM already.

but as you say onlind DOCs at RTM are not great.

--
Rory
Aug 18 '08 #7

P: n/a
Thanks for your followup Rory,

Yes, I saw it from the .NET 3.5/VS 2008 SP1 info. Then, that's really a
pity for the documentation.

You're welcome to submit the feedback to the connect site:

http://connect.microsoft.com/feedbac...spx?SiteID=210

Thanks for your sincere feedback and comments.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subs...#notifications.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
>Date: Mon, 18 Aug 2008 06:37:07 +0000 (UTC)
Message-ID: <3a**************************@news.microsoft.com >
From: Rory Becker <ro********@newsgroup.nospam>
Subject: RE: 404.3 when trying to browse MyAstoriaService.svc
References: <2r**************@TK2MSFTNGHUB02.phx.gbl>
>Hello Steven Cheng [MSFT],
>Thanks for your followup Rory,

Yes, since Astoria is still under CTP, the documentation and reference
is a bit lag. I think it may also changes after some furhter new
versions since the DEV team may do some changes according to community
or other partner feedback.


Erm....as far as I know... Although I keep refering to is as astoria (for
brevity more than anything else) it was released inside VS2008 SP1 as
ADO.Net
>Data Services. So I think it's hit RTM already.

but as you say onlind DOCs at RTM are not great.

--
Rory
>
Aug 19 '08 #8

This discussion thread is closed

Replies have been disabled for this discussion.