AJAX :: Unresponsive Script Warning For ScriptRecource.axd?

Jan 18, 2008

I'm writting a c# web application, specialised for Mozilla Firefox, in asp.net, also using ajax.I have a Datalist filled from MSSQL. When I select an item from that datalist, some sql queriesare formed, to give me detailes about the selected item. But, before I get those detailes writtento my web page I get this message:Warning:Unresponsive script A script on this page may be busy, or it may have stopped responding. You can stop the script now, open the script in the debugger, or let the script continue.If I press the "Continue" button, it does what it should have done in the first place, but thetime it takes to do the job can not be tolerated.The script in question is ScriptRecource.axd.



ADVERTISEMENT

AJAX :: Autocompleteextender Unresponsive Script?

Nov 25, 2010

I have added an autocompleteextender control to my page; this works fine on my development machine, and also on our test website (non-secure).When i deploy this to our secure web site, when trying to use the control, it brings up a message

'A script on this page is causing your browser to run slowely'.

The web method is within the page code-behind instead of a webservice.

View 2 Replies View Related

Prevent IE File Download Warning Or Maintain State After Warning?

Mar 15, 2011

I have an application whereby a user browses to an Ajax enabled page, sets up some filters, and then clicks on download report. When the user clicks on this button, they are redirected to a Download.aspx page, which builds up the report and appends it to the response as binary (the file may either be zip/pdf or excel). The issue I am having is that everytime the user goes to the page and hits the download button the warning message from IE pops up "To help protect your security internet explorer has blocked this site from download files to your computer". This is not a huge issue, but the problem is that when the user clicks this warning to accept the file, it reloads the page, and all my filters are lost, so the user has to set up all the filters to filter out the data they dont want and then re-download the file.

The interesting thing is that I thought I could track the filters using session variables, so that when the page reloads after accepting the warning message it could be restored, but IE for some reason is not loading the page in the way it should, and so the Page_Load method is never fired when IE reloads it after the user accepting the warning, so I cannot restore the filter settings on the page because I have no event to do it from!

I have searched and searched for a solution.. I have tried changing the mime headers - I am using content-disposition tag set to "attachment; filename=report.zip", I have tried changing the mime type descriptions to different things to see if I can avoid the warning but to no avail. I have tried using an iframe but couldnt quite get it to do what I want it to do, the page was still being refreshed..

View 8 Replies View Related

AJAX :: IE8, AJAX And SSL - Solution To Mixed Content Security Warning

Oct 5, 2009

