Solved

Problem to access the page

Posted on 2015-01-09
3
84 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

jQuery is a JavaScript library that greatly simplifies JavaScript programming. AJAX is an acronym formed from "Asynchronous JavaScript and XML."  AJAX refers to any communication between client and server, when the human client does not observe a…
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
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…

685 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