BIDS Schema issues between Visual Studio on 2008 & 2008R2

Hi all,
We have a 3 servers in our farm, two of which Run SQL Server 2008R2 and one which runs SQL Server 2008.
All three servers have the same edition of Visual Studio on (VS2008).
Our development server (the 2008 server) has Report Builder 3 on it and our Analysts use this to connect to our Sharepoint which works off one of the 2008R2 boxes.
i have been asked by one of the Senior Analysts if they can have access to BIDs for report development. However for some reason, even though all 3 servers have the same version of BIDs, the RDLs that they create cannot be opened correctly on the 2008 Server.
Instead they open as HTML and a warning is given :-
"The report definition has an invalid target namespace 'http://schemas.microsoft.com/sqlserver/reporting/2010/01/reportdefinition' which cannot be upgraded"
I am presuming that it is deriving the namespace from the locally installed version of 2008 Reporting Services. However as there is no need for the Analysts to use this, as the reports are deployed and run off the 2008 R2 Reporting Services via the Sharepoint
Server, and Report Builder is happy with this, is there some way that I can tell BIDs to look elsewhere for the namespace validation?
The software itself is obviously able to read the report correctly as we have the same version on all servers and when BIDs is opened on an R2 server the reports display correctly.
Has anyone got any suggestions (except upgrade the 2008 box - I am working on this!!) ?
Iain

Hi lain,
A report definition file specifies the RDL namespace for the version of the report definition schema that is used to validate the rdl file. Different Report version has different Schema Version. For example, the namespace
http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition is for the RDL 2005 version in SQL Server 2005; the namespace
http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition is for the RDL 2008 version in SQL Server 2008; the namespace
http://schemas.microsoft.com/sqlserver/reporting/2010/01/reportdefinition is for the RDL 2010 version in SQL Server 2008 R2 and 2012.
Since SQL Server 2008 and SQL Server 2008 R2 have different Report Definition Schema Versions, just as the warning said, we can open an .rdl file which was created for a previous namespace, but we cannot open a report which was created for a later namespace
in Report Designer or Report Builder.
Reference:
How to: Find the Report Definition Schema Version (SSRS)
Thank you for your understanding.
Regards,
Katherine Xiong
Katherine Xiong
TechNet Community Support

