Unable to Launch Web Site - Error Message Unhelpful

Discussion in 'General troubleshooting' started by pbc83, Jan 10, 2013.

  1. 'm having trouble launching my web site. It launches successfully on my laptop from within VS 2012, but won't run on the discountasp.net server.

    I get the following error:

    "The page cannot be displayed because an internal server error has occurred."

    I've contacted discountASP.net's support, but they claim that the error is somewhere in my web.config file.

    Can anyone identify anything that may be causing this web site not to launch?

    My web.config is attached.

    Any help much appreciated.

    Thanks in advance,
    Peter
     
  2. dmitri

    dmitri DiscountASP.NET Staff

    Can you please provide the URL where we can see the error you are getting?
     
  3. RayH

    RayH DiscountASP.NET Lackey DiscountASP.NET Staff

    One of the connection strings looks incorrect, unless you masked the password on purpose. I have removed the web.config file from your post to protect your site.
     
  4. I thought I had masked all of the passwords to the DiscountASP.net server.

    What is incorrect about the connection strings, may I ask?

    Peter
     
  5. RayH

    RayH DiscountASP.NET Lackey DiscountASP.NET Staff

    I just noticed the masked password, but nothing else stands out at the moment.
     
  6. RayH

    RayH DiscountASP.NET Lackey DiscountASP.NET Staff

    Ok, this one will not work:

    I only displayed a partial connection string, but there is no host MACBOOKPRO0311 that you can access. I assume that's one of your home/development computers. You need to reference one of your SQL databases here at DiscountASP.NET or one that you have access through the Internet. I noticed a couple others like that as well.
     
  7. Still Not Resolved

    I am not having any problem accessing my local servers on my development machine. The issue is with the hosted server at DiscountASP. I also contacted DevExpress and they came back with this response:

    "I see that there are multiple versions of the ASPxHttpHandlerModule defined within a single section. It is necessary to have a single ASPxHttpHandlerModule entry registered in the corresponding section."

    So I commented out the extra references to the ASPxHttpHandlerModule, but I am still getting the same error message.:mad:

    <system.webServer>
    <staticContent>
    <clientCache cacheControlMaxAge="01" />
    </staticContent>
    <!--<modules runAllManagedModulesForAllRequests="true">
    <add type="DevExpress.Web.ASPxClasses.ASPxHttpHandlerModule, DevExpress.Web.v12.2, Version=12.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" name="ASPxHttpHandlerModule" />
    <add type="DevExpress.Web.ASPxClasses.ASPxHttpHandlerModule, DevExpress.Web.v12.2, Version=12.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" name="ASPxHttpHandlerModule" />
    </modules>-->
    <validation validateIntegratedModeConfiguration="false" />
    <handlers>
    <add type="DevExpress.Web.ASPxClasses.ASPxHttpHandlerModule, DevExpress.Web.v12.2, Version=12.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" verb="GET,POST" path="DX.ashx" name="ASPxHttpHandlerModule" preCondition="integratedMode" />
    <add type="DevExpress.Web.ASPxUploadControl.ASPxUploadProgressHttpHandler, DevExpress.Web.v12.2, Version=12.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" verb="GET,POST" path="ASPxUploadProgressHandlerPage.ashx" name="ASPxUploadProgressHandler" preCondition="integratedMode" />
    <!--<add type="DevExpress.Web.ASPxClasses.ASPxHttpHandlerModule, DevExpress.Web.v12.2, Version=12.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" verb="GET,POST" path="DX.ashx" name="ASPxHttpHandlerModule" preCondition="integratedMode" />-->
    </handlers>
    <security>
    <requestFiltering>
    <requestLimits maxAllowedContentLength="30000000" />
    </requestFiltering>
    </security>
    </system.webServer>

    Peter
     
  8. RayH

    RayH DiscountASP.NET Lackey DiscountASP.NET Staff

    Hi Peter,

    It's difficult to debug because you have so many commented out sections of your web.config, and we don't know how your application works or what it's supposed to do. I do know however that many of your connection strings will not work. It works in your local environment because of NETBIOS name resolution. There is no way your application will know how to resolve a name such as MACBOOKPRO0311 when hosted on our servers. You need to use a Fully Qualified Domain Name.
     

Share This Page