load

Retrieve LoaderExceptions on a shared host without a dev environment?

An MVC 1.0 with a 3rd party assembly builds and loads fine on my dev machine (no big surprise). When I publish it to my shared hosting provider, a System.Reflection.ReflectionTypeLoadException gets thrown at the start. I understand the general nature of the problem. My question is: how can I get at the LoaderExceptions property w...

Populating an Object from the DB -- Where do you stop?

When getting an object from the DB, should the object's properties also be loaded? There seems to be these approaches. Create well-formed, fully-loaded objects. Pro: No need to check if a property has been loaded; it has. Pass it around and don’t worry about parts of the object not being there. Con: Where do you stop? If an object h...

Select content from JQuery ajax return object

As I understand it, the JQuery load() function retrieves a document and can perform the quivelent of: $('#somecontenttograb').html() upon it. I would like to know how to do that... In essence, I want to use JQuery to asynchronously download a web page and then grab elements from it and insert them into my own document at different pl...

jQuery's load() doesn't display images

Good evening everyone, I am using a JavaScript to load/override content from an HTML-File into specified divs. You can watch a demo. The javascript that does the load job looks like the following: function loadScreenie(elementSelector, sourceURL) { $(""+elementSelector+"").load("img/screenies/"+sourceURL+""); } and gets invoked ...

jQuery AJAX with remote HTML containing JS

I have a page setup that uses jQuery + AJAX to load content into an accordion frame. It works fine for loading straight text/HTML but I now need to load Javascript along with the HTML. To elaborate, I'm using GalleryView to display images in a photo gallery section of the accordion. When I load the HTML file, however, the scripts aren't...

LoadFromContext was detected

HI all misters When I try Debug my project (unit tests) i get the following error: LoadFromContext was detected Message: The assembly named 'Microsoft.VisualStudio.QualityTools.Common' was loaded from 'file:///C:/Program Files/Microsoft Visual Studio 8/Common7/IDE/PrivateAssemblies/Microsoft.VisualStudio.QualityTools.Common.DLL' using ...

jQyery bind on ajax load() event

Hi guys. I have a page which display multiple blocks with results details. Inside each block I have some tags with thichbox jQuery plugin attached( class="thichbox"). http://jquery.com/demo/thickbox/ here is an example of one kind of ampersant tag: <a class="thickbox" title="Please Sign In" href="userloginredir.php?height=220&width=3...

Loading modified RSL's without clearing cache

hey, the previous versions of my RSL's are cached in the flash player and the modified Rsl does not get loaded when i run my application. Can anyone give me a solution to load the modified RSL without clearing the flash player cache? BJ ...

Position An Injected DIV Using JQuery's "Load" Function

I'm pulling some info from a database then putting it into a DIV and injecting all that in to my page. The problem I have is positioning the newly injected DIV after it has finished loading. Here's my jQuery: $j(document).ready(function() { $('a#load-content').click(function(event) { event.preventDefault(); var productId...

How can I know how long the current page has been loaded using Jquery or Javascript?

How can I know how long the current page has been loaded using Jquery or Javascript? What function? ...

EASY PHP question?

HI Guys, I have following problem. I'm trying to connect from my Iphone app to a php site, to access the mySql db, to get the right information. This is my code: <?php mysql_connect ("localhost", "user", "pass") or die (mysql_error()); echo "Connected to MySql <br /><hr />"; mysql_select_db ("database_com") or die (m...

IE6 load img using Accordion jQuery plugin

In IE6 only, using Accordion jQuery plugin to open DIV element, all img element (backgrounds too) inside the DIV are loaded at each click to open or close the choosen element. Exemple : there is 10 closed DIV, you click on the 2nd one to open it, you can see in the status bar the requests to load all img elements inside the both 10 DIV...

Most effective and realistic free web-app load tester?

I'm in the middle of picking tools to load test my Ruby on Rails app. So far I'm trying out - apachebench autobench httperf selenium trample Is there anything else worth looking at? I don't have a ton of hardware, so efficiency is a concern. ...

1000 users a day for 10 minutes equal what concurrent load?

Is there a formula that will tell me the max/average # of concurrent users I would expect to have with a population of 1000 users a day using an app for 10 minutes? ...

Java loading library windows 7 64bit

I have a java webstart program, it runs on xp, osx, vista, and windows 7. I just tried to run it on windows 7 64bit and it is having a problem loading a library. On this win7x64 machine I have the 64bit jdk/jre and the library it is not loading is swt-win32.dll. Yeah it's 32bit, but I'm getting: Exception in thread "Thread-10" java.lang...

Save/Load Properties to file or databse provider

I need to save and load properties of a Class dynamicly, but what is the best practis for this ? I have for now, two classes that I need to save. public abstract class BaseComponent { protected int ComponentID { get; set; } protected string ComponentName { get; set; } protected Dictionary GetAllProperties{) { /* Reflection *...

Load Assembly at runtime and create class instance

I have a assembly. In this assembly I have a class and interface. I need to load this assembly at runtime and want to create an object of the class and also want to use the interface. Assembly MyDALL = Assembly.Load("DALL"); // DALL is name of my dll Type MyLoadClass = MyDALL.GetType("DALL.LoadClass"); // LoadClass is my class object ob...

c# xml.Load() locking file on disk causing errors

Hi all, I have a simple class XmlFileHelper as follows: public class XmlFileHelper { #region Private Members private XmlDocument xmlDoc = new XmlDocument(); private string xmlFilePath; #endregion #region Constructor public XmlFileHelper(string xmlFilePath) { this.xmlFilePath = xmlFilePath; ...

Monitoring apache's load with php

UPDATE: thanks to all the answer given, but they are all about the system load, and not the apache. My goal is to understand, inside my php scripts (the templating ones), when apache have an high load and is prefearrable to fork some traffic on lighttpd, that is here just to the long-polling and to light the apache's load. Hi guys, aft...

How to set up a load/stress test for a web site?

I've been tasked with stress/load testing our company web site out of the blue and know nothing about doing so. Every search I make on google for "how to load test a web site" just comes back with various companies and software to physically do the load testing. For now I'm more interested in how to actually go about setting up a load t...