Solved

Problem to access the page

Posted on 2015-01-09
3
80 Views
Last Modified: 2015-01-14
Hi,
when running the codes like
            Response.Redirect("http://mysite.co/app9_dev/Default.aspx");
            ...

Open in new window

I get this
Server Error in '/app9_dev' 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 'app9.Global'.

Source Error: 



Line 1:  <%@ Application Codebehind="Global.asax.cs" Inherits="app9.Global" Language="C#" %>

  

 Source File:  /app9_dev/global.asax    Line:  1 


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34237  

Open in new window


how to identify where the problem is?
0
Comment
Question by:HuaMinChen
  • 2
3 Comments
 
LVL 44

Accepted Solution

by:
Rainer Jeschor earned 500 total points
ID: 40539890
Hi,
it looks like your application can not load the DLL.
Have you build the .NET solution?
Normally a rebuild of the solution should fix this.
HTH
Rainer
0
 
LVL 10

Author Comment

by:HuaMinChen
ID: 40539892
I did try to rebuild it but the problem persists.
0
 
LVL 44

Expert Comment

by:Rainer Jeschor
ID: 40539909
Hi,
how do you deploy your ASP.NET web application? Or are you building it directly from Visual Studio to the web site?
From your url it looks like your ASP.NET web app is a sub-application - can you verify in IIS, that our application pool is using the right .NET framework version?
HTH
Rainer
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

746 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now