Print Page | Close Window

Publishing Website

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce 2010
Forum Discription: For .NET 4.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=2444
Printed Date: 05-Feb-2026 at 6:40pm


Topic: Publishing Website
Posted By: gregweb
Subject: Publishing Website
Date Posted: 16-Jan-2011 at 3:58pm
I am trying to publish a website that uses DevForce.  It runs fine locally in VS10.
 
When I try to run the site, I get the following message:  "There is no endpoint listening..."
 
Here is what I have tried to debug: 
 
Making sure all Web project dlls are CopyLocal=true.
 
Global.asax had the correct line in it: System.Web.Hosting.HostingEnvironment.RegisterVirtualPathProvider(new IdeaBlade.EntityModel.Web.ServiceVirtualPathProvider()); 
 
I navigated to http://Jet-email.com/EntityServices.svc - http://Jet-email.com/EntityServices.svc and get the following message:
 
Metadata publishing for this service is currently disabled.

I don't know if I need to enable metadata publishing or not.
 
I tried to find the ClientApplicationType, but I don't know where that is.
 
I don't see a debug logfile on the server. UPDATE: I added a log directory to the site root, and it allowed the three DebugLog.* files to be created.  I have attached the debugLog.xml.  The last line is:
 
Error: No endpoint addresses found for EntityService
 
Greg
 
 

 
 



Replies:
Posted By: sbelini
Date Posted: 18-Jan-2011 at 12:38pm
Hi Greg,
 
The message "Metadata publishing for this service is currently disabled" is fine. The service is running even though Metadata publishing is disabled (which is not necessary).
 
Can you list the contents of all files in your bin folder?
 
Also, can you provide your web.config?
 
Silvio.


Posted By: gregweb
Date Posted: 18-Jan-2011 at 6:10pm
I just attached the config file.
 
Here is my bin folder:
 
IdeaBlade.Core.dll
IdeaBlade.EntityModel.dll
IdeaBlade.EntityModel.Server.dll
IdeaBlade.EntityModel.Web.dll
IdeaBlade.EntityModel.Edm.dll
IdeaBlade.Linq.dll
IdeaBlade.Validation.dll
Jet.Web.dll
MySql.Data.dll
MySql.Data.Entity.dll
System.ComponentModel.DataAnnotations.dll
System.Configuration.dll
System.Data.dll
System.Data.Entity.dll
System.dll
System.ServiceModel.DomianServices.Server.dll
System.Web.ApplicationServices.dll
System.Web.dll
System.Web.Extensions.dll
System..Web.Mobile.dll
System.Web.Services.dll
System.Xml.dll
System.Xml.Linq.dll
 
I appreciate the support.
 
Greg


Posted By: sbelini
Date Posted: 18-Jan-2011 at 7:02pm
Greg,
 
I can't get your web.config file, can you copy and paste it instead?
 
By the way, you don't need the System libraries in the bin folder.
 
Silvio.


Posted By: gregweb
Date Posted: 18-Jan-2011 at 7:13pm
Here it is. 
 
Thanks for the data on the System Libs.
 
Greg
 
 
<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <configSections>
    <section name="ideablade.configuration" type="IdeaBlade.Core.Configuration.IdeaBladeSection, IdeaBlade.Core" />
  </configSections>
  <system.data>
    <DbProviderFactories>
      <remove invariant="MySql.Data.MySqlClient" />
      <add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=6.3.4.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" />
    </DbProviderFactories>
  </system.data>
  <connectionStrings>
    <remove name="LocalSqlServer" />
    <add name="LocalSqlServer" connectionString="Data Source=tcp:sql2k803.discountasp.net;Initial Catalog=SQL2008_717577_jet;User ID=SQL2008_717577_jet_user;Password=*;" />
    <add name="EmailEntities" connectionString="metadata=res://*/Models.EmailEntities.csdl|res://*/Models.EmailEntities.ssdl|res://*/Models.EmailEntities.msl;provider=MySql.Data.MySqlClient;provider connection string=&quot;server=mysql501.discountasp.net;User Id=jetadmin2;password=*;Persist Security Info=True;database=MYSQL5_717577_JET&quot;" providerName="System.Data.EntityClient" />
    <add name="EmailEntityManager" connectionString="metadata=res://*/Models.EmailEntityManager.csdl|res://*/Models.EmailEntityManager.ssdl|res://*/Models.EmailEntityManager.msl;provider=MySql.Data.MySqlClient;provider connection string=&quot;server=mysql501.discountasp.net;User Id=jetadmin2;password=*;Persist Security Info=True;database=MYSQL5_717577_JET&quot;" providerName="System.Data.EntityClient" />
    <add name="MetaDataManager" connectionString="metadata=res://*/Models.MetaDataModel.csdl|res://*/Models.MetaDataModel.ssdl|res://*/Models.MetaDataModel.msl;provider=MySql.Data.MySqlClient;provider connection string=&quot;server=mysql501.discountasp.net;User Id=jetadmin2;password=*;Persist Security Info=True;database=MYSQL5_717577_JET&quot;" providerName="System.Data.EntityClient" />
  </connectionStrings>
  <ideablade.configuration version="6.00" xmlns=" http://schemas.ideablade.com/2010/IdeaBladeConfig - http://schemas.ideablade.com/2010/IdeaBladeConfig ">
    <logging logFile="log\DebugLog.xml" />
    <objectServer>
      <serverSettings useAspNetSecurityServices="true" loginManagerRequired="true" allowAnonymousLogin="false" />
    </objectServer>
  </ideablade.configuration>
  <system.serviceModel>
    <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />
    <services>
      <!-- Note: the service name must match the configuration name for the service implementation. -->
      <service name="Namespace.MyServiceType" behaviorConfiguration="MyServiceTypeBehaviors">
        <!-- Add the following endpoint.  -->
        <!-- Note: your service must have an http base address to add this endpoint. -->
        <endpoint contract="IMetadataExchange" binding="mexHttpBinding" address="mex" />
      </service>
    </services>
    <behaviors>
      <serviceBehaviors>
        <behavior name="MyServiceTypeBehaviors">
          <!-- Add the following element to your service behavior configuration. -->
          <serviceMetadata httpGetEnabled="true" />
        </behavior>
      </serviceBehaviors>
    </behaviors>
  </system.serviceModel>
  <system.web>
    <authentication mode="Forms">
      <forms name=".Jet2_ASPXAUTH" timeout="10000" slidingExpiration="true" />
    </authentication>
    <roleManager enabled="true" />
    <profile>
      <properties>
        <add name="FriendlyName" />
        <add name="Captcha" type="String" />
        <add name="UserId" type="System.Guid" />
        <add name="DisplayName" type="String" />
        <add name="GroupId" type="System.Guid" />
        <add name="CompanyName" type="String" />
      </properties>
    </profile>
    <compilation debug="true" targetFramework="4.0">
      <assemblies>
        <add assembly="System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
      </assemblies>
    </compilation>
  </system.web>
  <system.webServer>
    <security>
      <authentication>
        <basicAuthentication enabled="false" />
      </authentication>
    </security>
    <validation validateIntegratedModeConfiguration="false" />
  </system.webServer>
</configuration>


Posted By: gregweb
Date Posted: 18-Jan-2011 at 7:50pm
Well, this suddenly started working.  I am not sure what changed.  So this is resolved for now.
 
Thanks very much,
 
Greg


Posted By: sbelini
Date Posted: 18-Jan-2011 at 8:18pm
Glad to hear that.
 
Silvio.



Print Page | Close Window