svalerio1
06-16-2009, 07:42 AM
Hi I created my first websites with db
now the problem is that :
when i run my websites and click on application that required to use of db
is generated this error :
Server Error in '/' Application.
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 'Category' could not be found (are you missing a using directive or an assembly reference?)
Source Error:
Line 26: // populate the TreeView from scratch
Line 27: TreeViewCategories.Nodes.Clear();
Line 28: List<Category> rootCategories = Catalog.GetChildCategories(String.Empty); // get root level ones
Line 29: foreach (Category c in rootCategories)
Line 30: {
Source File: e:\web\eldironit01\htdocs\Items.aspx.cs Line: 28
Show Detailed Compiler Output:
C:\Windows\SysWOW64\inetsrv> "C:\Windows\Microsoft.NET\Framework\v3.5\csc.exe" /t:library /utf8output /R:"C:\Windows\assembly\GAC_MSIL\System\2.0.0.0__b77a5 c561934e089\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__b 77a5c561934e089\System.Xml.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.WorkflowServic es\3.5.0.0__31bf3856ad364e35\System.WorkflowServic es.dll" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temp orary ASP.NET Files\root\a5166ca1\ffed892c\App_Web_f3sdasci.dll" /R:"C:\Windows\assembly\GAC_32\System.EnterpriseServic es\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServ ices.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Web.Mobile\2.0 .0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.ServiceModel\3 .0.0.0__b77a5c561934e089\System.ServiceModel.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Xml.Linq\3.5.0 .0__b77a5c561934e089\System.Xml.Linq.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Core\3.5.0.0__ b77a5c561934e089\System.Core.dll" /R:"C:\Windows\assembly\GAC_32\System.Data\2.0.0.0__b7 7a5c561934e089\System.Data.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Runtime.Serial ization\3.0.0.0__b77a5c561934e089\System.Runtime.S erialization.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.ServiceModel.W eb\3.5.0.0__31bf3856ad364e35\System.ServiceModel.W eb.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.IdentityModel\ 3.0.0.0__b77a5c561934e089\System.IdentityModel.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.Configuration\ 2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\msco rlib.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Data.DataSetEx tensions\3.5.0.0__b77a5c561934e089\System.Data.Dat aSetExtensions.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Web.Extensions \3.5.0.0__31bf3856ad364e35\System.Web.Extensions.d ll" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temp orary ASP.NET Files\root\a5166ca1\ffed892c\App_Code.itppkwtt.dll" /R:"C:\Windows\assembly\GAC_32\System.Web\2.0.0.0__b03 f5f7f11d50a3a\System.Web.dll" /out:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temp orary ASP.NET Files\root\a5166ca1\ffed892c\App_Web_gugjn2yf.dll" /debug- /optimize+ /win32res:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temp orary ASP.NET Files\root\a5166ca1\ffed892c\gugjn2yf.res" /w:4 /nowarn:1659;1699;1701 /warnaserror- "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temp orary ASP.NET Files\root\a5166ca1\ffed892c\App_Web_gugjn2yf.0.cs" "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temp orary ASP.NET Files\root\a5166ca1\ffed892c\App_Web_gugjn2yf.1.cs" "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temp orary ASP.NET Files\root\a5166ca1\ffed892c\App_Web_gugjn2yf.2.cs"
Microsoft (R) Visual C# 2008 Compiler version 3.5.30729.1
for Microsoft (R) .NET Framework version 3.5
Copyright (C) Microsoft Corporation. All rights reserved.
e:\web\eldironit01\htdocs\Items.aspx.cs(28,18): error CS0246: The type or namespace name 'Category' could not be found (are you missing a using directive or an assembly reference?)
ecc..
hence this error i understand that the db is not loading on my sql db on account , i would understand if you can if i uploaded wrong db or error of my account
thanks for your help
now the problem is that :
when i run my websites and click on application that required to use of db
is generated this error :
Server Error in '/' Application.
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 'Category' could not be found (are you missing a using directive or an assembly reference?)
Source Error:
Line 26: // populate the TreeView from scratch
Line 27: TreeViewCategories.Nodes.Clear();
Line 28: List<Category> rootCategories = Catalog.GetChildCategories(String.Empty); // get root level ones
Line 29: foreach (Category c in rootCategories)
Line 30: {
Source File: e:\web\eldironit01\htdocs\Items.aspx.cs Line: 28
Show Detailed Compiler Output:
C:\Windows\SysWOW64\inetsrv> "C:\Windows\Microsoft.NET\Framework\v3.5\csc.exe" /t:library /utf8output /R:"C:\Windows\assembly\GAC_MSIL\System\2.0.0.0__b77a5 c561934e089\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__b 77a5c561934e089\System.Xml.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.WorkflowServic es\3.5.0.0__31bf3856ad364e35\System.WorkflowServic es.dll" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temp orary ASP.NET Files\root\a5166ca1\ffed892c\App_Web_f3sdasci.dll" /R:"C:\Windows\assembly\GAC_32\System.EnterpriseServic es\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServ ices.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Web.Mobile\2.0 .0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.ServiceModel\3 .0.0.0__b77a5c561934e089\System.ServiceModel.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Xml.Linq\3.5.0 .0__b77a5c561934e089\System.Xml.Linq.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Core\3.5.0.0__ b77a5c561934e089\System.Core.dll" /R:"C:\Windows\assembly\GAC_32\System.Data\2.0.0.0__b7 7a5c561934e089\System.Data.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Runtime.Serial ization\3.0.0.0__b77a5c561934e089\System.Runtime.S erialization.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.ServiceModel.W eb\3.5.0.0__31bf3856ad364e35\System.ServiceModel.W eb.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.IdentityModel\ 3.0.0.0__b77a5c561934e089\System.IdentityModel.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.Configuration\ 2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\msco rlib.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Data.DataSetEx tensions\3.5.0.0__b77a5c561934e089\System.Data.Dat aSetExtensions.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Web.Extensions \3.5.0.0__31bf3856ad364e35\System.Web.Extensions.d ll" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temp orary ASP.NET Files\root\a5166ca1\ffed892c\App_Code.itppkwtt.dll" /R:"C:\Windows\assembly\GAC_32\System.Web\2.0.0.0__b03 f5f7f11d50a3a\System.Web.dll" /out:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temp orary ASP.NET Files\root\a5166ca1\ffed892c\App_Web_gugjn2yf.dll" /debug- /optimize+ /win32res:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temp orary ASP.NET Files\root\a5166ca1\ffed892c\gugjn2yf.res" /w:4 /nowarn:1659;1699;1701 /warnaserror- "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temp orary ASP.NET Files\root\a5166ca1\ffed892c\App_Web_gugjn2yf.0.cs" "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temp orary ASP.NET Files\root\a5166ca1\ffed892c\App_Web_gugjn2yf.1.cs" "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temp orary ASP.NET Files\root\a5166ca1\ffed892c\App_Web_gugjn2yf.2.cs"
Microsoft (R) Visual C# 2008 Compiler version 3.5.30729.1
for Microsoft (R) .NET Framework version 3.5
Copyright (C) Microsoft Corporation. All rights reserved.
e:\web\eldironit01\htdocs\Items.aspx.cs(28,18): error CS0246: The type or namespace name 'Category' could not be found (are you missing a using directive or an assembly reference?)
ecc..
hence this error i understand that the db is not loading on my sql db on account , i would understand if you can if i uploaded wrong db or error of my account
thanks for your help