Visual Studio 2005 crashes when referencing ALI 6.5 portal server API

Visual Studio 2005 crashes when referencing ALI 6.5 portal server API
We are building new portlets in .NET 2.0 to that access the ALI 6.5 server API and are experienceing the folowing scenario:
I create a brand new project in Visual Studio (2005 with SP1 on Win2k3 R2 SP2) using the ALI Portal Project template that is provided with the application accelerator 1.1. This portlet will need to perform portal server searches so I begin by adding references to the following assemblies from C:\bea\alui\ptportal\6.5\bin\assemblies:
openconfig.dll
opencounters.dll
opencache.dll
openhttp.dll
openssl.dll
opentempfile.dll
plumtreeserver.dll
ptportalobjects.dll
I then type in something like below to start up the portal server objects.
protected void Page_Load(object sender, EventArgs e)
IOKContext context = OKConfigFactory.createInstance("C:\\bea\\alui\\settings\\", "portal");
PortalObjectsFactory.Init(context);
this.Response.Write("Portal Objects Initiallized");
Some moments later Visual Studio will crash. It has happened before I have entered any code, after I have started typing code and on builds. It seems intermittent but usually occurs within a minute of interacting with this Visual Studio project. I actually managed to build once and have had success accessing this page in Explorer to validate the portal server objects are getting initialized and referenced correctly.
I thought this was a problem with my personal development environment. So I tried this on other machines: another Win2k3 ALI 6.5 dev portal server and another server with Visual Studio 2005 that I installed the 6.5 portal on just for testing this. The exact behavior listed above is occurring on three development machines here (crashing devenv.exe when portal references are made or loading a project with portal references). Since this does not seem to be isolated to a single development machine, is there any course of action that anyone would suggest to help solve this?
thanks,
Troy Rackley

It turns out that this is only a problem with Visual Studio using the ALI templates or creating any projects using the "New... Web site" functionality of 2005. I was a ble to create a C#... ASP.net Web Application project and add the references to the idk and the local portal server APIs manually without devenv.exe crashes.
So, the work around I have found if your projects needs to access both the portal server API and the remote API is to create the project with:
New... Project... Visual C#... ASP.NET Web Application
and NOT
New... Web Site... ASP.NET Web Site (or ALI Portlet Project)
Anyone know why this is the case?
Thanks.
Troy

