You can see in the source of this site that some asp.net script files are being served from the microsoft cdn,while a couple others are not: http://www.deadlywind.com .It appears that the Microsoft Ajax javascript files are still being served up by my server and not the CDN, via the scriptresource.axd references found in the source of the above mentioned website. My question is, why are these not using the CDN and how should I force them to?
Is there any integration going on, or EnableCDN=true just points script src to hardcoded locations on CDN?
Using ASP.NET Ajax from the CDN
When using ASP.NET 4, you can redirect all requests for ASP.NET framework scripts to the CDN.
Are <asp:ScriptManager EnableCDN="true" /> and CDN integrated so that I can configure ScriptManager to get the scripts combined from the CDN?
Or is combining the ASP.NET Ajax files (CompositeScript) incompatible with getting then from the CDN?
Note: I'm talking about a possible integration between Microsoft products: Microsoft's Ajax scripts served by Microsoft's CDN with calls handled by Microsoft's ScriptManager control.I.e. ScriptManager would tell CDN which of their javascript files it wanted conbined.
I am using the EnableCdn=true in my ScriptManager so that WebResource.axd and ScriptResource.axd are overridden with static links to JS libraries at the MS CDN service as follows:
How do I override the CDN URLs or service so that I can retrieve the scripts over HTTPS from the MS CDN service rather than HTTP to avoid the browser mixed mode message? or for that matter a different or my own CDN service entirely.
The way I understand is, that all Scripts that are available on the CDN should be coming from there now. But only WebForms.js is referenced from the CDN. Both MicrosoftAjax.js and MicrosoftAjaxWebForms.js are still loaded from the local IIS.Why is that? Of course I can reference them manually,
My webpages is in asp.net 3.5 and i m using Ajax Toolkit 3.5 And i want to access these all page in share point master page but the problem is that the share point script manager and ajax script manger not supported to each other(Showing error).
I'm using C# with ASP.NET. I want to use System.Web.Cache. So I want a cache manager that will care about the caching and implement functions like ADD, GET, and UPDATE.
I have installed an ASP.NET 4.0 Web forms application in IIS 7.5. If I set the application pool to DefaultAppPool (.NET Framework 2.0) I get the icons for Providers, .NET-Roles and .NET-Users displayed on the configuration page for the application in IIS Manager and I can manage users and roles within IIS. (I'm using Forms authentication.)
But if I set the application pool to ASP.NET v4.0 I get a problem: Double clicking on the icons for Users or Roles in IIS Manager throws an error telling me that I cannot use these features since the providers could not be determined as trusted. If I set in administration.config in the trustedProviders section allowUntrustedProviders="true" and double click again on one of the icons I get the error that the assembly System.Web, Version 4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a could not be found. If I restart IIS Manager the icons disappear completely.
.NET Framework 4.0 is definitely installed. So this is all quite confusing. I know that .NET 4 uses another GAC than the old one for .NET 2-3. Could it be possible that IIS Manager is not able to find the new GAC for .NET 4? Do I have to add perhaps some of the new 4.0 assemblies to administration.config? Is there another way to add users and roles instead of IIS?
I am having the following problem when trying to access files from IIS Manager: There was an error while performing this operation.
Details:
Filename: ?C:Windowssystem32inetsrvconfigapplicationHost.config Line number:190 Error:Can not log on locally to C:SystemNameSite1 as user c-cc with virtual directory password
I installed ASP MVC 3, but when I go to tools I can't see the Library Package Manager, it was supposed to install along ASP MVC 3, how come I cannot see it?
I have two update panels in one panel some controls and one ajax CalendarExtender and ToolkitScriptManager1
in anthor panel some radio buttons when i run the application that time getting exception The control with ID 'UpdatePanel requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it added script manager also but i am getting same exception what is the problem.
i am new to the prinicpals of ASP.Net AJAX and Web Services. where can i find a plain english tutorial of how to use a script manager control and ajax within an asp.net page.
i have a page with a script manager on it and an updatepanel and i have a table with some asp labels for displaying the data i want. when i tried to test the page i got the following error:
Description:
An unhandled exception occurred during the execution of the current web request. review the stack trace for more information about the error and where it originated in the code.
I am just about out of my mind on this due to spending way to much time trying to find an answer with no results. I am using vwd2008. The website is in 2.0 due to the hosting company not supporting 3.5 yet. I was using the ajax toolkit without any issues. Now all of a sudden the script manager is greyed out as are the tools. If I open a new site they are enabled. It's only on the two sites I have built in 2.0.
I went back to vwd2005 for this web and here the tools are visible and enabled but scriptmanager is greyed out. I tried tricking the site by building a page in a new web in vwd2008 and importing in the pages but when I try to load them I get an error related to scriptmanager. I've read many posts related to wireless devices causing issues but I have none attached. I've uninstalled and reinstalled both applications but nothing changes. I updated my web.config file to contain the following code:
I use C# and ASP.Net 4.I have a Master Page, inside a Script Manager with EnableCdn="True" so I can load automatically all ASP.NET Ajax Library from MS CDN Servers.
I need also to include in my Master Page JQuery library. At the moment I'm using the following element in the Header of the page:<script src="http://ajax.aspnetcdn.com/ajax/jquery/jquery-1.5.1.min.js" type="text/javascript"></script>I would like to know if there is any properierty for ScriptManager that would allow me to load all Ms Ajax library plus Jquery from MS CDN using ScriptManager.I had a look at CdnPath property but I'm not able to make it work.
Normally we have to use scriptmanager control on our page whenever there is a need for update panel and other ajax controls. I want to know about actual function of scriptmanager.
I have VS 2008 and VS2010 on the same machine (OS:WINDOWS 7). Eariler both were working fine for ASP.NEt Webconfiguration manager. Now i amtrying to open ASP.Net Configuration Manager in VS 2010 , it showing Error. I had used this feature in both before this. WHat is the root problem.I am running VS2010 as RUN AS ADMINISTRATOR.It showing Icon in tray, but unable to open in IE. http://localhost:2663/asp.netwebadminfiles/If i click on this link, it process for a while and then redirect to error page. http://localhost:2663/asp.netwebadminfiles/error.aspxand show this message: An error was encountered. Please return to the previous page and try again.
i am trying to deploy my database and my asp.net application on a server. the administration tool for domain is Plesk. i have to use ASP.NET Enterprise Manager to deploy my database. I tried to run sql scripts but it seems that it doesnt support several keywords. i created the tables using a script but now i can't create the sprocs using scripts. it doesnt allow me to create multiple sprocs at a time. i have about more than 200 sprocs. and its not possible to create one by one.how to run scripts in asp.net enterprise manager,
I am currently working on a CMS application that has multiple web user controls. If a user select a Master Page then Script Manager will be already available with them but if they select simple page the web user control's ScriptManager should be used. When I place ScriptManager inside Web user control it create conflict when used with master page. Can we do something to ignore usercontrol's script manager if scriptmanager already exist on the page. I hope I have explained my point clearly.