473,748 Members | 2,621 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

fatal error CS0009: Metadata file

You'll have to excuse me if I don't know what I'm talking about, but I'm new to webservices. I'm attempting to compile a C# file with csc /r:dmcorex.dll C:\InetPub\wwwr oot\asptest\mtm \OBWebSvc.asmx. cs. dmcorex is in a using statement in the file 'using dmcorex;'. After running this I get the following error:

'c:\WINNT\Micro soft.NET\Framew ork\v2.0.40607\ dmcorex.dll' could not
beopened -- 'There isn't metadata in the memory or stream'

Anyone have any idea what this message means?

Thanks for any help,
Dave
Nov 16 '05 #1
6 10324
Dave,

Is DMCOREEX.DLL a managed assembly, or is it a COM dll? If it is a COM
dll, then you will have to create an interop assembly and reference that.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Dave H" <Da***@discussi ons.microsoft.c om> wrote in message
news:39******** *************** ***********@mic rosoft.com...
You'll have to excuse me if I don't know what I'm talking about, but I'm new to webservices. I'm attempting to compile a C# file with csc
/r:dmcorex.dll C:\InetPub\wwwr oot\asptest\mtm \OBWebSvc.asmx. cs. dmcorex is
in a using statement in the file 'using dmcorex;'. After running this I get
the following error:
'c:\WINNT\Micro soft.NET\Framew ork\v2.0.40607\ dmcorex.dll' could not
beopened -- 'There isn't metadata in the memory or stream'

Anyone have any idea what this message means?

Thanks for any help,
Dave

Nov 16 '05 #2
Dave,

