AJAX PROBLEM

Discussion in 'ASP.NET 2.0' started by cakiroglu, Jun 15, 2007.

  1. Can anyone help me ? I can not run my ajax enabled web site on discountasp.net
    But I can run on localhost without any problem.
    Isn't my hosting enabled ajax?
    thnk u...


    Server Error in '/' Application.


    Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

    Parser Error Message: Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. The system cannot find the file specified.

    Source Error:





    Code:
    Line 1:  <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
    Line 2:  
    Line 3:  <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
    Line 4:  
    Line 5:  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
    Source File: /AJAXEnabledWebSite1/default.aspx Line: 3

    Assembly Load Trace: The following information can be helpful to determine why the assembly 'AjaxControlToolkit' could not be loaded.





    Code:
    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
    Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
    

    Version Information:Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210 <!--
    [FileNotFoundException]: Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. The system cannot find the file specified.
    at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
    at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
    at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
    at System.Reflection.Assembly.Load(String assemblyString)
    at System.Web.Configuration.CompilationSection.LoadAssembly(String assemblyName, Boolean throwOnFail)
    at System.Web.UI.TemplateParser.LoadAssembly(String assemblyName, Boolean throwOnFail)
    at System.Web.UI.MainTagNameToTypeMapper.ProcessTagNamespaceRegistrationCore(TagNamespaceRegisterEntry nsRegisterEntry)
    at System.Web.UI.MainTagNameToTypeMapper.ProcessTagNamespaceRegistration(TagNamespaceRegisterEntry nsRegisterEntry)
    at System.Web.UI.BaseTemplateParser.ProcessDirective(String directiveName, IDictionary directive)
    at System.Web.UI.TemplateControlParser.ProcessDirective(String directiveName, IDictionary directive)
    at System.Web.UI.PageParser.ProcessDirective(String directiveName, IDictionary directive)
    at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)
    [Exception]: Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. The system cannot find the file specified.
    at System.Web.UI.TemplateParser.ProcessException(Exception ex)
    at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)
    at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding)
    [HttpParseException]: Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. The system cannot find the file specified.
    at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding)
    at System.Web.UI.TemplateParser.ParseFile(String physicalPath, VirtualPath virtualPath)
    at System.Web.UI.TemplateParser.ParseInternal()
    at System.Web.UI.TemplateParser.Parse()
    at System.Web.Compilation.BaseTemplateBuildProvider.get_CodeCompilerType()
    at System.Web.Compilation.BuildProvider.GetCompilerTypeFromBuildProvider(BuildProvider buildProvider)
    at System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders()
    at System.Web.Compilation.BuildProvidersCompiler.PerformBuild()
    at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)
    at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
    at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
    at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
    at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
    at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
    at System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
    at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
    at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    --><!--
    This error page might contain sensitive information because ASP.NET is configured to show verbose error messages using <customErrors mode="Off"/>. Consider using <customErrors mode="On"/> or <customErrors mode="RemoteOnly"/> in production environments.-->
     
  2. now it is ok. I am taking nocompliation error or something.But my page is not working proparly. I want to use o modal popup. but the popup is not coming hidden on the server when the page is first loaded.but in local there is no problem.

    I have attached two pics to make the situation clear.
    You will see when you look in the pics easily.
    the pic called afterloaded means when the page first loaded (untouched - unclicked)
    the pic called afterclickinglinkbutton means clicking after the link button.
    both local and server ie browser situation shown in the pics



    <a target="_blank" href="http://www.inkastest.com/AJAXEnabledWebSite1/default.aspx">http://www.inkastest.com/AJAXEnabledWebSite1/default.aspx</A>
    this is the page on the server with problems.

    )


    when youclick to the linkbutton modal popup must be shown.
    it is ok when I am doing in local but it is not working in server.

    I have tried all the ways but I cant solve it!

    Can you help?
    thnks...
     

    Attached Files:

  3. And also I have got this error when I enable debugging from internet explorer properties.

    it says there is a runtime error
    line 42
    error : 'sys is undefined

    I get this error only runnig in my DSAP server. Not in local.

    Can u suggest me something?

    I know I am doing something wrong about this toolbox but I dont know what.
    I have uploaded all dlls into my bin folder.
    thnks...
    I am still trying to solve...
     
  4. I am getting same error, saying that 'Sys' is undefined and I am not ASP.NET 3.5 server.

    Please advise!

    Thanks,
    Hooliga.com
     
  5. Can you provide a few details?
    i.e.,
    Ajax version, Ajax or AjaxControlToolkit...
    Have you deployed the binaries to your sites /bin/ folder...
    Is your root web.config uptodate...
    Have you included the script reference in your code pages...
     

Share This Page