I've searched this forum and the web for an answer to my problem, but haven't quite found the answer. My corporate site is using Asp .Net 3.5, AJAX and SSL to secure certain pages. The problem is that IE8 throws a message about unsecure content while IE7 and Firefox do not. I know this issue has been discussed ad nauseum (remember, I've done a lot of research), however, I have specifically isolated the issue down to adding the <scriptmanager> control on an AJAX page requiring SSL.

With nothing else on the page (e.g. no images or script references), just a simple .aspx page, add <scriptmanager> and IE8 will display the message and IE7 and FF will not. Based on my reasearch, the issue is most likely related to the scriptresource and webresource handlers, however, I don't know enough about the inner workings to do any good.

Here's what I tried...

Manually set the scriptpath property of scriptmanager to specify where to find the AJAX scripts. The scriptmanager uses the system.web.extensions assembly (which packages all the AJAX js), so I manually downloaded the library from ajax.asp.net site, copied the js files to a scripts directory and made reference in the scriptmanager directly. Using Fiddler2, I could see that the references now appear to be SSL, and I know it was working because no Sys undefined messages. So after reviewing the html output, setting the scriptpath replaces the 2 scriptresource.axd references, but does not replace the webresource.axd reference... I also found this thread
http://forums.asp.net/t/1417440.aspx where the Asp.Net site was having the exact same IE8 issue in their secure profile pages. They narrowed it down to the webresource.axd and apparently fixed it per Terri's post, but no idea what they did.

So that's where I am. I sent a message to Terri (the engineer who said they fixed their issue), but no word back.

View 14 Replies View Related

AJAX :: ModalPopupExtender Warning On DropDownList Selection?

Nov 12, 2010

Is there a way that if certain items are selected in a DropDownList to fire up a ModalPopupBox. Basically if any value except for one value is selected, I want a popup warning them, are you sure?

I have the Popup Frame, I have the Popup Extender. I just don't know how to wire the two together using the TargetControlID. I don't want the popup to just automatically come up when the dropdownlist is selected but only if its not value "X".

I figured instead of doing this in parallel, I could check it after the fact when the form is posted using the extender.show() command but my program is crashing because the targetcontrolid for my modalpopupextender is null. I don't have a targetcontrolID in that case?

View 3 Replies View Related

Configuration :: Unresponsive Controls In Web Deployment Project?

Apr 28, 2010

My web application functions as expected when using non-compiled web pages. When I used a Web Deployment Project to build my solution (creating a separate assembly for each page and control output), the web application does not function (e.g.: pushing a button does not result in any action).

View 3 Replies View Related

C# - MonoDevelop Seems To Hang (not Unresponsive) When Building Csprojs

Mar 7, 2011

I'm hoping someone else has experienced this and has some suggestions. The actual dcms process goes pretty quickly, but in between projects it hangs after printing: Building: XXX.YYY.ZZZ (Debug) After a few minutes (been 10 so far on this current run), it jumps to:

Performing main compilation...
/Library/Frameworks/Mono.framework/Versions/2.10.1/bin/dmcs /noconfig "/...
Build complete -- 0 errors, 0 warnings
Building: XXX.YYY.ZZZ (Debug)

Then hangs again for another few minutes. This is a sln file with 29 csproj projects in it that was originally created in Visual Studio 2010. I'm wondering if there is a better way to set this up - potentially a native MD file format?

View 1 Replies View Related

Internet Explore Is Unresponsive While Loading A Large Page?

Apr 23, 2010

We have a html page being rendered in the browser (IE) that causes the browser to hang. The page is generated through server side script (ASP.NET and viewstate is disabled). The page while loading takes a long time (its not a bw issue since we can reproduce it on local machine) and sometimes results in script unresponsive error. On debugging the issue we found that the html size on the client side is 4.73 MB. There's also a lot of DOM traversal (using JQuery) after document is ready (jquery-document.ready). After loading as well, the page simply hangs on any user interaction (scroll, mouseover) etc. A CPU usage spike (25-50% usage) is seen during loading and on any user interaction

View 4 Replies View Related

AJAX :: Accordion (VS 2008 Beta 2, FW 3.5) Errors:"Warning 1 Generation Of Designer File Failed

Oct 27, 2007

I'm trying to use the accordion in a web page. What I've done is just to drop an accordion on the page and added a couple of panes to it. Trying to build the project, I get the following warning and errors:"Warning 1 Generation of designer file failed: Type

'AjaxControlToolkit.Accordion' does not have a public property named 'AccordionExtender'."

"Error 2 Element 'AccordionExtender' is not a known element."

"Error 3 Element 'AccordionPane' is not a known element."

As for the warning, I can see in Accordion.cs that the property 'AccordionExtender' is indeed private.It seems to be referencing AjaxControlToolkit.dll correctly, since the 'Accordion' type itself is known.

View 2 Replies View Related

Editing .aspx File Makes Visual Studio Unresponsive?

Apr 30, 2010

I'm using Visual Studio 2008 on Windows 7. When I'm editing .aspx file VS stalls and thinks for about 3 sec every time I add a tag. Very frustrating. I'm guessing its doing some kind of compilation or checking. What can I do to make VS more responsive?

View 1 Replies View Related

Warning In Session_End()

Sep 1, 2009

After the session end i try to write the session value.In this, it write the session value after the session end, but i got the warning in application event.My asp code:

void Session_End(object sender, EventArgs e)
{
// Code that runs when a session ends.
// Note: The Session_End event is raised only when the sessionstate mode
// is set to InProc in the Web.config file. If session mode is set to StateServer
[Code]....

View 1 Replies View Related

Give Warning Message To The User?

Dec 6, 2009

I am developing a website that uses ASPX and CS files... I have three check boxes and a button... if the user presses a button without checking any checkbox then i want to give a warning message to the user "Please select atleast one". in VB i used to write MsgBox("Please select atleast one") but i dont know how i can do it in the web.

View 3 Replies View Related

Warning: Only Smart People Click Here?

Apr 23, 2010

so theoretically, i have multiple companies using my application, and each company has multiple users. Now data is stored in a sql database and certain parts of it are changed enough whereby it has to be "reselected" by every user after a specific amount of time. ill call this the "highly dynamic data." (I already sorted out the 'users by company' effeciently with a cluster index in the companyID column for the tables)

lets say that each session will "check" if it has to be updated every 15 seconds. How will it check? If someone submitted a change to the "highly dynamic data" in the sql database then they will also submit the "time of change" to an .xml database. Moreover, each session has a "last updated" session variable. The session that submitted the change will update his "last updated" session variable at the time of the sql update. However, all other sessions will have out dated "last updated" session variables. and every 15 seconds each session checks the xml database to see if their "last update" is current. If it is not current then it does the sql database update, else, it does nothing..is this a good mechanism for efficient updating? The goal is to keep the sql database as free as possible and reduce strain on the server?

edit: oh yeah, how would i implement the timing factor here? firstly, i assume the 15 second counter shouldnt be concurrent with all other users, otherwise the server would be a cluster-f*** every 15 seconds so how would i incorporate some randomness for each session?

View 4 Replies View Related

Web Forms :: How To Delete Warning Message

Oct 12, 2006

I have a form with a Delete button on it. I want to prompt the user to give them a chance to bail out of the delete in the event they change their mind. I pull code directly from the ms help facility but when I run the code I get this error: "It is invalid to show a modal dialog or form when the application is not running in UserInteractive mode. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application."

Dim msg As
String
Dim title As
String
Dim style As MsgBoxStyle
Dim response As MsgBoxResult
msg = "Are you sure you want to delete this record?"
' Define message.
style = MsgBoxStyle.YesNo
title = "Delete Warning" ' Define title.
' Display message.
response = MsgBox(msg, style, title)
If response = MsgBoxResult.Yes
Then
' User chose Yes.
else
'User chose no
end if

View 6 Replies View Related

Security Warning For JavaScript And Css File?

Jan 19, 2010

I am using SharePoint Server 2007 Enterprise with Windows Server 2008 Enterprise. And I am developing using VSTS 2008 + C# + .Net 3.5 + ASP.Net + javascript (jQuery).

I met with the following security warning in browser (at the top of the page in IE) when browse a page -- "An add-on for this web site failed to run. Check the security settings in Internet Options for potential conflicts." The function I developed works fine besides the security warnings. I am using IE 8. why there is security warnings and how to resolve?

Here is the code I added to BlueBand.master to refer the js/css files in head section. I am developing a webpart which such script files will impact (i.e. my webpart will generate a div called "tabs" which such below scripts will impact).

[code]....

View 1 Replies View Related

Warning In Converting JAR File Into .DLL Using IKVM?

Mar 10, 2011

I need to used openForecast.jar in my asp.net app, for that i read here and there and found IKVM, when i wrote in cmd

ikvmc openForecast.jar

then i got warning message like this

D:BobbyTelkom Projectikvm-0.44.0.5in>ikvmc OpenForecast-0.4.0.jar
Note IKVMC0002: output file is "OpenForecast-0.4.0.dll"
Warning IKVMC0100: class "org.jfree.data.time.TimeSeries" not found
Warning IKVMC0100: class "org.jfree.data.time.RegularTimePeriod" not found
Warning IKVMC0100: class "org.jfree.data.time.TimeSeriesDataItem" not found
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "net.sourceforge.op
enforecast.input.TimeSeriesBuilder.<init>(Lorg.jfree.data.time.TimeSeries;)V"
("org.jfree.data.time.TimeSeries")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "net.sourceforge.op
enforecast.input.TimeSeriesBuilder.<init>(Lorg.jfree.data.time.TimeSeries;Ljava.
lang.String;)V"
("org.jfree.data.time.TimeSeries")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "net.sourceforge.op
enforecast.input.TimeSeriesBuilder.build()Lnet.sourceforge.openforecast.DataSet;
"
(org.jfree.data.time.TimeSeries")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "net.sourceforge.op
enforecast.input.TimeSeriesBuilder.build(Lorg.jfree.data.time.TimeSeriesDataItem
;)Lnet.sourceforge.openforecast.DataPoint;"
("org.jfree.data.time.TimeSeriesDataItem")
Warning IKVMC0111: emitted java.lang.NoClassDefFoundError in "net.sourceforge.op
enforecast.output.TimeSeriesOutputter.output(Lnet.sourceforge.openforecast.DataP
oint;Ljava.lang.String;)V"
("org.jfree.data.time.TimeSeriesDataItem")

I also found that openForecast consist of about 6 class files and 3 subFolder which each contains several class files..how to fix it (since the documentation of IKVM itself still getting me nowhere)

View 1 Replies View Related

Warning - The Variable 'ifound' Is Assigned But Its Value Is Never Used?

Feb 17, 2009

I'm recieving the Warning listed in the subject. If I remove/comment out the declaried variable, I get the error that the variable doesn't exist in the current context. Below is what the code looks like:

[Code]....

View 3 Replies View Related

Web Forms :: Why Warning SkinID Has Been Applied

Apr 15, 2010

Why warning SkinID has been applied

[Code]....

View 1 Replies View Related

SQL :: Reporting Services Add-in Warning 27001?

Aug 9, 2010

I have 1 App server and 1 Db Server, now Question is where i should install the Add-in , on App server or Db Server,Cause when i try to install on the App server i am getting PS: I have only WEE 3.0 installed.

View 2 Replies View Related

Program Alerts And Warning Messages Using C#.net?

Nov 11, 2010

how to program alerts and warning messages using c#.net

View 1 Replies View Related

Configuration :: Precompile Warning BC42328?

Aug 2, 2010

have a web application that in build has no errors and it works fine.i have precompiled it sucessfully several times before.but now after some changes when i am precompiling it, the precompiled files are not created and a warning is shown at the command prompt several times.the warning is:BC42328:The 'AddressOf' expression has no effect in this context because the method argument to 'AddressOf' requires a relaxed conversion to the delegate type of the event. Assign the 'AddressOf' expression to a variable, and use the variable to add or remove the method as the handler

View 1 Replies View Related

Web Forms :: Warning Of Page Not Found?

Sep 28, 2010

why I get these warnings, wondering if it is a bug with Visual Studio.I have a navigation web user control, with links, and the links work without error, but it underlines the links and gives me warnings that the pages are not found.If I put ~/ in front of the links, the underlines go away and o warnings but then the link will not work because it will put ~/ in front of the url which does not existI have set up a page with a couple of pics if you would like to see:https://sites.google.com/site/warningofpagenotfound/It is no big deal, and the site runs fine with the warnings, just curious to why it warns that the pages are not found

View 2 Replies View Related

File Download Does Not Continue After IE Security Warning?

Jun 8, 2010

I am completely stuck here. Basically, I am serving a file to the user by sending it using Respnse.BinaryWrite. I am also sending this on a redirected page so as not to destroy the Response stream of the webpage which fired the filedownload. This works perfect on my development machine, it also works perfect on Firefox.However, if I publish to my test server, on IE 8 (and 7 I presume) a security warning bar appears (does not appear in dev mode on my pc), asking the user to accept or decline the file. Now the not-so-funny thing: If the user accepts, the file is NOT served, I just get back to my main webpage. If the user tries a second time to get the file the security question will NOT pop up again and the file is served.How can I make sure the file is served in the first instance if the user accepts the security warning and wants to download?

Code used:

HttpContext.Current.Response.Clear()
HttpContext.Current.Response.AppendHeader("Content-Disposition", String.Format("attachment; filename={0}", Session("FileName")))
HttpContext.Current.Response.AppendHeader("Content-Length", myReportData.Length.ToString())
HttpContext.Current.Response.ContentType = "application/pdf"
HttpContext.Current.Response.BinaryWrite(myReportData.ToArray)
HttpContext.Current.Response.Flush()
HttpContext.Current.Response.End()

View 7 Replies View Related

Why Warning Messages Coming / Preventing Web App From Publishing.

Dec 31, 2009

Can anyone tell me what these warning messages mean? They're not actual errors but they are preventing my Web App from publishing.

View 6 Replies View Related

File Download Does Not Continue After IE Security Warning

Sep 16, 2010

I'm running into an issue where in IE the security dialog is popping up and if I click download File the file is never downloaded..it just goes back to the main page.

View 3 Replies View Related

Web Forms :: Validation Xml Transitional Warning With Swf Player?

Oct 7, 2009

Here is a sample of the html used to play an swf file (at least the way that I know)

[Code]....

I get a 'Validation (xml transitional) element embed is not supported.' warning at the line starting with embed bgcolor...

Is there a method to do this that does not give the warning? I am trying to make my code as compliant as possible. Since I don't know what about it isn't compliant, and I only know this method of getting the player I don't know how to make it compliant.

View 2 Replies View Related

'Are You Sure' Warning Message On Gridview Delete Button?

Oct 23, 2009

I want to put out an 'are you sure' y/n box to confirm delete on the button click of a delete button on a gridview. How should I do this?

View 8 Replies View Related

Remove The Warning Image Of The Alert Box In Javascript?

Jan 11, 2010

How to remove The warning image of the alert box in Javascript. I want to delete the warning image from the javascript alert window.

View 2 Replies View Related

Web Forms :: Display A Warning Message Before The Session Getting Expired

Dec 7, 2009

i am working on session state. My question is how to display a Yes/No message one minute before the session getting expired. If the user click Yes the set the session timeout to default.

View 3 Replies View Related

JavaScript - Fix RegisterClientScriptBlock Is Obsolete Warning In Visual Studio

Jan 29, 2011

I have the following Sub Routine in my vb.net project which runs fine, but I constantly get build warnings:

[code]....

I think it would be best if I used the correct method. I have followed the instructions here - [URL] but it didn't make a great amount of sense.

[code]....

View 2 Replies View Related

Visual Studio :: How To Disable Warning Message From TMVC 2.6.13

Apr 15, 2010

TMVC 2.6.13
VS2010
MVC 1.0
Target .Net 3.5

How can I disable warning message?

View 4 Replies View Related

Web Forms :: Popup Window To Give Warning Message

Nov 11, 2010

I have read about Ajax Control Toolkit that should solve pop-up window requirements, but I need a solution that doesn't involve me downloading this. I have an editable FormView from where I want to pop a "warning window" whenever the user clicks a button that closes the Form. This "warning window" should have the following controls:

Label: "Do you want to save changes?"
btnPopSave: "Yes" >> triggers databinding of FormView fields to datasource, then closes warning window and the FormView
btnPopClose: "No" >> closes warning window, and FormView without databinding

If this is not possible (or too complicated), I think I can settle for just a warning window with:

Label: "Make sure you've saved changes." and no other controls

btnPopClose: "OK" >> closes warning window, and FormView

View 6 Replies View Related

State Management :: Warning Users Before Session Timeout?

Aug 29, 2010

In my web application, I want to alert users 5 minutes before their session timeout. If the users want, they can either extend their session or ignore the mssage - in which case after session timeout they will be redirected to the login page (I'm also using forms authentication in my site, so have set the authentication cookie expire time to the session timeout).I know I can do the alert with window.setTimeout, but I want to get user's respond and refresh the page if they want a session extension. How can I do that,
in which event and whether I can do this in C# code behind. And also, should I implement this
in the base page or somewhere else? How can I implement the auto page refresh - should I use a hidden button and click it from Javascript?

View 4 Replies View Related

SQL Server :: Warning: Null Value Is Eliminated By An Aggregate Or Other SET Operation?

Oct 13, 2010

hen i run a Pivot query, i receive this error. It looks not harmfull, because query executed successfully and the results arepartially ok. But for some columns, i get NULL values surprisingly. Because i have carefully checked all data in the source for the null values. All NULL values converted to ZERO, so there is no reeason for such error.I do not understand why this error for?

View 3 Replies View Related

C# - Microsoft .net Security Warning : Never Enter Personal Information Or Passwords - How To Fix It

Oct 28, 2010

So I have an ASP.net application, with an ActiveX Control which brings up a pop up

When I point to the application directly through IP there is no problem with the pop up eg. xxx.xxx.xxx.xxx/MyApp (under Default Website in the IIS -- IIS 7) Problem arises when I set up the IIS to point it to a domain [URL] which points to the above IP (under another "Site" i.e. not the "Default Site in IIS 7)

I then get this weird

Microsoft .net Security Warning Never enter personal information or passwords into a window unless you can verify and trust the source of the request.

Source: [URL]

The site is in the trusted list -- just like when I was using the IP only . Is there any setting in the IIS I need to tweak for IE to trust me fully.

View 2 Replies View Related

Visual Studio :: Want To Delete Warning Message From Error List?

Feb 8, 2010

I'm having a class with these code

[Code]....

and I'm accesing this class from ASP.Net

[Code]....

when opening Default2.aspx

[Code]....

there is a just warning from Visual Studio.Net 2005 like this :

[Code]....

I want this warning message disappear from my error list.

View 1 Replies View Related

Visual Studio :: Showing Warning Entry Point Was Not Found

Nov 4, 2010

I am using VS 2005.When i was opening my VS 2005 and i tried to open web appication view designer.But it is not working and it is showing a warning message "Entry point was not found".

View 2 Replies View Related

Visual Studio :: Run In Browser Always Get Warning Saying - Unable To Connect To Server

Jan 7, 2010

I just finished upgrading my vista to 7 and with some problems and one of them is every time I open my file and tried to debug it or run in browser, I always get a warning saying = Unable to connect to the ASP.NET Development Server I thought some problems when I upgrade so I reinstall the software but no luck

View 3 Replies View Related

Installation :: F5 Debug Mode For Application Not In Debugger Group Warning

Sep 19, 2009

Whenever I try and run/debug my ASP.NET application, I receive the warning that "You do not have permissions to Debug the Server. Verify that you are a member of the Debugger users group on the server". Sometimes I get the warning "This project is not configured to be debugged"

The problem is, I believe that I am member of this group. I have opened up the project config file and debug is set to YES.

IIS was installed AFTER VS.NET, so I ran the .NET repair described in , by reinserting my VS disc and running from the command line:

D:dotNetFrameworkdotnetfx.exe /t:c: emp /c:"msiexec.exe /fvecms c: emp etfx.msi"

System :

Windows XP SP3
.NET versions 1.1, 2, 3, and 3.5 installed on machine
Visual Studio.NET 2003

Administrative Tools > Internet Information Services > Web Sites > Default Web Site > Right Click "Properties" >

Directory Security Tab:

Anonymous Access = Y
UserName = DeviceUser Allow IIS to control Password = Y
Integrated Windows Authentication = Y

Home Directory Tab :

When connecting to the resource, the content should come from

A directory on this computer Local Path : c:inetpubwww.root Application Name : Default Application Execute Permissions : Scripts and Executables Application Protection : Medium (Pooled) True :

Script Source Acess Read Write Directory Browsing Log Visits Index This Resource

Configuration from Home Directory Tab
Enable ASP Server Side Debugging = TRUE

ASP.NET Tab :

IF set to Version 1.1.4322 (in Drop Down List), the web.config path is set to inetpubwww.root.

Edit Configuration is button inactivated If set to Version 2.0.50727, I can Edit the config file. Editing Config File > Application Tab > Debugging = True

View 2 Replies View Related

Get A Warning:Function 'BuildMessage' Doesn't Return A Value On All Code Paths?

Oct 19, 2009

I have a Function I use that builds an html formatted email to send error reports. Using VS 2005 I get a warning:Function 'BuildMessage' doesn't return a value on all code paths. A null reference exception could occur at run time when the result is used.Is there a way to correct this warning?Here's my "BuildMessage" Function:

[Code]....

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved