PLease Help Compilation Error :CS0246: The type or namespace name 'AspNet' could not be found

Hi all

Normal 0 false false false MicrosoftInternetExplorer4 /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman"; mso-ansi-language:#0400; mso-fareast-language:#0400; mso-bidi-language:#0400;}

i am a newbie.   I uploaded the classified site to my hosting company.  www.godaddy.com and couldn't get it to work.i get this error message.

 

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0246: The type or namespace name 'AspNet' could not be found (are you missing a using directive or an assembly reference?)

Source Error:


Line 1:  <%@ Application Language="C#" %> 
Line 2: <%@ Import Namespace="AspNet.StarterKits.Classifieds.Web" %>
Line 3:
Line 4: <script runat="server">

Source File: d:\hosting\sherjeelislam\Global.asax    Line: 2



c:\windows\system32\inetsrv> "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\csc.exe" /t:library /utf8output /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\fb7c2b73\4f518229\App_Code.znvzc38h.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"C:\WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll" /R:"C:\WINDOWS\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll" /R:"C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll" /out:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\fb7c2b73\4f518229\App_global.asax.td6c7kja.dll" /D:DEBUG /debug+ /optimize- /w:4 /nowarn:1659;1699;1701  "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\fb7c2b73\4f518229\App_global.asax.td6c7kja.0.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\fb7c2b73\4f518229\App_global.asax.td6c7kja.1.cs"


Microsoft (R) Visual C# 2005 Compiler version 8.00.50727.1433
for Microsoft (R) Windows (R) 2005 Framework version 2.0.50727
Copyright (C) Microsoft Corporation 2001-2005. All rights reserved.

d:\hosting\sherjeelislam\Global.asax(2,11): error CS0246: The type or namespace name 'AspNet' could not be found (are you missing a using directive or an assembly reference?)

 

Normal 0 false false false MicrosoftInternetExplorer4 /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman"; mso-ansi-language:#0400; mso-fareast-language:#0400; mso-bidi-language:#0400;}

I spend whole day but I can’t resolve this problem.  Please Help

Sherjeel

 

 

 

 

 
0
sherjeel
7/24/2008 2:43:13 PM
asp.net.classified-starter-kit 974 articles. 0 followers. Follow

4 Replies
1055 Views

Similar Articles

[PageSpeed] 59

It looks like you're missing a DLL for ASPNet assembly.
Find it and put it into the Bin.


If everything happens for a reason what is the reason for this error?
0
mpaterson
7/24/2008 2:47:44 PM

Thanks for Reply

The Classifieds does not include a bin folder or additional dll's. the code work locally, that why i can't understand why it is not runing when i upload it

0
sherjeel
7/24/2008 3:10:49 PM

That namespace is coming from App_Code/Web/ClassifiedsHttpApplication.

Make sure the file is there and the namespace is

AspNet.StarterKits.Classifieds.Web


If everything happens for a reason what is the reason for this error?
0
mpaterson
7/24/2008 3:33:12 PM

 Thanks mpaterson after uploading the "App_Code/Web/ClassifiedsHttpApplication" my problem is solve

Thanks again

0
sherjeel
7/24/2008 3:38:39 PM
Reply:

Similar Artilces:

Deploy new website - getting error
This works fine on my development machine - I have deployed it to an IIS 6 machine.  I am getting: Compiler Error Message: CS0246: The type or namespace name 'IBindableControl' could not be found (are you missing a using directive or an assembly reference?)Source Error: Line 492: private static void ExtractValuesFromBindableControls(IOrderedDictionary values, Control container) Line 493: { Line 494: IBindableControl control = container as IBindableControl; Line 495: if (control != null) Line 496: { IBindableControl ...

Compiler Error Message: CS0246: The type or namespace name 'sharpPDF' could not be found
Hy guys!I'm quite new to ASP.NET.I'm making tests on how to use additional libraries, but I stop right at the beginning! Here is what I did: 1) I downloaded an assembly file sharpPDF.dll from sharpPDF.sourceforge.net. 2) I put it in <myWWWfolder>/libs/ 3) From the command DOS, I run RegAsm.exe on sharpPDF.dll and the program told me it was registered 4) In Web Matrix, I added the sharpPDF assembly form the "classes" panel and I can see it reported in the assemblies list as three namespaces: a) sharpPDF b) sharpPDF.Enumerators c) sharpPDF.Exceptions 5) Finally here ...

Compiler Error Message: CS0246: The type or namespace name 'sharpPDF' could not be found
Hy guys!I'm quite new to ASP.NET.I'm making tests on how to use additional libraries, but I stop right at the beginning! Here is what I did: 1) I downloaded an assembly file sharpPDF.dll from sharpPDF.sourceforge.net. 2) I put it in <myWWWfolder>/libs/ 3) From the command DOS, I run RegAsm.exe on sharpPDF.dll and the program told me it was registered 4) In Web Matrix, I added the sharpPDF assembly form the "classes" panel and I can see it reported in the assemblies list as three namespaces: a) sharpPDF b) sharpPDF.Enumerators c) sharpPDF.Exceptions 5) Finally here ...

Compiler Error Message: CS0246: The type or namespace name 'ADODB' could not be found
I'm using some COM dlls in my solution and locally everything works fine. However, on the production server I'm getting the following error: Compiler Error Message: CS0246: The type or namespace name 'ADODB' could not be found How this problem could be solved? It was just a matter of registering ALL necessary ddls.  That's all.. by registering - I mean putting into dlls into bin folder of solution on productional web server...

