473,606 Members | 3,113 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Need Urgent Help: fatal error CS0008

hb
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...

Updating references...

Performing main compilation...

fatal error CS0008: Unexpected error reading metadata from file 'C:\Inetpub\www root\GofBiz\man age\loaddata1.a spx.cs' -- 'Unspecified error '

Build complete -- 1 errors, 0 warnings

Building satellite assemblies...

===

It had been working without problem before I got this error. And the file indicated
in the error hasn't been touched for days.

Would you please give me some help? I am stuck here.

Thank you

hb
Nov 18 '05 #1
4 3177
hb
By the way, I have searched the msdn.microsoft. com, and got the following result:
===
Visual C# Language Concepts

Compiler Error CS0008
Unexpected error reading metadata from file 'file' - 'description'

A DLL was successfully opened for retrieving metadata but is corrupted, such that data could not be read from it.

Get an uncorrupted DLL to import.

===

But the my project, there are no any other dll but .Net library classes.

I really don't understand what is going on.

HB
"hb" <ho****@goodoff ices.com> wrote in message news:%2******** ********@tk2msf tngp13.phx.gbl. ..
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...

Updating references...

Performing main compilation...

fatal error CS0008: Unexpected error reading metadata from file 'C:\Inetpub\www root\GofBiz\man age\loaddata1.a spx.cs' -- 'Unspecified error '

Build complete -- 1 errors, 0 warnings

Building satellite assemblies...

===

It had been working without problem before I got this error. And the file indicated
in the error hasn't been touched for days.

Would you please give me some help? I am stuck here.

Thank you

hb
Nov 18 '05 #2
Hi Hb,
Thanks for posting in the community!
From your description, you encountered the "fatal error CS0008: Unexpected
error reading ....." when rebuiled a certain ASP.NET web application. Also,
the error occured when the VS.NET dealing with a certain page's codebehind
cs file which hasn't been touched for days, yes?
If there is anything I misunderstood, please feel free to let me know.

As for this problem, would you please try the following steps:
1. Have you tried restart the IIS server or reboot the machine to see
whether it helps?

2. Does any other web app projects or even a new project have the same
problem? If not, the problem may focus on the certain project.

3. If we can confirm the problem on the particular project, would you
please try remove the certain page(its codebehind cs file with the error)
and then rebuild the project to see whether the problem remains.

I don't think it will be a serious problem if you haven't made any
particular modifications on the project. Please check out the above items.
If you got any further infos or have any new findings , please feel free to
post here.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx

Nov 18 '05 #3
hb
Hi, Steven,

I read a post on a MS forum saying that the error sometimes occurs when
try to BUILD the project and the REBUILD recompile the project without
error. But the author didn't know the cause of the fatal error.

I tried REBUILD, it worked. Then I tried BUILD again, it worked as well.

I got the similar error once when I was working with VS.Net 2002. I guess
it might be a issue in VS.Net or compiler.

Thank you for your help!

hb
"Steven Cheng[MSFT]" <v-******@online.m icrosoft.com> wrote in message
news:$u******** ******@cpmsftng xa07.phx.gbl...
Hi Hb,
Thanks for posting in the community!
From your description, you encountered the "fatal error CS0008: Unexpected
error reading ....." when rebuiled a certain ASP.NET web application. Also, the error occured when the VS.NET dealing with a certain page's codebehind
cs file which hasn't been touched for days, yes?
If there is anything I misunderstood, please feel free to let me know.

As for this problem, would you please try the following steps:
1. Have you tried restart the IIS server or reboot the machine to see
whether it helps?

2. Does any other web app projects or even a new project have the same
problem? If not, the problem may focus on the certain project.

3. If we can confirm the problem on the particular project, would you
please try remove the certain page(its codebehind cs file with the error)
and then rebuild the project to see whether the problem remains.

I don't think it will be a serious problem if you haven't made any
particular modifications on the project. Please check out the above items.
If you got any further infos or have any new findings , please feel free to post here.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx

Nov 18 '05 #4
Hi Hb,
Thanks for your followup. From your further infos, I also agree with you
that this problem is likely due to IDE. Maybe there's something incorrect
with the files' synthronism sometimes. Since it is hard to repro, I'm not
sure whether there is a known issue on this. Anyway, thank you again for
noticing us this problem and I'm sorry for any inconvenience bing to you.
Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx

Nov 18 '05 #5

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

Similar topics

2
12495
by: Rob Manger | last post by:
Hi Guys, Urgent problem. Trying to compile my solution I get the following error: Linking... LINK: fatal error LNK1181: cannot open input file 'Release\icmpping.abj' Note, I havn't changed anything. This project was developed on another computer that is setup exactly the same way.
0
1730
by: Együd Csaba | last post by:
> -----Original Message----- > From: pgsql-admin-owner@postgresql.org > On Behalf Of Együd Csaba > Sent: 2004. július 16. 12:23 > To: pgsql-admin (E-mail) > Subject: URGENT - Postgres won't work > > > Hi All, > I have the following problem: (RH7.1, PostgreSQL 7.4.1)
0
1441
by: Mae Lim | last post by:
Dear all, I'm facing a problem with Web Services in Windows2003 server. Sometimes when I invoke the Web Services, it popup a JIT Debugger window as below:- "Application popup: JIT Debugging : JIT Debugging failed with the following error: Access is denied. JIT Debugging was initiated by the user account 'NT AUTHORITY\NETWORK SERVICE'."
1
2516
by: tccode97 | last post by:
Hi, I need an urgent help. I am developing a socket application in VC++ that uses asynchronous connnection. After doing search on google, I found the following link http://msdn2.microsoft.com/en-us/library/system.net.sockets.udpclient...
0
3333
by: rajsun | last post by:
We have oracle 9.2.0.7 database on AIX 5.2 with HACMP for fail over. We are regular database not 9i RAC. The Oracle inventory was corrupted so I had to re-install 9i and apply 9.2.0.7 patchset. When I was installing the OUI asked for primary node and now it seems that OUI installed 9i RAC instead of Non-RAC. I am not familair with RAC databases. Now when I try to start the databases the database crashed with following error message ...
12
37805
by: unknownbomb | last post by:
1>------ Build started: Project: TatniumD3D, Configuration: Debug Win32 ------ 1>Compiling... 1>d3d8tex.cpp 1>e:\d3d_starterkit_v3.0b\d3d8\d3d8tex.cpp(3) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory 1>d3d8int.cpp 1>e:\d3d_starterkit_v3.0b\d3d8\d3d8int.cpp(3) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory 1>d3d8dev.cpp...
4
3284
by: musai | last post by:
I have created vb oracle application I installed oracle client in three machine. All machine was reconfigured after oracle installed I could see table and record set through sql plus sheet in all machine. then I made .exe (VB) then it is working fine in two machine. In one machine, I got log file in the appliaction folder opening vb application
3
1816
by: sachinv1821 | last post by:
hi , i am Getting this Error fatal error C1189: #error : "eh.h is only for C++!" my Problem is i am Having C++ librabry and Appropriate .h file i want to Access Them is .c File Files..... to Be More Specific i am Creating a C++ Object in a C file... this Giving me the error!!! :( can Any Body Please Help me
1
2111
by: psantosh12 | last post by:
Hello Frnds Please need help to resolve error.......... it is very very urgent........ The error is Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Details: To enable the details of...
0
8036
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8461
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
8126
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
6796
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
5987
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
3948
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2454
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1572
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1313
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.