Deploying Application

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • HabibBhutto
    New Member
    • Jan 2009
    • 17

    Deploying Application

    Hi Guys,

    Thanks in advance...! :)


    I am developing a web application for IPhone using componentOne IPhone and ASP.Net 3.5
    there is problem into deploying the site after deplying when a browse my site it display an Error Page
    ////////////////////////////////////////////////////////////////////

    Server Error in '/fileTransfer' Application.
    Runtime Error
    Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

    Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors > tag within a "web.config " configuration file located in the root directory of the current web application. This <customErrors > tag should then have its "mode" attribute set to "Off".

    <!-- Web.Config Configuration File -->

    <configuratio n>
    <system.web>
    <customErrors mode="Off"/>
    </system.web>
    </configuration>


    Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirec t" attribute of the application's <customErrors > configuration tag to point to a custom error page URL.

    <!-- Web.Config Configuration File -->

    <configuratio n>
    <system.web>
    <customErrors mode="RemoteOnl y" defaultRedirect ="mycustompage. htm"/>
    </system.web>
    </configuration>

    //////////////////////////////////////////////////////////////////////////////////////////////


    And when I browse it on my localhost IIS then

    it display an error page :

    /////////////////////////////////////////////////////////////////////////////////////////////

    Could not be loaded
    System.Web.Conf iguration.Syste mWebExtensionsS ectionGroup, System.Web.Exte nsions, Version=3.5.0.0 , Culture=neutral , PublicKeyToken= 31BF3856AD364E3 5

    ////////////////////////////////////////////////////////////////////////////////////////////


    I have installed extensions for .Net 3.5 , Ajax Extensions, etc

    plz help me... !
  • prabirchoudhury
    New Member
    • May 2009
    • 162

    #2
    Hi All Help need Its urgent plzzzz

    customErrors Element (ASP.NET Settings Schema)


    you have set up the customerErrors element RemortOnly would show the 404 error page redirect when browsing remortly but not locally.. so you would not see the redirect errorpage but asp.net error.


    <customErrors defaultRedirect ="url" mode="On|Off|Re moteOnly"><erro r. . ./>
    </customErrors>

    On
    Specifies that custom errors are enabled. If no defaultRedirect attribute is specified, users see a generic error. The custom errors are shown to the remote clients and to the local host.

    Off
    Specifies that custom errors are disabled. The detailed ASP.NET errors are shown to the remote clients and to the local host.

    RemoteOnly
    Specifies that custom errors are shown only to the remote clients, and that ASP.NET errors are shown to the local host. This is the default value.
    The default is RemoteOnly.

    Comment

    • Frinavale
      Recognized Expert Expert
      • Oct 2006
      • 9749

      #3
      Judging by the error message, it sounds like the web server doesn't have the .NET 3.5 Framework installed.

      Comment

      • HabibBhutto
        New Member
        • Jan 2009
        • 17

        #4
        Originally posted by prabirchoudhury
        customErrors Element (ASP.NET Settings Schema)


        you have set up the customerErrors element RemortOnly would show the 404 error page redirect when browsing remortly but not locally.. so you would not see the redirect errorpage but asp.net error.


        <customErrors defaultRedirect ="url" mode="On|Off|Re moteOnly"><erro r. . ./>
        </customErrors>

        On
        Specifies that custom errors are enabled. If no defaultRedirect attribute is specified, users see a generic error. The custom errors are shown to the remote clients and to the local host.

        Off
        Specifies that custom errors are disabled. The detailed ASP.NET errors are shown to the remote clients and to the local host.

        RemoteOnly
        Specifies that custom errors are shown only to the remote clients, and that ASP.NET errors are shown to the local host. This is the default value.
        The default is RemoteOnly.
        you are right I done it... !

        Thanks.. ! :)

        Comment

        • HabibBhutto
          New Member
          • Jan 2009
          • 17

          #5
          Originally posted by Frinavale
          Judging by the error message, it sounds like the web server doesn't have the .NET 3.5 Framework installed.
          You also right... ! I installed .NET 3.5 CLR and problem is solved.. ! :)
          Thanks alot... ! :)

          Comment

          Working...