Home > asp net syntax > asp.net syntax error webresource.axd

Asp.net Syntax Error Webresource.axd

here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Syntax error in ScriptResource.axd and WebResource.axd up vote 1 down vote favorite When traced requests using Fiddler, i'm seeing HTTP 302 error code for WebResource.axd and ScriptResource.axd.. and this problem occurs randomly... The same web application works good in all other env. I'm using asp.net v3.5.. IIS 7.5 Windows Server 2008.. Any General info on why im getting 302?.. Other errors are ASP.NET Ajax Client-side framework failed to load, WebForm_PostBackOptions is undefined, Sys is Undefined.. No links in the page is working. Already done some suggestions in several posts like re-installation of framework, script resource handlers are in place. Any idea? asp.net iis-7.5 webresource.axd scriptresource.axd share|improve this question edited Apr 22 '13 at 8:52 Ankur 4,31092855 asked Apr 22 '13 at 8:50 user2306617 3615 add a comment| 1 Answer 1 active oldest votes up vote 3 down vote Solved!!! This helped me in achieving this : http://www.rosshawkins.net/archive/2006/10/08/webresource.axd.aspx The problem was i missed MachineKey tag. Now it is working perfectly.. Hope this helps someone.. share|improve this answer answered Apr 23 '13 at 5:34 user2306617 3615 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service. Not the answer you're looking for? Browse other questions tagged asp.net iis-7.5 webresource.axd scriptresource.axd or ask your own question. asked

Syntax error relating to WebResource.axd If script debugging is enabled and a syntax error as shown below is displayed relating to WebResource.axd, the following information can be used to determine the cause of the problem. To enable script debugging in Internet Explorer, open Internet Options>Advanced in Internet Explorer and select and deselect the options as shown below Follow the instructions below to determine http://stackoverflow.com/questions/16142935/syntax-error-in-scriptresource-axd-and-webresource-axd the actual file behind the resource name: Copy the error details and use Notepad to paste the error to extract the URI Copy the URI and paste it into Internet Explorer. It should try to download the resource file throwing the error Look at the file contents and see http://help.k2.com/helppages/K2smartforms1.0.4/Troubleshoot_-_Syntax_error_relating_to_WebResource.axd.html if you can tell what the original file was If the file still cannot be determined, then try searching for a utility that can decrypt the data. For an example visit the website http://codeimpossible.com/2009/04/24/Debugging-Syntax-Error-from-a-bad-WebResource-axd-request/ Copy and paste the file in the following directories: K2 smartforms Designer directory (C:\Program Files (x86)\K2 blackpearl\K2 smartforms Designer). K2 smartforms Runtime directory (C:\Program Files (x86)\K2 blackpearl\K2 smartforms Runtime). Browse to that file within the browser (e.g. http://dlx:81/designer/DecryptData.aspx). Paste the value of “d=” from the URL in the error into the textbox and click the Decrypt button: http://k2.denallix.com/Designer/WebResource.axd?d=sM7Y859-jKVGGH-URUA7YeJd236MDtkV2VMfPoRMXIXuKF8gZHjEGhtPjbFNLDoce4Pzp8LHpsc0VJH81_gBRK2tuIh30D6oqwnZyEC_Mfjjqsx4biuXtG36YpA4tjW36HUCsW1hnMZ2HYobV-RqhggC5yw1&t=634717308054218750 This will then indicate the control, class and the resource that it is trying to access. This information will be useful to include in a support ticket if the issue cannot be resolved COPYRIGHT © 2008-2013. SOURCECODE TECHNOLOGY HOLDINGS, INC. SEE THE K2 smartforms Copyright and Trademark Statement help file version 1.0.4 (4.12165.1595.0)

Start here for a quick overview of the site Help Center Detailed answers to any http://serverfault.com/questions/35365/javascript-errors-only-on-production-server questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring http://www.infragistics.com/community/forums/t/81361.aspx developers or posting ads with us Server Fault Questions Tags Users Badges Unanswered Ask Question _ Server Fault is a question and answer site for system asp.net syntax and network administrators. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Javascript Errors only on Production Server? up vote 6 down vote favorite I am in the process of asp.net syntax error releasing a couple of asp.net websites from development to production. Everything seems to be working fine in development, but upon the release to production we get a number of javascript errors when accessing the site. This appears to be something on the server though as this same code has been deployed to a testing server and works fine with the same clients. The server is a Windows 2008 using IIS7 Errors being thrown: An number of syntax errors (scriptResource) - 10 of these Error: syntax error Source File: http://website.com/ScriptResource.axd?d=abc032_vah79hasdf87&t=123456789 Line: 3 Source Code: Error the same as above but with WebResource.axd instead of ScriptResource.axd - 2 of these and then two that seem to be the real cause? Sys is not defined and WebForm_AutoFocus is not defined ----------------- Addendum -------------------- As per suggestions I looked into the ScriptResource.axd and WebResource.axd The web application being deployed has forms authentication and re-dire

2 Followers mknape Points 95 Replied On: Tue, Jul 9 2013 4:49 AM Reply Hello, I have a website (build in VS 2010) that uses the .net framework 4.0 (asp.net) and also uses some infragistics controls (webdialogwindow). It uses the default scriptmanager. When I test the website locally everything is working as expected (with IIS 7.5 and windows server 2008 R2). But when I install the website on the server (reverse proxy with IIS 7.5 and windows server 2008 R2) of our customer I get a 404 error message that it can't find the ScriptResource.axd and/or the WebResource.axd. Please note that the website works locally on the server of our customer. This problem only occurs when we try to open the website from outside the LAN. When I set the enablecdn="true" in the scriptmanager I see that the focus of the textfield is working (without the cdn enabled the focus doesn't work). But the infragistics controls still don't work. In debug mode in Chrome I see the following 404 error messages (Not found): GET http://200.X.XXX.XXX/TEST/ScriptResource.axd?d=vnH4...ukm_3e641&t=410 404 (Not Found) GET http://200.X.XXX.XXX/TEST/WebResource.axd?d=3y6a_vM...Yi9d_99Dw2&t=6345 404 (Not Found) Is there someone who might know what is causing this issue and might have a solution? Reply Post Points: 35 All Replies [Infragistics] Maya Points 28,232 Replied On: Tue, Jul 9 2013 6:09 AM Reply Hello mknape , Thank you for posting in our forum! We received your support request and we’re currently reviewing it. Best Regards, Maya Kirova Developer Support Engineer II Infragistics, Inc. http://www.infragistics.com/support Reply Post Points: 5 [Infragistics] Maya Points 28,232 Replied On: Fri, Jul 12 2013 4:59 AM Reply Hello mknape , Are only the embedded resources for the IG controls not being found? Generally the script manager also should load its scripts from an embedded resource from the System.Web.Extensions assembly. Could you check if its resources are properly loaded? There should be 3 resources loaded for the script manager: MicrosoftAjaxWebForms.js ( you can find the names in the comments in the beginning of those files) MicrosoftAjax.js And the third one contains some postback options ( contains some methods like WebForm_PostBackOptions) Also are the asse

 

Related content

No related pages.