Similar Messages

  • Visual Studio 2008 Crashes when I click on the [Main Report Preview] button

    I started with Crystal Reports Basic that is bundled with Visual Studio, and then downloaded and installed the free trial of Crystal Reports Developer 2008, and the Visual Studio Integration Manager, the issue has not been affected.
    After adding a crystal report to the project and using the wizard to set it up, and adding a Crystal Reports Viewer to a form I encountered these two (perhaps related) problems.
    1)      When I click on the [Main Report Preview] button at the bottom of the report editor for Visual Studio crashes without any error message and needs to be restarted.
    2)      When I set the viewer  Report Source property to the report via the drop down the following error occurs:
    a.       u201CUnable to find the report in the manifest resources.  Please build the project and try again.u201D
    b.      Building the project has no affect and the same error reoccurs repeatedly.

    The original version of CR 2008 did not work with .NET 2008. If your version is 12.0.0.549, you need to apply SP0:
    https://smpdl.sap-ag.de/~sapidp/012002523100007528552008E/cr2008_sp0.zip
    then I'd highly recommend SP 3:
    https://smpdl.sap-ag.de/~sapidp/012002523100007123572010E/cr2008_sp3.exe
    If your version is higher than 12.0.0.549, apply SP3 and try again.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • Visual Studio 2013 crashes when check in

    Hello, 
    i'm using Visual Studio 2013 and TFS, on Windows 8.1(Windows 7 earlier)
    i'm having a problem that cost me to install a new Windows, without having any positive results  
    when i check in checked out files, Visual Studio crashes.
    only the check in which causing a problem
    help guys
    Karrar MCSD .NET Team Leader

    Hi Charles-Li,
    there are no specific settings for our team, and we are using TFVC, 
    i have installed Update 4 , but it still the same, and the machine performance is great,
    the problem shows up when TFS connect to the server to check in( i have tried to check in while my network connection was off, and Visual Studio didn't crash) ,and all other action are working properly 
    and this is the message from Event Viewer
    devenv.exe
    12.0.31101.0
    54548724
    clr.dll
    4.0.30319.34011
    52968a96
    c00000fd
    000129c7
    1bdc
    01d0299a2520e12d
    C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe
    C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll
    4feac8b8-9590-11e4-8252-20689dfe34e2
    thanks in advance :)
    Karrar MCSD .NET Team Leader

  • Visual Studio 2013 crash when I attempt to change the Design Language

    I have a localized Windows Forms application. When I attempt to change the Design Language from German to anything else Studio hangs. Where is this setting persisted so I can manually edit the setting outside of Studio? This is in VS 2013.
    AliciaV

    Hi AliciaV,
    Thank you for posting in the MSDN forum.
    When I attempt to change the Design Language from German to anything else Studio hangs.
    Could you share us a screen shot about the settings where you change the design language? Do you mean that you change it under the TOOLS->Options like the following screen shot?
    We often change the default language like the above screen shot.
    Reference:
    http://msdn.microsoft.com/en-us/library/ms246590.aspx
    http://msdn.microsoft.com/en-us/library/kycbhy5d.aspx
    If so, the real issue we need to check is that why the VS crash.
    To make sure that whether it is your Environment issue or the VS IDE issue:
    Please run your VS in safe mode, check it again.
    http://msdn.microsoft.com/en-us/library/ms241278.aspx
    Please run your VS as the admin.
    Please also close other processes or third party tools in your windows, and make sure that your task manager is free. Remove/disable all add-ins in your VS IDE.
    Please also install the VS2013 Update 2.
    In addition, you also need to make sure that you installed the specific language package:
    http://www.microsoft.com/en-us/download/details.aspx?id=40783
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Query Engine Error in Visual Studio 2005

    Post Author: Chris K
    CA Forum: Crystal Reports
    I created a report in Crystal 11 and have included it in a project created in Visual Studio 2005.  When I try to run the report in VS I get the message: "Query Engine Error: 'Error Code: 0x' Failed to open a rowset.  Error in File"  I can run the report in Crystal without any errors.  The report has subreports and parametes.  I am using a stored procedure in SQL 2005.  I have included may other reports in this project and not had any problems.  Any suggestions?

    Post Author: gandasi
    CA Forum: Crystal Reports
    I had an issue that sounds very similar - report worked beautifully in Crystal, but "failed to return rowset" when run from my application (which is not VS2005, but in my case that didn't matter).
    Turns out that I had not given execute rights to the stored procedure to the public group in SQL server. I guess when running the report in Crystal it was using my Windows Authentication to logon or something which was why that was running OK.
    I explicitly set the permissions on the stored proc to grant public execute, and the report would run from my app.
    Hope this helps
    Cheers

  • Getting "Couldnot find Installable ISAM" error in script task in SSIS 2005 when trying to open (.xlsx files) Excel 2007-2010 files using VB script in Visual Studio 2005

    Hi Experts,
    I am trying to open .xlsx file in script task of SSIS 2005. I am using the 32-bit AccessDatabaseEngine driver with the Connection string as "Provider= Microsoft.ACE.OLEDB.12.0; Data Source=xlsx file path; Extended Properties="Excel 12.0 Xml;
    HDR=YES"" in script task.
    When we debug the VB script in Visual Studio 2005 and encounters the statement app.open() it throws the error "Couldn't find installable ISAM".
    My SQL server version is 2005 SP2 DE
    OS is Windows server 2003 EE SP2
    Could anyone please let me know what is the resolution for this error?
    Thanks and Regards,
    Adesh

    Hi Adesh,
    First, make sure the package runs in 32-bit runtime mode (set Run64BitRuntime property to False) because you are using the 32-bit ACE OLE DB Provider. If it is not the case, the issue may occur due to the corrupted drivers or registry keys. You can try to
    reinstall the 2007 Office System Driver: Data Connectivity Components as Arthur suggested.
    Regards,
    Mike Yin
    TechNet Community Support

  • No images when deploying Crystal Reports for Visual Studio 2005

    Post Author: wcl
    CA Forum: Publishing
    Developed a ASP.Net web site that uses Crystal Reports for Visual Studio 2005, everything works fine locally.
    Following instructions from  http://support.businessobjects.com/downloads/merge_modules.asp#07 a deployment package has been created using CrystalDecisionsRedist2005_x86 merge module and the website has been installed.
    When it is deployed to a remote development server the report images are not displayed.  The report navigation works, it is the images that are not found when the report is displayed.
    Should the vs2005 key be entered some where on the remote server?

    Post Author: wcl
    CA Forum: Publishing
    Thnakyou very much for your quick reply.
    The directory has not been created by the merge module,  which folder should it be created in and what contetants should it have?
    <-edit>
    an example of an image it can not find is "/aspnet_client/System_Web/2_0_50727/CrystalReportWebFormViewer3/images/toolbar/upd.gif",  so does the folder '/aspnet_client/System_Web/2_0_50727/CrystalReportWebFormViewer3' need setting up?
    </edit>

  • Missing controls when in resource manager of visual studio 2005

    I'm trying to port an application to Visual Studio 2005.  It uses GPIB and Serial controls. When I double-click on the
    dialog to bring it up to look at the controls, an error is displayed saying that the controls could not be instantiated, reinstall or register the
    controls and try again.  I have installed and have Measurement Studio in my Visual Studio 2005.  I know this is probably vague,
    but ANY help would be greatly appreciated!

    Hi KBr,
    I assume you were using the CWGPIB and CWSerial ActiveX controls right? What
    version of Visual Studio were you previously using (VS 6.0, .NET 2003)? Also
    what language were you programming in (C++, VB, etc) and what language are you
    in now (C++, VB.NET, C#)?
    Also what version of Measurement Studio did you purchase (Standard,
    Professional or Enterprise)? The reason I ask is that those CWGPIB and CWSerial
    ActiveX controls are legacy components and you will need the Measurement Studio
    for Visual Studio 6.0 support to have these components. This CD only comes with
    the Professional and Enterprise versions of Measurement Studio.
    My guess is that you only have the Standard Edition which doesn't come with the
    VS 6 support.
    If you are programming in .NET (C#, VB.NET), I highly
    recommend that you use the native .NET VISA and GPIB class libraries with
    Visual Basic .NET rather than the ActiveX controls. The .NET class libraries
    are more full featured, exhibit better performance, and should be much more
    natural to use in VB.NET or C# than the ActiveX controls.
    Hope this helps!
    Best Regards,
    Jonathan N.
    National Instruments

  • Web Service Export Parameters missing when consumed by Visual Studio 2005

    Hi,
    I am using Visual Studio 2005 (2.0 framework) to consume bespoke SAP Web Services (SAP 4.7) however some of the export parameters are missing. I have tested the SAP web services with various XML tools and they all work perfectly.
    Is there anything I can do to enable Visual Studio to genarate the correct proxy?
    Many thanks for any tips.
    Billy

    This isn't going to work as well as I had thought.
    That is correct that the Name and Value fields come back as XmlNode arrays. Each XmlNode array contains two XmlNode objects (or one if you received a null value from the db). One object contains the atrributes and one contains the value. I had planned on going into the ColumnValueType Value field and pulling the text of the 2nd XmlNode object.
    Now here is the problem:
    For every column you select you get a ColumnValueType object. Rather than being contained in some type of "Row" parent object, each column sits in the root of your results. For example, in the query I am using I am asking for the AlertingName and DnOrPattern columns of the NumPlan table. My results come back like this (simplified):
    AlertingName
    John Doe
    DnOrPattern
    1234
    With the data in this format, I can't just do a foreach loop and iterate over the ColumnValueType objects.

  • Please install Visual Studio 2005 before install Acrobat 9 Plugin Wizard

    Hi,
    I have Visual C++ 2005 Express Edition installed on my computer. I keep get error message said "Please install Visual Studio 2005 before install Acrobat 9 Plugin Wizard" when I installed Visual Studio App Wizard  Acro9PIWizInstaller.msi.
    Any idea?
    Thanks,
    Thai

    Lol
    Do you take me as a joker ?
    *Of course I have contacted the micorsoft support first !*
    *They ask me to try to install the .net framework 3.5, to see if the setup wasn't define as XP compatible.*
    *Then they don't have answer yet and asked me to contact Toshiba support (funny no ?)*
    Also If you look at the microsoft support forum the only installation pbm with Visual Studio with Vista is toshiba laptop satelitte related
    Ok now, as it's my job, here is what I think :
    Maybe the laptop was first setup with XP and maybe Tshiba reseler did install Vista on it as a migration !
    First case
    So to be absolutly sure it wasn't the case I did a format of my HDD and reinstalled vista from the Toshiba Crash and recovery CD
    Second case
    The problem remain, so it is possible that this Recovery CD and/or any other Toshiba product create this problem !!!!
    Note that the C# or J# express just work fine, it's only the Visual Studio 2008 tem suite and pro

  • Visual Studio 2013 problem setting localhost alias in IIS Express

    I'm trying to define an alias to localhost in development ambient in Visual Studio 2013.
    When I used previous versions of Visual Studio, I used the Visual Studio Development Server to debug and the only thing I needed to do was to change my hosts file adding this entry:
    127.0.0.1 localhost
    127.0.0.1 localhostalias
    I'm having problems to do this with VS2013. I've browsed all over the internet and I've tried the following things, but I'd like someone of you to tell me what am I doing wrong. I've obviously already changed the hosts file...
    In the web project Properties -> Web in the section Servers where IIS Express is selected as default, I tried changing http://localhost:53944 to http://localhostalias:53944 but an error is showed saying: "Unable to create the virtual directory. Cannot
    create the Web site 'http://localhostalias:53944'. You must specify "localhost" for the server name".
    I also tried changing the applicationhost.config which is located in <<Documents>>\IISExpress\config to 
    <site name="<<Site name>>" id="2">
    <application path="/" applicationPool="Clr4IntegratedAppPool">
    <virtualDirectory path="/" physicalPath="<<Site Path>>" />
    </application>
    <bindings>
    <binding protocol="http" bindingInformation="*:53944:*" />
    </bindings>
    </site>
    And when I opened the project it was changed to
    <site name="<<Site name>>" id="2">
    <application path="/" applicationPool="Clr4IntegratedAppPool">
    <virtualDirectory path="/" physicalPath="<<Site Path>>" />
    </application>
    <bindings>
    <binding protocol="http" bindingInformation="*:53944:*" />
    </bindings>
    </site>
    <site name="<<Site name>>(1)" id="3">
    <application path="/" applicationPool="Clr4IntegratedAppPool">
    <virtualDirectory path="/" physicalPath="<<Site Path>>" />
    </application>
    <bindings>
    <binding protocol="http" bindingInformation="*:53944:localhost" />
    </bindings>
    </site>
    Can someone help me?
    Thanks in advance,
    Camilo

    Hello Camilo,
    This forum supports  "setup and deployment of .NET Framework.", if there is something about the installation of .NET Framework, you can post it here. I read your post and I think you should post it under
    IIS forum instead.
    Regards,
    Barry Wang
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Visual Studio 2005, embedded Crystal Report problem

    I am very new at .NET, and this is my first post to this forum.
    I've created a Crystal Report within a project using Visual Studio 2005 Professional Edition, on a Windows XP machine.  I set the report as the ReportSource for a CrystalReportViewer on the main form.  I can see data in the report in design view when I right-click on any of the fields and click "Browse Field Data".  But when I preview the report, or run it in the application, all I see are the column headings and report title.  I am hoping I am leaving out something obvious.  I've researched this for two days without success. 
    The report's detail section is NOT suppressed, btw.
    FYI (although I think it might not be relevant, because I don't see the data when I preview it in Visual Studio either) the report is displayed in the application when a button is clicked, as follows:
        Private Sub cmdRunLog_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdRunLog.Click
                CrystalReportViewer1.DisplayToolbar = True
                cmdRunLog.Text = "Hide Run Log"
                cmdUpload.Enabled = False
                cmdReports.Enabled = False
                cmdManualRun.Enabled = False
                CrystalReportViewer1.Visible = True
                CrystalReportViewer1.Height = 600
                CrystalReportViewer1.Width = 1000
                CrystalReportViewer1.Left = 10
                Dim strReportSQL As String = "Select * From dbo.PositivePayRunLog"
                Dim DA As New SqlDataAdapter(strReportSQL, conPP)
                Dim DS As New DataSet
                'Variable to assign the report name
                Dim strReportPath As String
                DA.Fill(DS)
                strReportPath = "c:\Positive Pay\PositivePayRunLog.rpt"
                If Not IO.File.Exists(strReportPath) Then
                    _ErrorText = "Unable to locate report file:  " & strReportPath
                    ' Throw (New Exception("Unable to locate report file:" & vbCrLf & strReportPath))
                    GoTo cmdRunLog_Click_Error
                End If
                Dim rptDocument As New CrystalDecisions.CrystalReports.Engine.ReportDocument
                rptDocument.Load(strReportPath)
                rptDocument.SetDataSource(DS.Tables(0))
                rptDocument.Refresh()
                CrystalReportViewer1.ShowRefreshButton = False
                CrystalReportViewer1.ShowCloseButton = False
                CrystalReportViewer1.ShowGroupTreeButton = False
                CrystalReportViewer1.ReportSource = rptDocument
    end sub
    I'm hoping that this is a common problem with an easy answer
    Thanks,
    John Sandin

    >
    Jason Everly wrote:
    > Did you design the report using OLEDB or ODBC instead of against the schema of the dataset you are passing?  It could be seeing data from the database when browsing.
    >
    > Technically you should design the reports against the schema of the dataset you are going to be passing, not against ODBC or OLEDB.
    >
    > You can usually get away with passing datasets to a report created against OLEDB, but if issues occur then you need to redesign them against the ds schema.
    >
    > Jason
    I have done both, but I was currently using OLEDB.
    I redesigned the report to use a dataset containing the correct data.  Now,  when I browse the fields, I see nothing.  When I preview the report, I see what appears to be dummy data (a list of colors, etc).
    But the GOOD news is:  When I run the report in the application, I see the correct data!
    Thanks!  I think I'm good to go now.  I will also apply the other suggestions, and try to simplify things.

  • Crystal Report Dll problem with Visual Studio 2005

    I am using Crystal Reports with Visual Studio 2005. At one time there were two different version of Crystal Decision Dll in Global Assembly Cache (GAC). So I uninstalled both the versions and then only installed 10.2.3600.
    I am facing the following error when building my application in visual studio.
    The type 'CrystalDecisions.CrystalReports.Engine.ReportDocument' exists in both 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\arms website\301a5b02\e03ad7d9\assembly\dl3\c30f5560\00f92427_3857ca01\CrystalDecisions.CrystalReports.Engine.DLL'
    and
    'c:\WINDOWS\assembly\GAC_MSIL\CrystalDecisions.CrystalReports.Engine\10.2.3600.0__692fbea5521e1304\CrystalDecisions.CrystalReports.Engine.dll'
    I have only installed it in .Net Framework. For some reason it appears in the temp folder. I cannot delete it and when I renamed it after the next compile it came back again.
    I would appreciate any help.

    Thanks for the tip.
    I installed CR XI R2 with SP2 and 2.1
    There are few reports in the system they use to run fine but now when I try to run them I get the following error:
    Failed to open the connection. Details: [Database Vendor Code: 4060 ] Failed to open the connection. C:\DOCUME1\SSheikh\LOCALS1\Temp\ZGA370 {71BFCD35-F652-48C8-896D-B93229A4D2C2}.rpt Details: [Database Vendor Code: 4060 ]
    I understand that these reports run ok independently and on production machine as well; however when I try to run them from my development machine I get the above error.
    I would appreciate help to resolve this. The code of the report is with report developer and I need to know what settings do I need to change where to be able to run the reports. Also I use my machine for deployment of application on the production server.
    Thanks.

  • Crystal report for visual studio 2005 dblogin problem

    Dear Sir,
    I am using Visual Studio 2005 and crystal reports for visual studio 2005 and sql server 2000.
    When I am running the project from my pc where it was developed and a local server with server authentication, report is opening but from client machine there is a new screen come before opening the report asking for login issue. my reports has subreports
    also.
    I am using dsn file to connect with server from crystal reports where dsn file contains as follows:
    [ODBC]
    DRIVER=SQL Server
    UID=sa
    PWD=sa
    DATABASE=HRISDB
    WSID=S-AGD-PAY01\HRSERVER
    APP=Microsoft Data Access Components
    SERVER=S-AGD-PAY01\HRSERVER
    so it is dynamic bcoz i need change server name sometimes.  my question is when same report want show user from their pc then below screen appears:
    database login
    server Name: C:\program files\HRIS\HRISDB.dsn
    Databse: HRISDB
    user id:
    PassworD:
    Integrated Security: it is checked and a finish button.
    (i am sorry bcoz screenshort is not attaching so I write above what in the diagloag box for you)
    then i need to uncheck the use integrated security and click finish then the reports come. THis is very annoying for my clients.
    Please help me how can I overcome it.
    It is mentionable that I didn't use any dblogin method in my code to like setdbloginforReport(). I think there is no problem bcoz the report show correctly. Just want to know how to overcome this screen.

    You know, this forum is for controls, apis, components for the user interface Windows Forms.
    Unlucky enough, Microsoft does not support Crystal reports anymore for many years.
    Try the Crystal reports forum for .Net
    http://scn.sap.com/community/crystal-reports-for-visual-studio 
    Success
    Cor

  • MS Visual Studio 2005 + Oracle 10g = Cannot connect to ODBC error: 12154

    Hi there!
    I've read so many threads of same kind of problems but always some key elements seems to be missing so I cannot solve my problem with the solutions in those threads. So, I'll do my own.
    Our environment is...
    We have Oracle 8 database with all the data that we have. Now we have our new server, SQL Server 2005 installed and I am trying to transfer data from Oracle to SQL using MS Visual Studio 2005 using available ODBC drivers. System is Windows 2003 64Bit on intel based hardware.
    Current installations and settings
    I have installed Oracle 10g 32bit and 64bit to separate foldes. Then I made tnsnames and sqlnet files with right settings to specified folders and tested connection with tnsping <servername> command.
    Both, 64bit and 32bit connections are working. (Used 32bit CMD for 32bit connection test)
    ODBC
    I added Microsoft ODBC for Oracle as 32bit driver and Oracle 10g driver for 64bit environment as ODBC driver.
    Both environments uses same ODBC names: Myserver and Mytestserver
    Debug
    First, when I only had 64bit version of ODBC, I had a warning which said that I am using incompatible version of ODBC driver. Then I read from here that I can install 32bit client also and use drivers from that on 32bit ODBC environment and get rid of that message.
    Tried to connect Oracle DB with SQL-Plus and it works.
    Visual studio 2005 SP2
    I have tried to use .Net Providers/Oracle Client dataprovider and .Net Providers for OleDB/Microsoft Old DB for Oracle and also .Net Providers for OldDB/Oracle provider for OldDB
    Frist two gives me an error: ORA-12154 TNS: Could not resolve the connect identifier specified
    Last one says that OraOldDB.oracle.1 is not registered on local machine
    I have absolutily no idea what I can try next?
    Anyone who has more ideas? Suggest anything. I might have tried that already, but give a shot anyway. :)
    Message was edited by:
    user640570

    Hi,
    From where you got Oracle 10g driver for 64bit environment as ODBC driver. I am searching for the same.
    Are you got solution. I am facing same problem.
    Thanks,
    Vijay
    Edited by: user3976154 on Sep 6, 2008 5:12 PM

Maybe you are looking for