running a ajax enabled web site on the server that not support ajax,

Last post 12-04-2006 11:05 AM by Glenn Michael. 4 replies.

Sort Posts:

  • running a ajax enabled web site on the server that not support ajax,

    12-03-2006, 2:19 PM
    • Member
      47 point Member
    • breakneck
    • Member since 06-06-2006, 4:32 PM
    • Posts 15

    Hi,

    Can i run ajax(or atlas) enabled web site on the server that not support ajax,

    if yes, please describe,(i am new in ajax and .net)

    thanks

     

  • Re: running a ajax enabled web site on the server that not support ajax,

    12-03-2006, 5:32 PM
    • Member
      10 point Member
    • hpham
    • Member since 12-03-2006, 10:36 AM
    • Posts 2

    Just copy the ajax dlls to you application's bin directory.

    Refer to http://forums.asp.net/thread/1480481.aspx for more information.

  • Re: running a ajax enabled web site on the server that not support ajax,

    12-04-2006, 1:22 AM
    • Member
      47 point Member
    • breakneck
    • Member since 06-06-2006, 4:32 PM
    • Posts 15

    I do this, but i get this error page :

    Server Error in '/' Application.

    Security Exception

    Description: The application attempted to perform an operation not allowed by the security policy.  To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.

    Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Configuration.ConfigurationPermission, System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' failed.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:

    [SecurityException: Request for the permission of type 'System.Configuration.ConfigurationPermission, System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' failed.]
    System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) +0
    System.Security.CodeAccessPermission.Demand() +59
    System.Configuration.BaseConfigurationRecord.CheckPermissionAllowed(String configKey, Boolean requirePermission, Boolean isTrustedWithoutAptca) +65


    Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210
     

     

    what can i do, to resolve this problem? 

  • Re: running a ajax enabled web site on the server that not support ajax,

    12-04-2006, 7:00 AM
    • All-Star
      25,662 point All-Star
    • Luis Abreu
    • Member since 02-12-2005, 6:22 AM
    • Madeira [Portugal]
    • Posts 5,368
    • TrustedFriends-MVPs

    hello.

    again:  you can only drop the dlls if your web app is running in full trust. 

    --
    Regards,
    Luis Abreu
    email: labreu_at_gmail.com
    EN blog:http://msmvps.com/blogs/luisabreu
  • Re: running a ajax enabled web site on the server that not support ajax,

    12-04-2006, 11:05 AM

    Just add the following to your Web.Config file to gain full trust.

    <system.web>
        <trust level="Full"/>
        -
        -
        -
    </system.web>

    Glenn

Page 1 of 1 (5 items)