Microsoft.Data.sqlXml


T

Tony

Hello!

I'm using an application that is an example application from a Book but the
program is using
Microsoft.Data.SqlXml so I get the following error
Error 3 The type or namespace name 'Data' does not exist in the namespace
'Microsoft' (are you missing an assembly reference?)
C:\Users\Tony\programmering\Chapter Samples\C#\Chapter_12\Program.cs 7 17
Chapter_12

So I have looked in the References to find some dll to add so this namespace
can be found but haven't found any.

I use VS 2010 and Sql server 2008.
So where can I found DLL where this namespace is located ?

//Tony
 
Ad

Advertisements

J

Jason Keats

Tony said:
Hello!

I'm using an application that is an example application from a Book but
the program is using
Microsoft.Data.SqlXml so I get the following error
Error 3 The type or namespace name 'Data' does not exist in the
namespace 'Microsoft' (are you missing an assembly reference?)
C:\Users\Tony\programmering\Chapter Samples\C#\Chapter_12\Program.cs 7
17 Chapter_12

So I have looked in the References to find some dll to add so this
namespace can be found but haven't found any.

I use VS 2010 and Sql server 2008.
So where can I found DLL where this namespace is located ?

Maybe you need to install SQLXML.

http://msdn.microsoft.com/en-us/library/ms171779(v=sql.100).aspx
http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=8824
 
Ad

Advertisements

B

bradbury9

Hello!

I'm using an application that is an example application from a Book but the
program is using
Microsoft.Data.SqlXml so I get the following error
Error 3 The type or namespace name 'Data' does not exist in the namespace
'Microsoft' (are you missing an assembly reference?)
C:\Users\Tony\programmering\Chapter Samples\C#\Chapter_12\Program.cs 7 17
Chapter_12

So I have looked in the References to find some dll to add so this namespace
can be found but haven't found any.

I use VS 2010 and Sql server 2008.
So where can I found DLL where this namespace is located ?

//Tony

Add the reference to the proyect. It appears at the .NET tab in the
"add reference" dialog. The assembly is located in C:\Program Files
\SQLXML4.0\bin\Microsoft.Data.SqlXml.dll

If you cant find the assembly in your computer go check microsoft
website http://www.microsoft.com/download/en/search.aspx?q=sqlxml
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top