473,396 Members | 1,789 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,396 software developers and data experts.

CS0234 Global does not exist ... but it genuinely does

Server Error in 'DataGrid' Application

Compilation Error

CS0234: The type or namespace name 'Global' does not exist in the class
or namespace 'System.Web.UI.WebControls.DataGrid' (are you missing an
assembly reference?)

----------------------------------------

I get the above error ONLY WHEN I create a brand new, empty C# ASP.NET
web application WITH THE SAME NAME AS A PREVIOUSLY DELETED application
web. I had previously created a C# ASP.NET web application named
'DataGrid', but it had errors and I wanted to start again from scratch.
I deleted all files and directories containing the name 'DataGrid'
from the following places:

1. Via IIS Admin, deleted Virtual directory 'DataGrid'
2. From \Documents and
Settings\Bill.Johnson\VSWebCache\Server01\DataGrid
3. \WINDOWS\Microsoft.NET\Framework\v1.1.4322\Tempora ry ASP.NET
Files\datagrid

.... and recycled IIS.

----------------------------------------

I can create a brand new, empty C# ASP.NET web application which runs
fine, i.e., with no errors.

I believe that there is something lingering around someplace on my
computer that says "Name=DataGrid?" Sure, I have it saved over
here...." How can I _completely_ remove all IIS, C#, ASP.NET
references to a former project/solution and use the same name again?

Thanks.

Nov 19 '05 #1
0 821

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

Similar topics

1
by: Doug Crabtree | last post by:
I have a project that I am working on that whenever I change the form controls, or any property on the form controls it rewrites the code for that form. I understand that it is supposed to do...
0
by: Bill Johnson | last post by:
Server Error in 'DataGrid' Application Compilation Error CS0234: The type or namespace name 'Global' does not exist in the class or namespace 'System.Web.UI.WebControls.DataGrid' (are you...
6
by: martin | last post by:
Hi, I have noticed that every aspx page that I created (and ascx file) has an assosiated resource file aspx.resx. However what I would like to do is have a single global resource file for the...
3
by: George W. | last post by:
I'm trying to use a DLL in my web app and get CS0234 (Namespace error). Is there no way to use a DLL that was written in VB in a C# web app?? -George W.
1
by: Surjeet Gill | last post by:
I was getting the following error after compiling the C# source file with VS.NET 2003, Any help will be appreciated. Many thanks! Surjeet Gill Details: Compilation Error Description: An...
2
by: Mark | last post by:
Hi, I'm fairly new to .NET and having problems getting an ASP.NET page working on my web host. The page works fine on my PC running against localhost. I have a MySQL database and a simple C#...
0
by: li.eddie | last post by:
Hi All, I'm new to ASP.NET and trying to create a Database application with MS Visual Web Dev 2005. In my project, I wrote a generic abstract class called DataAccessHelper.cs under App_Code folder...
1
by: jack | last post by:
I have created webform controls by following steps from one of the site. but when im placing the control on the form im getting below compiler error im not able to get what is this and tried a...
16
by: thefritz_j | last post by:
We just converted our VS2003 1.1 VB web project (which was working fine) to VS2005 2.0 and now I get: Parser Error Message: Could not load type '<Namespace>.'. Source Error: Line 1: <%@...
1
weaknessforcats
by: weaknessforcats | last post by:
C++: The Case Against Global Variables Summary This article explores the negative ramifications of using global variables. The use of global variables is such a problem that C++ architects have...
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: 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...
0
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,...
0
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...
0
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...

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.