I am new to Silver light.
I created a Domain Service class following instructions from "http://www.devtoolshed.com/tutorial-configuring-silverlight-4-entity-framework-and-wcf-ria-services-separate-component-assembli". This creates a .cs file.
Published it to local host. A .svc is created virtually. I directly accessed the service with "http://localhost/ConfiguratorTools_QA/ConfiguratorSalesTool-Web-ConfiguratorDomainService.svc" url. I copied the published files to a colleague's machine and still see .svc created in the Microsoft.Net temporary files.
Copied all the published files to Windows 2008 R2, I don't see the virtual .svc created. I get following error:
WebHost failed to process a request. Sender Information:
System.ServiceModel.Activation.HostedHttpRequestAsyncResult/27803528
Exception: System.Web.HttpException (0x80004005): The service
'/ConfiguratorTools_QA/ClientBin/ConfiguratorSalesTool-Web-ProductsDomainService.svc'
does not exist. ---> System.ServiceModel.EndpointNotFoundException:
The service
'/ConfiguratorTools_QA/ClientBin/ConfiguratorSalesTool-Web-ProductsDomainService.svc'
does not exist.
Please help and thanks in advance.
Related
We are currently working on a BizTalk server migration project (from 2013R2 to 2016) and in the process need to install Azure Storage Adapter (publisher BizTalkFactory Codeplex Team) so as to fetch files from Azure blob storage into BizTalk.
This is working fine with 2013R2 version however after installing the same msi on BizTalk Server 2016 Enterprise version we are not able to see azureStorageBinding under WCF-Custom adapter bindings.
Also I tried using WCF-WebHttp adapter with azureStorageBehaviour however when I apply changes it says "Error saving properties. (System.Configuration.ConfigurationErrorsException) Configuration binding extension 'system.serviceModel/bindings/azureStorageBinding' could not be found. Verify that this binding extension is properly registered in system.serviceModel/extensions/bindingExtensions and that it is spelled correctly"
I verified the machine.config file too and azureStorageBinding is present.
Note - When I install the same msi with BizTalk Server 2016 Developer version, it works fine.
Please let me know if I'm missing something here or any probable causes for this issue.
Thanks!
I have made a WCF data service and a test client which both run fine on my local machine. The service is hosted on the local IIS on my machine.
Now I'm trying to setup a remote win 2008 R2 server to host the wcf data service, and this is where I run into trouble.
I have first tried to install "WCF Data Services 5.0 for OData V3" from http://www.microsoft.com/en-us/download/details.aspx?id=29306
But I get a "0x80070643 Fatal error during installation"-during installation. I have the log file if that helps.
Now I'm thinking, is it because I need to install "http://www.nuget.org/packages/Microsoft.Data.Services" on the server? I know I did this on my local machine. However this would require me to install Powershell, Visual Studio and NuGet on the server. Is this necessary to get things to work?
If you're using the NuGet packages in your project, then the easiest way is to bin-deploy the WCF DS runtime assemblies. More details here: http://blogs.msdn.com/b/astoriateam/archive/2012/08/29/odata-101-bin-deploying-wcf-data-services.aspx
I have 2 virtual directory on my IIS (first for server developing and second for client devloping).
Each directory point to different folders:
c:\Server\ -> localhost/Server/service.svc
c:\Client\ -> localhost/Client/service.svc
(Whenever server "binaries" are stable I copy them to Client path)
My problem is that whenever I start debugger for server (where in VS I set "Use local IIS web server" to "localhost/Server/service.svc" ) the breakpoints are also hit form localhost/Client/service.svc (also when "binaries" are different).
I thing it is because debugger connect to w3wp.exe .
I tried to change AssemblyInfo.cs but that didn't help.
Thanks.
I assume that run both websites under the same IIS AppPool. This means that both websites run in the same process. You need to use different IIS AppPools if you want Visual Studio to debug only Server.
Also you probably have architectural issue. Usually there is no need to have the same service.svc in client and server.
Normaly you should have one Visual Studio solution with 3 projects configured as follows:
Project with Contracts (contains data and service contracts)
Server project with *.svc files
Client project that contains Server references generated for Server endpoint.
Both Client and Server reference Contracts.
I am running 32 bit Windows 7 Operation System which has IIS 7.5 installed.
In Visual Studio 2010, I open my solution having the web site project hosting WCF service. I have created an application in the IIS which points to the website project. The web site's bin folder has many assemblies which I need to refer. But those assemblies also have built using .NET 4 on the same computer.
I can browse the WCF service using both HTTP & HTTPS.
However, when i access the service from the test windows application (using the proxy class of the WCF contract), I get the error in question. Everything was working without problem earlier.
Anyone can help to fix the issue?. How to investigate this issue?
Error 0x80040154 means "Class Not Registered", which usually means you're depending on a COM component that hasn't been installed properly on the machine.
Is any of those Assemblies you reference a COM Interop Assembly? If so, find out what it uses and then install the appropriate COM component.
Is it possible to host .svc file on ASP.NET Development Server? How?
Yes.
If your project type is regular library project then one way is to create a website project and copy the svc file + corresponding service dll's to the bin folder for that project.
Then, when you run the solution (F5), you will find that the website is hosted in cassini (asp.net development server)
The only catch is that the virtual port is different everytime you run the solution.
However, you can specify the project to run on a specific virtual port as well.
Refer this link on how you can do that