C# - Unable To Load MicrosoftAjax.debug.js
Feb 24, 2010
I have an ASP.NET 3.5 web application which works perfectly fine on my local machine and when I deploy it on my Windows 2008 server. I am getting the following javascript error:
Message: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500
Line: 4723
Char: 21
Code: 0
URI: http://localhost/ScriptResource.axd?d=e1Gld4LGHLsC4rWqevEI8zAMJKoVcCEVHBjdJIxcQLO9of6t7nNopbI1YyxJTv1QbaxN_lTSoz5Ly-VjBRHp08Mf3xxg5V9i5Z0AiXIkZRY1&t=6af1de90
I have a utility which can decrypt the URI and tell exactly what file is missing and it tunrns out that the file is ZSystem.Web.Extensions,3.5.0.0,,31bf3856ad364e35|MicrosoftAjax.debug.js|.
View 3 Replies
Similar Messages:
Apr 13, 2010
I want to debug EditPanel.debug.js file of HTML Editor, but it never shows in VS 08 and Im sure it executes to that line.What I did to enable debuggingUnchecked both 2 checkboxes for disabling the debugging
Set ScriptMode="Debug"
Change following line
[ClientScriptResource("AjaxControlToolkit.HTMLEditor.EditPanel", "AjaxControlToolkit.HTMLEditor.EditPanel.js")]
to
[ClientScriptResource("AjaxControlToolkit.HTMLEditor.EditPanel", "AjaxControlToolkit.HTMLEditor.EditPanel.debug.js")]
View 3 Replies
Jan 6, 2010
Recently I moved my developing environment (Visual Studio 2005) on Windows 7. I followed the steps for migrating from IIS6 to IIS7, but when I try to start debug my web project I receive the error message:
"Unable to start debugging on web server. Debugging failed because integrated Windows authentication is not enabled."
In my project's web.config I have
<httpModules><add
name="WindowsAuthentication"
type="System.Web.Security.WindowsAuthenticationModule"
/></httpModules>
What else should I do?
View 1 Replies
Apr 24, 2010
I' ve been experiencing some serious problems with running my website.Everytime I click on the little green arrow to start debugging my website I get an error message in my browser.This problem occurs in every browser I use. Internet Explorer, Firefox, Google Chrome.I figured it had something to do with my internet settings, but they are exactly the same as the internet settings of a pc on which my website does run.Event installing Google Chrome without importing the settings from my primary browser (Firefox) has the same result.
The errors are:
Firefox: "The connection with the server was reinitialised during page load"
Internet Explorer: "The page cannot be displayed"
Chrome: "The page is unavailable. The page on http://localhost:PORTNUMBER/EventCompanion/Taak/Test/TestTaakEdit.aspx is probably disable temporarily or it has been permanently move to a new address."Even clicking with the right mouse button on an aspx page and selecting the "View in browser" option has the same result.The only thing that works is viewing the website in the internal browser provided by Visual Studio 2008.But that way I'm unable to debug, which is pretty enoying.
Running the website on an other pc works perfectly...
View 4 Replies
Feb 25, 2011
I had an issue when I began working on my project, see this thread where I couldn't debug my DLL's. All I had to do to solve it, though it took me forevever to find this, was to hit F5. This doesn't make much sense since they are DLLs and I get a message that I can't run them directly, but whatever, it works. The output is generated as debuggable and I can copy it to my deployment directory and run and hit BPs (I attach to aspnet_wp).
My VS solution is four projects, all are DLLs, and one is called directly by my web application and it calls the others. There are two I am interested in debugging as I am enhancing them.
Maybe I jinxed myself, but I was actually musing recently that if I never figured out why I couldn't debug I'd never have progressed as much as I had in my task. Yesterday I backed up my project to a zip file - source and DLL's - because I was starting on a new piece. The only thing I did to the solution after that was move a module from App_LocalResources to App_Code, then I moved it back. And I added some code. When I tried to set BP's the next time I ran, I got "symbols not loaded". I haven't been able to debug since. I tried restoring the zip file since yesterday I could debug, but I didn't hit BPs there either. I will be researching this the rest of the day, I am sure, but I thought I would ask for specific since maybe I can tell you something that will you to know what I did wrong or you can throw out a question that will trigger to me what I am doing wrong. This is really not how I wanted to be spending a Friday.
View 2 Replies
Dec 23, 2010
I've installed VS 2010 on my machine. I also have VS 2008 installed.Problem I'm facing is - I'm not able to debug the web services hosted on local IIS. Also, VS 2010 do not show message that source code is different.To start debugging I'm attaching aspnet_wp.exe process. My breakpoint is in a method which is part of a Class Library project which is targeting to .NET v3.5.
View 1 Replies
Jan 7, 2011
I am developping an MVC3 RC2 application and just after hitting F5 on my asp web application, I am getting this error message program '[7780] w3wp.exe: Managed (v4.0.30319)' has exited with code -2 (0xfffffffe).So I am totally unable to debug my application
View 10 Replies
Oct 2, 2010
While i am running my asp.net application , it show an message that Unable to start a dubug on webserver. Unable to Connect Webserver. Verify web server is running and that incoming Http request are not blocked by a firewall. My application is configured with local iis. Early it is working peoperly. Some time it wil not show when we edit iis property. But right now i can unable to proceed my application by running.
I checked some forum with post of same issue. But still my problem not get solution yet.
View 2 Replies
Feb 12, 2010
I appear to have hit a brick wall whilst attempting to debug some C# code that resides in the App_Code folder.We have an established ASP.NET solution and I've just been brought onto the team. Unfortunately when I run the code [which successfully debugs (to a certain extent)] it does not step into a *.cs file that exists in the App_Code folder.I've found several posts on the subject, none of which seem relevant to me.
Specifically:
Running Win7 Enterprise 32 bit VS2005 8.0.50727.867 (vsvista.050727-8600) http://forums.asp.net/p/958358/3675792.aspx#3675792 mentioned removing the "+optimize" in the web.config file; this doesn't seem to be relevant to me (<compiler language="c#;cs;csharp" extension=".cs" compilerOptions="/d:TRACE"
type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>)
The "App_Code" folder doesn't seem to have any peculiar setting associated with it
I also said that debugging works successfully "to a certain extent". I've set up Visual Studio with the C# developer environment. When I hit F11 I would expect the IDE to begin debugging and for the execution point to stop on the very first line of code (this is what it does in all my other projects in VS2003 & VS2008). However, when I hit F11 it acts like F5, running until it either hits a break point or a run-time error. I'm wondering whether this may be related to it not even hitting break-points in code in my App_Code folder?
View 2 Replies
Mar 23, 2010
I am a new in asp.net world (and in asp). I have a problem in asp.net page.... i wish to debug this page to try the error but I don't I can not debug I have downloaded all proj from "Team Fondation" and then I have took all page in check-out. The server, where I develop is the WEB serve test.
View 5 Replies
Jan 26, 2010
I'm developing a large application in C# Visual Studio. It's reached the point where it takes about a minute to build the entire thing. In order to speed the debugging process, I want to be able to run the program with a debugger without building the entire thing. This seems like a very basic thing one should be able to do, but I've been unable to figure out how to accomplish it.
I have found the area in Options under "Projects and Solutions/Build and Run" where you can specify what VS should do "On Run, when projects are out of date:". I've tried changing it to both "Prompt to build" and "Never build," but it still always builds my entire project whenever I start debugging.
At the moment, I'm circumventing this by starting the program from its executable and attaching the debugger to it, but this is a bit of a hassle and it feels like I should be able to get VS to understand I don't want it to build when it debugs.
View 7 Replies
Mar 15, 2010
I used to be able to attach to my w3wp process and Debug my web application, but this is not working anymore. I have no idea what changed to break this. I'm using Visual Studio 2008 SP1. And I'm debugging in IIS, not using ASP.NET's own server (i.e. I don't Run my project, I simply attach to a running process (w3wp).
My breakpoints simply have the "breakpoint will currently not be hit. The source code is different from the original version."
What I have tried:
Did a solution Clean.
Did a solution Rebuild.
Made sure that compilation debug=true in my web.config file.
Deleted the bin folder
Restarted Visual Studio
Restarted IIS
Restarted my Computer
Added a simple Response.Write to ensure that the latest DLL is being used. It is.
Made sure that Debug ASP.NET is checked in my project properties. It is.
Made sure that all my projects are compiled in my build configuration. They are.
View 5 Replies
May 18, 2010
I moved my site to a Windows 2008 server, reinstalled VS2005 and now I am unable to debug my application. When I click start debugging, the button is greyed out until the browser launches and then it returns to normal. In other words VS is just launching the app without attaching to it. I have tried running as administrator and played around with the authentication settings to no avail. I am running with Forms authentication.
View 4 Replies
Aug 13, 2010
I am unable to debug a WSS 3.0 web part using VS2008. I tried debug=true in web.config.
View 5 Replies
Jun 1, 2010
I am using VS 2008 for development of a web application and IE 7.
The website as usually has some java script and some server side code files (different layers).
For some reason when I start the application in the debug mode (by hitting F5), the break points in the JS are not hit. I get the usual error as no symbols are loaded. But the break points in the CS files in the layers are hit.
If I use (CTLR + F5) and then attach the IE process to debug, then I am able to hit the break points in the JS file. But in this scenario I cant debug the CS files (I presume this is the expected bahaviour).
EDIT: In the IE (properties dialog), 'disable debugging' are unchecked.
why in the F5 mode I am not able to hit the debug points. The same used to work in the different machine not sure what is wrong in this one.
View 9 Replies
Mar 1, 2011
How I am able to debug an .ascx (ASP control), I have placed couple of break point in my asp control but it does not stop. how you start debugging that goes to controls?
View 1 Replies
May 25, 2010
I just upgraded to Windows 7. On Win XP, I could set breakpoints in an ASP.Net project and those breakpoints would hit from any browser/tab on my machine. Using Windows 7, that doesn't work. The browser that launches when I hit F5 does, but no other instances/tabs
do. If I try to explicitly attach to process to attach to another browser instance, it still doesn't hit.I need to debug this way because an error is occuring only when I enter the application by following an external link.
View 2 Replies
Nov 5, 2010
Looks like there aren't a lot of users using the Ajax Control Toolkit 40412 and the Microsoft Microsoft Ajax CDN because I can't find any information on how to get the MicrosoftAjax.js and MicrosoftAjaxWebForms.js files to be linked to the CDN.
First issue:Ajax Control Toolkit 40412 seems to be using its own customized version of MicrosoftAjax.js and MicrosoftAjaxWebForms.js. Toolkit's version
is 4.1.40412.2, while the version that come with ASP.NET Ajax 4 is 4.0.30205.0. By default when using the toolkit the version is swapped to the toolkit's version. While the ASP.NET Ajax 4 version is hosted on the CDN (http://www.asp.net/ajaxlibrary/CDNAjax4.ashx)
the version with the Toolkit is not (http://www.asp.net/ajaxlibrary/CDNACT40412.ashx), which doesn't make any sense because all the other files are hosted. Therefore, a CDN version of MicrosoftAjax.js and MicrosoftAjaxWebForms.js is UNAVAILABLE when using the Ajax Control Toolkit 40412.
Second Issue:Why not use the ASP.NET Ajax 4 version of the the MicrosoftAjax.js, after all its version 4. The version can be swapped out by adding a Script Resource Mapping to the Application_Start event in the Global.asax.cs.
void Application_Start(object sender, EventArgs e)
{
ScriptManager.ScriptResourceMapping.AddDefinition("MicrosoftAjax.js", new ScriptResourceDefinition
{
Path = "~/Scripts/MicrosoftAjax.js", [code]....
However, when the version is changed to the ASP.NET Ajax 4 version the following error is given:
"AjaxControlToolkit requires ASP.NET Ajax 4.0 scripts. Ensure the correct version of the scripts are referenced. If you are using an ASP.NET ScriptManager, switch to the ToolkitScriptManager in AjaxControlToolkit.dll."
It doesn't matter if you are using the ToolkitScriptManager or ScriptManager you will always get this error when not using the version of
MicrosoftAjax.js that comes with the AjaxControlToolkit.So how can one use the Microsoft Ajax CDN for the MicrosoftAjax.js and MicrosoftAjaxWebForms.js with ASP.NET Ajax 4 & Ajax Control Toolkit 40412?
One other note. The new attribute EnableCdn="true" is of course rendered completely useless when using the Ajax Control Toolkit because the idea is that the MicrosoftAjax.js and MicrosoftAjaxWebForms.js files would then be linked by references to the CDN. This does not happen with the Toolkit because as described the Toolkit replaces the those files with its own. I was very surprised to find out that all my excitement about having CDN support was made void when I included the Toolkit in my project.
View 6 Replies
Feb 18, 2011
I am trying to check the connection with one of active IBM MQ's but I am getting this error.. Unable to load DLL 'amqxcs2.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
I am using the following code..
Included amqmdnet.dll and amqmdxcs.dll in bin and gave the same reference to the project.
using IBM.WMQ;
using IBM.WMQ.PCF;
View 1 Replies
Jan 14, 2011
I am not able to debug a Remote web project (Where the project files are located in another server which is in the same network). I am getting the below error message:
Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
at System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters) at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder,
Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams) at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData)
at Excel.Range.get__Default(Object RowIndex, Object ColumnIndex) at InventoryADD.Button1_Click(Object sender, EventArgs e) in
\10.38.23.228q1uatassettrackInventoryADD.aspx.cs:line 670
It works fine when i try to access the website through IIS. Shud i do some setting changes on VS 2005?
I've tried with
<trust
level="Full"
originUrl="" />
View 1 Replies
Jul 1, 2010
I have installed SQL Server 2008 at my machine.
When trying to debug....i am getting following message...
"Unable to start T -SQL Debugging. Could not connect to computer AMIT. The workstation service has not been started."
View 1 Replies
Dec 21, 2010
Basically what I am trying to do is have my webpage project folder located directly on my local machine (ex. Local #1). Our database is located on a server (ex. Server #1) . I am building my web applications on my local machine and then trying to debug them in Visual Studio 2008. Only every single time I click to debug my project I get a "Security Exception" error that looks something like the following...
"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.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed."
I'm somewhat leaning towards the fact that I need to connect to the database to pull information from it and I don't have the proper permissions is the reason why this is happening but I've also read that it can be something that deals with improper configuration of my Web.Config file (i.e. I do not have something enabled).
Note #1: A co-worker of mine is having the same problem if he tries to put the project locally and then debug it. He has full administrative access to the DB and everything else.
View 6 Replies
Mar 9, 2010
I'm working with the MicrosoftAjax.js libraries to make my webservice calls via javascript, right now all my services are returning basic types, like string, int, bool. can i also have my services return things like DataSets, DataTables, or custom Classes that I have built to my javascript side?
View 3 Replies
Dec 15, 2010
i have installed ajaxtoolkit 3.5 but when i debug i am getting this error Could not load type 'System.Web.UI.ScriptReferenceBase' from assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' even i have changed my tags to
<asp:ToolkitScriptManager
ID="ToolkitScriptManager1"
EnablePartialRendering="true"
runat="server"></asp:ToolkitScriptManager>
View 6 Replies
Jan 5, 2011
After i have setup the informix and the informix client ,, i face the following problem when trying to run my asp.net application::
unable to load DLL 'iclit09b.dll' :The specified procedure coldnot be found . (Exception from HRESULT: 0x8007007F)
View 1 Replies