This is a migrated thread and some comments may be shown as answers.

[Solved] ScriptResource.axd

5 Answers 627 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Tom
Top achievements
Rank 1
Tom asked on 17 Jan 2008, 06:27 PM
Hi,

I am using .net 2.0 with vs2008.  I have placed the Telerik.Web.UI.dll in the GAC.  When I run my app I get errors in finding the ScriptResource.axd file:

http://someURL/ScriptResource.axd?d=pqqZxpH7WWkMILvuVZMzSRmOJ7mpbKOtNlOEjm4pvysf7d0BgxpyFHKC6PWFwwn8kkvGf2i12fXeTsp9_C43yXBRolqqVDFDLoNkVZM33-Llo-lM0KSDlFnL003oOLRsPckiKXv3WHFedVvrbp26fA2&t=633361560072801270

The error detail is below.  I am guessing I don't have a httphandler setup correctly?  I have this in my machine.config:

<httpHandlers>
        <add path="ScriptResource.axd" verb="GET,HEAD" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
    </httpHandlers>

Thanks, Scott

Error

<html>
    <head>
        <title>The resource cannot be found.</title>
        <style>
         body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}
         p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
         b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
         H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
         H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
         pre {font-family:"Lucida Console";font-size: .9em}
         .marker {font-weight: bold; color: black;text-decoration: none;}
         .version {color: gray;}
         .error {margin-bottom: 10px;}
         .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
        </style>
    </head>

    <body bgcolor="white">

            <span><H1>Server Error in '/' Application.<hr width=100% size=1 color=silver></H1>

            <h2> <i>The resource cannot be found.</i> </h2></span>

            <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">

            <b> Description: </b>HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. &nbsp;Please review the following URL and make sure that it is spelled correctly.
            <br><br>

            <b> Requested URL: </b>/ScriptResource.axd<br><br>

            <hr width=100% size=1 color=silver>

            <b>Version Information:</b>&nbsp;Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433

            </font>

    </body>
</html>
<!--
[HttpException]: Path '/ScriptResource.axd' was not found.
   at System.Web.HttpNotFoundHandler.ProcessRequest(HttpContext context)
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
-->

5 Answers, 1 is accepted

Sort by
0
Tom
Top achievements
Rank 1
answered on 17 Jan 2008, 06:39 PM
By adding these settings to the web.config the RadEditor Prometheus v3 Beta comes up:

<httpHandlers>
      <remove verb="*" path="*.asmx"/>
      <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
      <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
      <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
    </httpHandlers>
   
    <httpModules>
      <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    </httpModules>

Thanks, Scott
0
HHH
Top achievements
Rank 1
answered on 12 Feb 2008, 07:48 PM

I am using Prometheus and still getting scriptResource.axd error.

 

0
Lini
Telerik team
answered on 14 Feb 2008, 04:13 PM
Hi,

As the original poster suggests, the error means there is a problem with your ASP.NET Ajax configuration. Make sure that your web.config file contains the necessary settings. If you are using Visual Studio 2008, then check if your web site is using the .Net 3.5 Framework.

Greetings,
Lini
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
HHH
Top achievements
Rank 1
answered on 11 Mar 2008, 02:38 PM
Thanks Lini,

As you said i did check and my application using .net framework 3.5, still having problem,i did open the ticket but nothing works out.

thanks in advance.
HHH
0
Lini
Telerik team
answered on 13 Mar 2008, 02:01 PM
Hello,

Try creating a new .NET 3.5 site in Visual Studio 2008 and add the RadEditor control to the site. After you have verified that the editor works there, compare the web.config file from the new site with the one from your project. Copy any missing settings to the web.config in your project. If the editor does not work even in the new site, then you probably have a Visual Studio 2008 configuration problem.

Greetings,
Lini
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Editor
Asked by
Tom
Top achievements
Rank 1
Answers by
Tom
Top achievements
Rank 1
HHH
Top achievements
Rank 1
Lini
Telerik team
Share this question
or