Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Message from discussion Is there a way to deploy a WCF service as part of a WSS V3 site?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Stephen Walch  
View profile  
 More options Jul 3 2007, 11:51 am
Newsgroups: microsoft.public.sharepoint.windowsservices.development
From: "Stephen Walch" <swa...@proposion.com>
Date: Tue, 3 Jul 2007 11:51:13 -0400
Local: Tues, Jul 3 2007 11:51 am
Subject: Re: Is there a way to deploy a WCF service as part of a WSS V3 site?
No, things are not going well.  I am getting the exact same error that Vij
reported. Here are some more details:

I created a WSS V3 site named http://pelican:1962.  I copied my .SVC file to
the LAYOUTS directory and put the associated DLLs in my sites' BIN
directory.  I edited the sites' web.config file to allow Full trust.  I also
turned on debugging and display of call stacks so I got a more detailed
error message.  Now when I call
http://pelican:1962/_layouts/ImportSession.svc I get the following error:

virtualPath   at
Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.IsExcludedPath(Stri ng
virtualPath)
   at
Microsoft.SharePoint.ApplicationRuntime.SPVirtualPathProvider.FileExists(St ring
virtualPath)
   at
System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceA vailable(String
normalizedVirtualPath)
   at
System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(St ring
relativeVirtualPath)
   at
System.ServiceModel.Activation.HostedHttpRequestAsyncResult.HandleRequest()
   at
System.ServiceModel.Activation.HostedHttpRequestAsyncResult.BeginRequest()
   at System.ServiceModel.Activation.HttpHandler.ProcessRequest(HttpContext
context)
   at
System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplicat ion.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously)

As you can see in thye call stack, SharePoint.ServiceModel is being called,
but it is getting a problem when it tries to inteact with SharePoint's
implementation of a virtual path provider.

----- Original Message -----
From: "Wei Lu [MSFT]" <we...@online.microsoft.com>

Newsgroups: microsoft.public.sharepoint.windowsservices.development
Sent: Monday, July 02, 2007 3:05 AM
Subject: RE: Is there a way to deploy a WCF service as part of a WSS V3
site?

> Hi ,

> How is everything going? Please feel free to let me know if you need any
> assistance.

> Sincerely,

> Wei Lu
> Microsoft Online Community Support

> ==================================================

> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.

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

"Wei Lu [MSFT]" <we...@online.microsoft.com> wrote in message
news:fyyLtaVuHHA.3972@TK2MSFTNGHUB02.phx.gbl...
> Hello Steve,

> First, you need to host the WCF services in IIS.

> How to: Host a WCF Service in IIS
> http://msdn2.microsoft.com/en-us/library/ms733766.aspx

> Then, the IIS will host the WCF and it will pass the request for .svc to
> WCF.

> And you need to check onething in WCF that WCF in .NET 3.0 does not
> support
> partial trust and SharePoint is setup to run in Partial Trust, so WCF .NET
> 3.0 code running under SharePoint needs to be bumped to full trust

> After that, your WCF will running under Sharepoint.

> Sincerely,

> Wei Lu
> Microsoft Online Community Support

> ==================================================

> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.

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


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google