CameTooFar

A Nerd's False Positive.

Windows Mobile – No such interface supported

Last day, I’s so surprised to see that when I debug my Windows Mobile 6x project, I’m getting an exception as

“No such interface supported – Device connectivity component”

That was painful, because when I left office on evening I’s so happy that I only need to deploy the project for testing. But, I’s hit with this error message annoyingly. I tried resetting VS2008 settings and packages but didn’t helped either.

Finally, I came across solution that solved the pain. All you need to do is to re-register the dll: actxprxy.dll and restart your machine. Rebuild the project and there you are.

Windows Mobile – No such interface supported

Happy deploying.

Thanks.

Sql Server–Saving changes is not permitted, from Design View

Saving changes is not permitted. The changes you have made require the following tables to be dropped and re-created. You have either made changes to a table that can’t be re-created or enabled the  option Prevent saving changes that require the table to be re-created.

sql_server_saving_changes_is_not_permitted

Did you ever got this warning dialog box, when you try to save a Table after modifying through design-view in Sql Server 2008. You will encounter this with fresh installation of Sql Server and when tried to save an already created Table, after modification.

That’s because when you do Table modifications through the Design-View, tables are internally dropped and re-created. The reason why you get this error! However, you can by-pass this error by deselecting - Prevent saving changes that require table re-creation from Tools –> Options –> Designers. Check the below screenshot.

sql_server_prevent_saving_changes

Hope this helped.

Thanks.

HTTP Error 500.21 - Handler "BlockViewHandler" has a bad module "ManagedPipelineHandler"

Huu…!!!

As usual, jumped into another error when I tried to uploaded nopCommerce CMS kit and browsed for first time.

HTTP Error 500.21 - Internal Server Error
Handler "BlockViewHandler" has a bad module "ManagedPipelineHandler" in its module list

error_iis_nopcommerce_browse


I’s thinking, since I downloaded a ready-made kit, chances of errors should be zero!

Got it! As pre-requisites I installed ASP.NET MVC which had changed the ASP.NET version in my machine. As simple as that, you can fix it by running below command (with admin privilege).

%windir%\Microsoft.NET\Framework\v4.0.21006\aspnet_regiis.exe -i

solution_aspnet_regiis

Thanks.