Website Makes Browser Load Unwanted (non-referenced) Plugins?

May 27, 2010

I've found that some of my ASP.Net web apps prompt the browser to load plugins that I'm not explicitely using and certainly haven't deliberately referenced in the project settings.Two that come to mind are for MS MediaPlayer and the "SVG Viewer for Netscape".The only commonality I've determined so far is that the two sites/apps affected both use Master pages (nested in some cases).We don't use SVG file types (just the normal mix of jpg/gif/png) and no video/audio (not yet anyway).Can anyone provide a hint as to where the references for these might be creeping in? e.g. Is it a server-level include? Or a .Net runtime default when using master pages?Does anyone else even experience this, or is it just me?

View 1 Replies


Similar Messages:

C# - How To Load A Class Contained In A Website From A DLL Referenced By That Website

Apr 2, 2010

so this is alittle bit obscure and I'm not sure its the best way of doing what I'm trying to do but here goes.

Basically I have a Presentation Layer Dll in my web site which handles the Model View Presenter classes. The presentation layer also handles login for my website and then calls off to a web service. Currently whenever the presentation layer calls to a model it verifies the users details and if they are invalid it calls to a loginHandler which redirects the user to the login page. However I cannot dynamically load a new istance of the Login Page in my website from within my Presentation layer.

I've tried to use reflection to dynamically load the class but Since the method call is in the presentation assembly it is only looking within that assembly while the page I want to load is in the website.

heres the reflection code that loads the View:

public ILoginView LoadView()
{
string viewName = ConfigurationManager.AppSettings["LoginView"].ToString();
Type type = Type.GetType(viewName, true);
object newInstance = Activator.CreateInstance(type);
return newInstance as ILoginView;
}

how to search within the website assembly? Ideal I don't want to tie this implementation into the website specifically as the presentation layer is also used in a WPF application.

View 2 Replies

Can't Get The Website To Load On Browser

Feb 1, 2011

I really like coding in VB and i have built a few windows forms and messed around a bit so recently i dove into the web forms and website coding aspect of my VB 2010 studio. i watched a the tutorials and i've been all over this forum but i can't get my webpage to load in my browser. the top line of code, that comes with the default ASP.NET website:

<%@
Page
Title="Home Page"
Language="VB"
MasterPageFile="~/Site.Master"
AutoEventWireup="false"
CodeFile="Default.aspx.vb"
Inherits="_Default"
%>

View 3 Replies

C# - Referenced Assembly Won't Load In New Thread On IIS 7

May 25, 2010

I have a process in which a user uploads a file to a web site where the file is then processed and uploaded into the database. The process of validating the file could take several minutes so as soon as the file is uploaded I create a new thread and I do my processing on this second thread. This works great on my local machine but doesn't work at all on my IIS 7 test server.

After some investigating I found the problem is that the process is trying to load a reference to Castle and it can't find the DLL. I have a copy of Castle DLLs in my bin and it works elsewhere in my app. I ran Fuslog and discovered that it is trying to load castle from the wrong location. It is trying to load from c:/windows/system32/inetsrv/.

It appears that under IIS 7 the second thread is executing in a different context or something.

View 1 Replies

Validator Controls In GridView Makes Page Take Forever To Load?

Mar 12, 2010

VWD 2008 Express. Visual Basic.I have a gridview each row of which contains two textbox controls with an associated validator control (comparevalidators). When I load the page, it takes forever and I give up and stop debugging. The gridview would be populated with about 224 records if it ever came up. If I go into the gridview and disable the validators and make them invisible, then the page loads quickly. Why would these validators make the page hang up?

Also, when the page does hang up loading, I go into the VWD 2008 debugger and see dozens of temporary "anonymous code" modules have been created that contain code like:

[Code]....

View 3 Replies

What Makes A Website Ajax Enabled

Apr 12, 2010

I use Visual Web Developer 2008 Express. I am following a tutorial which uses VWD2005 and says to create an Ajax enabled website. There is no specifically named "Ajax enabled template" in VWD 2008 Express

I think I have created one by creating a new ASP.NET website and adding a ScriptManager and an UpdatePanel to the page and placing the content of the page inside the UpdatePanel ContentTemplate.

I am trying to rule out reasons why my aplication wont work - step by step, piece by piece, from the beginning of the tutorial.

View 1 Replies

Web Forms :: Ajax Makes Website Heavy?

Jun 1, 2010

Just wanna ask every one, does excess use of Ajax in ASP.NET makes website heavy?

If it does, then when to use and when to not use ajax control?

View 4 Replies

How To Load Foreign Key Referenced Tables Data Also In Entity Framework

May 3, 2010

I developed and entity framework (.edmx) application in 4.0 in that i got all the data of my querying table and its foreign key referenced tables data also. but when i change my project to 3.5 i am unable to get the data of foreign key referenced tables data.

