Page view counter

Server Error/Parser Error in DotNetNuke Applications

Last post 12-26-2005 11:21 PM by smehaffie. 11 replies.

Sort Posts:

  • Server Error/Parser Error in DotNetNuke Applications

    07-08-2005, 4:26 AM
    • Loading...
    • TAST
    • Joined on 07-08-2005, 8:22 AM
    • Posts 3
    • Points 15

    Server Error in '/DotNetNuke' 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 'DotNetNuke.Common.Global'.

    Source Error:

    Line 1:  <%@ Application Codebehind="Global.asax.vb" Inherits="DotNetNuke.Common.Global" %>

    Source File: C:\DotNetNuke\global.asax    Line: 1


    Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032




    Can anyone give me an idea on what the problem is?  I'm new to DotNetNuke and am trying to install the 3.0 version/Source.

    Thanks
  • Big Smile [:D] Re: Server Error/Parser Error in DotNetNuke Applications

    07-08-2005, 7:54 AM
    • Loading...
    • mp_lights
    • Joined on 07-05-2005, 8:43 AM
    • United States
    • Posts 34
    • Points 140
    hi,
           You first need to rebuild the whole Dotnetnuke solution before doing anything.After rebuilding just browse the site and see.If it does not work just make sure that the Namespace given in ur application matches the one in ur html codebehind. Look at this eg. in the first line of the  HTML codebehind  <Inherits="Namespace.ApplicationFormStep1" >.



    Thanks 
    mats_jockey@yahoo.com   
  • Re: Server Error/Parser Error in DotNetNuke Applications

    07-09-2005, 3:03 AM
    • Loading...
    • TAST
    • Joined on 07-08-2005, 8:22 AM
    • Posts 3
    • Points 15
    Thanks for your reply.

    What do you mean by "rebuild" the DotNetNuke solution?  I am simply trying to install it by running http:/localhost/DotNetNuke.

    I have downloaded the DotNetNuke 3.1 and I get the same error.  I tried deleting the database, running the  iis-registry executable/utility, tried dropping the folder into the root web directory, tried  giving ASPNET user system privileges as well as full control - these are all suggestions I've seen elsewhere.  I'm about to re-download the .Net Framework as that is the only thing I haven't done recently.

    I don't know where I should be looking in order to make this work.




  • Re: Server Error/Parser Error in DotNetNuke Applications

    07-10-2005, 11:53 PM
    • Loading...
    • smehaffie
    • Joined on 09-27-2002, 8:36 PM
    • Posts 1,264
    • Points 6,261
    Which install did you download the one with the source, or the one without the source.  If you downloaded the source version you need to open the all solutions project and recompile the project.  I would suggest downloading the non-soource version and us it for your web-site installations, as this is a cleane up version and gets rid of all the unneeded files for a production web site.
    S. Shawn Mehaffie
    PC Resources, LLC
  • Re: Server Error/Parser Error in DotNetNuke Applications

    07-18-2005, 12:20 PM
    • Loading...
    • TAST
    • Joined on 07-08-2005, 8:22 AM
    • Posts 3
    • Points 15
    Thanks for the reply.  I used the install with the source. 

    I successfully installed DotNetNuke on a second computer that I have. 

    I'll try installing without the source.

  • Crying [:'(] Re: Server Error/Parser Error in DotNetNuke Applications

    08-10-2005, 1:01 AM
    • Loading...
    • Fabio972
    • Joined on 02-12-2005, 12:04 PM
    • Posts 43
    • Points 215
    Hi all,

    On a good DNN source installation that works fine, I've got exactly the same problem, just compiling sometimes my DNN under VS 2003 and this happens. I have nerver, never, never touch this Global.asax files

    I've tried to :
    * clear VS cache,
    * rebuild in debug or release
    * rebuild with Nant
    The problem is still here.

    This is the exact error message (french server) :

    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: BC30560: 'Global' est ambigu dans l'espace de noms 'DotNetNuke.Common'.

    Source Error:

    Line 31:     <System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()>  _
    Line 32:     Public Class Global_asax
    Line 33:         Inherits DotNetNuke.Common.Global
    Line 34:        
    Line 35:         Private Shared __initialized As Boolean = false

    Source File:
    E:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\v2prospection\f7465e05\75b7bee5\a-ihpyde.0.vb    Line: 33

    Can you please help me !!! I really don't know what to do and I'm in a hurry with this developement DNN.

    ^_^
  • Re: Server Error/Parser Error in DotNetNuke Applications

    10-11-2005, 11:24 AM
    • Loading...
    • iTalk2
    • Joined on 12-03-2004, 12:18 PM
    • Posts 5
    • Points 25

    I am experiencing the same error message but my circumstance is different. I uploaded a page called stats.aspx that I had created in Dream weaver. Now my DNN pages don't work, I am on version 2.0. What can I do to repair it, I have been down now for 26 hours and I am pulling my hair out not to ad getting tons of complaints for being offline. I tried my backup but still have the same error.

  • Re: Server Error/Parser Error in DotNetNuke Applications

    10-30-2005, 1:45 AM
    • Loading...
    • jawgster
    • Joined on 10-30-2005, 5:41 AM
    • Posts 10
    • Points 30
    Same problem - DNN installation was working for months - then suddenly, after installing a module it went crazy and started with these codebehind messages. I can't even get a fresh DNN install working - I get the same error

    Parser Error Message: Could not load type 'DotNetNuke.Common.Global'.

    Source Error:

    Line 1:  <%@ Application Codebehind="Global.asax.vb" Inherits="DotNetNuke.Common.Global" %>

    I think it sucks bigtime for DNN to be so flaky. There are hundreds of references to this problem on the net and no answers.

    What gives?
  • Re: Server Error/Parser Error in DotNetNuke Applications

    10-30-2005, 7:31 AM
    • Loading...
    • iTalk2
    • Joined on 12-03-2004, 12:18 PM
    • Posts 5
    • Points 25
    In my case the bin directory was in the root directory instead of being in the DNN application directory. Not sure to how it got moved but all I did was move it back and no more error message.
  • Re: Server Error/Parser Error in DotNetNuke Applications

    11-29-2005, 11:13 PM
    Hi all,
           Got the same problem when running it in dotnet 2.0 beta version. I switched to dotnet 2.0.50727 framework. Now i got it solved...

    Regards,
    Siva.M

  • Re: Server Error/Parser Error in DotNetNuke Applications

    12-26-2005, 4:17 AM
    • Loading...
    • reav3r
    • Joined on 12-26-2005, 9:13 AM
    • brussels
    • Posts 10
    • Points 36
    Same situation here ... I've installed some modules, everything was working fine; then, on this after Christmas monday morning alone in the office, DotNetNuke gift was this error message ..
    Even getting a previous version from SourceSafe didn't help.
    I'm currently running on asp.net version 2.0.50727.42, so it's not a matter of beta bug or stuff like that ..
    I think I won't go further with DNN, seems to be too unstable.
  • Re: Server Error/Parser Error in DotNetNuke Applications

    12-26-2005, 11:21 PM
    • Loading...
    • smehaffie
    • Joined on 09-27-2002, 8:36 PM
    • Posts 1,264
    • Points 6,261
    Download the latest version of DNN and if you are uisng the source download then recompile the source code.  If you continue to have problems with 4.0 you might consider using the latest version of DNN 3, since it has been around longer and more stable.  Since ASP.Net 2.0 is so new there are still some unknonws about all the different scenerios that could come up.
    S. Shawn Mehaffie
    PC Resources, LLC
Page 1 of 1 (12 items)