IIS Setup
In Visual Studio:
Project(s): MarineLMSExtensions.Web.BCF.AgendaBuilder && MarineLMSExtensions.Web.BCF.CompetenceSurfer && MarineLMSExtensions.Web.BCF.CompetenceSurfer
Click Properties: 'Web' → 'Servers' section
Select Local IIS
Set each Project Url to http://localhost/MarineLMS.Web.Main.Trunk/Ext/BCFAgendaBuilder && http://localhost/MarineLMS.Web.Main.Trunk/Ext/BCFCompetenceSurfer && http://localhost/MarineLMS.Web.Main.Trunk/Ext/BCFPassagePlanner respectively.
Click "Create Virtual Directory"
Also ensure that MarineLMSExtensions.Web.Main project is using IIS and have a virtual directory that matches the App pool (e.g. /MarineLMS.Web.Main/ext)
Open the IIS Manager (Windows program):
Right-click on 'Application Pools' → 'Add Application Pool...'
Enter "TrunkBCFAppPool" in Name, then click OK.
While still In the IIS Manager (NOTE: this step is needed for all three respective projects - 3x):
Click on 'Default Web Site' → 'View Applications' (under Actions on the right panel)
Under the 'Virtual Path' column, right-mouse click on ["/MarineLMS.Web.Main.Trunk/Ext/BCFAgendaBuilder"] and in the context menu, click on 'Basic Settings...'
NOTE: If the extension project is not listed in 'Applications', click on 'Add Application' on the right
Add the Alias (i.e. "BCFAgendaBuilder", "BCFPassagePlanner, or "BCFCompetencySurfer")
Click Select and choose the BCF App Pool created in (2)
Give it the Physical Path to the project (e.g. [XXX\src\MarineLMSExtensions.Web.BCF.PassagePlanner])
In the "Edit Application" dialog box, change the Application pool to "TrunkBCFAppPool"
Click OK to save your change
While still In the IIS Manager (NOTE: this step is needed for all three respective projects - 3x)
Expand 'Sites' in the left "Connections" panel, then expand 'Default Web Site'
Expand [MarineLMS.Web.Main.trunk], then expand 'Ext'
Single left click on ['BCFAgendaBuilder'], then in ASP.NET panel in the middle double-click on ".NET Trust Levels"
Set the Trust level to "Full (internal)"
NOTE: If the ['BCFAgendaBuilder'] does not appear in the 'Ext' folder, right click 'Ext' and Click 'Add Application'. Then enter the alias [BCFAgendaBuilder] and the physical path to the projcet (e.g. [C:\coredev\src\MarineLMSExtensions.Web.BCF.AgendaBuilder]). Also select the app pool created in (2).
Generel Web config
Ensure the following entries are in the Web.config (Applies to all three projects respectively):
<appSettings file="Web.User.config"> <add key="Core.RequestContext" value="web"/> <add key="Network.NotificationServiceAdminEndPoint" value="net.tcp://localhost:8001/Services/NotificationService"/> <add key="Network.UserServiceSecureEndPoint" value="net.tcp://localhost:8000/Services/UserService"/> <add key="Network.UserServiceAdminEndPoint" value="net.tcp://localhost:8001/Services/UserService"/> <add key="Core.MaxReceivedMessageSize" value="2147483647"/> <!--Retrieved the Timezone from http://msdn.microsoft.com/en-us/library/cc749073.aspx --> <add key="Ext.ExtensionsServiceName" value="MarineLMS Extensions Service(CoreDev)"/> <add key="Core.CoreServiceName" value="MarineLMS Core Service(CoreDev)"/> </appSettings> |
Add Comment