Got an email forwarded by the co-worker, saying the Microsoft ADO.NET team is going to deprecate OracleClient as a part of their ADO.NET roadmap.
The Decision
After carefully considering all the options and talking to our customers, partners, and MVPs it was decided to deprecate OracleClient as a part of our ADO.NET roadmap.
Recommendation and Guidance:
System.Data.OracleClient will be available in the upcoming 4.0 release of .NET Framework; however, it will be marked as deprecated. This will have no impact to existing applications and these applications will continue to work as expected. Developing new applications which use OracleClient will be supported; however, warnings will be raised if the applications are compiled against .Net 4.0. Once compiled, no warnings or errors will be generated while running these applications. We strongly recommend customers to use our partners’ ADO.NET Provider for Oracle instead of continuing to use Microsoft’s OracleClient for new application development.
Continue reading ‘System.Data.OracleClient will be deprecated in .net framework 4.0′
Related posts
Today one of my co-workers did the trouble shooting and resolved this stupid problem together with me, and suggested put on the blog to share it. So here we go.
To make one of our internal web application authentication method simply, I decided to use Windows authentication and put the only one user in the web.config. The following are what I put in the web.config:
<authentication mode=”Windows” />
<authorization>
<allow users=”DOMAINNAME/USERID”/>
<deny users=”*”/>
</authorization>
But the web form won’t authenticate me even I put the right user name and password, a windows logon prompt always jumped out.
I changed to <deny users=”?” /> then everyone can get in.
By the way, I have made the change in IIS to disable the anonymouse authentication and enable the Integrated Windows Authentication.
Finally, we figure out that we used the wrong slash in the user name. We should use backward slash “\” instead of the forward slash “/”. The working code should be
<authentication mode=”Windows” />
<authorization>
<allow users=”DOMAINNAME\USERID”/>
<deny users=”*”/>
</authorization>
Gosh, never paid attentions on it before. I used both of them in asp.net 1.1.
Related posts
To use my old TV Sets to receive the Over-the-Air digital TV programs, I had to purchase a digital converter box. Combined a $40 coupon from the government, the zenith dtt901 was a very great deal. And it was very easy to set up this small box.
And I like these extra features come with this box, like tune volume, closed caption button, etc. Especially the TV Power button which can turn on/off your TV with the same digital converter box.
Continue reading ‘How to use Zenith DTT901 remote controller to turn on/off your TV set’
Related posts

