Cannot create registered control.

I am trying to see how the activex bridge works. Anyway I have a simple (no gui) bean called PersonBean. I have jar'd it up and it works fine in beanbox. Then I packaged it up (calling it ActivePerson for the control name) and let it register the control. When I tried to use the control from VBA in Word like this...
Set myPerson = CreateObject("JavaPerson.Bean")
but this gives me a 'Run-time error '429' ActiveX Component cannot create object'
So i decided to test with ActiveX Control Container a tool from MS and part of Visual C++ 6. When I tried to add the control it gives me an error saying "Failed to create control: unspecified error" (which is oh so helpful an error message...)
So I am stuck. Could anyone point me in the direction of what might be wrong.
In case it helps I am pasting below an extract from my registry of what was added for the control. The paths all seem ok to me.
REGEDIT4
[HKEY_CLASSES_ROOT\CLSID\{724CFE50-604A-11D5-A195-0050BA8CF492}]
@="JavaPerson Bean Control"
"AppID"="{724CFE50-604A-11D5-A195-0050BA8CF492}"
[HKEY_CLASSES_ROOT\CLSID\{724CFE50-604A-11D5-A195-0050BA8CF492}\Control]
[HKEY_CLASSES_ROOT\CLSID\{724CFE50-604A-11D5-A195-0050BA8CF492}\DataFormats]
[HKEY_CLASSES_ROOT\CLSID\{724CFE50-604A-11D5-A195-0050BA8CF492}\DataFormats\GetSet]
[HKEY_CLASSES_ROOT\CLSID\{724CFE50-604A-11D5-A195-0050BA8CF492}\DataFormats\GetSet\0]
@="2,1,16,1"
[HKEY_CLASSES_ROOT\CLSID\{724CFE50-604A-11D5-A195-0050BA8CF492}\DataFormats\GetSet\1]
@="3,1,32,1"
[HKEY_CLASSES_ROOT\CLSID\{724CFE50-604A-11D5-A195-0050BA8CF492}\DataFormats\GetSet\2]
@="14,1,64,1"
[HKEY_CLASSES_ROOT\CLSID\{724CFE50-604A-11D5-A195-0050BA8CF492}\DataFormats\GetSet\3]
@="1,1,1,1"
[HKEY_CLASSES_ROOT\CLSID\{724CFE50-604A-11D5-A195-0050BA8CF492}\DefaultIcon]
@="C:\\Program Files\\JavaSoft\\JRE\\1.3.0_01\\classes\\awt.ico"
[HKEY_CLASSES_ROOT\CLSID\{724CFE50-604A-11D5-A195-0050BA8CF492}\InprocServer32]
@="C:\\Program Files\\JavaSoft\\JRE\\1.3.0_01\\classes\\bin\\beans.ocx"
"ThreadingModel"="Apartment"
[HKEY_CLASSES_ROOT\CLSID\{724CFE50-604A-11D5-A195-0050BA8CF492}\Insertable]
[HKEY_CLASSES_ROOT\CLSID\{724CFE50-604A-11D5-A195-0050BA8CF492}\InterfaceClass]
@="sun/beans/ole/OleBeanInterface"
[HKEY_CLASSES_ROOT\CLSID\{724CFE50-604A-11D5-A195-0050BA8CF492}\JarFileName]
@="G:\\activex\\PersonBean.jar"
[HKEY_CLASSES_ROOT\CLSID\{724CFE50-604A-11D5-A195-0050BA8CF492}\JavaClass]
@="PersonBean"
[HKEY_CLASSES_ROOT\CLSID\{724CFE50-604A-11D5-A195-0050BA8CF492}\MiscStatus]
@="0"
[HKEY_CLASSES_ROOT\CLSID\{724CFE50-604A-11D5-A195-0050BA8CF492}\MiscStatus\1]
@="3473"
[HKEY_CLASSES_ROOT\CLSID\{724CFE50-604A-11D5-A195-0050BA8CF492}\ProgID]
@="JavaPerson.Bean.1"
[HKEY_CLASSES_ROOT\CLSID\{724CFE50-604A-11D5-A195-0050BA8CF492}\Programmable]
[HKEY_CLASSES_ROOT\CLSID\{724CFE50-604A-11D5-A195-0050BA8CF492}\ToolboxBitmap32]
@="C:\\Program Files\\JavaSoft\\JRE\\1.3.0_01\\classes\\bin\\beans.ocx,0"
[HKEY_CLASSES_ROOT\CLSID\{724CFE50-604A-11D5-A195-0050BA8CF492}\TypeLib]
@="{724CFE51-604A-11D5-A195-0050BA8CF492}"
[HKEY_CLASSES_ROOT\CLSID\{724CFE50-604A-11D5-A195-0050BA8CF492}\verb]
[HKEY_CLASSES_ROOT\CLSID\{724CFE50-604A-11D5-A195-0050BA8CF492}\verb\-1]
@="Show,0,0"
[HKEY_CLASSES_ROOT\CLSID\{724CFE50-604A-11D5-A195-0050BA8CF492}\verb\-2]
@="Open,0,0"
[HKEY_CLASSES_ROOT\CLSID\{724CFE50-604A-11D5-A195-0050BA8CF492}\verb\-3]
@="Hide,0,1"
[HKEY_CLASSES_ROOT\CLSID\{724CFE50-604A-11D5-A195-0050BA8CF492}\verb\0]
@="&Edit,0,2"
[HKEY_CLASSES_ROOT\CLSID\{724CFE50-604A-11D5-A195-0050BA8CF492}\Version]
@="1.0"
[HKEY_CLASSES_ROOT\CLSID\{724CFE50-604A-11D5-A195-0050BA8CF492}\VersionIndependentProgID]
@="JavaPerson.Bean"

