Posts

uninstall Oracle11g products from Windows Vista/7 family

Hi, You may not uninstall oracle product in 11g version from windows vista family both x32 and x64.The main reason is based on some new features come from new Windows familiy.One of them is a new Administrator right.You should run any program with administrator right for administrative purpose by right-mouse clicking and select 'run as Administrator'.If not, applications may not execute properly. Anyway if you want to uninstall any oracle from system ,Follow the step: 1-open Command prompt (Start> run> cmd.exe,right mouse click and select 'Run As Administrator') 2-Go to home directory of de-installation programs from ' C:\Windows\system32>' . (if you do not have follow link : http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html ) 3-set home path of un-installing product 4-execute deinstall with parameter of uninstalled products home directory 5-you will be asked for Windows and .Net de-configuration to verify.I say Yes b

ODP(Oracle Data Provider) Entity Framework and LINQ to Entities Installation Instructions, Setup, and Notes

Image
Hi All, I would like to share my experience of using Microsoft Entity Framework with Oracle Database.The main goal is using advance .Net Data Driven Architecture in Oracle. You can create Entity Data Model (EDM) from existing Oracle Database Schema by Entity Data Model Wizard or run LINQ query against database or call stored procedure . Oracle releases beta version of ODAC 11.2.0.2.30 (follow http://www.oracle.com/technetwork/topics/dotnet/downloads/odacefbetainstallinstructions-302527.html if the url is out-of-the date please ask google.com :)).This provider supports Microsoft Visual Studio 2010 with SP1. You can download and install easily.There is no serious problem during installation or integrating with Visual Studio Family.Just verify that C:\app\user>\product\11.2.0\client_ \Oracle.Key file has correct value.(ex path; C:\app\MuhammetATALAY\product\11.2.0\client_2) Here is step by step instruction: 1- Add New ADO.NET Entity Dta Model by right click project - Add - New Item 2-

error in x64 OS system while publishing web sites compiled in x32 bit OS.

if you face an error about could not load file or assembly ..... incorrect format during publishing any web site that is prepared on 32 bit operating system to x64 bit OS. check follow: 1- be sure that project built in CPU : x64(Not CPU any or x86) architecture via MS Visual Studio (from Project Property>Build) 2 - check follow in IIS run on x64 bit; Set App Pool Advanced Settings "Enable 32-Bit Applications" to True. Set Website .Net Trust Levels to "Full Trust" cheers !!! P.S:Please do not hesitate to share your comments.

Compatibility problem in Windows Vista (7) family

You build your application in visual Studio 2005 or 2008 but The application gives error if it runs on Windows 7 or Vista event there is no problem on Windows XP. The problem is about compaqtibility problem with your application.it may be about Data Execution Prevention architecture in windows. You can obtain such information on my other post. anyway, You have to re-build your project in Microsoft Visual Studio (2005 0r 2008) with parameter of ; /DYNAMICBASE:NO /NXCOMPAT:NO and also you have also one more thing to do to solve this problem .Open Visual studio Command Promkp via Visual Studio Tools and call editbin with parameter shown below; editbin.exe /NXCOMPAT:NO good luck

Microsoft Visual Studio gives an error while loading form in design time

if you are facing an error : " One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes" while Microsoft Visual Studio loading the form in Design Time. You have to initialize all properties which belong to form.You will probably get "object reference not set to an instance of an object" in the details of the error. Please Initialize all objects with "new" keyword or set them existance once. If you do not know main responsible of causing this error.Please follow the below to ask Visual Studio. Open a new Visual Studio instance. Open any source file. This is required to see Debug menu so that Visual Studio lets you attach to a process. Attach the old Visual Studio instance to the newest one. The Visual Studio process is called devenv.exe with the name of loaded project . You only need to attach to managed code. Set Visual Studio to

Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

Image
if any installed application does not run after upgrading operating system with followings Windows Vista,Windows 7 , Windows 2008 Server Family and gives an error such as "Attempted to read or write protected memory. This is often an indication that other memory is corrupt." The porblem mostly about memory permission. You can try this;(based upon Windows 2008 Server,if you use different once, some step may be changed) 1-Right Click to "Computer " 2-Select "Properties" 3-Click "Advanced System Settings" on the left panel of newly opened window. 4-Select "Settings" on the first Group Box,name is "Performance",in the Advanced tab 5- Select "Data Execution Prevention" tab 6-Turn off DEP for you application or Turn off for all application except Windows Programs and Services. 7-You have to restart the server. Here is the screen shut : cheers, P.S:Please do not hesitate to share your comments.

Windows Management Instrument Tester

Just run 'wbemtest' from Command Prompt. You can connect kind of domains to intearct with WMI. Ex: The majority of the WMI classes for management are in the root\cimv2 namespace you can run "Select * from Win32_OperatingSystem"statement over WMI with WQL type under the Query button.The result will be information about the operating system, such as version, whether it is activated, or which hotfixes are installed. good lucks, P.S:Please do not hesitate to share your comments.