Similar Messages

  • How to do regstration of Visual studio express 2008

    Hi I have some supporting Development tools, which run on the 2008 platform. I on my new PC installed the visual studio Express 2008, but after month its blocked by missing registration. When I follow the registration link, the site is closed. SO how can
    I get the visual studio Express 2008 back in operation

    Visual C++ 2008 Express is no longer supported. You really should consider a newer version. Bear in mind that Visual Studio 2013 Community Edition is free, and contains way more features than your version.
    However if you need the 2008 version apparently if you download the ISO version of Visual C++ 2008 Express, you don't need to register. Try these links:
    Just VS 2008 Express
    http://download.microsoft.com/download/8/B/5/8B5804AD-4990-40D0-A6AA-CE894CBBB3DC/VS2008ExpressENUX1397868.iso
    VS 2008 Express SP1
    http://download.microsoft.com/download/E/8/E/E8EEB394-7F42-4963-A2D8-29559B738298/VS2008ExpressWithSP1ENUX1504728.iso

  • Using MS Visual Studio C++ 2008 Express, the "LoadLibrary" function doesn't recognize the NI-VISA DLL: "visa32.dll". I've included all the paths to the DLL. Is there a problem with this C++ compiler?

    I'm using MS Visual Studio C++ 2008 Express.  I've included all the paths to the DLL, "visa32.dll" but the LoadLibrary("visa32.dll") call returns the statement that can't convert character string to LPCSTR (pointer).  I ran the same code with the Portland Group compiler (which I no longer have) and there was not a problem accessing the DLL.  Is there some requirement for the C++ 2008 Express compiler that needs to be met?

    Hello jterry,
    If you compile as Unicode you need to pass Unicode strings to
    Win32 APIs which have LPTSTR or LPWSTR string.
    When you want to write code compilable for Unicode
    and Ansi just enclose all string constants in _T(). In your case:
    LoadLibrary(_T("visa32.dll"))
    You can look at this post on the microsoft discussion forums for more information.  Have a great day.
    O. Proulx
    National Instruments
    www.ni.com/support

  • Visual Studio 2005/2008 and Crystal Reports versions/upgrade questions.

    I've tried posting this question on the MSDN forums and gotten no response. 
    I've downloaded and installed VS 2008 Beta 2.   The versions on the Crystal Reports files included are 10.5.0.1806  
    I'm currently using VS 2005, with the included Crystal Reports.  The versions on those files are 10.2.0.xxxx.  I've created an desktop app (in VB) which stores it's data in a database and uses the CR 10 runtime merge modules to generate a report.
    I was considering upgrading the Crystal Reports version to XI.  I would like to allow customers to modify my delivered report with their own licensed copy of CR XI.  I am not providing any functionality within my app to create or modify the delivered .rpt or use it outside my application.
    Questions:
    Do I need to update the runtime files to CR XI to support rpt files modified with CR XI?  Current runtime files are being delivered with the CR 10 merge module.
    I see a Crystal Reports for Visual Studio upgrade to CR XI. 
    Can I update the merge modules to CR XI and still use the CR for VS2005 for development?
    Does it make any sense to update CR for VS 2005?  Or to get the full CR XI Developer edition?  My usage of CR functionality is very limited.
    Would there be any benefit to waiting for the release of VS 2008?   How does that change the scenario?
    How does Crystal Reports for Visual Studio fit in with the Crystal Reports Lifecycle?  It's not mentioned on Business Objects End of Life Dates page . Crystal 10 has a Patch EOL of 31-Dec-07.   Does this apply to CR for VS 2005?  Where does 10.5 fit in?
    My main concern is allowing customers with CR XI to change the format of my delivered .rpt to run with my app.  Adding their company name, logo, etc.   My testing show a CR XI report still works with my current app.  But, going forward, what should I deliver and what do I need to use to continue development?

    To use Reports designed in XI, you need to use XI or higher runtime, running them in older versions may work, but you may encounter unforeseen issues doing so.
    If you are to use VS2005 for development you need to use XI Release 2 (11.5) runtime.
    If you are going to use VS2008 for development you need to use Crystal Reports 2008 with Service Pack 0.
    The support end of life for versions of Crystal Reports bundled with Visual Studio are linked to what Microsoft's lifecycle for the product is.  Generally if there is a workaround for the issue that is simple enough, there will not be a patch created.
    The changes you are expecting the customer to do can be accomplished with our RAS SDK which is available without using enterprise starting with Crystal Reports XIR2 SP2.

  • Having trouble getting Visual Studio Professional 2008 to rec. Crystal 2008

    I am used to the tricky business of installing Crystal Reports every time there is an new version. I did not have a problem getting VSS 2005 to recognize CRXI R2, and used the reportdocument object to develop web reports within my ASP.NET 2.0 applications.
    In my current virtual server development environment, after uninstalling and reinstalling in various combinations, I still haven't got VSS 2008 Professional to recognize that it has upgraded dll's for Crystal Reports 2008.
    In my opinion this Business Objects/SAP website for support has got to be the worst website I have ever encountered for trying to find the information that I need to support Visual Studio and Crystal Reports. Very frustrating.
    Can anyone tell me what the sequence and/or trick is to get VSS professional 2008 to recognize the updated DLL's???
    Thanks in advance....
    SMA

    Sorry. I'm not sure if you are actually working with CR 10.5 or CR 2008 (soundes like 10.5). But the latest SP (SP1) for CR 10.5 is here:
    https://smpdl.sap-ag.de/~sapidp/012002523100009351512008E/crbasic2008sp1.exe
    and the latest SP (SP1 also) for CR 2008 is here:
    https://smpdl.sap-ag.de/~sapidp/012002523100010503722008E/cr2008_sp1.exe
    Now, remember if your reports are created in CR XI and you are running them with CR 10.5, you may run into issues as you're looking for a forward compatibility from CR 10.5. And there are a number of changes in CR XI that CR 10.x will have trouble resolving. Parameters for starters.
    Ludek

  • Adobe Reader 7.0 issue with Visual Studio 2003

    I'm working on a windows form using Visual Studio 2003(Dot Net Framework 1.1) and has got a PDF Viewer in that application to show the reports in PDF Viewer (Adobe Reader 7.0). After adding the reference of COM component (Adobe Acrobat 7.0 Browser Document), I'm unable to build my visual studio solution because of an error "Unable to emit assembly: Referenced assembly 'Interop.AcroPDFLib' does not have a strong name". The same visual studio solution works fine with Adobe Acrobat Reader 6.0. Pleae help me to overcome this issue...

    Hi tristan,
    how are you doing ?
    as per the pre req for NCo,
    u're JRE is requested to be : 1.3
    http://help.sap.com/saphelp_nw2004s/helpdata/en/b4/79cb9463b89a41a73e1e2805eb4bf7/frameset.htm
    i successfully use j2sdk 1.4_13, but i am aware of issues when you use jdk 1.5 for other SAP [Portal] related products, try jdk 1.4_12 or 1.4_13 and see if there is any difference
    also is there any requirment for VS 2003 & 2005 on the same machine ?
    i am curious to understand the problems you are facing with this config
    with respect,
    amit

  • NCO 2.0 issue with Visual Studio 2003

    Hi,
        I was attempting to use the SAP Connector for .Net version 2.0 on a machine that has both Visual Studio 2003 and 2005 installed. However, I cannot seem to get the wizard to work correctly in either one. On VS2005, the SaP Connector doesn't even show up in the project types. On VS2003, it does, but the wizard screen doesn't come up. Instead, I am forced to use the Server Explorer toolbar to search for RFC and BAPI functions. I used the guide published by Anne Tarnoruder, Reiner Hille-Doering regarding this subject (Using SAP Connector for MS .Net (NCO) in Microsoft Visual Studio 2005), however, whenever I add an SAP Connector Proxy item to a project, it generates a half-done SAPProxy1.cs and the requisite .wsdl designer file. After selecting one or more RFCs via the SAP server explorer toolbox and dropping it to the proxy designer, it doesn't appear to update the half-done SAPProxy1.cs. Is this the way it is supposed to work? I am using XP with SP2 and Java 1.5 update 11.
    Regards,
    Tristan

    Hi tristan,
    how are you doing ?
    as per the pre req for NCo,
    u're JRE is requested to be : 1.3
    http://help.sap.com/saphelp_nw2004s/helpdata/en/b4/79cb9463b89a41a73e1e2805eb4bf7/frameset.htm
    i successfully use j2sdk 1.4_13, but i am aware of issues when you use jdk 1.5 for other SAP [Portal] related products, try jdk 1.4_12 or 1.4_13 and see if there is any difference
    also is there any requirment for VS 2003 & 2005 on the same machine ?
    i am curious to understand the problems you are facing with this config
    with respect,
    amit

  • Network Issues with Visual Studio Online Application Insgihts

    My team is using Visual Studio Application Insights to monitor availability of our web server (we use cloud service)by making a call to it every 5 minutes from different locations around the world including Singapore, Japan, France and Switzerland.
    We experienced continuous failures of this monitoring from Singapore from September, 19-th and the issue became very big on September 21-st, September, 22-nd. After that on September, 23-rd and 24-th we have failures form Paris. Then starting from September,
    24-th to September, 26 we have very high percent of failures from Japan. Our problems finished with one more failure coming from Switzerland on September, 26.
    I wanted to find what the source of the problem is since we checked our code and it very simple to cause network issues. However, it is very difficult to reproduce the issue. My questions is - were all these problems coming from Visual Studio Online Application
    Insights?
    One example error that it is tracked in Visual Studio Online Application Insights is:
    System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because
    connected host has failed to respond 138.91.9.51:8080
       at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
       at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
       --- End of inner exception stack trace ---
       at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
       at Microsoft.VisualStudio.TestTools.WebStress.WebTestTransaction.ResponseReceived(IAsyncResult result)
       at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
       at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
    Thank you!
    Kanio

    Hello Kanio,
    There is nothing AI-specific in the stack, and, since the exception was reported to the portal, I would say that AI was working that time. However, if the issues goes away as soon as you disable AI - then it might mean that the issue is induced by AI presence.
    Also, you can try the latest AI SDK (0.13 as of today) and see if the issue still happens.
    Dmitry Matveev

  • Crystal Reports 2008 crashes in Visual Studios Basic 2008

    I have Visual Studio 2008 Basic with Crystal Reports 2008 (Full) running on Windows 7 Pro - 64-Bit. I am running VS in visual basic runtime and I encounter this problem very frequently, however not all the time.
    What appears to be happening is when I have any one of my 11 solutions open and I try to open a crystal report, Visual Studio says that it has encountered a problem and needs to restart. This happens whether I am running the program as and administrator or not. After VS restartes and I open my solution again, I attempt to open the same report and it opens without crashing.
    This seems to be a direct problem with Windows 7 and crystal reports, because I never had this problem while developing these solution in Windows XP.
    ~Paul

    Make sure you have applied Visual Studio 2008 SP1.
    Make sure you have Crystal Reports 2008 SP2 applied (unless you are using datasets with date time fields, then apply SP1).
    SP 1 is here;
    https://smpdl.sap-ag.de/~sapidp/012002523100006555792009E/cr2008win_sp1.exe
    SP2 is here;
    https://smpdl.sap-ag.de/~sapidp/012002523100009038092009E/cr2008win_sp2.exe
    See if the updates help.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • Biztalk Schema generator in Visual Studio - How to enable 'Well-Formed XML' ?

    Hello!
    I have installed Visual Studio 2010 and Biztalk on Windows 7. I create a new Biztalk-project in Visual STudio 2010. I choose 'Add new item' and then 'New generated schema'. Here I can choose 'Document
    type'. I choose 'Well-Formed XML (Not loaded)' and choose an input file.
    Now I get the message 'XFW to XSD schema generation module is not installed. Execute 'C:\Program files (X86)\Microsoft Biztalk Server 2010\SDK\Utilities\Schema Generator\InstallWFX.vbs to install the
    WFX to XSD schema generation module.'
    I try to execute that file and some text hastily appear on the console. I restart Visual Studio 2010, but it still doesn't work. Apparently the execution of the shell script didn't work. I try to restart
    the computer, but it still doesn't work.
    Could anyone tell me what to do?
    Thanks!
    Anders Branderud 

    Hi Steef-Jan!
    Thank you!
    Running it as administrator solved the problem.
    Anders
    Branderud 

  • T400 ATi Driver, Vista64, Visual Studio 2005/2008 + OpenGL = Application hangs

    Well, the thread title sums it up pretty concisely.
    I develop OpenGL Apps in C++ on my Lenovo T400. My OS is Windows Vista 64 and I use Switchable Graphics. When using ATI Graphics my apps hang since i installed the lastest ATI Driver for the T400 (Release: 2009-04-28) when (and only when) starting the applications in the debugger. When starting the apps directly (either compiled for Debug or Release targets, both 32-bit) however, they work (!).
    As far i can tell it hangs when it tries swapping the buffers (for double buffering). 
    This happens both in Visual Studio 2005 and 2008. When will there be a fixed driver?

    timebits wrote:
    This is really annoying since this is the only driver supporting OpenGL 3.0!
    The current Lenovo driver is Catalyst 8.12 based (8.56 driver release). I thought OpenGL 3.0 support was only added in Catalyst 9.1 (8.57 driver)?
    The next Lenovo driver will be Catalyst 9.3 based (8.59 driver.) It was supposed to have shipped by the end of April but they had problems so decided to ship the Catalyst 8.12 based driver instead (the driver we had before 4/28 was really old -- based on Catalyst 8.8 -- 8.52 driver)
    For the whole saga of Lenovo/ATI's tardiness in making switchable graphics work see this thread.
    If you as a developer are dependent on having uptodate functionality in your graphics driver, you should consider modding the drivers you can download from the ATI site. All the links here are for Vista 32 but I am sure you can find the corresponding Vista 64 links. This means giving up on switchable graphics and setting discrete graphics (and os autodetect off) in bios.
    Starting Catalyst 9.4 (8.60 driver) ATI included switchable graphics in the drivers downloadable from their site. But unless you want to waste a lot of time -- stay with discrete graphics in bios.
    Btw I tried the modded Catalyst 9.4 (8.60 driver) on my Vista 32 T500 but had terrible performance in OpenGL (not 3.0) so went back to my modded Catalyst 9.1 (8.57 driver*) which I have good performance with.
    Message Edited by zilla on 2009-05-20 10:40 AM
    T500: Vista 32, 2.8GHz, 4GB RAM, 15.4" 1680x1050, 500GB 7200rpm, ATI Radeon HD3650 + Intel 4500MHD. T42: XP, 1.7GHz, 2GB RAM, 14.1" 1024x768, 250GB PATA, ATI Radeon 7500.

  • Facing bug Issue with Visual Studio 2010 SP1 software. need a Hotfix Patch KB2561001

    Hi Team,
    i have installed Visual Studio 2010 SP1 software in my system. but i am facing some issue with a bug. This bug needs a Specific Hotfix Patch ( KB2561001). 
    But when i am clicked on above link, not able to find this patch.
    Kindly request you to provide this Requested patch as project has been stuck without this.
    please look into this issue on priority. Eager to listen from your side.

    Hi mihir ray,
    Like this report:
    https://connect.microsoft.com/VisualStudio/feedback/details/611665/storegeneratedpattern-does-not-saved-properly-into-edmx-entity-framework-4-0
    It seems that the link for this kb is not available. So the real issue is that which kind of issue you get, and then check whether this issue has been resolved by the latest VS version. Like the above report, maybe the new VS version would be better for
    certain limitations for old versions.
    Best Regards,
    Jack
    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.

  • Need Best practice (?) : authentication: Visual Studio - SQL 2008

    Our applications connect to our sql DBs using  sql authentication and a single account (per database). Downside is that the DB password is hardcoded in the app config files (so it is known to devs) and is rarely changed.  Here are
    two options I'm considering. What is you take on them?
    1. Use Windows authentication and AD groups. I presume that passwords would not need to be hardcoded in config files in this arrangement and that is an improvement. The downside is that users (while they should not normally have access to Management
    Studio) now have, in theory, direct
    access to the databases. That's why we used the single user sql authentication approach described above.   Also, in the past when we tried to do this we had issues when users belonged to multiple groups. We could not determine their Default
    DB.
    2. For all application to DB access only use DSNs (Data Source Name) and a sql account (per database).  (I don't want to use a Windows account in a DSN. To prevent expiration,  I'd be running around like crazy trying to update the DSN password
    before the apps breaks.)
    Your thoughts, please!
    TIA,
    edm2

    see
    http://msdn.microsoft.com/en-us/library/bb669066(v=vs.110).aspx
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Create a XML Schema (C#) using Visual Studio Express 2012

    How do I add an XML schema to my xml file?
    Here is my code:
    private void WriteXmlToFile(DataSet dsDataSet)
    if (dsDataSet == null) { return; }
    // Create a file name to write to - creates a string
    string xmlfilename = @"C:\Users\fenwky\XmlDoc.xml";
    // Create the FileStream to write with.
    System.IO.FileStream stream = new System.IO.FileStream
    (xmlfilename, System.IO.FileMode.Create);
    // Create an XmlTextWriter with the fileStream.
    System.Xml.XmlTextWriter xmlWriter =
    new System.Xml.XmlTextWriter(stream,
    System.Text.Encoding.Unicode);
    // Write dsDataSet to the file with the WriteXml method.
    dsDataSet.WriteXml(xmlWriter);
    xmlWriter.Close();
    And here is my xml:
    <NewDataSet>
    <Table1>
    <Item_Code>A0001</Item_Code>
    <Item_Description>Wheels, Horse on</Item_Description>
    <Current_Count>5</Current_Count>
    <On_Order>No</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0002</Item_Code>
    <Item_Description>Wheels, Elephant on</Item_Description>
    <Current_Count>2</Current_Count>
    <On_Order>No</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0003</Item_Code>
    <Item_Description>Wheels, Dog on</Item_Description>
    <Current_Count>0</Current_Count>
    <On_Order>Yes</On_Order>
    </Table1>

    Open the XML with NOTEPAD to see if you are getting the correct results. Something may be wrong with you CSV file.  Get original CSV that teacher gave out.  Here is my results and C# code.  The styling is the 2nd line and simply
    requires changing the one line in the C# that outputs the line.
    <?xml version="1.0" encoding="UTF-8"?>
    <?xsl:stylesheet type='text/xsl' href='book.xsl'?>
    <NewDataSet>
    <xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
    <xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true">
    <xs:complexType>
    <xs:choice minOccurs="0" maxOccurs="unbounded">
    <xs:element name="Table1">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="Item_Code" type="xs:string" minOccurs="0" />
    <xs:element name="Item_Description" type="xs:string" minOccurs="0" />
    <xs:element name="Current_Count" type="xs:int" minOccurs="0" />
    <xs:element name="On_Order" type="xs:string" minOccurs="0" />
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:choice>
    </xs:complexType>
    </xs:element>
    </xs:schema>
    <Table1>
    <Item_Code>A0001</Item_Code>
    <Item_Description>Horse on Wheels</Item_Description>
    <Current_Count>5</Current_Count>
    <On_Order>No</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0002</Item_Code>
    <Item_Description>Elephant on Wheels</Item_Description>
    <Current_Count>2</Current_Count>
    <On_Order>No</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0003</Item_Code>
    <Item_Description>Dog on Wheels</Item_Description>
    <Current_Count>0</Current_Count>
    <On_Order>Yes</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0004</Item_Code>
    <Item_Description>Seal on Wheels</Item_Description>
    <Current_Count>3</Current_Count>
    <On_Order>No</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0005</Item_Code>
    <Item_Description>Bear on Wheels</Item_Description>
    <Current_Count>7</Current_Count>
    <On_Order>No</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0006</Item_Code>
    <Item_Description>Teddy Bear</Item_Description>
    <Current_Count>2</Current_Count>
    <On_Order>Yes</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0007</Item_Code>
    <Item_Description>Clown</Item_Description>
    <Current_Count>5</Current_Count>
    <On_Order>No</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0008</Item_Code>
    <Item_Description>Puppy(crouch)</Item_Description>
    <Current_Count>3</Current_Count>
    <On_Order>No</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0009</Item_Code>
    <Item_Description>Puppy(stand)</Item_Description>
    <Current_Count>2</Current_Count>
    <On_Order>No</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0010</Item_Code>
    <Item_Description>Puppy(jump)</Item_Description>
    <Current_Count>2</Current_Count>
    <On_Order>Yes</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0011</Item_Code>
    <Item_Description>Pupp(lying)</Item_Description>
    <Current_Count>1</Current_Count>
    <On_Order>Yes</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0012</Item_Code>
    <Item_Description>Cart with Blocks (50)</Item_Description>
    <Current_Count>0</Current_Count>
    <On_Order>Yes</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0013</Item_Code>
    <Item_Description>Cart with Blocks (100)</Item_Description>
    <Current_Count>5</Current_Count>
    <On_Order>No</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0014</Item_Code>
    <Item_Description>Cart with Blocks (200)</Item_Description>
    <Current_Count>4</Current_Count>
    <On_Order>No</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0015</Item_Code>
    <Item_Description>Train with 0 Carriage</Item_Description>
    <Current_Count>12</Current_Count>
    <On_Order>No</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0016</Item_Code>
    <Item_Description>Train with 1 Carriage</Item_Description>
    <Current_Count>10</Current_Count>
    <On_Order>No</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0017</Item_Code>
    <Item_Description>Train with 2 Carriage</Item_Description>
    <Current_Count>5</Current_Count>
    <On_Order>Yes</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0018</Item_Code>
    <Item_Description>Train with 3 Carriage</Item_Description>
    <Current_Count>4</Current_Count>
    <On_Order>Yes</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0019</Item_Code>
    <Item_Description>Train with 4 Carriage</Item_Description>
    <Current_Count>5</Current_Count>
    <On_Order>No</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0020</Item_Code>
    <Item_Description>Train with 5 Carriage</Item_Description>
    <Current_Count>2</Current_Count>
    <On_Order>No</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0021</Item_Code>
    <Item_Description>Building Blocks (20)</Item_Description>
    <Current_Count>15</Current_Count>
    <On_Order>No</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0022</Item_Code>
    <Item_Description>Building Blocks (30)</Item_Description>
    <Current_Count>13</Current_Count>
    <On_Order>No</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0023</Item_Code>
    <Item_Description>Building Blocks (40)</Item_Description>
    <Current_Count>16</Current_Count>
    <On_Order>No</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0024</Item_Code>
    <Item_Description>Building Blocks (50)</Item_Description>
    <Current_Count>5</Current_Count>
    <On_Order>Yes</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0025</Item_Code>
    <Item_Description>Building Blocks (100)</Item_Description>
    <Current_Count>2</Current_Count>
    <On_Order>Yes</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0026</Item_Code>
    <Item_Description>Building Blocks (200)</Item_Description>
    <Current_Count>8</Current_Count>
    <On_Order>No</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0027</Item_Code>
    <Item_Description>Windmill</Item_Description>
    <Current_Count>5</Current_Count>
    <On_Order>No</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0028</Item_Code>
    <Item_Description>Farmhouse</Item_Description>
    <Current_Count>6</Current_Count>
    <On_Order>Yes</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0029</Item_Code>
    <Item_Description>Fencing</Item_Description>
    <Current_Count>22</Current_Count>
    <On_Order>Yes</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0030</Item_Code>
    <Item_Description>Barn</Item_Description>
    <Current_Count>12</Current_Count>
    <On_Order>Yes</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0031</Item_Code>
    <Item_Description>Tractor</Item_Description>
    <Current_Count>6</Current_Count>
    <On_Order>Yes</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0032</Item_Code>
    <Item_Description>Animals</Item_Description>
    <Current_Count>3</Current_Count>
    <On_Order>Yes</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0033</Item_Code>
    <Item_Description>House</Item_Description>
    <Current_Count>9</Current_Count>
    <On_Order>No</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0034</Item_Code>
    <Item_Description>Car</Item_Description>
    <Current_Count>12</Current_Count>
    <On_Order>No</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0035</Item_Code>
    <Item_Description>Building (small)</Item_Description>
    <Current_Count>4</Current_Count>
    <On_Order>No</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0036</Item_Code>
    <Item_Description>Building (medium)</Item_Description>
    <Current_Count>3</Current_Count>
    <On_Order>No</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0037</Item_Code>
    <Item_Description>Building (tall)</Item_Description>
    <Current_Count>4</Current_Count>
    <On_Order>No</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0038</Item_Code>
    <Item_Description>Shop</Item_Description>
    <Current_Count>7</Current_Count>
    <On_Order>No</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0039</Item_Code>
    <Item_Description>Traffic Lights</Item_Description>
    <Current_Count>5</Current_Count>
    <On_Order>Yes</On_Order>
    </Table1>
    <Table1>
    <Item_Code>A0040</Item_Code>
    <Item_Description>Petrol Station</Item_Description>
    <Current_Count>4</Current_Count>
    <On_Order>Yes</On_Order>
    </Table1>
    </NewDataSet>
    C#
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Windows.Forms;
    using System.IO;
    using System.Data.OleDb;
    using System.Xml;
    using System.Xml.Xsl;
    namespace CSVImporter
    public partial class CSVImporter : Form
    //const string xmlfilename = @"C:\Users\fenwky\XmlDoc.xml";
    const string xmlfilename = @"C:\temp\test.xml";
    DataSet ds = null;
    public CSVImporter()
    InitializeComponent();
    WriteXML();
    public void WriteXML()
    // Create a Open File Dialog Object.
    openFileDialog1.Filter = "csv files (*.csv)|*.csv|All files (*.*)|*.*";
    openFileDialog1.ShowDialog();
    string fileName = openFileDialog1.FileName;
    //doc.InsertBefore(xDeclare, root);
    // Create a CSV Reader object.
    CSVReader reader = new CSVReader();
    ds = reader.ReadCSVFile(fileName, true);
    dataGridView1.DataSource = ds.Tables["Table1"];
    StringWriter stringWriter = new StringWriter();
    ds.WriteXml(new XmlTextWriter(stringWriter), XmlWriteMode.WriteSchema);
    string xmlStr = stringWriter.ToString();
    XmlDocument doc = new XmlDocument();
    doc.LoadXml(xmlStr);
    XmlDeclaration xDeclare = doc.CreateXmlDeclaration("1.0", "UTF-8", null);
    XmlNode docNode = doc.CreateXmlDeclaration("1.0", "UTF-8", null);
    doc.InsertBefore(xDeclare, doc.FirstChild);
    // Create a procesing instruction.
    XmlProcessingInstruction newPI;
    String PItext = "type='text/xsl' href='book.xsl'";
    newPI = doc.CreateProcessingInstruction("xsl:stylesheet", PItext);
    doc.InsertAfter(newPI, doc.FirstChild);
    doc.Save(xmlfilename);
    XslCompiledTransform myXslTrans = new XslCompiledTransform();
    myXslTrans.Load(xmlfilename);
    string directoryPath = Path.GetDirectoryName(xmlfilename);
    myXslTrans.Transform(xmlfilename, directoryPath + "result.html");
    webBrowser1.Navigate(directoryPath + "result.html");
    public class CSVReader
    public DataSet ReadCSVFile(string fullPath, bool headerRow)
    string path = fullPath.Substring(0, fullPath.LastIndexOf("\\") + 1);
    string filename = fullPath.Substring(fullPath.LastIndexOf("\\") + 1);
    DataSet ds = new DataSet();
    try
    if (File.Exists(fullPath))
    string ConStr = string.Format("Provider=Microsoft.Jet.OLEDB.4.0;Data Source={0}" + ";Extended Properties=\"Text;HDR={1};FMT=Delimited\\\"", path, headerRow ? "Yes" : "No");
    string SQL = string.Format("SELECT * FROM {0}", filename);
    OleDbDataAdapter adapter = new OleDbDataAdapter(SQL, ConStr);
    adapter.Fill(ds, "TextFile");
    ds.Tables[0].TableName = "Table1";
    foreach (DataColumn col in ds.Tables["Table1"].Columns)
    col.ColumnName = col.ColumnName.Replace(" ", "_");
    catch (Exception ex)
    MessageBox.Show(ex.Message);
    return ds;
    jdweng

  • Integrating Pro*C/C++ files in Visual Studio 2005/2008 with 11g

    Hi,
    I have already builted application in VS 6.0 and oracle 9i ,which uses .pc file
    can you please tell me how should I integrate it into VS 2005/2008 and 11g
    I am not able to handle .pc file references and all stuff.

    Hi,
    VS2008 is not supported with Pro*C and 11g... http://download.oracle.com/docs/cd/B28359_01/install.111/b32301/toc.htm#BGBEEBAD
    There is no procui.exe these days, that was done away with back in 10.2. You'll need to use the command line version now (proc.exe)
    For custom build options, I've always just figured out the exact command line needed to precompile the particular file, and pasted the whole thing into the command line part of "Pre Build Event".. for example:
    proc parse=full iname=sample1.pc oname=precompiledsample1.c include="d:\oracle\product\11.1.0\db_1\oci\include" include="d:\oracle\product\11.1.0\db_1\precomp\public" include="d:\PROGRA~1\MICROS~1\VC98\include" include="d:\PROGRA~1\MICROS~1\VC98\PlatformSDK\include"Hope it helps,
    Greg

Maybe you are looking for

  • Import c struct from dll header file into TestStand?

    Hi, I'm writing a TestStand sequence to call some CVI functions I have compiled into a dll. One header file in the CVI code is the interface to the dll and declares some functions and some C structs which are to be passed into the functions as pointe

  • ESS for MSS/MSS related activitities - integrating travel (WD Abap)?

    Hi, We've just made the switch from Web Dynpro for Java to WDp for ABAP in our travel services in the portal (Enhancement package 2 for ERP 6.0, FIN_TRAVEL_1). The services in ESS itself seems to work fine, but we're also planning to introduce the "E

  • Submit form through hyperlink

    Hello, Problem is....... i need to submit form through hyperlink. the following is my code. when i executed it i am getting the same value for all the input buttons in the for loop. So, when i click any hyperlink i am getting only one output. can u g

  • How do I install/connect/setup new Akai MPK Controller?

    I installed the software that came with the MPK. I plug in the MPK88 via USB port. Restarted the machine. Then launch Logic. Where do I go in Preferences/Audio MIDI Setup or somewhere to make the MPK act as a controller? Can you tell I am absolutely

  • Re-authorizing when using purchased songs in iMovie and iDVD

    Hi! Since I upgraded to the lastest iTunes, I have to reauthorize every time I use a purchased song in an iMovie project (or iDVD). And, even as i reauthorize the song, the song is omitted from the project. I guess this is a major bug. Any news on a