Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I am working with a Custom Share Point 2010 service development. The issue is if the Solution is scoped at GAC then I can access my Service with /mex extension, to the url. But, if the solution is scoped at Web Application, then I am unable to browse it in any way, I tried with mex,NTLM,Anonymous etc...but no luck. I am getting 'HTTP 400 Bad Request'. But, the same thing is working fine when the dlls are in GAC. I ran fiddler as well I found these HTTP requests are Unauthorized. As per my client requirement I can not add dlls to GAC.

Can any one please help to work this thing smooth, without GAC deployment?

Thanks in advance for your kind attention to this post.

share|improve this question
    
What kind of custom solution are you deploying? If you can't deploy stuff to the GAC, you'll be very, very limited in terms of what you can deploy. –  NotVonKaiser Jun 11 '13 at 19:25
    
fyi a SharePoint Hosted App is a concept relating to SharePoint 2013 specifically and has nothing to do with your current problem, edited tags to be a bit more relevant –  lgaud Jun 11 '13 at 19:50
    
@John - This is a Empty Share Point project. Where I created the service with the help of CKSDEV Add New Item template. You are correct this environment is highly restricted, we can't make any deployment to the GAC at all. But, is this necessary to deploy the dll to the GAC, can't we access the dll if it is in WebApp bin folder? In my case the dll is in WebApp bin, and as per my understanding the service is facing some authentication issue, as per fiddler as well the request is Unauthorized HTTP 401. But, I am not being able to come out of this, since last 2 days. Please suggest. –  user2375504 Jun 12 '13 at 7:51
    
What URL does your WCF service live in? What does your .svc file look like? –  James Love Jun 12 '13 at 9:46
    
URL - https://<Domain>/sites/<portal_name>/_vti_bin/PMF/PMFService.svc/mex .svc File - <%@ ServiceHost Language="C#" Debug="true" Service="ATAPortal.PMFService, $SharePoint.Project.AssemblyFullName$" CodeBehind="ATAPortal.PMFService" Factory="Microsoft.SharePoint.Client.Services.MultipleBaseAddressBasicHttpBindin‌​gServiceHostFactory, Microsoft.SharePoint.Client.ServerRuntime, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> –  user2375504 Jun 12 '13 at 11:26

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.