Scott Dorman posted a handy list of his Favorite Visual Studio 2010 Extensions. It is definitely worth checking out and is a good place to start after installing VS 2010. So far, I have downloaded several of them.
Useful Visual Studio 2010 Extensions
By mbentley | Filed in ASP.NET, C#, Microsoft Visual StudioAuto Indent Visual Studio 2010 Code With Ctrl-K-F
By mbentley | Filed in ASP.NET, C#, Microsoft Visual StudioIn Visual Studio 2010, hitting Ctrl-K, Ctrl-F will auto indent a highlighted section. Ctrl-A, Ctrl-F Ctrl-F will do the whole file.
Intel says their server diagnostics have limited support for servers with web pages
By admin | Filed in ASP.NET, WordPress, hardwareWhat the heck is he talking about you ask? I was recently told by Intel Server support, that they do not support (or intend to support) using the Intel server diagnostics (Intel® Active System Console) on servers that provide a website using forms authentication (a really common type of login authentication). I was told that their tools only work if you use ASP.NET authentication on the primary website on your server.
My understanding from them was that if you authenticate against another database (which many pages do), then you can not check the status of the hardware on your Intel server. WTF?
Over a year ago, we bought a couple of big Intel servers for a new website that our company was launching. After several issues getting the hardware delivered, we were finally up and running. Then, our hardware guy decided to check on the status of the RAID and things went downhill rapidly.
The tools that Intel provides to check the RAID, redundant power supply etc, just generated errors when we tried to start them up. We spent a lot of time talking to support about this and getting stupid suggestions like “reload all the software” or “reinstall the OS”. Finally, we had to actually take the machine apart in order to get ALL of the part numbers so that they would escilate the issue. Apparently it had never occured to them that we might want to use this for a production server where we need it to reliably run 24/7 and not be taken down and taken apart to address unrelated software issues. I begged and pleeded, but they would not escilate our software issue unless we did this!
After that, there were more delays. Some days I would get told that they had replicated the issue and were working on it, other days they somehow could not replicate the issue. This was pretty baffling since it is really simple to replicate and we had been told that they had gotten that far. Then they returned to suggestions like “try reinstalling the OS and see what happens”. Did I mention that this was the production server?
Eventually it came out that they assume that you have a default website set up with the default ASP.NET authentication. I was told that they do not support any other setup. This is from what I thought was a serious sever!?
The last email that I got (7/31/2009, now I just get an automatic response when I email) said:
Hello Mark,
We have been informed by engineering that they have not been able to reproduce or fix the issue you are experiencing with your own form authentication. The only recommendation we have at this point is for you to uninstall the Intel® Active System Console completely, install its standard pre-requirements and use the software in the normal way it was intend to be used. If this is not suitable for you then you will not be able to use this software at this point.
Engineering at this point says that the only fact is that your authentication method will not work with the Intel® Active System Console 3.5.1, and the only other option would be for you to provide us with a copy of the software you use on this server and detailed information about the setup and the environment for us to try a more accurate reproduction.
Sincerely,
Jorge S
Intel Technical Support
Maybe I read it wrong, but it looks to me like it says “we can not reproduce the error, but we know that it will only work with authentication method that we intend you to use on your server”. Seriously? This is a server, but I can not use it to serve a website?
I have not heard from them since and since then, they don’t even bother to answer emails…
Needless to say, until Intel starts to support what they sell, we have stopped purchasing their equipment.
If anyone at Intel wants to explain this better, it is case number 8969057…
1 Comment. Join the Conversation
- Yeah, this is really frustrating. I had an install on an Intel board where I wanted to use Apache ...
How to get Session Parameters in an ASP.NET ASMX service.
By admin | Filed in ASP.NET, Delphi Prism 2010, Microsoft Visual Studio, ProgrammingSession parameters get used a lot in ASP.NET pages and they work pretty well, but when you try to use them in an ASMX web service, you get errors. So, how do you get the session parameters?
It turns out that it is really simple. Just add “EnableSession = true” to your WebMethod and it all works as expected. For example:
[WebMethod (Description="Get a list of RMU GPS positions as JSON for the current custId.",
EnableSession = true)]
public string GetSomeData()
{
string custId = "0";
try
{
custId = Session["CustId"].ToString();
return(GetSomeDataFromClientId( CustId );
}
catch (Exception ex)
{
handleException(ex, "GetGpsRmuCustListJSON");
return(some failure message...);
}
}
I am having an interesting issue with my WordPress 2.9.2 blogs. On one of our computers, when I go to upload a file to it from my computer, I select the file and it says it is uploaded and says “Crunching…”. Then I just get a blank rectangle with no image.
- I tried “the Browser uploader instead” but it also failed.
- If I click “Save All Changes” I just get a blank list.
After a while of trying to solve this, I was rather frustrated and decided to try something that has worked for some issues that I had with Google Maps recently. I deleted all the temporary files (in IE8, go to “Tools”, “Internet Options”, “Browsing History” and click “Delete”. I made sure that “Temporary Internet Files” was selected (you should be able to leave “Cookies” alone so that you keep your account info).
After a while, it was finished and the graphics loaded perfectly!
Parser Error Message: Could not load file or assembly ‘VJSharpCodeProvider
By admin | Filed in ASP.NET, ProgrammingI have been working on an ASP.NET website for quite a while and recently went to flip it onto a different server for testing. Like many before me, I was pretty baffled when I got a configuration error claiming that I needed the VJSharpCodeProvider. I don’t even use Visual J Sharp.
Further research came up with the fact that if your project uses Java, then Microsoft will kindly add this in for you. I just went into the web.config file and deleted the assembly reference to VJSharpCodeProvider and everything was happy.
The error page looked like:
Server Error in ‘/’ Application.
Configuration 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: Could not load file or assembly ‘VJSharpCodeProvider, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ or one of its dependencies. The system cannot find the file specified.
Source Error:
Line 89: <compilation debug="true" strict="false" explicit="true">
Line 90: <assemblies>
Line 91: <add assembly="VJSharpCodeProvider, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
Line 92: <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
Line 93: <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
Source File: C:\corView\WebSite\web.config Line: 91
Assembly Load Trace: The following information can be helpful to determine why the assembly ‘VJSharpCodeProvider, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ could not be loaded.
=== Pre-bind state information === LOG: User = NT AUTHORITY\NETWORK SERVICE LOG: DisplayName = VJSharpCodeProvider, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (Fully-specified) LOG: Appbase = file:///C:/corView/WebSite/ LOG: Initial PrivatePath = C:\corView\WebSite\bin Calling assembly : (Unknown). === LOG: This bind starts in default load context. LOG: Using application configuration file: C:\corView\WebSite\web.config LOG: Using host configuration file: C:\Windows\Microsoft.NET\Framework\v2.0.50727\Aspnet.config LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v2.0.50727\config\machine.config. LOG: Post-policy reference: VJSharpCodeProvider, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a LOG: The same bind was seen before, and was failed with hr = 0x80070002. |
Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3601
2 Comments so far. Join the Conversation
- Just so you know I have saved your blog to my Google bookmarks. I've check out your other blog posts as ...
- Enjoyed the ASP.NET post. This blog was worth bookmarking but this is going on Delicious now!
The other day, I went to start my old Asus P4C800 based motherboard and got the dreaded “System fail CPU test.” After a lot of swearing and searching, I tried cycling power, replacing the CPU (luckily I had access to another), unpluging everything, and a variety of other things… Nothing worked. Several people suggested loosening the CPU fan, but that did nothing.
Finally, I eventually found a post (Re: ASUS P4C800 Deluxe…”system fail cpu test”) explaining how to reset the board. I did this, and presto, everything is now working just fine. What a pain. Apparently, sometimes (especially after a power outage) the BIOS can just get munged.
For future reference, you can also find the Asus P4C800 Manual online.
Here is what worked for me:
- Make sure the ATX 12V volt power supply is pluged in
- Connect an external speaker to the green port on the MB to hear the system post
message - Turn the system off and unplug the power cord from the power supply
- Disconnect the Hard disk, CD-Rom and floppy disk drives from the motherboard
- Take the cpu, memory, and video card out
- take the CMOS battery out and move the CLRT! jumper from pin 1&2 to pin 2&3 for about 20 seconds. This didn’t seem to work the first time, so Iwent off to do something else for a few minutes and left the jumper on pins 2&3 while I was gone. That did it.
- Put the jumper back to pin 1&2, install the battery
- Connect the power cord and turn on the system for about 15 seconds
- Have a speaker connected on the green port on the back of the motherboard
- Turn the system on, the system should speak “NO CPU INSTALLED”
- Turn the system off and reinstall CPU, heat sink and CPU fan
- Turn the system on, the system should speak “SYSTEM FAIL MEMORY TEST”
- Turn it off and install memory
- Turn the system on, the system should speak “SYSTEM FAIL VGA TEST”
- Turn it off and install and video card
- Connect the monitor and turn the system on. If every thing works you should see
display on the monitor.
If this did not help, please contact ASUS tech support at 502-995-0883 and request tech assistance.
1 Comment. Join the Conversation
- This post is beyond awesome. I am always wondering what to do and what not to do so I will ...





0