Thursday, January 24, 2013

Flash Builder: Package Explorer Could not create the view

I installed flash builder 4.5 on windows 7 box, and when I launched I ended up with this error

Could not create the view: Plug-in "com.adobe.flexbuilder.as.editor" was unable to instantiate class "com.adobe.flexbuilder.as.editor.ui.packageexplorer.FlexPackageExplorer".




To resolve this error, start the flashbuilder with -clean option, this will force flash builder to clear the cache, and rebuild it.

Check the path of your flex workspace, If its pointing to some network location, change the flex workspace path to your local hard disk. When you change the flex workspace, flexbuilder will close and relaunch.

Create a new shortcut and edit the path and add  -Clean to the end.

 "C:\Program Files (x86)\Adobe\Adobe Flash Builder 4.5\FlashBuilder.exe" -clean

Tuesday, January 22, 2013

IMP-00058: ORACLE error 942 encountered ORA-00942: table or view does not exist

I got this error today, while importing a dump into a 10g database (regular dump and not data pump). This error occurred on all tables that contained a BLOB column. 

The source dump file was exported from a 10g database.

Here is a sample

. . importing table               "TBL_OBSERVATION"
IMP-00058: ORACLE error 942 encountered
ORA-00942: table or view does not exist       2365 rows imported

Even though the imp complained about table not found, It did import all the records ( in my case 2365 rows imported)

After some debugging, I found that the error was happening as I was using 11g (11.2.0.1) client to import into a 10g (10.2.0.4) database.

When I used 10g (10.2.0.4) client to import, it worked fine.

There is no proper explanation available for this error, but seems to happen when you use 11g client to import a 10g dump into a 10g database

Workaround, Use 10g client to import into a 10g database.

Wednesday, October 31, 2012

Windows Authentication prompting for credentials

I created a ASP.Net website with Windows Authentication on IIS7.

When I access the website, IE kept prompting for my network credentials. After some digging around, I found that the issue was coming from Windows Authentication Providers.

1) Launch IIS Manger
2) Select your web application, and double click on Authentication


3) Right Click on Windows Authentication, and select Providers. ( I have Impersonate = "true" set up on my web application, that's why ASP.Net Impersonation is enabled for me)

4) Make sure that the Providers are in the order above. NTLM first and Negotiate second.
5) If the order is reversed, IE will keep prompting you for your network credentials.

Hope this helps.