MIDL2311 error in Visual Studio 12

Hi all,
We brought a project with an ActiveX Control over from VS 2008 to VS 12 and encountered this error:
error MIDL2311: statements outside library block are illegal in mktyplib compatability mode : [ ]
the error is discussed here, but when we look at our Olectl.h file it looks correct, and anyway this error report is very old.
http://support.microsoft.com/kb/243219
Does anyone know what would cause this error with a brand new VS 12 installation these days?
Thanks in advance...

Hello Billappleton,
I would like to know what project your project is. VC++ project? VB project? C# project?
Best regards,
Amanda Zhu [MSFT]
MSDN Community Support | Feedback to us
Develop and promote your apps in Windows Store
Please remember to mark the replies as answers if they help and unmark them if they provide no help.

Similar Messages

  • Reader 9 error in Visual Studio App

    I am getting an error in Visual Studio when a pdf document opened in the IE WebBrowser.  The error is the common memory error: "Instruction at "0x00000x000" referenced memory... "
    The error only happens in with Windows XP (not Vista) with Reader 9.  It worked fine from Reader 6-8.  Since Reader 9, whenever I close the application with the X, not File/Exit mind you, I get the aforementioned application error.
    Has anyone come across this?  I am amazed that I cannot find much on this as it happens whenever you close IE with a PDF in any app.
    Any ideas of how to deal with this other than just migrating back to Reader 8?
    Thanks,
    Gage

    Yes, I have the exact same issue. I have submitted a bug to Adobe and downgrading to Reader 8 until this issue is fixed.
    Igor

  • Excel interop. error with Visual Studio 2012

    I am using a stand alone and not a server loaded with VS and office 10, I have done all the interop and importing name space and from my experience that should not be a problem.
    Just help, how is this finally resolved, have you done an article on it?
    Retrieving the COM class factory for component with CLSID {00024500-000-000-C00000000046}
    failed due to the following error:
    80004023 A Microsoft software installer error was encountered.(exception from HRESULT:0x80004023)
    Please help

    Hi,
    >>The reason this is the right forum is that we are talking about preserving COM and hooking up these libraries
    into the managed environment using Interoperation. 
    I will clarify the topic of this forum. This forum is discussion questions about visual studio extension such as the VSPackage, Add-in and so on. And according to your second reply
    "By the way am getting this error while sending data from VS 2012 to Excel"
    and your original post, that forum is the correct one. General Office Development forum is for office
    developer or related with office development. Your problem is related with excel, in other word, Microsoft office.
    And the
    General
    Office Development forum is for general Office Developer discussions and questions that are either non-application specific
    and/or are not specific to one of the product specific forums in this category. 
    I have consulted the engineer there to ensure it is a case there.
    Please feel free to let me know if I misunderstand you.
    Thank you for your understanding!
    Best regards,
    Sunny

  • Errors in visual studio webpage code (Trying to connect the website to a database)

    I am trying to create a website on (visual studio) and connect it to database(Microsoft sql server 2014) first I am learning from a video on youtube the tutorial is about a coffee website and database
    I have a few errors but I dont know where is the problem
    the errors in this page(Coffee.aspx.cs)
    Error    1    Make sure that the class defined in this code file matches the 'inherits' attribute, and that it extends the correct base class (e.g. Page or UserControl).    C:\Users\Ziyad 1\Documents\Visual Studio
    2013\WebSites\MyWebsite\Pages\Coffee.aspx.cs    7    33    MyWebsite
    Error    4    'ASP.pages_coffee_aspx.ProcessRequest(System.Web.HttpContext)': no suitable method found to override    c:\Users\Ziyad 1\AppData\Local\Temp\Temporary ASP.NET Files\root\e78a0b4c\be391a08\App_Web_k4b10ys2.0.cs  
     572    
    Error    3    'ASP.pages_coffee_aspx.GetTypeHashCode()': no suitable method found to override    c:\Users\Ziyad 1\AppData\Local\Temp\Temporary ASP.NET Files\root\e78a0b4c\be391a08\App_Web_k4b10ys2.0.cs  
     567    
    Error    5    'ASP.pages_coffee_aspx' does not implement interface member 'System.Web.IHttpHandler.IsReusable'    c:\Users\Ziyad 1\AppData\Local\Temp\Temporary ASP.NET Files\root\e78a0b4c\be391a08\App_Web_k4b10ys2.0.cs  
     185    
    and here is the page (Coffee.aspx.cs) code
    using System;
    using System.Collections;
    using System.Text;
    namespace Pages
    public partial class Pages_Coffee : System.Web.UI.Page
    protected void Page_Load(object sender, EventArgs e)
    FillPage();
    private void FillPage()
    ArrayList coffeeList = ConnectionClass.GetCoffeeByType(DropDownList1.SelectedValue);
    StringBuilder sb = new StringBuilder();
    foreach (Coffee coffee in coffeeList)
    sb.Append(
    string.Format(
    @"<table class='coffeeTable'>
    <tr>
    <th rowspan='6' width='150px'><img runat='server' src='{6}' /></th>
    <th width='50px'>Name: </td>
    <td>{0}</td>
    </tr>
    <tr>
    <th>Type: </th>
    <td>{1}</td>
    </tr>
    <tr>
    <th>Price: </th>
    <td>{2} $</td>
    </tr>
    <tr>
    <th>Roast: </th>
    <td>{3}</td>
    </tr>
    <tr>
    <th>Origin: </th>
    <td>{4}</td>
    </tr>
    <tr>
    <td colspan='2'>{5}</td>
    </tr>
    </table>", coffee.Name, coffee.Type, coffee.Price, coffee.Roast, coffee.Country, coffee.Review, coffee.Image));
    lblOuput.Text = sb.ToString();
    protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e)
    FillPage();
    also tis is the page (Coffee.aspx)code
    <%@ Page Title="" Language="C#" MasterPageFile="~/Masterpage.master" AutoEventWireup="true" CodeFile="Coffee.aspx.cs" Inherits="Coffee" %>
    <script runat="server">
    protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e)
    </script>
    <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <p>
    Select a type:<asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" DataSourceID="sds_type" DataTextField="type" DataValueField="type" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged">
    </asp:DropDownList>
    <asp:SqlDataSource ID="sds_type" runat="server" ConnectionString="<%$ ConnectionStrings:CoffeeDBConnectionString %>" SelectCommand="SELECT DISTINCT [type] FROM [coffee] ORDER BY [type]"></asp:SqlDataSource>
    </p>
    <p>
    <asp:Label ID="lblOutput" runat="server" Text="Label"></asp:Label>
    </p>
    </asp:Content>
    this is th (ConnectionClass.cs)code
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Web;
    using System.Collections;
    using System.Configuration;
    using System.Data.SqlClient;
    public static class ConnectionClass
    private static SqlConnection conn;
    private static SqlCommand command;
    static ConnectionClass()
    string connectionString =
    ConfigurationManager.ConnectionStrings["coffeeConnection"].ToString();
    conn = new SqlConnection(connectionString);
    command = new SqlCommand("", conn);
    public static ArrayList GetCoffeeByType(string coffeeType)
    ArrayList list = new ArrayList();
    string query = string.Format("SELECT * FROM coffee WHERE type LIKE '{0}'", coffeeType);
    try
    conn.Open();
    command.CommandText = query;
    SqlDataReader reader = command.ExecuteReader();
    while (reader.Read())
    int id = reader.GetInt32(0);
    string name = reader.GetString(1);
    string type = reader.GetString(2);
    double price = reader.GetDouble(3);
    string roast = reader.GetString(4);
    string country = reader.GetString(5);
    string image = reader.GetString(6);
    string review = reader.GetString(7);
    Coffee coffee = new Coffee(id, name, type, price, roast, country, image, review);
    list.Add(coffee);
    finally
    conn.Close();
    return list;
    (web.confg)code
    <?xml version="1.0"?>
    <configuration>
    <appSettings/>
    <connectionStrings>
    <clear/>
    <add name="coffeeConnection"
    connectionString="Data Source=LOCALHOST\SQLEXPRESS;Initial Catalog=CoffeeDB;Integrated Security=True"
    providerName="System.Data.SqlClient"/>
    </connectionStrings>
    <system.web>
    <compilation debug="true" targetFramework="4.0">
    <assemblies>
    <add assembly="System.Web.Extensions.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
    <add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
    <add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
    </assemblies>
    </compilation>
    <authentication mode="Windows"/>
    </system.web>
    </configuration>
    and finally this is the SQL code
    GO
    CREATE TABLE [dbo].[coffee](
    [id] [int] IDENTITY(1,1) NOT NULL,
    [name] [varchar](50) NOT NULL,
    [type] [varchar](50) NOT NULL,
    [price] [float] NOT NULL,
    [roast] [varchar](50) NOT NULL,
    [country] [varchar](50) NOT NULL,
    [image] [varchar](255) NULL,
    [review] [text] NOT NULL,
    PRIMARY KEY CLUSTERED
    [id] ASC
    )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
    ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
    GO
    SET ANSI_PADDING OFF
    GO
    SET IDENTITY_INSERT [dbo].[coffee] ON
    INSERT [dbo].[coffee] ([id], [name], [type], [price], [roast], [country], [image], [review]) VALUES (1, N'Café au Lait', N'Classic', 2.25, N'Medium', N'France', N'../Images/Coffee/Cafe-Au-Lait.jpg', N'A coffee beverage consisting strong or bold coffee (sometimes espresso) mixed with scalded milk in approximately a 1:1 ratio.')
    INSERT [dbo].[coffee] ([id], [name], [type], [price], [roast], [country], [image], [review]) VALUES (2, N'Caffè Americano', N'Espresso', 2.25, N'Medium', N'Italy', N'../Images/coffee/caffe_americano.jpg', N'Similar in strength and taste to American-style brewed coffee, there are subtle differences achieved by pulling a fresh shot of espresso for the beverage base.')
    INSERT [dbo].[coffee] ([id], [name], [type], [price], [roast], [country], [image], [review]) VALUES (3, N'Peppermint White Chocolate Mocha', N'Espresso', 3.25, N'Medium', N'Italy', N'../Images/coffee/white-chocolate-peppermint-mocha.jpg', N'Espresso with white chocolate and peppermint flavored syrups.
    Topped with sweetened whipped cream and dark chocolate curls.')
    INSERT [dbo].[coffee] ([id], [name], [type], [price], [roast], [country], [image], [review]) VALUES (4, N'Irish Coffee', N'Alcoholic', 2.25, N'Dark', N'Ireland', N'../Images/coffee/irish coffee.jpg', N'A cocktail consisting of hot coffee, Irish whiskey, and sugar, stirred, and topped with thick cream. The coffee is drunk through the cream.')
    SET IDENTITY_INSERT [dbo].[coffee] OFF
    I am still a beginner ~~ I need to understand what are these errors and how to solve them

    Hello,
    Welcome to MSDN forum.
    I am afraid that the issue is out of support range of VS General Question forum which mainly discusses
    the usage of Visual Studio IDE such as WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
    and Visual Studio Editor.
    Because your issue is about website, I suggest that you can consult your issue on ASP.NET forum:
    http://forums.asp.net/
     for better solution and support.
    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.

  • How do I fix this error in Visual Studio: The specified command ID does not exist

    The entire error message is:
    Error occurred in deployment step 'Retract Solution': The specified command ID 'Microsoft.VisualStudio.SharePoint.Commands.DoesSolutionWithIdExist' does not match any available SharePoint remote commands.
    Parameter name: commandId
    I'm developing an app for SharePoint Online using Visual Studio 2012. This error started after I created a developer site with "Spanish" as the language. Then I add "Spanish" to the "Supported Locale" in the appmanifest.xml
    and tried to debug on the Spanish developer site. 

    Hi,
    Based on the error message, it seems the specific command ID not exists in the “Microsoft.VisualStudio.SharePoint.Commands” namespace.
    For a better troubleshooting, I suggest you do as the followings:
    1. Add languages to Supported Locales in AppManifest.xml.
    2. Try to debug you app project to see if there are something wrong in your code.
    Here are some detailed articles for your reference:
    http://blogs.msdn.com/b/officeapps/archive/2012/10/12/locale-support-information-is-required-for-all-apps-in-the-sharepoint-store.aspx
    http://srichallagolla.blogspot.in/2013/03/sharepoint2013-debugging-provider.html
    Best Regards
    Jerry Guo
    TechNet Community Support

  • Error Opening Visual Studio 2013 Please Help?

    Hi, I just installed the program "Microsoft Visual Studio Ultimate 2013", I installed it using the on screen instructions successfully, it asked
    me to restart the computer, I did and was very excited to use the software but when i opened it said that "An error occurred while starting for the first time. Please restart Microsoft Visual Studio." , I restarted the program and still the same
    error occurs, I restarted the computer still did not work, I re installed the software like 10 times (no extradition), I tried to press the repair button still did not work after repair, I installed the update patch and still did not fix, I restarted my internet
    and still did not work, i called Microsoft support team and no response (too expensive to call again) and still nothing worked.
    I know that there is other versions available for this software such as professional but I am willing to purchase this product after it installs correctly
    as this has all the features I really need... Please help 
    My computer specifications: 
    Operating system; Windows 7 SP1 x64 Bit 
    RAM: 4GB 
    HDD: 70GB (Allocated Partition) 
    Processor: Intel Core I5 3.40 GHz 
    I tired to be detailed as i can please i really need help urgently ASAP. 
    Thanks 
    Full Error Log can be found here; 
    (Image)
    http://s23.postimg.org/vdt7hcw1n/fulldebugerror.png
    Milan

    Hi,
    And from the log message you offered, you get the following error message:
    Unable to cast COM object of type 'System._ComObject' to interface type 'Microsoft.VisualStudio.Shell.Interop.IVsProfileDataManager'
    The
    IVsProfileDataManager provides access to the profile manager and to programmatic control of settings. The error message turns out that you get a broken registration for IVsProfileDataManager.
    Do you get any error message during the Visual Studio installation? You can use the
    collect.exe tool to collect VS installation logs and upload the vslogs.cab file in the %temp% folder to the SkyDrive, then post back the link. 
    Thanks.
    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.

  • Error during visual studio 2013 intallation on windows 8.1

    After installing windows sdk 8.1, I've decided to install visual studio 2013,when it reached 70% of the installation process it stopped and told me that I have vGraphic data error(data redundancy) what is that??? and how can I fix it,this is the logs file:
    vslogs

    I found numerous instances of "Error 0x80070017: Failed attempt to copy payload" in your install log.
    For the error code “-2147024873” which is 0x80070017, it means “Data error (cyclic redundancy check)”. I recommend you run the Chkdsk.exe tool to check
    the disk for errors:
    Click
    Start, and then click Run.
    Type
    cmd in the Open box, and then click OK.
    At the command prompt, type
    Chkdsk /f, and then press ENTER.
    Press Y when you are prompted to check the disk next time that the system restarts.
    Close all applications and restart the computer.
    Note: During the restart process, Windows checks the disk for errors and then starts.

  • 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

  • Database connection error in Visual Studio 2013

    I am using Visual Studio 2013 and have installed MS SQL Server 2014. I am trying to generate my database from a model (edmx) but I get the following error: Cannot
    connect to <Database>. An incompatible SQL Server version was detected (Microsoft.VisualStudio.Data.Tool.Sqleditor)
    In the edmx.sql file, is written:
    -- Entity Designer DDL Script for SQL Server 2005, 2008, 2012 and Azure
    I can see that 2014 version is missing from this generated file, and seems that the program tries to connect to the 2012 version .. how can I avoid this and manage visual studio tu use the 2014 version of MS SQL Server? Thanks in advance
    I already updated the SQL Server Data Tools to the newest version.

    Hello,
    Please read the following article:
    http://support.microsoft.com/kb/2858352/en-us
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Library not registered error in Visual Studio 2013.

    Whenever I attempt to build a solution, build multiple projects, or even run a program (with debugging) in visual studio 2013, I receive the error below.
    "Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED))"
    I have attempted to fix this by repairing my Visual Studio installation, but without success. 
    I believe the issue to be with Visual Studio itself, though, because this happens with every solution I have tried it with.
    Any assistance in resolving this issue would be most appreciated.

    Hi ndowney,
    Based on your issue, could you please tell me if you install some other tools on your machine before you get the ""Library not registered" error?
    (1) If yes, please you disable or un-install these tools and then build solution/project check this issue again.
    (2)If no, to check if the issue is related to the VS IDE, please refer the following steps to check this error message.
    (2.1) I suggest you could try the following commands to check if it is helpful.
    a.  Run devenv /Safemode to see if you can apply it correctly. This can eliminate the possibility that third party Add-ins or packages are causing problems.
    b. Run devenv /Resetsettings to eliminate the cause of corrupted settings.
    c. Run devenv /ResetSkipPkgs in Command Prompt.
    If above still cannot work, try use this command again: devenv /resetsuerdata
    (2.2) If the above suggestion still could not help you, maybe you will need to re-install the VS2013 and then check this issue again.
    If you have any latest message about your issue, please tell me.
    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.

  • Invalid Markup error in visual studio 2013

    Hi,
    I am using Visual Studio 2013 Ultimate on Windows 8.1 for WPF project. I added two .dll libraries as reference: dataGrid2d and GraphSharp, however my XAML design editor don't recognize any XAML markup from this libraries (Invalid Markup error). Project compiles
    and works fine and I can't figure out what is wrong with visual editor.
    Thank you in advance.

    Here are libraries http://1drv.ms/153lGSe
    I can normally use them in XAML and in c# code behind, everything is working fine in my app after compilation, I just can't see it in design editor. Errors are:
    Error    1    The name "DataGrid2D" does not exist in the namespace "clr-namespace:DataGrid2DLibrary;assembly=DataGrid2DLibrary".    C:\Users\Mikołaj\OneDrive\Projects\visual studio 2013\Projects\DeterministicFiniteAutomatonLibrary\GUI\TransitionFunctionWindow.xaml  
     12
    Error    2    The name "ZoomControl" does not exist in the namespace "clr-namespace:WPFExtensions.Controls;assembly=WPFextensions".    C:\Users\Mikołaj\OneDrive\Projects\visual studio 2013\Projects\DeterministicFiniteAutomatonLibrary\GUI\MainWindow.xaml  
     53
    Error    3    The name "GraphLayout" does not exist in the namespace "clr-namespace:GraphSharp.Controls;assembly=GraphSharp.Controls".    C:\Users\Mikołaj\OneDrive\Projects\visual studio 2013\Projects\DeterministicFiniteAutomatonLibrary\GUI\MainWindow.xaml  
     54

  • Class not registered error in Visual Studio 2003

    Post Author: LenReinhart
    CA Forum: .NET
    I have an report that has been running in an application for the last couple years. There is an error in the application that I fixed, but now the report  is not running against the production database and I wanted to look at a report in the editor and double clicked on the report in Visual Studio 2003. I got an error pop up "Class not registered" but that was it, no option to enter a registration code or anything. I had previously registered but tried going through that process and was told that it had been previously registered. I developed this report on this machine, so I am wondering if some patch that I applied caused this problem. It has been awhile since I have opened this report in an editor.Any light you can shine on this would be appreciated. Thanks,Len

    Post Author: MJ@BOBJ
    CA Forum: .NET
    Typically that error is referring to a COM dll that is not being loaded because it is not registered on the system.  Usually, that error message will give you a dll name, or a PROGID, or something.....was anything else provided in the error?
    In order for a file to be unregistered, something might have been uninstalled (or a failed install) that could have caused this issue.  I did a search in kbase and found a article that may help, at least it refers to a dll that you can try to register.
    Perhaps doing a reinstall may resolve the error.
    -MJ

  • Error in visual studio while implementing NHibernate

    The "CheckPathAttributes" task could not be loaded from the assembly C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\Web\Microsoft.Web.Publishing.Tasks.dll. Could not load file or assembly 'file:///C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\Web\Microsoft.Web.Publishing.Tasks.dll'
    or one of its dependencies. The system cannot find the file specified. Confirm that the <usingtask>declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask.
    NHibernate </usingtask>
    I am trying to implement NHibernate in my web application, I had coded everything but whenever i try to clean the solution it throws this error. Please help me out.
    Sumit Bhargav

    Hi Sumit Bhargav,
    Based on the error message, it seems that the issue is related to NHivernate and MSBuild, but
    VS General Question forum discusses the usage issue of Visual Studio IDE such as
    WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
    and Visual Studio Editor. In order to check where the issue is, could you please create a new and simple web application without having NHibernate, build it and clean the project?
    Whether the web application can be built successfully?
    If you get this error when you build or clean any solution, maybe you are experiencing the same issue 
    described here:
    http://stackoverflow.com/questions/26930376/how-to-fix-checkattributes-task-could-not-be-loaded-error-after-installing-v
    Please check whether the Microsoft.Web.Publishing.Tasks.dll assembly is located at
    C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\Web. If no, please copy it from somewhere else to this path. If you can’t get a copy of this assembly, I suggest uninstalling VS 2013 Update 4 or uninstalling and
    reinstalling all VS components.
    If the issue only occurs in the web app with NHibernate implement, then this issue is more related to the specific NHibernate implement in ASP.NET. I recommend consulting
    your issue on ASP.NET forum: http://forums.asp.net/
    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.

  • Javascript - Object required error for visual studio 2010

    Hi - I have downloaded the crystal report RTM for visual studio 2010.
    My App server is windows 2008.
    We are using crystal reports as part of CRM application
    I am getting  javascript error 'Object Required'  at the following line:
    The debugger after the error message refers to this:
    bobj.crv.stateManager.setComponentState('ctl00_ContentPlaceHolder2_CrystalReportViewer1__UI',eval('('document.getElementById('__CRYSTALSTATEctl00$ContentPlaceHolder2$CrystalReportViewer1').value')'));
    The website has all the required aspnet_client files and have made sure the application is able to load them.
    When tried with a new sample solution the reports work.
    Please help. I need to make the crystal reports work with the CRM solution...

    I am assuming this is happening after you have deployed your app and that the app works as expected on your development computer(?). Please confirm...
    I need you to tell me the following:
    1) how was the app compiled; any cpu, 32 bit, 64 bit?
    2) how was the CR runtime deployed (what MSI / MSM did you use?)?
    3) if this app is installed under custom app pool see the following:
    Deploy the CrystalReportViewers13 virtual directory as a sub-directory of your application.
    Copy the Crystalreportviewers13 folder to be a sub-folder at the root of your application. You can configure where your application looks for this folder by using the following Help file [SAP Crystal Reports .NET SDK Developer Guide
    |http://help.sap.com/businessobject/product_guides/sapCRVS2010/en/crnet_dg_2010_en.zip] and search the document for ("web.config";). In the section "Configuring your web.config file" follow the instructions specified for setting the resourceURI attribute. This way you can control updates to the viewers when deploying your application.
    Note the resourceURI value is the name of the viewers directory and should be preceded with a Tilde
    ie value="~/crystalreportviewers13"
    Also, have a look at the following two articles. Both are pre CRVS2010, however the ideas re. deploying to a custom app pool still apply. All that changes is the folder name.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • Installa error for visual studio 2005 and Visual C++ 2005 on windows server 2003 SP@

    Not able to install visual studio 2005 I am getting error “The upgrade patch cannot be installed by the Windows Installer service because the program to be upgraded may be missing, or the upgrade patch may update a different version of the program. Verify that the program to be upgraded exists on your computer and that you have the correct upgrade patch” and for visual C++ 2005 after clicking the setup file nothing is displayed on the desktop. please guide. All the above software I am installing on windows server 2003 service pack2
    Dear Gurus Please help me

    You might want to try : MS Visual Studio 2008 and Visual C++ 2008 Express instead as this version is supported as well.
    See:
    For R12: Note 1070674.1 - MS Visual Studio 2008 and Visual C++ 2008 Express for Oracle E-Business Suite Release 12 on Windows
    For 11i : Note 1095124.1 - Microsoft Visual Studio 2008 and Visual C++ 2008 Express for Oracle E-Business Suite Release 11i on Windows
    Regards,
    Ronald

Maybe you are looking for