473,385 Members | 1,379 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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\wwwroot\GofBiz\manage\loaddata1.aspx.c s' -- '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 3164
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****@goodoffices.com> wrote in message news:%2****************@tk2msftngp13.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\wwwroot\GofBiz\manage\loaddata1.aspx.c s' -- '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.microsoft.com> wrote in message
news:$u**************@cpmsftngxa07.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
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...
0
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...
0
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 :...
1
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 ...
0
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...
12
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...
4
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...
3
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...
1
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.