Compiler Error Message: CS0246: The type or namespace name 'Constants' could not be found
  I'm using Visual Web Express and i'm including a c# file named Constants to access the common functionalities. The C# file is included in App_Code directory and when i access the c# file using the code below it shows the error: Compiler Error Message: CS0246: The type or namespace name 'Constants' could not be found (are you missing a using directive or an assembly reference?) public partial class _Default : System.Web.UI.PageLine 20:     {Line 21:         Constants cons = new Constants();Line 22:  &nb...

Compiler Error Message: CS0246: The type or namespace name 'sharpPDF' could not be found
Hy guys!I'm quite new to ASP.NET.I'm making tests on how to use additional libraries, but I stop right at the beginning!:-( Here is what I did: 1) I downloaded an assembly file sharpPDF.dll from sharpPDF.sourceforge.net. 2) I put it in <myWWWfolder>/libs/ 3) From the command DOS, I run RegAsm.exe on sharpPDF.dll and the program told me it was registered 4) In Web Matrix, I added the sharpPDF assembly form the "classes" panel and I can see it reported in the assemblies list as three namespaces: a) sharpPDF b) sharpPDF.Enumerators c) sharpPDF.Exceptions 5) Finally he...

Compiler Error: CS0234: The type or namespace name 'DataAccessHelper' does not exist in the namespace 'BCC'
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 which handles all the Database related work, so all my WebForm classes can inherit from itand consume its functions. Inside the VWD, when I press F5, it launches the browser with http://localhost:2739 and everything shows up as expected. However, when I try to access it through a regular port 80, I get the followingerror:*********************************************Compiler Error Message: CS0234: T...

Compiler Error Message: CS0234: The type or namespace name 'Global' does not exist in the namespace 'UChat' (are you missing an assembly reference?)
Compiler Error Message: CS0234: The type or namespace name 'Global' does not exist in the namespace 'Chat' (are you missing an assembly reference?)  suggest the above error   i am having Global.asax file and codebehind Global.asax.cs under App_code folder..in my local system it working fine but  when i copy paste the code in server it showing the error ...  Hi, senthil_os: Compiler Error Message: CS0234: The type or namespace name 'Global' does not exist in the namespace 'Chat' (are you missing an assembly reference?) I ...

Class library: error cs0246 The type or namespace name 'DALayer' could not be found
 Hi, I've created in my black website a Class library with a simple class in it with one simple function that returns a string.Now i've build my class library and i've made a reference in my website to that library. The dll files are now in my bin folder. In the file default.aspx.cs  i have the following:  1 using System; 2 using System.Configuration; 3 using System.Data; 4 using System.Linq; 5 using System.Web; 6 using System.Web.Security; 7 using System.Web.UI; 8 using System.Web.UI.HtmlControls; 9 using System.Web.UI....

WSDL Error in IIS CS0246: The type or namespace name 'BarcoInfrastructure' could not be found
I want to develop an application in ASP.NET v2.0 using Visual Studio 2005.The application requires two way communication (info and sending commands) with another 3the party application.I'm using webreferences (WSDL) to achieve this.Everything works fine with the ASP.NET Development Server & the IIS from Windows XP SP2 as long as I don't include the webreferences (WSDL) to communicate with another program running on my PC.When including the references, the visual studio compiler doesn't give an error, and everyting works fine using the Development Server. When trying to load the same ASP...

CruiseControl error CS0246: The type or namespace name 'CommonInfo' could not be found (are you missing a using directive or an assembly reference?)
Having an issue here getting cruisecontrol to build one of my projects. I added a public class to my namespace to use in my other class, also in the same namespace. The application runs fine on my local machine and I am able to see results as expected but when the project is built in cruisecontrol, I get the following error message GraphMap.cs(165,22): error CS0246: The type or namespace name 'CommonInfo' could not be found (are you missing a using directive or an assembly reference?)GraphMap.cs(165,53): error CS0246: The type or namespace name 'CommonInfo' could not be fou...

Error "CS0234: The type or namespace name 'Data' does not exist in the namespace 'System'"
Dear all,the following web site ran for months without troubles http://www.fotovoltaico.sanzeno.org/StoricoRS.aspxSuddenly yesterday I started getting the error you can see switching to that site. I am really getting crazy wondering what happened, but I have no idea. Do you have any suggestion? Thank you in advancePierluigi ...

error CS0246: The type or namespace name 'NetworkCredentials' could not be found (are you missing a using directive or an assembly reference?)(are you missing a using directive or an assembly referenc
Hello Everyone, This is my first post on ASP.NET. This is a great website and I have just discovered the forums which I am hoping will help me to resolve my problem. I have been developing in .net for about 9 months now and I am now just learning all the neat features included Visual Studio 2005. I am using the Visual Web Developer and have SP1 installed. My problem is as follows.I am creating a webform that emails the results of the input using the example found here: http://www.systemnetmail.com/faq/4.2.aspx. The code looks as follows. using System.Net.Mail; protected voi...

The type or namespace name 'ASPNET' could not be found
Hi -  I've been using IssueTracker successfully for a few months and suddenly I am getting the following runtime error? I haven't uploaded any changes. Any ideas? Thanks a lot. CS0246: The type or namespace name 'ASPNET' could not be found ...

Web resources about - PLease Help Compilation Error :CS0246: The type or namespace name 'AspNet' could not be found - asp.net.classified-starter-kit

Resources last updated: 12/17/2015 12:10:02 PM