BugNET

Open source issue tracking & project management
Welcome to BugNET Register | Login |

BugNET Forums

 
  Forum  Support  Installation pr...  Parser Error
Previous Previous
 
Next Next
New Post 9/2/2008 10:50 AM
Unresolved
User is offline iphelion
14 posts
No Ranking


Parser Error 
Hi Everyone,

Im Trying to install bugnet on an IIS server and I am getting the following error:-

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 'BugNET.Global'.


Now ive put bugnet as a subdirectory of an existing ASP.NET website (created its own app pool and screwed around with bugnet's web.config so that it has a few tags for conflicting assemblies, so i was hoping that it was just going to work happily away on its own. It was fine if i made a website on another port and pointed at the directory its only here it is not working. Ive seen a similar post that said basically "its not compiled properly" and the author has stated it was to do with the way he was unzipping the files but it doesnt really offer any advice on what the problem could be.

Anyone else come across this before? Any advice?

Andy
 
New Post 9/2/2008 2:38 PM
User is offline smoss
114 posts
www.orbitsolutions.co.za
5th Level Poster


Re: Parser Error 

Hi Andy,

I have actually had a similar problem like this before.

Our environment was a .Net 1.1 host website with a aspnet 2.0 BugNET virtual sub-folder.

Try these things:

Recreate the app pool (delete and create a new one from default)
Make the BugNET sub-folder be a physical (not virtual) folder in the default root of the website. Configure this folder to be an application. (This is how we fixed it).
Check for bad tags in the references section of web.config.

It does seem that the source code is missing one or two files (as compared with the installer). I also saw that posting. Are you compiling from source or using the installer?

For unmodified live production BugNET websites I would recommend using the installer.

BugNET is easily transportable from a staging machine to a live server (especially if your site uses the default database in the APP_DATA folder).

 
New Post 9/3/2008 4:11 AM
User is offline iphelion
14 posts
No Ranking


Re: Parser Error 

Hi Smoss,


Ok took your advice, moved the folder to the physical home directory of the server and re-created the app-pool.  Assigned the directory as an application and assigned it to the application pool and checked through the config file but there doesnt seem to be anything amiss in there. 

 

The config file was actually throwing errors before I tweaked the other settings (with <clear/> mainly) so it didnt get interfered with by the master web.config for the website.

Its still moaning about not having code behind the global.asax

 

Any other ideas?

Andy

 

 
New Post 9/3/2008 4:31 AM
User is offline smoss
114 posts
www.orbitsolutions.co.za
5th Level Poster


Re: Parser Error 
Modified By smoss  on 9/3/2008 3:33:31 AM)

I dont have a Global.asax.cs file but it could be compiled into the binaries in the BIN folder. Did you install using the installer or the source code ??

Did you also try giving the application an Application Name in the web.config (I do this through the IIS add-on cause I dont know which section it needs to go into).

If you do change the application name, remember to change it in the ASPNET_MEMBERSHIP tables as part of the ASP.NET membership provider (sometimes it works without changing).

 

        <add name="AspNetSqlMembershipProvider"
             type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
             connectionStringName="LocalSqlServer"
             enablePasswordRetrieval="true"
             enablePasswordReset="true"
             requiresQuestionAndAnswer="false"
             applicationName="BugNET"
             requiresUniqueEmail="true"
             passwordFormat="Encrypted"
             maxInvalidPasswordAttempts="5"
             minRequiredPasswordLength="7"
             minRequiredNonalphanumericCharacters="0"
             passwordAttemptWindow="10"
             passwordStrengthRegularExpression=""/>

 

and

 

<providers>
                <clear/>
                <add name="AspNetSqlProfileProvider"
     type="System.Web.Profile.SqlProfileProvider"
     applicationName="BugNET"
     connectionStringName="LocalSqlServer"/>
            </providers>

 
New Post 9/3/2008 5:08 AM
User is offline iphelion
14 posts
No Ranking


Re: Parser Error 
Modified By iphelion  on 9/3/2008 4:09:22 AM)

Hi Smoss,

Cant seem to find where to give the appliacion a name in the ASP.NET portion of the IIS add in.  And this was originally installed from the INSTALLER download and not compiled.  I have a fresh download of the installer package and tried overwriting the files (except the config) but to no avail.

Any other ideas - sorry to be a pain - didnt think it would be this much hassle to install.

Cheers

Andy

 

 
Previous Previous
 
Next Next
  Forum  Support  Installation pr...  Parser Error

Forum Policy

These Discussion Forums are dedicated to the discussion of the BugNET issue tracker.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:
1. No Advertising.
2. No Flaming or Trolling.
3. No Profanity, Racism, or Prejudice.
4. Site Moderators have the final word on approving/removing a thread or post or comment.
5. English language posting only, please.