View 2 Replies

Configuration :: Website Works Fine Locally But Makes Error On Shared Hosting?

Apr 20, 2010

The error is mentioned below, the cssfriendly.dll is in bin, and browser file is in there app_browsers folder. And it is working in same PC (developping PC), on remote server that belong to my company (i just installed .net 3.5 on that server)

I tried uploading the same site on 2 dufferents hosting, and finally i got the same error. What could gone wrong ? I tried contacting the hosting support but they work in ticketing system and this is extremely slow.

Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Could not load type 'CSSFriendly.MenuAdapter'.

Source Error:

[Code]....

View 4 Replies

Visual Studio - Website Still Looking For Old Name Of Renamed Referenced Assembly?

Aug 4, 2010

I have a solution with a website and a class library. I have renamed the class library project from Insight_WebControls to Insight.WebControls. I have also renamed the assembly it produces in its properties.

I have removed from the website's references the old class library and added the new.

However, when I try to build the website, I get the error 'Could not load file or assembly 'Insight_WebControls' or one of its dependencies. The system cannot find the file specified.' There is a dll called 'Insight.WebControls' in the bin folder. Clearly some part of the website is still looking for the old filename. Can anyone tell me how to point it to Insight.WebControls.dll instead?

View 1 Replies

C# - Using Web Service In Class Library Which Is Referenced In The Website Project Of Same Solution?

Nov 18, 2010

How to access proxy class of a web service which has been referenced in the website project of a solution within a class library project in the same solution?

I mean no web-service reference/setting is added to the class library and instead it needs to be picked from the web project.

View 1 Replies

Load Multiple Page (like Browser Tab) In C#?

Mar 3, 2010

I am developing a web application in ASP.NET3.5 with C#. I also using Telerik RadAjax Control. When user click the menu then open the page with a new tab(Like web Browser).I want to create, when user back any previous tab(page) the will be show the previous data without loading 2nd time( like browser tab).

View 4 Replies

Web Forms :: How To Use Wordpress Like Plugins

May 7, 2015

There is wide concept of download and install plugins in wordpress after installing plugins all the functionality of plugins embed with wordpress site and it starts functioning with out any error.

It there any concept of plugins in asp.net and how to do that like I have feedback form and i want to distribute it thorugh plugin for asp.net site and any one have asp.net site so download my plugin and install it and start using it.

View 1 Replies

Page Cannot Load When Pass The Querystring To The Browser

Oct 16, 2010

It works when i pass the querystring on the browser as this: http://localhost:51765/foo/foo.aspx?ID=c516f4f4-36a9-40a7-baad-d2419ea631b9 want it to work when the page load not when i pass the querystring on the browser.

<asp:SqlDataSource ID="categoriesDataSource" runat="server"
connectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT [CategoryID], [Name] FROM [Categories] WHERE ([UserId] = @UserId) ORDER BY [Name]">
[code]...

View 1 Replies

What Are The Most Common And Widely Used Plugins For Hudson

Apr 16, 2010

I searched around stackoverflow and could not find any relevant questions.

View 1 Replies

MVC2 Web App Capable Of Plugins And Themes Architecture

Oct 1, 2010

I am wondering if ASP.Net MVC 2 is a good choice for my current project. I want to build a social site that will allow for plugins or modular apps to be added on to it. An example of what I am talking about would be socialengine.net or even Joomla.

I was thinking that mvc areas would make good modular apps to plug into a core app but wondering if some sort of installer could be created that would wire things up automatically.

View 3 Replies

C# - Creating A Web Application That Can Be Extended By Plugins / Modules?

Apr 5, 2010

I'm currently involved with developing a C# CMS-like web application which will be used to standardise our development of websites. From the outset, the idea has been to keep the core as simple as possible to avoid the complexity and menu/option overload that blights many CMS systems. This simple core is now complete and working very well.

We envisisaged that the system would be able to accept plugins or modules which would extend the core functionality to suit a given projects needs. These would also be re-usable across projects. For example, a basic catalogue and shopping basket might be needed. All the code for such extensions should be in seperate assemblies. They should be able to provide their own admin interfaces and front-end code from this library. The system should search for available plugins and give the admin user the option to enable/disable the feature. (This is all very much like WordPress plugins)

It is crucial that we attack this problem in the correct way, so I'm trying to perform as much due dilligence as possible before jumping in.