please do not post any more answers on here. i fixed my problem already. thanks to everyone who did post but the problem was with the runtime or the packager or something anyway here...
http://forum.java.sun.com/thread.jsp?forum=40&thread=157223
you can see what i did to fix my first problem and also my workaround for memory exceptions when working with ms-office

Similar Messages

  • CREATE DATABASE cannot create a control file

    I know, it's not supported. Please refrain from reminding me.
    I am trying to install a second database on an Oracle 8i installation (8.1.7.4) on a Windows 2003 server. I cannot use DBCA because it doesn't work, so I create the databases manually using the script produced by DBCA.
    So I run the following:
    connect INTERNAL@TEST
    startup nomount pfile="C:\oracle\admin\COHPTEST\pfile\initTEST.ora"
    CREATE DATABASE TEST
    LOGFILE 'D:\oracle\oradata\TEST\redo01.log' SIZE 1024K,
    'D:\oracle\oradata\TEST\redo02.log' SIZE 1024K,
    'D:\oracle\oradata\TEST\redo03.log' SIZE 1024K
    MAXLOGFILES 32
    MAXLOGMEMBERS 2
    MAXLOGHISTORY 1
    DATAFILE 'D:\oracle\oradata\TEST\system01.dbf' SIZE 264M REUSE AUTOEXTEND ON NEXT 10240K
    MAXDATAFILES 254
    MAXINSTANCES 1
    CHARACTER SET WE8ISO8859P1
    NATIONAL CHARACTER SET WE8ISO8859P1;
    I receive the following error:
    ORA-01501: CREATE DATABASE failed
    ORA-00200: controlfile could not be created
    ORA-00202: controlfile: 'D:\oracle\oradata\TEST\ctrl01.ctl'
    ORA-27040: skgfrcre: create error, unable to create file
    OSD-04002: unable to open file
    O/S-Error: (OS 3) The system cannot find the path specified.
    More information:
    1) Added the "Everyone" account to full control on the D: drive, to eliminate the possibility of access issues.
    2) The control files, the alertLog, and just about every other file do not exist before, or after the error.
    3) I cannot produce more detailed information other than what you see. I do not know of a trace that will track this, which would be helpful.
    4) I've tried from both SQLPLUS and SVRMGRL, as well as using INTERNAL, SYS accounts as well as adding sysdba privileges.
    I would love to upgrade this instance, but it has other databases on it, and only one box to run this DB on.
    SO, just to be sure, telling me to upgrade isn't what I am hoping to learn. I would appreciate some insight on how to display the account svrmgrl runs under, or how to get it to run under another user ID that would be great, or why it can't create the file, or a manual way to create the file (CREATE CONTROLFILE is for existing db's only right? )

    Hello, my name is stupid.
    I was using a remote file in my TNS_ADMIN environment value. It was pointing to the old database the whole time. The old database was up and down all day, but no one was on it to notice.
    Answer: Please check your TNS_ADMIN file, to make sure that you do not have any naming conflicts with the database you are creating, and another database with the same name in your collection of databases.
    What happened:
    The reason it could not create the files: There was another TEST database, which was what was connected to, and I tried to create the files on another server which did not have a D: Drive.
    When I switched to C: it stated the files were already in existence, which I knew wasn't true, and what led me to look at what I was connecting to.
    When I checked my TNSNames.Ora file, I noticed the 2nd entry for a database also named "TEST" that a previous DBA had left in there, I realized I was working on the wrong database because it connected to the first database in the TNSNames listed for that SID.
    I removed the entry from the TNSNames file, and the database was created successfully (Manually, DBCA still doesn't work).
    Thanks for all that tried to help, but introspection was the only solution.

  • Cannot create custom controls

    I have the following .ctl file and I am having problems creating a custom control out of it. It is a push button and LED tied together with a frame around it. How can I create this as one control that I can use in my other .vi's?
    Thanks

    Okay, I went ahead and did it.
    I did as I described below and here is the result:
    Attachments:
    indicator_button.ctl ‏6 KB

  • Cannot create controls/constants/indicators from XML parser

    Is there any reason I cannot create (by right clicking) a control/constant/indicator of a XML ref from the XML parser function? I need to make subvi's to build/read xml files, and that is really impossible without that ability.
    Labview 2012 f3
    Solved!
    Go to Solution.

    This bug has already been reported (CAR 357092), and is scheduled to be fixed in the next service pack release. For now, here's a workaround:
    1. Create a reference indicator from Functions » Programming » File I/O » XML » XML Parser » New.vi.
    2. Right click on the new "DOM Document Out" indicator terminal and select Create > Control (or Indicator).
    3. Right click on the new control/indicator and choose Select XML Parser Class. Then, you can select whatever class you need.
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • Cannot create an account to register my printer and acquire my password

    I have a HP Photosmart Plus wireless printer. I cannot create an account to register and acquire my password. It tells me my email address is incorrect...which it is not and/or my password is incorrect. If I go to "forgot my password, it keeps telling me to enter my e-mail address even though I have done that. I tried to sign in using my Facebook account....doesn't let me and tried creating an HP Passport account. Cannot do ANYTHING!

    Hi,
    Thank you for posting,
    You will ge this error message if you have a Snapfish account created on your name.
    Please go to www.hp.com/go/eprintcenter and click on the Sign in Button. In the Sign in Page, please click on the Snap Fish icon and then enter the email address and the password and that will login to the eprint center.
    If you are still unabel to login, please click on Forgot Password on the Snap-Fish popup screen and then you will get an email with a temporary password and a link to reset the password. Once the password is reset, please go back to www.hp.com/go/eprintcenter and click on the Sign in Button. In the Sign in Page, please click on the Snap Fish icon and then enter the email address and the password and that will login to the eprint center.
    Say "Thanks" by clicking the Kudos Star in the post that helped you.
    Please mark the post that solves your problem as "Accepted Solution"
    (Although I am employed by HP, I am speaking for myself and not for HP)

  • Cannot create property defaultColumnCount on mx.controls.DataGrid

    The app compiles fine but an error occurs at runtime.
    Code:
    <mx:DataGrid width="100%"
                 height="100%"
                 lockedColumnCount="6"
                 horizontalScrollPolicy="on"
                 defaultColumnCount="1">
    Error:
    Cannot create property defaultColumnCount on mx.controls.DataGrid
    Property description:
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/controls/listClasses /ListBase.html#defaultColumnCount

    it appears that datagrid does not inherite that property from listbase class or if it does its encapsulated so that is only used withing the class.
    what are you trying to do. when i look a the source code for flex datagrid i saw this.
    private var _columns:Array; // the array of our DataGridColumns
        [Bindable("columnsChanged")]
        [Inspectable(category="General", arrayType="mx.controls.dataGridClasses.DataGridColumn")]
         *  An array of DataGridColumn objects, one for each column that
         *  can be displayed.  If not explicitly set, the DataGrid control
         *  attempts to examine the first data provider item to determine the
         *  set of properties and display those properties in alphabetic
         *  order.
         *  <p>If you want to change the set of columns, you must get this array,
         *  make modifications to the columns and order of columns in the array,
         *  and then assign the new array to the columns property.  This is because
         *  the DataGrid control returned a new copy of the array of columns and therefore
         *  did not notice the changes.</p>
         *  @langversion 3.0
         *  @playerversion Flash 9
         *  @playerversion AIR 1.1
         *  @productversion Flex 3
        override public function get columns():Array
            return _columns.slice(0);
         *  @private
        override public function set columns(value:Array):void
            var n:int;
            var i:int;
            n = _columns.length;
            for (i = 0; i < n; i++)
                columnRendererChanged(_columns[i]);
            freeItemRenderersTable = new Dictionary(false);
            columnMap = {};
            _columns = value.slice(0);
            columnsInvalid = true;
            generatedColumns = false;
            n = value.length;
            for (i = 0; i < n; i++)
                var column:DataGridColumn = _columns[i];
                column.owner = this;
                column.colNum = i;
                if (column.cachedHeaderRenderer)
                    var item:DisplayObject = column.cachedHeaderRenderer as DisplayObject
                    if (item.parent)
                        item.parent.removeChild(item);
                    column.cachedHeaderRenderer = null;
            updateSortIndexAndDirection();
            fontContextChanged = true;
            invalidateProperties();
            itemsSizeChanged = true;
            invalidateDisplayList();
            dispatchEvent(new Event("columnsChanged"));
    its ovbious to me that flex is calculating how many columns will appear on the datagrid depending on the dataprovider you supply.
    Or if you would like to only show a specific amount of columns  you can futher define them in your grid like so
    <mx:DataGrid  id="grid" columnCount="2">
      <mx:columns>
    <mx:DataGridColumn headerText="column1"/>
    <mx:DataGridColumn headerText="column2"/>  
    </mx:columns>
      </mx:DataGrid >

  • HT4759 i downloaded the icloud to my pc it says to login with apple id and it says it is a valid apple id but not cloud but i cannot get the control panel for icloud to come up to set it up on my pc which runs windows 8

    i downloaded the icloud to my pc it says to login with apple id and it says it is a valid apple id but not cloud but i cannot get the control panel for icloud to come up to set it up on my pc which runs windows 8

    An update.
    From iCloud Control Panel 2.1.1 for Windows
    "iCloud Control Panel 2.1 and later includes support for Windows 8"
    but you still need to set it up on a Mac or iOS device, "Note: To create an iCloud account you need an iPhone, iPad, or iPod touch with iOS 5 or later, or a Mac with OS X Lion v10.7.5 or later."

  • Getting Error Msg  "usdsop cannot create a new process" in Log File

    Hi All,
    I have installed r12 in my personal LapTop.
    Every thing looks fine..
    For testing purpose, I have created a Shell Script and registered concurrent program.
    While i am running this program, program is getting error out with below message.
    D:\oracle\VIS\apps\apps_st\appl\po\12.0.0\bin\TEST_CONVERT.exe
    usdsop cannot create a new process
    Cause: usdsop encountered an error creating a new process. [Reason].
    Action: Check that your system had enough resources to start a new process. Contact your system administrator to obtain more resou (RE
    Executing request completion options...
    Please help me in resolving this issue.
    Thanks
    Sandeep

    What is your OS?
    Did you complete the steps in these docs?
    How to Register a Host Concurrent Program in Applications [ID 156636.1]
    How To Create A Custom Concurrent Program With Host Method and Pass Parameters To The Shell Script [ID 266268.1]
    How Do You Run A Unix Host Script From Concurrent Managers On MS Windows Platform? [ID 412392.1]
    How To Setup A Custom Concurrent Host Program [ID 147455.1]
    Thanks,
    Hussein

  • Cannot Create ShrePoint Search Service Application for SP2013

    Hi All,
    Thanks in advance for any help you may provide.
    While Creating a new search service application i have received the following error:
    Errors were encountered during the configuration of the Search Service Application.
    System.ArgumentException: The SDDL string contains an invalid sid or a sid that cannot be translated. Parameter name: sddlForm at System.Security.AccessControl.RawSecurityDescriptor.BinaryFormFromSddlForm(String sddlForm) at System.Security.AccessControl.RawSecurityDescriptor..ctor(String
    sddlForm) at Microsoft.SharePoint.Win32.SPNetApi32.CreateShareSecurityDescriptor(String[] readNames, String[] changeNames, String[] fullControlNames, String& sddl) at Microsoft.SharePoint.Win32.SPNetApi32.CreateFileShare(String name, String description,
    String path) at Microsoft.Office.Server.Search.Administration.AnalyticsAdministration.CreateAnalyticsUNCShare(String dirParentLocation, String shareName) at Microsoft.Office.Server.Search.Administration.AnalyticsAdministration.ProvisionAnalyticsShare(SearchServiceApplication
    serviceApplication) at Microsoft.Office.Server.Search.Administration.AnalyticsAdministration.CreateDefaultStoreLocation(SearchServiceApplication serviceApplication) at Microsoft.Office.Server.Search.Administration.AnalyticsAdministration.ProvisionRawEventStore(SearchServiceApplication
    serviceApplication) at 
    The Fix with Sharing the Analitics_GUID Folder doesn't work, because it creates every Time a new one.
    I really appreciate if you could give me a help.
    Regards!
    Martin

    Hi all,
    Thank you very much for your Response.
    I have resolve this Issue yesterday, but didn't have time to answer.
    I have tried everything (Create over Powershell and GUI) and as I say the fix with Analitics_GUID dont work. I have give everyone Full Controll on the hole Office Folder and Sub-folders.
    I have look with the Reflector in the Code that causes the Exception and find that the SDDL string need some format in
    that has an Domain Account and not Local Account. I mean some SID Domain ids.
    So there is no way to create an "Complete" Installation ( not Standalone)  without having a Domain. It is possible but you cannot create Search Service App and some
    other Components didn't work as expected.
    My Software was:
    Windows Server 2012 Datacenter
    SQL Server 2012 Enterprise with SP1
    SharePoint 2013 Enterprise
    So I created a "local" domain an it works. 
    Thank you very much
    Regards
    Martin

  • How to find out the cause of "Cannot create JDBC driver"?

    A small Java web application constantly runs into a problem of "Cannot of create JDBC driver of class 'org.postgresql.Driver' for connect URL 'jdbc:postgresl://localhost:5432/myapp'". The problem still exists after upgrading the driver. After recycling the server, this problem will be resolved. It, however, will come back after a while.
    Any suggestions to solve this problem?
    Thanks a lot.

    jschell wrote:
    vwuvancouver wrote:
    Any suggestions to solve this problem?To start with get the full and complete stack trace.
    However since it is an intermittent problem there are only two possibilities
    1. You have some code that is written correctly and some that is not.
    2. It is a resource not code usage problem. Such as that you are not closing all result sets, statements and connections.Here is related log messages:
    2009-04-30 09:29:21,386  INFO XmlWebApplicationContext:601: - Closing application context [WebApplicationContext for namespace 'mybookmarks-servlet']
    2009-04-30 09:29:21,387  INFO DefaultListableBeanFactory:273: - Destroying singletons in {org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [messageSource,viewResolver,localeResolver,untapedUrlMapping,urlMapping,localeChangeInterceptor,errorsController,myBookmarksController,bookmarkController,reminderController,accountController,userControllerMethodResolver,userFormController,searchFormController,directoryController,directoryControllerMethodResolver,secureHandlerMapping,signonInterceptor,addBookmarkFromListFormController,addBookmarkFormController,bookmarkValidator,editWebSiteEntryFormController,addCommentFormController,reminderFormController,genericReminderFormController,alterReminderDateFormController,contactFormController,invitationFormController,propertyConfigurer,mailSender]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [propertyConfigurer,mailSender,userValidator,bookmarkService,dataSource,sessionFactory,transactionManager,accountDao,categoryDao,webSiteDao,siteVisitDao,reminderDao,commentDao,bookmarkDao]; root of BeanFactory hierarchy}
    2009-04-30 09:29:21,388  INFO GenericWebApplicationContext:601: - Closing application context [org.springframework.web.context.support.GenericWebApplicationContext;hashCode=15954072]
    2009-04-30 09:29:21,389  INFO DefaultListableBeanFactory:273: - Destroying singletons in {org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [modelView,addCommentFormView,discoveryFormView,mostVisitedView,bookmarkListView,contactFormView,actionResultView,accountView,reminderFormView,reminderDateFormView,searchList2View,helpView,homeView,taggedListView,searchFormView,reminderListView,webSiteEntryFormView,reminderForm2View,categorizedList2View,invitationFormView,myHomeView,taggedList2View,contactListView,aboutView,bookmarkFormView,bookmarkForm2View,newEntries2View,categorizedListView,signinFormView,accountActionResultView,userFormView,siteActionResultView,searchListView,mostVisited2View,newEntriesView,errorHttp404View]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [messageSource,viewResolver,localeResolver,untapedUrlMapping,urlMapping,localeChangeInterceptor,errorsController,myBookmarksController,bookmarkController,reminderController,accountController,userControllerMethodResolver,userFormController,searchFormController,directoryController,directoryControllerMethodResolver,secureHandlerMapping,signonInterceptor,addBookmarkFromListFormController,addBookmarkFormController,bookmarkValidator,editWebSiteEntryFormController,addCommentFormController,reminderFormController,genericReminderFormController,alterReminderDateFormController,contactFormController,invitationFormController,propertyConfigurer,mailSender]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [propertyConfigurer,mailSender,userValidator,bookmarkService,dataSource,sessionFactory,transactionManager,accountDao,categoryDao,webSiteDao,siteVisitDao,reminderDao,commentDao,bookmarkDao]; root of BeanFactory hierarchy}
    2009-04-30 09:29:21,391  INFO GenericWebApplicationContext:601: - Closing application context [org.springframework.web.context.support.GenericWebApplicationContext;hashCode=29369879]
    2009-04-30 09:29:21,392  INFO DefaultListableBeanFactory:273: - Destroying singletons in {org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [modelView,addCommentFormView,discoveryFormView,mostVisitedView,bookmarkListView,contactFormView,accountView,actionResultView,reminderFormView,reminderDateFormView,searchList2View,helpView,homeView,configView,taggedListView,searchFormView,reminderListView,webSiteEntryFormView,reminderForm2View,categorizedList2View,invitationFormView,taggedList2View,myHomeView,contactListView,aboutView,bookmarkFormView,bookmarkForm2View,newEntries2View,categorizedListView,signinFormView,accountActionResultView,userFormView,siteActionResultView,searchListView,mostVisited2View,newEntriesView,errorHttp404View]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [messageSource,viewResolver,localeResolver,untapedUrlMapping,urlMapping,localeChangeInterceptor,errorsController,myBookmarksController,bookmarkController,reminderController,accountController,userControllerMethodResolver,userFormController,searchFormController,directoryController,directoryControllerMethodResolver,secureHandlerMapping,signonInterceptor,addBookmarkFromListFormController,addBookmarkFormController,bookmarkValidator,editWebSiteEntryFormController,addCommentFormController,reminderFormController,genericReminderFormController,alterReminderDateFormController,contactFormController,invitationFormController,propertyConfigurer,mailSender]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [propertyConfigurer,mailSender,userValidator,bookmarkService,dataSource,sessionFactory,transactionManager,accountDao,categoryDao,webSiteDao,siteVisitDao,reminderDao,commentDao,bookmarkDao]; root of BeanFactory hierarchy}
    2009-04-30 09:29:21,394  INFO XmlWebApplicationContext:601: - Closing application context [Root WebApplicationContext]
    2009-04-30 09:29:21,395  INFO DefaultListableBeanFactory:273: - Destroying singletons in {org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [propertyConfigurer,mailSender,userValidator,bookmarkService,dataSource,sessionFactory,transactionManager,accountDao,categoryDao,webSiteDao,siteVisitDao,reminderDao,commentDao,bookmarkDao]; root of BeanFactory hierarchy}
    2009-04-30 09:29:21,396  INFO LocalSessionFactoryBean:184: - Closing Hibernate SessionFactory
    2009-04-30 09:29:21,397  INFO SessionFactoryImpl:767: - closing
    2009-04-30 09:29:21,408  WARN JDBCExceptionReporter:71: - SQL Error: 0, SQLState: null
    2009-04-30 09:29:21,410 ERROR JDBCExceptionReporter:72: - Cannot create JDBC driver of class 'org.postgresql.Driver' for connect URL 'jdbc:postgresql://localhost:5432/homepage'
    2009-04-30 09:29:21,411  WARN JDBCExceptionReporter:71: - SQL Error: 0, SQLState: null
    2009-04-30 09:29:21,414 ERROR JDBCExceptionReporter:72: - Cannot create JDBC driver of class 'org.postgresql.Driver' for connect URL 'jdbc:postgresql://localhost:5432/homepage'
    ...Your analysis seems very reasonable. As the above log messages, this application is built on Hibernate and Spring. All back end is taken care by Hibernate. I don't have a direct control on it. I should ask the Hibernate crowd about this issue. The Hibernate forum is still down at this moment.
    Edited by: vwuvancouver on Apr 30, 2009 1:12 PM

  • How to create a control and add it to a page layput

    I am reading the following link :-
    http://www.itidea.nl/index.php/what-about-you-must-fill-out-all-required-properties-before-completing-this-action-when-publishing-a-page/
    which says that i need to create a control and add it to a page layout. but can anyone help me in understanding how i can create a user control and add them to page layout ?
    Thanks

    > First problem  i could not find a User Control (Farm Solution only) under the Office/SharePoint section
    if you mean New item in Visual Studio, then check it under general Web category. User controls are basic ASP.Net functionalities, not Sharepoint-specific. If it is not there, you may use the following trick:
    1. Create new project in other VS instance using "ASP.Net Empty Web Application" template
    2. Add new user control there (in this project type it should exist for sure under Web category. Called "Web User Control")
    3. Copy all user control's files to the folder of your Sharepoint project (ascx, ascx.cs, ascx.designer.cs)
    4. In VS instance with Sharepoint project add existing items: all copied user control files. They should be grouped under ascx file automatically after that
    > The type or namespace name 'TaxonomyFieldControl' could not be found (are you missing a using directive or an assembly reference?)"
    you need to add reference to Microsoft.SharePoint.Taxonomy.dll assembly, which is located in the GAC (assume that you have installed Sharepoint on your dev env)
    Blog - http://sadomovalex.blogspot.com
    Dynamic CAML queries via C# - http://camlex.codeplex.com
    thanks a lot for your help. so can i do the following steps:-
    I follow these steps to deploy a user control.
    using Visual Studio 2012 , i added a new Farm solution.
    then inside the farm solution i added a new User Control(Farm Solution Only).
      3.   inside the user control i entered the following code:-
    using Microsoft.SharePoint;
    using Microsoft.SharePoint.Taxonomy;
    using Microsoft.SharePoint.WebControls;
    using System;
    using System.Web.UI;
    using System.Web.UI.WebControls;
    using System.Web.UI.WebControls.WebParts;
    namespace WikiPopUp.ControlTemplates.WikiPopUp
    [ToolboxData("<{0}:CustomValidationRequiredFieldsOnPage runat=server></{0}:CustomValidationRequiredFieldsOnPage>")]
    public class CustomValidationRequiredFieldsOnPage : WebControl
    protected override void CreateChildControls()
    base.CreateChildControls();
    if (SPContext.Current.FormContext.FormMode == SPControlMode.Edit)
    bool arethere = AreThereAnyMissingRequiredFieldsOnPage();
    if (arethere)
    //SPPageStateControl:
    //Provides an ASP.NET control that handles the Ribbon buttons controlling the state of a Microsoft SharePoint Server wiki or publishing page,
    //such as the CheckInCheckOutButton or the PublishingButton.
    SPPageStateControl baseParentStateControl = Page.Items[typeof(SPPageStateControl)] as SPPageStateControl;
    //Publish button: SPListItem MissingRequiredFields checks this.FieldHasValue(link.Name, field);
    //the field is empty (which is right) when the page is first created (MMD field is never filled in)
    //when the field was once filled, saved and emptied the field in sp code still has the previous value and the check MissingRequiredFields succeeds
    //after succeeding this check the page is validated (this.Page.Validate()) and this one fails which results SP validating the page as the Save button does
    if (baseParentStateControl.HasError)
    //this overwrites the previous PageErrorState
    //and validates the page
    //no popup anymore and status updates in yellow area
    baseParentStateControl.EnsureItemSavedIfEditMode(false);
    else
    //there are missing fields at this listitem, but they're not on the page
    //do nothing here, because the SerializedErrorState contains the navigate url to the Edit Properties page
    //and a message pops up
    /// <summary>
    /// Check if required fields are missing which are present at the page
    /// </summary>
    /// <returns></returns>
    private static bool AreThereAnyMissingRequiredFieldsOnPage()
    foreach (Control control in SPContext.Current.FormContext.FieldControlCollection)
    //get the control type
    string type = control.GetType().Name;
    FieldTypes controlType = (FieldTypes)Enum.Parse(typeof(FieldTypes), type);
    switch (controlType)
    case FieldTypes.TaxonomyFieldControl:
    TaxonomyFieldControl tfc = control as TaxonomyFieldControl;
    if (!tfc.IsValid)
    return true;
    break;
    default:
    break;
    return false;
    enum FieldTypes
    DateTimeField, FieldValue, TextField, RichImageField, NoteField, RichHtmlField, PublishingScheduleFieldControl, TaxonomyFieldControl, BooleanField, ComputedField
      4. i add a reference for the Sharepoint.taxnomy
      5. then i deploy the solution to my site collection. and now i can see the new solution inside the farm solution under central administration.
    but not sure if these are all the required steps to register the user control or still i need to do extra steps ?

  • I have installed Adobe Lightroom CC.  In the process of launching, a popup appears, that says:  "AN INTERNAL ERROR HAS OCCURRED.  Cannot create the required folder:  /Users/(my user name)/Library/Application Support/Adobe/Lightroom/Develop Presets."  So e

    I have installed Adobe Lightroom CC.  In the process of launching, a popup appears, that says:  "AN INTERNAL ERROR HAS OCCURRED.  Cannot create the required folder:  /Users/(my user name)/Library/Application Support/Adobe/Lightroom/Develop Presets."  So even though Lightroom CC is installed, it will not launch.  What do I need to do to allow it to launch?

    The problem was solved today.  Here's the full story.  I'm a Mac user.  At first I installed Lightroom CC on my iMac (desktop).  I had this problem so I called Adobe, and was referred to a "special unit" .  After about an hour the tech solved it for me ... we did a screen sharing and she took control of my computer for a loooong time.  Because of language difficulties, at first I wondered if she knew what she was doing but she eventually solved it.  Although she couldn't explain exactly what she was doing, she summarized it by saying "it was a permissions problem."  I asked if I would have the same issue later when I installed it on my laptop (Macbook Air).  She said probably not.
    But I did.  The same internal error popup arose on launch and launch did not complete on my laptop.  I tried chat but no joy so I eventually called Apple Care.  I had noticed that on my laptop (and the iMac for that matter), that there was no Library folder after my user name.  The Apple tech explained that the Library folder is actually there but it is hidden because it's very easy for users to do some very nasty things to their computer by going astray while in the Library folder.  The folder is actually there, but they hide it.  I did remember seeing that the tech helping me with my iMac had typed the work "Library" while she was controlling my computer.  Basically she had activated the hidden Library folder so she could open the path that Lightroom was trying to follow to create that "Develop Presets" folder.  For some reason, the inability to create that folder in the launch process was preventing launch from being completed.  The Apple tech said she didn't actually have to do that and activated the Library folder by use of the Go selection on the menu bar.  Anyway, once that complete path was replicated and opened, the next step was to go to the Lightroom Permissions field and add my user name to the user categories already there and enable "read and write" permissions to my user name.  Once done, I shut down my laptop, and then rebooted.  I launched Lightroom and then boom, voila, heavens to betsy, etc. it launched and suddenly a dismal weekend turned into a great one. 
    I am not a geek, so I hope this makes some sense.  I also hope Lightroom launches again tomorrow and beyond! 

  • Issues installing ruby 1.9.3 - error: C compiler cannot create executables

    I am trying to install ruby 1.9.3 on my Macbook pro but I've run into a wall.
    Here are the essentials;
    OS: OS X 10.7.3
    Xcode: 4.3
    When I run the rvm command I get the following...
    "rvm install 1.9.3"
    Fetching yaml-0.1.4.tar.gz to /Users/vindigo/.ram/archives
    Extracting yaml-0.1.4.tar.gz to /Users/vindigo/.rvm/src
    Configuring yaml in /Users/vindigo/.rvm/src/yaml-0.1.4.
    Error running ' ./configure --prefix="/Users/vindigo/.rvm/usr"  ', please read /Users/vindigo/.rvm/log/ruby-1.9.3-p125/yaml/configure.log
    Compiling yaml in /Users/vindigo/.rvm/src/yaml-0.1.4.
    Error running 'make ', please read /Users/vindigo/.rvm/log/ruby-1.9.3-p125/yaml/make.log
    Database file /Users/vindigo/.rvm/config/packages does not exist.
    Installing Ruby from source to: /Users/vindigo/.rvm/rubies/ruby-1.9.3-p125, this may take a while depending on your cpu(s)...
    ruby-1.9.3-p125 - #fetching
    ruby-1.9.3-p125 - #extracted to /Users/vindigo/.rvm/src/ruby-1.9.3-p125 (already extracted)
    ruby-1.9.3-p125 - #configuring
    Error running ' ./configure --prefix=/Users/vindigo/.rvm/rubies/ruby-1.9.3-p125 --enable-shared --disable-install-doc --with-libyaml --with-opt-dir=/Users/vindigo/.rvm/usr ', please read /Users/vindigo/.rvm/log/ruby-1.9.3-p125/configure.log
    There has been an error while running configure. Halting the installation.
    CONFIGURE.LOG
    [2012-02-26 14:56:49]  ./configure --prefix="/Users/vindigo/.rvm/usr" 
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... config/install-sh -c -d
    checking for gawk... no
    checking for mawk... no
    checking for nawk... no
    checking for awk... awk
    checking whether make sets $(MAKE)... yes
    checking for gcc... gcc
    checking whether the C compiler works... no
    configure: error: in `/Users/vindigo/.rvm/src/yaml-0.1.4':
    configure: error: C compiler cannot create executables
    See `config.log' for more details
    MAKE.LOG
    make: *** No targets specified and no makefile found.  Stop.
    Another suggestion I received was to use the following command...
    "rvm install 1.9.3 --with-gcc=clang"
    but I get the same results.
    At this point I've exhausted my options and I am not sure what to try next, other than starting from scratch and reloading the entire OS.
    Any help would be greatly appreaciated.
    Thanks,
    Rich

    Phew!  That was harrowing.
    Found this, and it solved the problem.  Refreshingly, it was written in English and done well at that! 
    http://pragmaticstudio.com/blog/2010/9/23/install-rails-ruby-mac
    Follow all the instructions.  The main missing ingredient for me was downloading the developer tools for the command line from Apple.  I had to register there, but it was free. These tools seemed to install the compiler where it was needed.  You might need a github something or other, I don't know.  I think I downloaded it as some point.  Anyway, I did everything this author told me, and now I have my first rails app!  Good luck - Joel

  • Solaris 9 - INIT: Cannot create /var/adm/utmpx (System Hangs)

    Hello,
    I am unable to boot into solaris 9 after I did a init 0. I did init 0 because shutdown -y -g0 -i0 did not work.
    This is the error message I get
    Hardware watchdog enabled
    INIT: Cannot create /var/adm/utmpx
    INIT: failed write of utmpx entry:" "
    INIT: failed write of utmpx entry:" "
    INIT: SINGLE USER MODE
    Type control-d to proceed with normal startup,
    (or give root password for system maintenance):
    After it asks for the password it HANGS.
    I entered the password, but NOTHING HAPPENS.
    I can go into sc console though.
    I also rebooted using Solaris 9 cdrom in single user mode. Checked the filesystem using fsck, and no faults were found. I also tried creating a new /var/adm/utmpx file but that did not work too.
    Any help would be appreciated,
    Thank you,
    Jacob.

    Hello,
    Check for /var filesystem usage,if it is not mouted as seperate filesystem then check for "/" FS usage.
    There may be chances you get to have this problem if your FS is full.
    If everything normal then follow the below steps, which solved similar kind of issues in the past for me.
    Logon to the system and when you get prompt just run fsck on your root filesystem.
    Check /etc/vfstab file to ensure that you are running fsck on correct fs name.
    After completing fsck just say "reboot". The machine will boot normally.
    In b/w is this machine disks are mirrored?? if so then you may need to choose the disks carefully before you run fsck.
    thanks.

  • Cannot create directory Bonjour

    Tried to install itues and get the same error "cannot create directory program files/Bonjour. A file with this name already exists...etc.
    I searched for such a file, deleted it , but still get the same errorr. I unistalled itunes, tried to reinstall an older version...same error...
    Any thoughts?

    Hello. Have you attempted to just install Bonjour by itself?
    http://support.apple.com/downloads/Bonjourfor_Windows_1_05
    Also if you need to go to Control panel and uninstall Bonjour, Reboot, then come back and install latest Bonjour at link above. Followed by iTunes if it installs.

Maybe you are looking for

  • Mini-DVI to Video Adapter inconsistent

    I have a PB 12" 1.33 with a mini-DVI port on it. I've developed a Keynote presentation that I'd like to put up on a television. I've purchased Apple's mini-DVI Video adapter (Part Number: M9319G/A) and am running an S-Video cable from the adapter to

  • Configuring SSO Between Portal & Any Third Party Website.....

    Hello All,         I have a requirement to configure the SSO between Porat & any Website, Does anybody have experience of it. pls provide if any Doc is there or way of doing that ?? thanks Smita

  • MBP 2012 - frozen screen with lines & beeps

    Hello all, A couple of days ago, my 2012 MBP froze and I simply restarted it with no problem. I double-checked with Onyx that said my volume needed repairs; I ran Command + Recovery's DIsk Utility but when I booted back up, Onyx still said that my vo

  • Extrapolation and Line of Best Fit

    Hello, I'm working on a project and I need to make a line of best fit for a scatter plot graph as well as make an extrapolation on the graph...any possibility someone could help me with these two questions? Thank you, Mike

  • How to backup pictures to mac

    i need help trasferring phtos to my mac.