Solved

Parser Error Message: Could not load type 'SSP.Global'.

Posted on 2008-11-01
3
636 Views
Last Modified: 2013-12-17
I'm trying to Debug an .Net solution with several projects and I'm getting the below error:
I'm using visual studio 2003

Server Error in '/SSPSAP' Application.
--------------------------------------------------------------------------------

Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Could not load type 'SSP.Global'.
0
Comment
Question by:ISLAMIKA
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 9

Expert Comment

by:vavjeeva
ID: 22860478
This error occurs when you create a new web application in asp.net using visual studio.net and without compiling the application, you try to browse a page in the application.

This occurs because of the Application DLL not having been formed.

asp.net will look in the Global Assembly Cache, and then in the application's local bin directory. If it can't find the class with the name you specified then it won't load. When you do a codebehind file in Visual studio, you are writing a base class for your aspx file to inherit from - the HTML template you write in the aspx is inlined into the dynamically generated subclass's Render method.

Even if you don't put any code in your page, you still need to compile it as long as you put the Inherts Webappname.Global in your Page directive.

To resolve this, Built the application using Ctrl + Shift + B or use F5 to build the application and then try to browse the application. The error will be resolved.

This is applicable to .NET 1.0, 1.1 versions - Visual Studio.NET

Source : http://geekswithblogs.net/ranganh/archive/2005/04/25/37610.aspx
0
 

Author Comment

by:ISLAMIKA
ID: 22880912
Hello, I compare the last version of my project twith the one that run and I saw this differences between thie files with extension .csprj.
1. The one is the past version (the one that run)
2. Is the actual version (the one that doesn't run)

I added all the projects into one solution, and the dlls seem to be ok. I really dont know whay the Dlls are compiled in different ways.

Can I replace the .csprj files??

File 1
<Reference
    Name = "Fender.SAP"
    Project = "{354176A5-714B-4232-AF06-601197959871}"
    Package = "{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}"
/>
<Reference
     Name = "Fender.Common"
     Project = "{5D3EBCCB-7EE0-4691-B594-9AE4FBC06C51}"
     Package = "{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}"
/>
<Reference
     Name = "SSP.Common"
     Project = "{7CAAA77E-B0A8-4E8E-9E7C-FAF8A596D9FF}"
     Package = "{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}"
/>
<Reference
     Name = "Fender.Web.Wizard"
     Project = "{1EB2DE17-BC70-4877-B323-76894D461266}"
     Package = "{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}"
/>
<Reference
 
File 2:
 <Reference
     Name = "SSP"
     AssemblyName = "SSP"
     HintPath = "..\..\..\Documents and Settings\pespinoza\Desktop\SSPDlls\bin\SSP.dll"
 />
 <Reference
    Name = "Fender.SAP"
    AssemblyName = "Fender.SAP"
    HintPath = "..\..\..\Documents and Settings\pespinoza\Desktop\SSPDlls\bin\Fender.SAP.dll"
   />
<Reference
Name = "Fender.Common"
                    AssemblyName = "Fender.Common"
                    HintPath = "..\..\..\Documents and Settings\pespinoza\Desktop\SSPDlls\bin\Fender.Common.dll"
                />
                <Reference
                    Name = "Fender.Web.Wizard"
                    AssemblyName = "Fender.Web.Wizard"
                    HintPath = "..\..\..\Documents and Settings\pespinoza\Desktop\SSPDlls\bin\Fender.Web.Wizard.dll"
                />
                <Reference
                    Name = "SSP.Common"
                    AssemblyName = "SSP.Common"
                    HintPath = "..\..\..\Documents and Settings\pespinoza\Desktop\SSPDlls\bin\SSP.Common.dll"
                />

Open in new window

0
 

Accepted Solution

by:
ISLAMIKA earned 0 total points
ID: 22888864
I was missing a reference, tks!!
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The object model of .Net can be overwhelming at times – so overwhelming that quite trivial tasks often take hours of research. In this case, the task at hand was to populate the datagrid from SQL Server database in Visual Studio 2008 Windows applica…
Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question