PC Review


Reply
Thread Tools Rate Thread

404.3 when trying to browse MyAstoriaService.svc

 
 
Rory Becker
Guest
Posts: n/a
 
      14th Aug 2008

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

--
Ror



 
Reply With Quote
 
 
 
 
Steven Cheng [MSFT]
Guest
Posts: n/a
 
      15th Aug 2008
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: (E-Mail Removed).

==================================================
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: <(E-Mail Removed)>
>From: Rory Becker <(E-Mail Removed)>
>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



>
>


 
Reply With Quote
 
Rory Becker
Guest
Posts: n/a
 
      15th Aug 2008
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


 
Reply With Quote
 
Rory Becker
Guest
Posts: n/a
 
      15th Aug 2008
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(IncludeExceptionDetailInFaults:=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


--
Ror


 
Reply With Quote
 
Rory Becker
Guest
Posts: n/a
 
      15th Aug 2008

> 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

--
Ror


 
Reply With Quote
 
Steven Cheng [MSFT]
Guest
Posts: n/a
 
      18th Aug 2008
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:
(E-Mail Removed).


--------------------
>Date: Fri, 15 Aug 2008 12:48:53 +0000 (UTC)
>Message-ID: <(E-Mail Removed)>
>From: Rory Becker <(E-Mail Removed)>
>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


>
>


 
Reply With Quote
 
Rory Becker
Guest
Posts: n/a
 
      18th Aug 2008
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


 
Reply With Quote
 
Steven Cheng [MSFT]
Guest
Posts: n/a
 
      19th Aug 2008
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:
(E-Mail Removed).

==================================================
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: <(E-Mail Removed)>
>From: Rory Becker <(E-Mail Removed)>
>Subject: RE: 404.3 when trying to browse MyAstoriaService.svc
>References: <(E-Mail Removed)>


>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


>
>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
New System - Vista Home Premium - Not able to browse microsoft sites- able to browse other sites. raghu.ned@gmail.com Windows Vista Networking 2 3rd Dec 2007 05:56 PM
can't browse some common websites, will browse others =?Utf-8?B?ZnV0dXJlZmlsZQ==?= Windows XP Internet Explorer 0 21st Oct 2004 06:09 AM
Re: Can't browse network in XP but others can browse this computer Ted Turner Windows XP Help 1 19th May 2004 06:16 PM
Cant Browse - internet connection established but cant browse =?Utf-8?B?U2hhbmV5X3Q=?= Windows XP Internet Explorer 1 14th May 2004 01:53 PM
DSL Connection stays, but cannot browse. Reconned and I can browse again... Marco Napoli Windows XP General 3 15th Aug 2003 10:36 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:24 PM.