Monthly Archives: November 2013

Value of type ‘System.Web.UI.HtmlControls.HtmlGenericControl’ cannot be converted to ‘System.Web.UI.HtmlControls.HtmlTableRow

If you build your web project and you hit this error: Value of type ‘System.Web.UI.HtmlControls.HtmlGenericControl’ cannot be converted to ‘System.Web.UI.HtmlControls.HtmlTableRow Go to http://support.microsoft.com/kb/2750147 download the patch and install it. Resources: http://connect.microsoft.com/VisualStudio/feedback/details/766115/value-of-type-system-web-ui-htmlcontrols-htmlgenericcontrol-cannot-be-converted-to-system-web-ui-htmlcontrols-htmltablerow

Posted in .Net | Tagged | Leave a comment

Visual Studio 2012 Update 4

data: JSON.stringify(book) works again in VS 2012 Update 4. The json data works in VS 2012 without update, Update 1 and Update 4. It does not work with Update 2 and Update 3. https://chanmingman.wordpress.com/2013/04/26/using-web-api-with-entity-framework-to-retrieve-data-sample/ https://chanmingman.wordpress.com/2013/07/05/using-web-api-with-entity-framework-to-update-data-sample/ https://chanmingman.wordpress.com/2013/07/20/using-web-api-with-entity-framework-to-update-data-sample-2/ https://chanmingman.wordpress.com/2013/07/25/using-web-api-with-entity-framework-to-delete-data-sample/ Get your Visual … Continue reading

Posted in .Net | Tagged , , | Leave a comment

CREATE FILE encountered operating system error 5(Access is denied.) while attempting to open or create the physical file ‘C:\Database\NORTHWND.MDF’. (Microsoft SQL Server, Error: 5123)

When you want to attach the database and you hit the following error: ————————————————————————————— Failed to retrieve data for this request. (Microsoft.SqlServer.Management.Sdk.Sfc) For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&LinkId=20476 —————————— ADDITIONAL INFORMATION: An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo) … Continue reading

Posted in .Net | Tagged , , | Leave a comment

You cannot see Entity Framework after you have created it

Well, I supposed to have an AccountingEntities but when does it goes?   Expand your edmx to see the cs file. The thing you have to bear in mind is when Visual Studio generate the Entity Framework edmx then it … Continue reading

Posted in .Net | Tagged , | Leave a comment

No exports were found that match the constraint contractName

When you would like to double click to open any cs file and you hit the below message in VS2013. ————————————————————————– No exports were found that match the constraint   contractName   Microsoft.VisualStudio.Utilities.IcontentTypeRegistryservice   RequiredTypeldentity   Microsoft.VisualStudio.Utilities.IContentTypeRegistryService   ————————————————————————– I … Continue reading

Posted in .Net | Tagged , | 1 Comment

No connection string named ‘AnyEntities’ could be found in the application config file

You might hit this problem when you have Class Library Project in your Visual Studio Solution. —————————————————————————————————————————- System.InvalidOperationException was unhandled   HResult=-2146233079   Message=No connection string named ‘AnyEntities’ could be found in the application config file.   Source=EntityFramework   StackTrace: … Continue reading

Posted in .Net | Tagged , , | Leave a comment

AnyConnect was not able to establish a connection to the specified secure gateway. Please try connect again

If you are running Cisco AnyConnect and you keep getting this message.   Reconnect is just useless. One of the possibilities is you have shared your network adapter. You need to disable the share.   Uncheck the Allow other network … Continue reading

Posted in Community, Computers and Internet, Operating System | Tagged | 47 Comments

Upgrade Surface RT to Windows 8.1

You can upgrade it the same way as in your Windows 8.0 Pro https://chanmingman.wordpress.com/2013/11/04/upgrade-to-win-8-1-from-windows-app-store/ I am blogging this using Surface RT.

Posted in Community, Computers and Internet, Operating System | Tagged | Leave a comment

Upgrade to Win 8.1 from Windows App Store

You will free see the Windows 8.1 upgrade screen. Then you click the Download.   In Malaysia 2Mb/sec line it took 3 hours to download.   It took another 3 hours to run the upgrade. After the download it will … Continue reading

Posted in Community, Computers and Internet, Operating System | Tagged , | 1 Comment

Solution to Add-ons incompatible in IE 11

I blogged this Add-ons incompatible in IE 11, https://chanmingman.wordpress.com/2013/10/03/add-ons-incompatible-in-ie-11/, back then. Thanks to m1steron comment. The IE 11 survive this round. Go to Internet Option, Advance tab then uncheck the Enable Enhance Protected Mode.

Posted in Community, Computers and Internet, Operating System | Tagged , | Leave a comment