-
Notifications
You must be signed in to change notification settings - Fork 6
Description
I'm deploying a service to IIS but still can't use it. The service works if launched from VisualStudio.
Source: https://groups.google.com/forum/#!msg/servicestack/1DMSevzrZfQ/56-YCuGCfacJ
Steps:
1 - Compile the service
2 - XCopy bin folder, global.asax and web.config to folder
3 - At IIS Manager create the application under default web site
4 - Call it from browser with http://localhost/ServiceStackPing
The result is an empty, white, canvas. I tried all the urls I remembered but still without success.
I think I need some extra file, some entry point, like the asmx, or some configuration on the IIS, but can figure what.
By the way, why to I need to copy web.config if inside bin folder already is dll_name.config? Are one of these unnecessary?
Details:
VisualStudio 2013 Community
ServiceStack 4
IIS 8.5
Web.config
<?xml version="1.0" encoding="UTF-8"?>
<!--
For more information on how to configure your ASP.NET application, please visit
http://go.microsoft.com/fwlink/?LinkId=169433
-->
<configuration>
<system.web>
<compilation debug="true" targetFramework="4.0" />
<httpRuntime />
<httpHandlers>
<add path="*" type="ServiceStack.HttpHandlerFactory, ServiceStack" verb="*" />
</httpHandlers>
<pages controlRenderingCompatibilityVersion="4.0" />
</system.web>
<system.webServer>
<modules runAllManagedModulesForAllRequests="true" />
<validation validateIntegratedModeConfiguration="false" />
<handlers>
<add path="*" name="ServiceStack.Factory" type="ServiceStack.HttpHandlerFactory, ServiceStack" verb="*" preCondition="integratedMode" resourceType="Unspecified" allowPathInfo="true" />
</handlers>
</system.webServer>
</configuration>