After tracing the DB activity from a DNN 5.2.3 site I noticed that there are numerous identical calls to the database whilst loading the home page for the first time (afterwards the caching works successfully).
//Procedure : Number of executions
exec dbo.aspnet_Membership_GetUserByName…
I am using Entity Framework 4 in a desktop application with SQL Compact. I want to use a private installation of SQL Compact with my application, so that my installer can install SQL Compact without giving the user a second installation to do. It also avoids versioning hassles down the…
I've got a custom AS3 scrollbar that I need to modify. The scroll thumb (the draggable part of a scrollbar) is currently just done by drawing a rectangle. But I need it to look more like a real scrollbar. Not sure how to modify the below code to import/use a scroll thumb image:
…
This is a general design question about how to make a web application that will receive a large amount of uploaded data, process it, and return a result, all without the dreaded spinning beach-ball for 5 minutes or a possible HTTP timeout.
Here's the requirements:
make a web…
I'm using jQuery to POST an Id to my route, for example:
http://localhost:1234/Load/Delete
with a POST Parameter Id = 1
I'm only using the default route in Global.asax.cs right now:
routes.MapRoute(
"Default",
"{controller}/{action}/{id}",
new { controller =…
All,
A few of our internal users are editing one of our classic ASP sites (Not a SharePoint site) via Sharepoint Designer which I believe uses FrontPage Server Extensions.
I would like to give a particular user author rights to a single folder - ie, /products and any…
I'm trying to use BouncyCastle with android to implement ECDH and EL Gamal. I've added the bouncycastle jar file (bcprov-jdk16-144.jar) and written some code that works with my computers jvm however when I try and port it to my android application it throws:
…
Does anyone know how to pull off something like this...
I have alot of repetitive macros as : -
#define MYMACRO1(x) Do1(x)
#define MYMACRO2(x,y) Do2(x, y)
#define MYNEXTMACRO1(x) Do1(x)
#define MYNEXTMACRO2(x,y) Do2(x, y)
The code above…
how can I use .append with effects like show('slow')
having effects on append doesnt seems to work at all.
and it give results as normal show()
no transitions, no animations.
How Can I append one div to another. and have a slideDown or Show('slow')…
i integrate a flex app in a jsf-icefaces app (in a jspx site with the ice:outputmedia-tag) and want to access the same instance of a bean from flex by remote, that jsf inject.
i already connect with blazeds to a java-bean. this bean - like all other…
I have a ubr file setup to stress test an internal DotNetNuke site with WCAT:
transaction
{
id = "Intranet Home Page";
weight = 1000;
cookies{clear = true;}
sleep{delay = rand("1","500");}
request
{
url =…
This should hopefully be a simple one. When using a date time picker in a windows form, I want an SQL statement to be carried out, like so:
string sql = "SELECT * FROM Jobs WHERE JobDate = '" + dtpJobDate.Text + "'";
Unfortunately, this doesn't…
I'm trying to update some simple Visual FoxPro tables with SQL Server. I've created a linked server with the following:
sp_addlinkedserver @server = 'UTIL',
@srvproduct = 'VFP',
@provider = 'VFPOLEDB',
@datasrc = 'L:\M2MDATA\Util\util.dbc'
GO
…
I have a modified version of the jFeed plugin and now want to pack the four source files.
There is a Makefile and some perl scripts in the download but I don't know how to use them.
This is the file structure:
\Makefile
\proxy.php…
Hi...
I'm using iReport 3.7. I have a report with two subreports (order details and some selling statistics), and a grouping by seller.
One subreport is located in the Detail band of the group, and the other one is in the group…
The problem with destroying the editor from within a plugin, is that certain code tries to use the editor after the destructive plugin code, when in fact the editor is no longer there, causing errors and instability.
I have come…
what is a regex to find any text that has 'abc' but does not have a '\' before it. so it should match 'jfdgabc' but not 'asd\abc'. basically so its not escaped.
I am using an LGPL library in my code. For my needs, I need to modify the code in the library.
How do I mark the jar file that it contains modified code? Some txt file in the jar? In that case, what do I write in the txt file?
…
I have a WCF service that needs to know the Principal of the calling user.
In the constructor of the service I have:
Principal = OperationContext.Current.IncomingMessageHeaders.GetHeader<MyPrincipal>("myPrincipal",…
I have a Windows 2008 server. This has an instance of IIS7 installed and a website, accessible only via an internal hostname defined in the the servers hosts file.
e.g. the server IP is 10.0.6.11 and the hosts file…
I have a UISegmentedControl of width 280. In code, I need to remove the third segment, set the UISegmentedControl's width to 200 and then re-centralise.
By configuring the springs and struts in IB, I have set the…
1.- We have a div with static positioning. Inside we have a parragraph with a margin.
The heigth of the div will be the parragraph without the margin
2.- We have a div with float:left. Inside we have a…
I have a CATiledLayer that is used to display a PDF page (this CATiledLayer is the layer type of my UIView which is a subview of a UIScrollView). I want to add overlay markers on this page. So I add a…