global-asax Questions
7
I'm currently working on a project, that includes ASP.net, JS, C#, Html and etc. My project was working fine and had no problem to load whats so ever and neither had any problems running using IIS ...
Manifesto asked 2/6, 2020 at 19:40
12
Solved
I can't debug global.asax file!
I have some codes in Application_Start() method but when I set a break point in the method, it is ignored!
Is this normal?
Millian asked 25/12, 2009 at 6:46
23
Solved
I am experiencing an error that I am unable to resolve for some time now. I was wondering if someone can help identify the cause of this error? I am completely new to asp / asax. After some researc...
Badinage asked 25/2, 2013 at 16:10
12
Solved
I am starting to use MVC4 Web API project, I have controller with multiple HttpPost methods. The Controller looks like the following:
Controller
public class VTRoutingController : ApiController
{...
Brotherson asked 10/7, 2012 at 5:44
3
Solved
I would like to execute a storedprocedure for evey one hour and have to load the dataset in applicaion(dropdrown or some asp.net controle) by creating the timer in Global.asax file.
Am very very ...
Jury asked 12/7, 2012 at 12:36
4
I am trying to perform some actions at the end of every request.
I changed the Application_Start() that is generated when created new project to make a test:
protected void Application_Start()
{
...
Thermometry asked 18/4, 2009 at 21:56
5
Solved
I got this error Redirect URI cannot contain new-line characters. when run this below code. Am Working MVC 4 . hers is my working code .
protected void Application_Error(Object sender, System.Eve...
Aphis asked 22/8, 2013 at 12:21
10
Solved
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 ...
Munich asked 23/5, 2010 at 5:44
3
Solved
Can anybody tell me when Application_End is triggered in a lifecycle of an application? When all sessions are ended, will Application_End be triggered automatically? + Are there any other reasons w...
Rumania asked 13/11, 2008 at 21:16
34
Solved
In my .Net 2.0 Asp.net WebForms app, I have my Global.asax containing the following code:
<%@ Application CodeBehind="Global.asax.cs" Inherits="MyNamespace.Global" Language="C#" %>
However...
Judon asked 5/1, 2010 at 11:39
3
Solved
(See question below for more context):
Are there any situations in which
<machineKey
validationKey="AutoGenerate,IsolateApps"
decryptionKey="AutoGenerate,IsolateApps"/>
in web.config w...
Phytogeography asked 9/7, 2009 at 22:8
4
Solved
Hai guys,
My website has thousands of users... I have implemented a background task of sending mails to every user once a day ... I followed this link to do this...
http://www.codeproject.com/KB/...
Permanence asked 25/11, 2009 at 2:54
6
Solved
I have some data layer classes that are to be used very frequently almost on the whole site.
I was working on a windows application previously and i used to create its object in module (vb.net) bu...
Estreat asked 25/11, 2009 at 15:11
2
I copied my MVC3 Razor website using FTP. However, when I type the URL I get an error:
"Could not load type Mynamespace.MvcApplication"
and it shows the problem is with Global.asax:
Line 1: &l...
Kannan asked 21/5, 2012 at 22:16
4
My ASP.NET 4.5 app is being deployed to shared hosting so I do not have access to IIS settings. To remove the X-Powered-By header, I specify in web.config:
<system.webServer>
<httpProtoc...
Underdrawers asked 6/1, 2013 at 0:54
5
Solved
I hope that you can help me with the below problem.
I am using ASP.NET MVC 3 on IIS7 and would like my application to support username's with dots.
Example: http://localhost/john.lee
This is how...
Streamway asked 14/2, 2012 at 8:51
4
Solved
Normally to access the current domain name e.g where the site is hosted I do something like
string rURL = HttpContext.Current.Request.Url.ToString().ToLower();
But HttpContext is not avaible on...
Ophelia asked 4/10, 2011 at 12:4
4
I'm trying to access the session state in my global.asax for every request (page, documents, PDF, etc.). I know i can't do that in Application_BeginRequest, and i thought i could in Application_Acq...
Cambodia asked 27/3, 2012 at 20:23
7
Solved
How can I get my global.asax file to publish to our ftp site?
I have added a global.asax file to my project (using asp.net with c# from vs2010) which works great on my local machine. Then when I p...
Maxfield asked 5/9, 2010 at 19:56
4
Solved
I'm wondering if there's a way to automatically stub in the Global.asax's event handlers? Thus far, I've not been able to find any examples of how to do this. Seems I have to just find the list of ...
Gossamer asked 17/3, 2009 at 20:17
4
Solved
The project in context is:
ASP .NET Web Application
.NET Framework: 4
Platform Target: x86
IDE: Visual Studio 2010 Ultimate SP1
Multiple projects in solution with ASP .NET being the startup proje...
Niggard asked 18/5, 2013 at 5:34
5
In my ASP.Net application, I can't get the events in Global.asax to fire on my machine. For instance, Session_Start will not fire.
The same Global.asax works fine on other development machines in ...
Accelerometer asked 15/3, 2009 at 22:35
2
We run a link redirection service which can handle links thrown at it in various formats. One of these formats is to append the destination URL to the end of the link, for example
http://url.fwd/a...
Schonfeld asked 31/5, 2010 at 10:5
7
Solved
I don't have a Global Application class code-behind any more inside my installed templates. All I have is Global.asax. I find more comfortable working with Global.asax.cs.
Why am I not seeing it...
Ideogram asked 19/5, 2011 at 8:37
2
Solved
I have this code in global.asax
protected void Application_Error(object sender, EventArgs e)
{
// ...
var routeData = new RouteData();
routeData.Values.Add("controller", "Home");
routeData.V...
Generous asked 4/1, 2017 at 16:59
1 Next >
© 2022 - 2025 — McMap. All rights reserved.