I think that the DMCOREEX.dll is a COM dll. When calling csc.exe, make
the reference to Interop.DMCOREX .dll, and it should work.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Dave H" <Da***@discussi ons.microsoft.c om> wrote in message
news:F9******** *************** ***********@mic rosoft.com...
Thanks for your info. I guess I'm still trying to figure out terminology so I'm don't know what a managed assembly is or what a com dll is. I'm
currently am trying to learn more about VS.Net by working in Visual Web
Developer 2005 Express Edition Beta until we get a purchased VS.NET program.
I do think I created an interop assembly (right clicked on project - 'add
references'). In the solutions explorer I can see a 'Bin' folder containing
what seems to be a network symbol followed by 'Interop.DMCORE X.dll'. Is
that what you were talking about? Anyway I still get the error message.
The dmcorex.dll is an API (Onbase Document retrieval) that I access to call functions in them that returns document lists and documents themselves.
So is that a COM dll? What exactly is a COM dll?

Please bear with me. I'm very much of novice with VB, C# and web services technology.
Thanks again - I appreciate it,
Dave

"Nicholas Paldino [.NET/C# MVP]" wrote:
Dave,

Is DMCOREEX.DLL a managed assembly, or is it a COM dll? If it is a COM dll, then you will have to create an interop assembly and reference that.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Dave H" <Da***@discussi ons.microsoft.c om> wrote in message
news:39******** *************** ***********@mic rosoft.com...
You'll have to excuse me if I don't know what I'm talking about, but
I'm new to webservices. I'm attempting to compile a C# file with csc
/r:dmcorex.dll C:\InetPub\wwwr oot\asptest\mtm \OBWebSvc.asmx. cs. dmcorex is in a using statement in the file 'using dmcorex;'. After running this I get the following error:

'c:\WINNT\Micro soft.NET\Framew ork\v2.0.40607\ dmcorex.dll' could not
beopened -- 'There isn't metadata in the memory or stream'

Anyone have any idea what this message means?

Thanks for any help,
Dave


Nov 16 '05 #3
Hi Nicholas,

I used the following command:
csc /r:Interop.DMCOR EX.dll C:\InetPub\wwwr oot\asptest\mtm \OBif.cs
and got a new message:
error CS0006: Metadata file 'Interop.DMCORE X.dll' could not be found

This Interop is in the Bin directory in the same directory as the cs file. That didn't work so I copied into the same directory just in case it was a path thing. It still didn't work. Is there something wrong with my command line?

Thanks again,
Dave
"Nicholas Paldino [.NET/C# MVP]" wrote:
Dave,

I think that the DMCOREEX.dll is a COM dll. When calling csc.exe, make
the reference to Interop.DMCOREX .dll, and it should work.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Dave H" <Da***@discussi ons.microsoft.c om> wrote in message
news:F9******** *************** ***********@mic rosoft.com...
Thanks for your info. I guess I'm still trying to figure out terminology

so I'm don't know what a managed assembly is or what a com dll is. I'm
currently am trying to learn more about VS.Net by working in Visual Web
Developer 2005 Express Edition Beta until we get a purchased VS.NET program.
I do think I created an interop assembly (right clicked on project - 'add
references'). In the solutions explorer I can see a 'Bin' folder containing
what seems to be a network symbol followed by 'Interop.DMCORE X.dll'. Is
that what you were talking about? Anyway I still get the error message.

The dmcorex.dll is an API (Onbase Document retrieval) that I access to

call functions in them that returns document lists and documents themselves.
So is that a COM dll?
What exactly is a COM dll?

Please bear with me. I'm very much of novice with VB, C# and web services

technology.

Thanks again - I appreciate it,
Dave

"Nicholas Paldino [.NET/C# MVP]" wrote:
Dave,

Is DMCOREEX.DLL a managed assembly, or is it a COM dll? If it is a COM dll, then you will have to create an interop assembly and reference that.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Dave H" <Da***@discussi ons.microsoft.c om> wrote in message
news:39******** *************** ***********@mic rosoft.com...
> You'll have to excuse me if I don't know what I'm talking about, but I'm new to webservices. I'm attempting to compile a C# file with csc
/r:dmcorex.dll C:\InetPub\wwwr oot\asptest\mtm \OBWebSvc.asmx. cs. dmcorex is in a using statement in the file 'using dmcorex;'. After running this I get the following error:
>
> 'c:\WINNT\Micro soft.NET\Framew ork\v2.0.40607\ dmcorex.dll' could not
> beopened -- 'There isn't metadata in the memory or stream'
>
> Anyone have any idea what this message means?
>
> Thanks for any help,
> Dave


Nov 16 '05 #4
Dave,

I would try to specify the full path of the interop assembly.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Dave H" <Da***@discussi ons.microsoft.c om> wrote in message
news:35******** *************** ***********@mic rosoft.com...
Hi Nicholas,

I used the following command:
csc /r:Interop.DMCOR EX.dll C:\InetPub\wwwr oot\asptest\mtm \OBif.cs
and got a new message:
error CS0006: Metadata file 'Interop.DMCORE X.dll' could not be found

This Interop is in the Bin directory in the same directory as the cs file. That didn't work so I copied into the same directory just in case it was a
path thing. It still didn't work. Is there something wrong with my command
line?
Thanks again,
Dave
"Nicholas Paldino [.NET/C# MVP]" wrote:
Dave,

I think that the DMCOREEX.dll is a COM dll. When calling csc.exe, make the reference to Interop.DMCOREX .dll, and it should work.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Dave H" <Da***@discussi ons.microsoft.c om> wrote in message
news:F9******** *************** ***********@mic rosoft.com...
Thanks for your info. I guess I'm still trying to figure out terminology
so I'm don't know what a managed assembly is or what a com dll is. I'm
currently am trying to learn more about VS.Net by working in Visual Web
Developer 2005 Express Edition Beta until we get a purchased VS.NET program. I do think I created an interop assembly (right clicked on project - 'add references'). In the solutions explorer I can see a 'Bin' folder containing what seems to be a network symbol followed by 'Interop.DMCORE X.dll'. Is
that what you were talking about? Anyway I still get the error message.

The dmcorex.dll is an API (Onbase Document retrieval) that I access to

call functions in them that returns document lists and documents themselves. So is that a COM dll?
What exactly is a COM dll?

Please bear with me. I'm very much of novice with VB, C# and web
services technology.

Thanks again - I appreciate it,
Dave

"Nicholas Paldino [.NET/C# MVP]" wrote:

> Dave,
>
> Is DMCOREEX.DLL a managed assembly, or is it a COM dll? If it
is a COM
> dll, then you will have to create an interop assembly and reference

that.
>
> Hope this helps.
>
>
> --
> - Nicholas Paldino [.NET/C# MVP]
> - mv*@spam.guard. caspershouse.co m
>
> "Dave H" <Da***@discussi ons.microsoft.c om> wrote in message
> news:39******** *************** ***********@mic rosoft.com...
> > You'll have to excuse me if I don't know what I'm talking about,
but I'm
> new to webservices. I'm attempting to compile a C# file with csc
> /r:dmcorex.dll C:\InetPub\wwwr oot\asptest\mtm \OBWebSvc.asmx. cs.
dmcorex is
> in a using statement in the file 'using dmcorex;'. After running
this I get
> the following error:
> >
> > 'c:\WINNT\Micro soft.NET\Framew ork\v2.0.40607\ dmcorex.dll' could

not > > beopened -- 'There isn't metadata in the memory or stream'
> >
> > Anyone have any idea what this message means?
> >
> > Thanks for any help,
> > Dave
>
>
>


Nov 16 '05 #5
Nicholas,

I tried that and am getting the original error message error CS0246.

Thanks,
dave

"Nicholas Paldino [.NET/C# MVP]" wrote:
Dave,

I would try to specify the full path of the interop assembly.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Dave H" <Da***@discussi ons.microsoft.c om> wrote in message
news:35******** *************** ***********@mic rosoft.com...
Hi Nicholas,

I used the following command:
csc /r:Interop.DMCOR EX.dll C:\InetPub\wwwr oot\asptest\mtm \OBif.cs
and got a new message:
error CS0006: Metadata file 'Interop.DMCORE X.dll' could not be found

This Interop is in the Bin directory in the same directory as the cs file.

That didn't work so I copied into the same directory just in case it was a
path thing. It still didn't work. Is there something wrong with my command
line?

Thanks again,
Dave
"Nicholas Paldino [.NET/C# MVP]" wrote:
Dave,

I think that the DMCOREEX.dll is a COM dll. When calling csc.exe, make the reference to Interop.DMCOREX .dll, and it should work.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Dave H" <Da***@discussi ons.microsoft.c om> wrote in message
news:F9******** *************** ***********@mic rosoft.com...
> Thanks for your info. I guess I'm still trying to figure out terminology so I'm don't know what a managed assembly is or what a com dll is. I'm
currently am trying to learn more about VS.Net by working in Visual Web
Developer 2005 Express Edition Beta until we get a purchased VS.NET program. I do think I created an interop assembly (right clicked on project - 'add references'). In the solutions explorer I can see a 'Bin' folder containing what seems to be a network symbol followed by 'Interop.DMCORE X.dll'. Is
that what you were talking about? Anyway I still get the error message.
>
> The dmcorex.dll is an API (Onbase Document retrieval) that I access to
call functions in them that returns document lists and documents themselves. So is that a COM dll?
> What exactly is a COM dll?
>
> Please bear with me. I'm very much of novice with VB, C# and web services technology.
>
> Thanks again - I appreciate it,
> Dave
>
> "Nicholas Paldino [.NET/C# MVP]" wrote:
>
> > Dave,
> >
> > Is DMCOREEX.DLL a managed assembly, or is it a COM dll? If it is a COM
> > dll, then you will have to create an interop assembly and reference
that.
> >
> > Hope this helps.
> >
> >
> > --
> > - Nicholas Paldino [.NET/C# MVP]
> > - mv*@spam.guard. caspershouse.co m
> >
> > "Dave H" <Da***@discussi ons.microsoft.c om> wrote in message
> > news:39******** *************** ***********@mic rosoft.com...
> > > You'll have to excuse me if I don't know what I'm talking about, but I'm
> > new to webservices. I'm attempting to compile a C# file with csc
> > /r:dmcorex.dll C:\InetPub\wwwr oot\asptest\mtm \OBWebSvc.asmx. cs. dmcorex is
> > in a using statement in the file 'using dmcorex;'. After running this I get
> > the following error:
> > >
> > > 'c:\WINNT\Micro soft.NET\Framew ork\v2.0.40607\ dmcorex.dll' could not > > > beopened -- 'There isn't metadata in the memory or stream'
> > >
> > > Anyone have any idea what this message means?
> > >
> > > Thanks for any help,
> > > Dave
> >
> >
> >


Nov 16 '05 #6
I should say the the original message I got in full was ' error CS0246: The type or namespace name 'dmcorex' could not be found (are you missing a using directive or
an assembly reference?). This is what I get now when fully qualifying the assembly.

Thanks,
Dave

"Nicholas Paldino [.NET/C# MVP]" wrote:
Dave,

I would try to specify the full path of the interop assembly.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Dave H" <Da***@discussi ons.microsoft.c om> wrote in message
news:35******** *************** ***********@mic rosoft.com...
Hi Nicholas,

I used the following command:
csc /r:Interop.DMCOR EX.dll C:\InetPub\wwwr oot\asptest\mtm \OBif.cs
and got a new message:
error CS0006: Metadata file 'Interop.DMCORE X.dll' could not be found

This Interop is in the Bin directory in the same directory as the cs file.

That didn't work so I copied into the same directory just in case it was a
path thing. It still didn't work. Is there something wrong with my command
line?

Thanks again,
Dave
"Nicholas Paldino [.NET/C# MVP]" wrote:
Dave,

I think that the DMCOREEX.dll is a COM dll. When calling csc.exe, make the reference to Interop.DMCOREX .dll, and it should work.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Dave H" <Da***@discussi ons.microsoft.c om> wrote in message
news:F9******** *************** ***********@mic rosoft.com...
> Thanks for your info. I guess I'm still trying to figure out terminology so I'm don't know what a managed assembly is or what a com dll is. I'm
currently am trying to learn more about VS.Net by working in Visual Web
Developer 2005 Express Edition Beta until we get a purchased VS.NET program. I do think I created an interop assembly (right clicked on project - 'add references'). In the solutions explorer I can see a 'Bin' folder containing what seems to be a network symbol followed by 'Interop.DMCORE X.dll'. Is
that what you were talking about? Anyway I still get the error message.
>
> The dmcorex.dll is an API (Onbase Document retrieval) that I access to
call functions in them that returns document lists and documents themselves. So is that a COM dll?
> What exactly is a COM dll?
>
> Please bear with me. I'm very much of novice with VB, C# and web services technology.
>
> Thanks again - I appreciate it,
> Dave
>
> "Nicholas Paldino [.NET/C# MVP]" wrote:
>
> > Dave,
> >
> > Is DMCOREEX.DLL a managed assembly, or is it a COM dll? If it is a COM
> > dll, then you will have to create an interop assembly and reference
that.
> >
> > Hope this helps.
> >
> >
> > --
> > - Nicholas Paldino [.NET/C# MVP]
> > - mv*@spam.guard. caspershouse.co m
> >
> > "Dave H" <Da***@discussi ons.microsoft.c om> wrote in message
> > news:39******** *************** ***********@mic rosoft.com...
> > > You'll have to excuse me if I don't know what I'm talking about, but I'm
> > new to webservices. I'm attempting to compile a C# file with csc
> > /r:dmcorex.dll C:\InetPub\wwwr oot\asptest\mtm \OBWebSvc.asmx. cs. dmcorex is
> > in a using statement in the file 'using dmcorex;'. After running this I get
> > the following error:
> > >
> > > 'c:\WINNT\Micro soft.NET\Framew ork\v2.0.40607\ dmcorex.dll' could not > > > beopened -- 'There isn't metadata in the memory or stream'
> > >
> > > Anyone have any idea what this message means?
> > >
> > > Thanks for any help,
> > > Dave
> >
> >
> >


Nov 16 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
3408
by: Ray | last post by:
Microsoft Windows XP (C) Copyright 1985-2001 Microsoft Corp. C:\Python22>python setup.py py2exe --icon EXE icon Traceback (most recent call last): File "setup.py", line 7, in ? scripts = , File "C:\Python22\distutils\core.py", line 101, in setup _setup_distribution = dist = klass(attrs) File "C:\Python22\distutils\dist.py", line 130, in __init__
6
16646
by: o'seally | last post by:
solaris/linux admins/rookie_developers that battle with this error are probably all frustrated when it happens. i bet you're also somehow frustrated by this seemingly unsolvable error :-) ...take it easy, it'll go away once u've learned how to play around with a few things on your system and reorganised. i'm particulary a solaris junkie, but linux is my admiration. the issue here is Not the OS/Software, but rather the concept. first of all...
1
6092
by: Heinz | last post by:
Hello, I have a project that is used by other project in my solution. This common project is also used by a VB6 application (so it is placed in GAC). Since I did this (this is what I suspect...), every time I make a modification to this "common" project, I get the following error when I try to compile it:
1
6659
by: Dwayne | last post by:
I'm getting this strange error when I try to compile a project with large (100 - 200 MB) resource files. The error is as follows (I've removed the filename for simplicity): fatal error CS0009: Metadata file '' could not be opened -- 'Not enough storage is available to process this command.' I have plenty of disk space on my build drive, (10 GB
1
472
by: Invalidlastname | last post by:
Hi, Our developer team recently started getting the compilation error, see below, once a while running the asp.net web application from Visual Studio 2003 (in debug mode), and we have to rebuild the solution or deleted the VsWebcache to get rid of this error I suspect this error is related to that we strong named several assemblies for using queued components in NET EnterpriseServices. In development environment, we did not install those...
4
3184
by: hb | last post by:
Hi, I have been working on the ASP.Net project for months with VS.Net 2003 in C#. But this afternoon I suddenly got the following error when I tied to compile the whole solution: === ------ Build started: Project: GofBiz, Configuration: Debug .NET ------ Preparing resources...
2
6938
by: Kevin R. | last post by:
I have been ignoring this problem for a few weeks now, but it's becoming a bit annoying not to mention unproductive. Here it goes: I compile my project with no errors. Then after I debug/run it, I get the runtime error noted at the end of this message. If I re-compile (without any changes) and re-run, then my project will run OK. This behavior is very consistent. Another words, the only way I can run an ASP.NET application is if I...
4
5415
by: james margey | last post by:
Hi to all, I have spent 3 days at this error and i have two days to go for a deadline, and i am about to go off my nut, the reason being: Microsoft dont seem to be able to provide a solution, I have trawled the web and the few that have the same error have not being provided a fix. This error occurs if i make the slightest change in my project. If i REBUILD my project no error occurs. So i keep having to rebuild my project - this is not...
1
3772
by: kvarada | last post by:
Hello Experts, I am building my application on WinNT.4.0_i386_MSVC.7.1 platform. When I build the application on a stand alone machine, it builds fine. But when I build the same application from a linux box using rsh it gives me the errors below Microsoft (R) Development Environment Version 7.10.3077. Copyright (C) Microsoft Corp 1984-2001. All rights reserved. ------ Build started: Project: SigComp, Configuration: Release Win32 ------...
0
8832
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9562
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9333
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9254
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8255
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6799
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4879
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2791
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2217
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.