profile

Why might this ASP.NET profile section fail to dynamically compile?

When the following profile section is in my web.config, the first page request fail with FileNotFoundException and a bunch of error coming from the compiler (from the look of the stack trace). When the properties section is removed, everything works again (until I try to reference something from the Profile of course). The rest of the w...

How to avoid messages like "Profiler Agent Warning: Failed to lookup cached class org/apache/derby/impl/services/locks/ActiveLock" when profiling a Java application with visualvm?

When trying to monitor a Java application using visualvm I can't obtain useful information, because a lot of my classes (but not only mine) can't be instrumented, displaying the following message: Profiler Agent Warning: Failed to lookup cached class org/apache/derby/impl/services/locks/ActiveLock Thus, the profiler doesn't show any in...

Drupal 6: Programmatically Altering User Values (how do you use profile_save_profile??)

I've been trying to figure this out for quite some time without success. foreach ($users as $user) { //list of users to act on $by_user = views_get_view_result('attendance', 'page_3', array($user->uid)); //view containing info about this user $edit = array('profile_attendance_short_term' => substr(count($by_user) / count($general), 0,...

How Scalable are ASP.NET SqlMembershipProvider and Profile provider ?

I'm using SqlMembership Provider and the Profile provider in my web application. And I wonder when will I start running to any problems with those providers. Does any one used those providers on large websites? Thanks. ...

Profile_OnMigrateAnonymous event firing multiple times

We have an HTTPModule whose sole purpose is to do "url rewriting". By definition of an HTTPModule, ALL browser requests (html, css, javascript, images, etc) go through the event handlers of this class. During the signin process, we are catching the moment when the user switches from "anonymous" to "signed-in" user in the Global.asax's P...

Problem in using php function imagecreatefromjpeg for image having Adobe1998 color profile

Hi, I have used the following code to create jpeg image using existing images. These images have used embedded color profile, Adobe1998 color profile. header("Content-type: image/jpeg"); $src = imagecreatefromjpeg($upfile); $dst = imagecreatetruecolor($tn_width, $tn_height); imagecopyresampled($dst, $src, 0, 0, 0, 0, $tn_width, $tn_he...

How do I add a PowerShell cmdlet or function to my machine so that it is always available?

If I find (or create) a new PowerShell cmdlet (or function), how do I add it to my machine? Do I copy it to a particular folder? Do I put its content in a particular file? Do I need to authorize it, or sign it, or give it permission in some way? I don't want to use it in just one session, I want it to be available whenever I use Powers...

how to implament module oriented roles access system

the original asp.net roles provider is page oriented. I mean, if user try to access some page. then some httpModule will check if this user is in the allowed roles. but, what if i want to make to each role some options. like: read, write, modify like os file system roles. my solution was to store this roles info in the Profile(ProfileC...

Confused about user profiles in drupal

Hi all, I'm very confused about the whole user profile thing in drupal, hope someone can help me out here since I haven't found a clear answer anywhere else. For starters, where do you set up custom fields for users, is it under 'admin/user/profile' or under 'admin/content/node-type/profile' (with the content_profile Module installed)?...

ProfileProvider: retrieve list of all profiles

I'm developing an asp.net intranet website with a ActiveDirectoryMembershipProvider and a SqlProfileProvider. One of the requirements of my website is to have a "Birthdays" page, which would require me to list all profiles and retrieving the birthday information from it. I approached the problem as follows: Invoke the Membership.GetA...

UI page for editing and maintaining Profile settings for a User

In asp.net Webforms apps, is there not any kind of maintenance UI page to edit and maintain the Profile properties of a User (I'm using VS2008 and the Web Application template), like in the WSAT Web Site Administratration Tool where you already can edit the basic Membership and Role properties for a User? I'm using the basic SQL Express ...

How can you profile a parallelized Python script?

Suppose I have a python script called my_parallel_script.py that involves using multiprocessing to parallelize several things and I run it with the following command: python -m cProfile my_parallel_script.py This generates profiling output for the parent process only. Calls made in child processes are not recorded at all. Is it possib...

code sign error while installing application on iPhone

Hello all, I have registered for Apple Developer Program. I have installed my provisioning profile and other certificates successfully. But still, I am getting error while installing the app for ad-hoc distribution. I am not sure about this, but I am getting my company name as "CXXXXXXXXX.abc-xyz.com" in mobileProvision certificate. Al...

Updating every profile's registry on Windows Server 2003

I have a Windows Server 2003 system that is used for terminal services. We do not use roaming profiles. We do not use login scripts. I have about thirty to fourty accounts that log into this system and as such have local profiles. One of the software packages that are installed onto this system uses HKCU/Software reg tree for its...

how to use Profile.GetProfile() in a library class?

I cant figure out how to use 'Profile.GetProfile()' method in a library class. I tried using this method in a Page.aspx.cs and it worked perfectly. How can I make a method that works in the page.aspx.cs, work in the class library. ...

Java Profiler for EJB Applications

I have a Web Application deployed to a local Glassfish server which I would like to profile in order to see which parts of my code is accessed most frequently. The code consists of JSF beans and Remote EJBs, with both being deployed in a single EAR. I tried using VisualVM to profile my Application but, although I can successfully connect...

Understanding Python profile output

I'm trying to use the Python profiler to speed up my code. I've been able to identify the specific function where nearly all of the time is spent, but I can't figure out where in that function the time is being spent. Below I have the profile output, which shows that "appendBallot" is the primary culprit and consumes nearly 116 seconds...

adding an application to a profile tab in facebook

I have created an application which needs to have a profile box tab which has a link in it pointing to the main application. However I've tried to add the application to the tab as you can see in the screenshot but it doesn't seem to be appearing as a tab (there is not mention of the application within the tabs). Can anyone shed some l...

Django profile - user adding some objects

Hello, I'm learning Django and I have a problem. I want to have django user profile where the user can add some objects (he can add more than one) e.g. his addresses, his products and theirs description and so on. I've no idea how to do that. Thanks for any help. Best regards, LH ...

how to install microsoft .NET client profile of 30 MB size ?

Hi, i have a host pc(Vista) and virtual pc(XP). ON my virtual pc i dont have .NET framework, only Visual studio 2008. On my host pc i have Vs 2008 SP1 with all of the .NET framework components. In Prerequisite window, "Choose which prerequisite to install" i have only checked .NET Client profile. When i am using a click once ins...