As any other web site administrators, I care much about the site visit statistics and other marketing data from the web site visiting log. I used DeepMetrix LiveStats a few years ago, then upgraded to DeepMetrix .NET 8. But later the company DeepMetrix dropped the support on its products after Microsoft bought it. From there, I tried the online tools like Google Analytics including the Microsoft one based on DeepMetrix - Microsoft Ad-Central. They are good enough for my general use, but I still want a website log stats tool installed locally.
So I re-installed DeepMetrix older version of LiveStats 6.2 and newer one .NET 8. But the stupid DeepMetrix .NET only works for the Data Collection part, not the reporting part. And the LiveStats 6.2 was working fine before, and now it totally stopped working after the license domain name deepmetrix.com was gone.
Finally, I had a reason to stop trying, testing and wasting time on DeepMetrix. I moved on and decided to use AWStats which is a free open-source web log analyzer tool.
At first, I still had the concern about the disadvantage of parsing the log files vs. the site tracking scripts. But since I still can use the DeepMetrix Data Collection part, then I can use the AWStats tool to parse the pre-processed log files from DeepMetrix instead of the raw log files from IIS.
Continue reading ‘How to re-use DeepMetrix Livestats NET pre-processed log files for AWStats’
Related posts
Today, got bothered by two issues when I was doing the asp.net development.
First, all of the sudden, the “~” symbol in my code did not work anymore after I did some modifications. For example, I have one line of code to re-direct the users to an error page (/MyApp/App_Include/ErrorPage.aspx) like the below.
Response.Redirect(”~/App_Include/ErrorPage.aspx?aspxerrorpath=” & Me.Page.Request.Url.ToString(), True)
But when any errors raised in some web forms in the location of /MyApp/Forms/somepage.aspx, I could not be re-directed to the ErrorPage.aspx, instead I got a 404 page not found error. It seemed the system was trying to find /MyApp/Forms/~/App_Include/ErrorPage.aspx.
Continue reading ‘two issues of asp.net development’
Related posts
Recently I discovered a good web service to make the screen capture very easy. Using this tool, you can easily to record what you are doing on your computer, like running applications, browsing websites, etc. Then you can upload your screenshot videos to YouTube, or save as .mov file on your machine locally. This makes sharing the screen shots (or even video training) to your friend like a snap-it.
Continue reading ‘A nice web tool to capture your computer screen in video format’
Related posts
I was working on the Joomla 1.5.9 and tried to add one form in an article, but the <form> tag got ripped off. To get it back, you will have to do at least two changes.
- Turn off the WYSIWYG Editor (i.e. TinyMCE editor) you were using. To do so, you can update the user profile by choosing no editor for yourself.
- Then you need to update the Filterings Options settings in Global Parameter, otherwise all <form> <input> tags will be kept by turning off WYSIWYG editor, but the ACTION attribute in the <form> will be filtered out by Joomla.
Continue reading ‘How to add your own HTML tag in article content of Joomla 1.5.x’
Related posts
Since Wednesday, all developers’ machines could not load asp.net applications on Visual Studio’s development servers. And we even could not debug, build the solution and could not Copy Website either; and could not drag/drop the AJAX Extension toolkit controls to the web forms.
The error message when we loaded the web application was the following:
Server Error in ‘/MyAPP’ Application.
Access is denied. (Exception from HRESULT: 0×80070005 (E_ACCESSDENIED))
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
……
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
……
[FileLoadException: Could not load file or assembly 'AjaxControlToolkit, Version=1.0.20229.20821, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e' or one of its dependencies. Access is denied.]
Continue reading ‘Fix Access is denied (Exception from HRESULT: 0×80070005 (E_ACCESSDENIED)) on local machines’
Related posts
Upgraded the WLW to built 14.0 and tried to open the posts from my WordPress MU 2.6.5 today, but got error message saying “there was error 500 while processing the file xmlrpc.php”.
Double checked my WP settings and found that the xmlrpc had been turned on already. It seemed to me it was a web server parsing php code error.
After poking around the internet, and concluded that there is an issue with the xmlrpc.php code if the server default service is PHP4. That means if your web server parsing your WordPress php code in PHP4 mode, then you would get problems to view blog posts from Windows Live Writer, and in some case you can not upload images in WLW with xmlrpc method.
I hope there will be a fix soon. But right now, I will have to force my web server to call the WordPress codes in PHP5 mode.
To do so, just add the following two lines at the begining of your .htaccess file.
AddType x-mapp-php5 .php
AddHandler x-mapp-php5 .php
After that, you just upload the modified .htaccess file and everything should be fine again.
Good Luck!
Related posts
I downloaded a OSC template and installed on the server. Since the included OSC is not the latest version, I had to upgrade the Paypal method files. Today, I modified some fields in the Paypal Website Payment Standard, and surprisedly the payment method disappeared from the Check Out page. And I can see an message on the page saying “This is currently the only payment method available to use on this order.” And after I clicked continue, I would get the error of “no payment method selected”.
After playing around, I finally found out the cause. I think there is a bug in the OSC code I have in the template. Since I do not have time to mess up the code, I am using a tip to get the Paypal method back. Hope it will help you too.
Tips: just make sure your Payment Zone of your Paypla method set up to –none–. That is it.
Related posts
Recently I am playing around with Joomla 1.5.x and wanted to write down two tips I learned about the Front Page setup.
First, how to remove the “Welcome to Front Page” page title in a Joomla 1.5.x with sample data installed. It sounded easy, but it still took me some time to find the right spot to do so.
- Move your mouse over the Menus top menu in administrator back-end, and then select Main Menu option or any menus with Home (Type of Articles-Frontpage) menu item.
- Click the title of Home or other name but with the type of Articles –> Frontpage
- Expand the Parameters (system) right menu, and you will see there are two options of Page Title and Show Page Title for you to resolve this “Welcome to Front Page” issue.
Continue reading ‘How to put sticky post and remove page title on front page of Joomla’
Related posts
Got a replacement blackberry, and need to turn in the old one. I tried to clean all my personal data before I do so. But unlike the previous ones I had before. I could not find a easy way to wipe all personal data from the blackberry simply going to Option — Security.
Well, it is still easy to clean your blackberry with the newer OS version of 4.1 or later, just following the instruction below
- From the
Device Options menu, select Security Options.
- Click
General Settings.
- Click the blackberry button, and then click
Wipe Handheld.
- If you wish to erase all third party applications, click the check box.
- Click
Continue, and then type blackberry .
For more, check out this knowledge base http://kb.iu.edu/data/alvl.html
Related posts
This post is not to discuss how to create and send emails from your asp, or asp.net code. And I assumed that you already knew how to do so. I just wanted to share with you that how I make “Reply-To” work in asp and asp.net code.
Why do we need the “Reply-To” at the first place? Well, replying to an email message usually sends the response to the person who sent the email. However, there are scenarios where you may want to have the reply go to an alternate email address. For example, if you are sending out emails on web site with the consistent system email address, you may want to have any replies go directly to the person who is responsible on one particular application.
Continue reading ‘How to add “Reply-To” in email message created in ASP, ASP.net code’
Related posts
Never thought enabling Downloadable product type in OScommerce would be so difficult. Anyway, I would like to post my nearly 3 hours’ work to reduce your frustration.
First, make sure you installed the latest version of OsCommerce and everything else is working. And you have already read the basic how-to tutorials from the official web site knowledge base at
http://www.oscommerce.info/kb/osCommerce/Administration_Tool/Configuration/162
If you do not have time to read all of the above, do not need to worry, since I will repeat the how-to in this post with more explanation.
Continue reading ‘How to setup download product in OScommerce v2.2RC2′
Related posts
Blog Comments