ASP.NET MVC is a free, fully supported framework to quickly build powerful, standards-based Web sites. Read our What's New in ASP.NET MVC 2 document or visit our ASP.NET MVC section to learn more.
1. Error occurred in deployment step 'Retract Solution': Cannot start service SPUserCodeV4 on computer
When i got this error i searched in net and found a solution to enable Microsoft Sharepoint foundation User Code Service in services section of Central Administration. Unfortunately i couldnt find a service with that name.
While searching in services.msc i found that SharePoint 2010 User Code Host was not started. Once the Service was started the issue was resolved.
Will be updated...
Possible Duplicate:
Pidgin, how to set up facebook
I've tried almost all options and used this guide (https://wiki.archlinux.org/index.php/Pidgin#Facebook_XMPP) to set up Pidgin for my facebook acccount, but it is simply impossible.
At the username section I am using my actual username....not the long copied link from facebook...so that cannot be the issue. Is there anyone out there who had had issues of the same type?
Thanks
In the previous sections of the "OSB, Service Callouts and OQL" series, we analyzed the threading model used by OSB for Service Callouts and analysis of OSB Server threads hung in Service callouts and identifying the Proxies and Remote services involved in the hang using OQL.
This final section of the series will focus on the corrective action to avoid Service Callout related OSB Server hangs.
Please refer to the blog post for more details.
Here's an Oracle NoSQL Database customer success story for Passoker, an online betting house.
http://www.oracle.com/us/corporate/customers/customersearch/passoker-1-nosql-ss-1863507.html
There are a lot of great points made in the Solutions section, but as a developer the one I like the most is this one:
Eliminated daily maintenance related to single-node points-of-failure by
moving to Oracle NoSQL Database, which is designed to be resilient and
hands-off, thus minimizing IT support costs
Most of the searches that appear in my analytics are "not provided" because Google has encrypted their all searches. However, if all search results are now encrypted with HTTPS protocol then how is Google analytics still able to track some (20%) of the organic keywords details?
There are still some keywords appearing in my organic keywords section. So how did Google analytics do this tracking? Does it bypass the HTTPS restrictions for the referrer?
I am checking google webmaster tools. I entered the search queries section. There i found alot keywords and their impression and ctr etc. I clicked on one of the query keyword there it shows the keyword and position in search result, but when i go to google.com and type the specified keyword it shows no impressions too...
how do i measure find my site's impression on google.com
my site: http://www.trekkingandtoursnepal.com
keyword: trekking nepal
Possible Duplicate:
Window buttons stuck on right side
After updating from Ubuntu 12.04 to 12.10 the window controls(min, max, close) have started appearing on the right side when the window is not maximized, they again come on the left side when the window is maximized. I tried changing it using Ubuntu Tweak, but with no effect.
Other suggestion I found was to change it using gconf-editor and changing apps - metacity - general click button_layout but there is no metacity in the apps section.
We're all aware that magic numbers (hard-coded values) can wreak havoc in your program, especially when it's time to modify a section of code that has no comments, but where do you draw the line?
For instance, if you have a function that calculates the number of seconds between two days, do you replace
seconds = num_days * 24 * 60 * 60
with
seconds = num_days * HOURS_PER_DAY * MINUTES_PER_HOUR * SECONDS_PER_MINUTE
At what point do you decide that it is completely obvious what the hard-coded value means and leave it alone?
For some reason, I can't get Gnome Shell working after installing fglrx. When I select Gnome Shell in the profile, it just goes to Gnome Classic (No effects).
A few other issues:
GDM has turned into something that looks a lot more fancy (not sure what it is)
Selecting System Default in the profile section just gives me a blank screen (not Unity)
When I drag a window around I get laggy windows-esque shadows
Oh and I'm on Ubuntu 12.10 with an AMD Radeon HD 6540 G2 graphics card
When I add wallpapers via the little "+" under "Appearance Look" in the settings, I can select them and it works fine. But when I reopen the Appearance setting and want to change my wallpaper, the custom ones are gone. Why is this?
Below is a screenshot of the empty custom wallpaper section. Unfortunately I don't know what this is called in English, so I have a hard time searching for my problem.
http://i.stack.imgur.com/eyytG.png
For the first time today we began conducting load testing on a ASP.NET application already in production. Obviously you would normally want to load test prior to releasing to a production environment, but that isn't the point here.
We ran a test which simulated 5 users hitting the application doing the same actions simultaneously. The first few pages visited seemed fine and then things just hung for a while before the test failed. While the test was running I was viewing the performance counters on the server noting that the CPU was consistently pegged at 100% until the testing tool gave up.
Fortunately the application logs all exceptions including those unhandled to the database (thanks to log4net). I checked the log and low and behold the error was:
System.ArgumentException: An item with the same key has already been added.
(The rest of the stack trace intentionally omitted)
Since the code was running with debug on the line number where the exception occured was also provided. I began inspecting the code and almost immediately it hit me, the section of code responsible for the exception is trying to initialize a static class. My next question was how is this code being hit multiple times when I have a rudimentary check already in place to prevent this kind of thing (i.e. a check on a public variable of the static class before entering the initializing routine). The answer...the check fails because the value is not set before other threads have already made it through.
Not being one who consistently works with threading I wasn't quite sure how to handle this problem. Fortunately a co-worker recalled having to lock a section of code in the past but couldn't recall exactly how. After a quick search on Google the solution is as follows:
Object objLock = new Object();
lock(objLock)
{
//logic requiring lock
}
The lock statement takes an object and tells the .NET runtime that the current thread has exclusive access while the code within brackets is executing. Once the code completes, the lock is released for another thread to utilize.
In my case, I only need to execute the inner code once to initialize my static class. So within the brackets I have a check on a public variable to prevent it from being initialized again.
i have been trying to get it working for over an hour and a half now, the code below is what i keep getting. the example is from me trying to install synaptic, but i get the errors on most apt-get commands and update manager.
sudo apt-get install synaptic
Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/wine.budgetdedicated.com_apt_dists_edgy_main_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.
I have searched quite a bit, saw the one response that purported to have a solution to this but it did not work in my case. My Brother printer is not shown in CUPS so I go to Admin-Add Printer it gives me the User Name/Password popup with refuses to recognize my user name on the machine. This is a brand new install of 13.1.
My Restrict Access to the admin pages section has:
Order allow, deny
Allow localhost
In my website I have this javascript code, adding a vertical offset when in the url a specific section of the page is specified (#):
if (!!window.location.hash)
window.scrollBy(0,-60);
However this only works in Firefox... I'm pretty sure window.location.hash works in all browsers, that is, the symbol "sharp" is correctly detected in the url.
However, the -60 offset only works in Firefox... this is the url, could you give me some insight ?
http://patrickdiviacco.co.cc/#432
thanks
The marvelous technology inception from Microsoft, ASP.NET has for the past few years conquered the favoritism of a large section of the web application development community owing to its maturity and stability. The passage of time has rendered the ASP.NET not obsolete but a little behind the times maybe.
I am using MediaTemple web hosting and they are using Edgecast's CDN network. I am planning to join CDN service, so I read through the guide, but I am confused about the 'Update your code' section:
Does the CDN apply to my website automatically (without editing HTML) after I updated the DNS zone file? How can I control which files going through the CDN or not?
Also, I need to make sure it won't affect the Google Analytics results.
I have a friend with a small business with a website. He asked me if he should make a put a section on his landing page under the fold that with his most recent review (or something along those lines). Specifically, he wants to know if that's the most efficient use of his time. Is there a list or such of things google values compared to each other, so that these kinds of answers could be easily answered?
Is it possible to specify what elements of the page are important, or, more specifically, what elements of the page are not important?
I'm using HTML5 new elements (nav, header, footer, section, article, aside...), but in the description of the website, there's sometimes my login form (in the header of my page though) in the Google description of my website pages...
Is there a solution to resolve this problem?
Thank you.
Error during update
A problem occurred during the update. This is usually some sort of network problem, please check your network connection and retry.
W:Failed to fetch gzip:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_oneiric_universe_i18n_Translation-en Encountered a section with no Package: header
, E:Some index files failed to download. They have been ignored, or old ones used instead.
I can browse web sites normally during this time though (my network is ok).
I have an URL which is 301 redirecting but I cannot find where or how it is happening and wanted some checks to perform if possible?
I've checked .htaccess - it's not there
I've checked cPanel in redirects section - it's not there
In WordPress, I have the redirection plugin active and it's not there either
Is there anywhere else that could be issuing redirects? I'm at a loss to find out where and how the page is redirecting!
Once application is maximized (say "Cheese") how can I restore its size back to the original? Is it possible to drag-and-drop from one application to another application in Unity? If so, how can I do that? Suppose I have a Rhythmbox open and I would like to drag a picture from a Desktop location (actually where is it?) to Rhythmbox album art section in the lower left corner?
Unity was poorly designed, IMHO.
<b>Packt:</b> "In this section, we will look at a few extra tips that can be handy when you create scripts for Vim. Some are simple code pieces you can add directly in your script, while others are good-to-know tips."
Update manager doesn't want to run because of the error given below. The happens when trying to launch Ubuntu software center. I'm using Ubuntu 12.04. Any help would be much appreciated.
Thanks
Sylvain
Error message:
'E:Encountered a section with no Package: header, E:Problem with MergeList /var/lib/apt/lists/gb.archive.ubuntu.com_ubuntu_dists_precise-updates_main_i18n_Translation-en, E:The package lists or status file could not be parsed or opened.'