CS0103: The name 'MyWebPagesStarterKit' does not exist in the current context

Topics: Developer Forum, User Forum
Nov 19, 2007 at 10:57 AM
I have just uploaded the MWPSK onto my remote server and had the following error message.
Will be delighted if someone could assist me as to how to resolve this problem.

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: CS0103: The name 'MyWebPagesStarterKit' does not exist in the current context

Source Error:



Line 6: {
Line 7: try {
Line 8: MyWebPagesStarterKit.WebSite.GetInstance();
Line 9: SiteMap.Provider.SiteMapResolve += new SiteMapResolveEventHandler(MyWebPagesStarterKit.Providers.CustomXmlSitemapProvider.Resolve);
Line 10: } catch (Exception ex)


Source File: e:\web\virdatcom00\htdocs\Global.asax Line: 8



Compiler Warning Messages:
Warning: CS1668: Invalid search path 'C:\Program Files\SQLXML 3.0\bin\' specified in 'LIB environment variable' -- 'Access is denied. '
Source Error:



No relevant source lines


Warning: CS1668: Invalid search path 'C:\Program Files\SQLXML 4.0\bin\' specified in 'LIB environment variable' -- 'Access is denied. '
Source Error:



No relevant source lines





Show Detailed Compiler Output:


c:\windows\system32\inetsrv> "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\csc.exe" /t:library /utf8output /R:"C:\WINDOWS\assembly\GAC32\System.EnterpriseServices\2.0.0.0_b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:"C:\WINDOWS\assembly\GACMSIL\System.Drawing\2.0.0.0_b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\WINDOWS\assembly\GACMSIL\System.Web.Mobile\2.0.0.0_b03f5f7f11d50a3a\System.Web.Mobile.dll" /R:"C:\WINDOWS\assembly\GAC32\System.Data\2.0.0.0_b77a5c561934e089\System.Data.dll" /R:"C:\WINDOWS\assembly\GAC32\System.Web\2.0.0.0_b03f5f7f11d50a3a\System.Web.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll" /R:"C:\WINDOWS\assembly\GACMSIL\System.ServiceModel\3.0.0.0_b77a5c561934e089\System.ServiceModel.dll" /R:"C:\WINDOWS\assembly\GACMSIL\System.Configuration\2.0.0.0_b03f5f7f11d50a3a\System.Configuration.dll" /R:"C:\WINDOWS\assembly\GACMSIL\System.Runtime.Serialization\3.0.0.0_b77a5c561934e089\System.Runtime.Serialization.dll" /R:"C:\WINDOWS\assembly\GACMSIL\System\2.0.0.0_b77a5c561934e089\System.dll" /R:"C:\WINDOWS\assembly\GACMSIL\System.Web.Services\2.0.0.0_b03f5f7f11d50a3a\System.Web.Services.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\4fef3e34\b5d8f225\AppGlobalResources.emqq4gjc.dll" /R:"C:\WINDOWS\assembly\GACMSIL\System.Design\2.0.0.0_b03f5f7f11d50a3a\System.Design.dll" /R:"C:\WINDOWS\assembly\GACMSIL\System.IdentityModel\3.0.0.0_b77a5c561934e089\System.IdentityModel.dll" /R:"C:\WINDOWS\assembly\GACMSIL\System.Xml\2.0.0.0_b77a5c561934e089\System.Xml.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\4fef3e34\b5d8f225\assembly\dl3\97157153\21eca5bd182ac801\AppLicenses.DLL" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\4fef3e34\b5d8f225\assembly\dl3\ea8748b2\2b2c90c0182ac801\RJS.Web.WebControl.PopCalendar.DLL" /out:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\4fef3e34\b5d8f225\Appglobal.asax.n7rmxzgb.dll" /D:DEBUG /debug+ /optimize- /w:4 /nowarn:1659;1699 "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\4fef3e34\b5d8f225\Appglobal.asax.n7rmxzgb.0.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\4fef3e34\b5d8f225\App_global.asax.n7rmxzgb.1.cs"


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

warning CS1668: Invalid search path 'C:\Program Files\SQLXML 3.0\bin\' specified in 'LIB environment variable' -- 'Access is denied. '
warning CS1668: Invalid search path 'C:\Program Files\SQLXML 4.0\bin\' specified in 'LIB environment variable' -- 'Access is denied. '
e:\web\virdatcom00\htdocs\Global.asax(8,13): error CS0103: The name 'MyWebPagesStarterKit' does not exist in the current context
e:\web\virdatcom00\htdocs\Global.asax(9,79): error CS0103: The name 'MyWebPagesStarterKit' does not exist in the current context
e:\web\virdatcom00\htdocs\Global.asax(24,9): error CS0246: The type or namespace name 'MyWebPagesStarterKit' could not be found (are you missing a using directive or an assembly reference?)
e:\web\virdatcom00\htdocs\Global.asax(24,44): error CS0246: The type or namespace name 'MyWebPagesStarterKit' could not be found (are you missing a using directive or an assembly reference?)
e:\web\virdatcom00\htdocs\Global.asax(76,30): error CS0103: The name 'MyWebPagesStarterKit' does not exist in the current context