I am aware of the Plugin Pattern (http://msdn.microsoft.com/en-us/library/ms972962.aspx) and have read some articles on it's use. It seems reasonable but I'm not convinced it's necessarily the correct/best technique for this situation. It seems more suited to processing applications (image/audio manipulation, maths etc).

Are there any other options for achieving this kind of UI extensibility functionality? Or is the plugin pattern the way to go?

I'd also be interested if anybody has links to articles that explain using the plugin pattern for this purpose?

View 1 Replies

JQuery Menu Plugins Under MVC Only Work In Chrome Not In IE & FireFox

May 9, 2010

I was trying to prototype some jQuery-based menu into ASP.NET MVC. Just to name two examples here: [URL]Their demo page looks great, but when I integrate their sample code into MVC, the script no longer works in IE and FireFox, but it seems to work just fine under Google Chrome. Can someone kindly enough to point out what I missed? I will be honest here. I am still new to JavaScript. I have placed a copy of my VS2010 solution zip file @ [URL] Here is what I did. In the Site.Master, I have something like

<body>
<div class="page">{truncated...}</div>
<script src=[URL]" charset="utf-8"></script>
<asp:ContentPlaceHolder ID="ScriptContent" runat="server" />
</body>

And inside View file, I have the following

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<div id="original">
{some demo block, copied from javascript demo}
</div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ScriptContent" runat="server">
<script type="text/javascript" src="<%= Url.Content("~/Scripts/jquery.columnview.js") %>" />
<script type="text/javascript">
$(document).ready(function () {
$('#original').columnview();
});
</script>
</asp:Content>

Compiled the code and ran it under IE. Ideally, it should work like the demo in [URL], but in reality, it only displays unordered list in plain view. (If you download the solution file and run it, you should be able to repro this as well). Next, tried with FireFox, not working either, same result as IE. Finally, when I try it under Google Chrome 4.1 (lastest version), and the script displays just fine.

View 2 Replies

AJAX :: JQuery Plugins Vanished After UpdatePanel PostBack

Apr 20, 2013

I have used jquery to design my control but when i place the controls in update panel then their design got disappeared i.e. the jquery got vanished. can u plz tell how can i resolve this issue.

I have to use update panel otherwise on selecting value from dropdown or checkbox then whole page get post back.

View 1 Replies

AJAX :: Page Load Is Not Called When Press Button Back(in Browser)?

Feb 13, 2010

I am using Ajax authentication service to login/logout users.And have 2 boxes one for logged users,another for any user.When user logged in he get loged in box,then go to another page,then press back,i have unlogged box.In Page_Load i check if (Reques.IsAuthenticated) then i change box on corresponding,in this case on Logged in box.But Page_Load is not called when i press button back(in browser) or backspace.

View 1 Replies

Jquery Validation Plugins In Conjunction With Server Side Fallbacks?

Jan 20, 2010

I like the look of some of the Jquery validation plugins as opposed to the ASP.NET validation controls.

However, one big benefit of the ASP.NET validators is they automatically work on the server side too. Hence saving time and saving validation getting missed when work is maintained.

I am wondering if anyone has come across any tool/plugin to assist in automated mapping of jquery client side validation to a server side fallback.

View 2 Replies

AJAX :: JQuery Plugins Not Working Inside Update Panel

Apr 24, 2014

I have a jquery asĀ 

<script type="text/javascript">
function usercellclick() {
$(document).ready(function () {
$("#<%=dgv_buslayout.ClientID%> tr:has(td)").hover(function (e) {
$(this).css("cursor", "pointer");

[code]....

it works only for first click.URL...

View 1 Replies

Forms Data Controls :: Work When The Page Load Not When Pass The Querystring On The Browser?

Oct 16, 2010

i have a page, when the page loads, nothing shows up, when i pass the querystring on the browser as [URL]

I want it to work when the page load not when i pass the querystring on the browser.

Here is the code:

[code]....

[Code]....

[Code]....

View 4 Replies

How To Make Browser Full Screen On Page Load Using Javascript With Timer Control

Sep 14, 2010

I want a browser to go full screen as soon as my page loads. Is it possible in javascript. I know the shortcut key for this F11 but requirement is on page load only.

After reading the solution provided below. I achieved full screen but here i got a trap. I was using timer to make my page postback to get fresh data after every 5 second. And here I found after every 5 sec new window opens up but I want full screen to go only once and next time content gets refreshed there itself.

View 4 Replies

Website Is Working In IIS But Not In Browser?

Aug 2, 2010

I have deployed my asp.net 2.0 website on IIS, and I tested there by browsing website in IIS and it's working fine. But I am getting the below error while browsing the websiteConfiguration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: Unrecognized attribute 'xmlns'.Source Error:

<?xml version="1.0"?>
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
<configSections>
<section name="loggingConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.LoggingSettings, Microsoft.Practices.EnterpriseLibrary.Logging, Version=3.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>

Previously when we used to create a website in IIS, it worked fine. I have checked the website folder in IIS [ By clicking Property > ASP.NET] and the framwework tageted there is 1.1, and it is in read only mode. If the problem is related to this issue than please let me know how to change it.

View 2 Replies







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