We've started to see instances on our Intranet server where for any page the server just responds with the error page 'HTTP/1.1 New Session Failed'. It seems we can fix it by running IISRESET but this feels like we're only treating the symptom.
The server is a virtualised server running IIS6 on Windows Server 2003 with 0.5Gb of RAM. Our Intranet…
When I want to deploy an MVC 4 (.net 4.5) application to my iis i got the 403.14 calling me that the content ist not browseable.
This also occurs when i deploy the unchanged mvc 4 template.
when using the mvc 4 template with .net 4.0 everything works.
I checked the other posts but can't figure out the solution.
ist set
i ran aspnet_regiss -i…
How to configure routing in asp.net web api, to that I can code for the following actions in my ApiController inherited class?
|======================================================================================|
|Http Verb| Path | Action | Used for |…
How do I map something like domain.com/username? The problem is I think that the MVC routing looks for the controller to determine how it should handle the mapping request.
I am pretty new to ASP.NET MVC.
However, based on the tutorials so far, the routing mechanism seems rather rigid.
We have recently shifted to asp.net mvc, but we still need to support some legacy urls. What is the best way to handle this situation. Is it Application_PreRequestHandlerExecute() event in global.asax, that I need to use or is there any better way?
Hi
I have a page that sends an email on ASP.NET MVC Page.
All the Text is displaying but the image is not displaying.
Any workaround.
Appreciate your responses.
Here is my code:
MailMessage mailMsg = new MailMessage();
mailMsg.IsBodyHtml = true;
…
Today we released the v2.1 update of the Windows Azure SDK for .NET. This is a major refresh of the Windows Azure SDK and it includes some great new features and enhancements. These new capabilities include: Visual Studio 2013 Preview Support: The Windows Azure SDK now supports using…
We have already covered the BYOD requirements that an application developer is faced with, in an earlier blog entry ( How to Bring Your Own Device (BYOD) to a .NET application ). In that entry we emphasized the fact that application developers will need to prepare their applications for…
Hi fellow programmer
I'd like to use session variables in my ASP.NET MVC application.
I already added tag in my web.config file like this
<sessionState mode="InProc"
stateConnectionString="tcpip=127.0.0.1:2967"
…
When I use Authorize filter on an action or a controller used by uplodify (http://www.uploadify.com/) the action isn't reach...
moreover Session are not retrieved.
I found this to retrieved user session :
…
Hi
I'm working on a site that has a requirement to share session between a cms application and an online store application on the same domain eg.
mydomain.com
and
store.mydomain.com
I've made some…
I would like to know how to use session state in a simple log in log out in asp.net mvc..
I have a code here in my controller that I've retrieved from my mysql database for my session log in..but I…
Basically, what the title says. I have several properties that combine together to really make one logical answer, and i would like to run a server-side validation code (that i write) which take…
Are Session variables (in ASP.NET) the safest way to store data relating to whether a user is logged in or not? i.e. Session["LoggedIn"] = 'No'
I know Session variables can be spoofed so I…
I'm about to start integrating ASP.NET MVC into an existing 200k+ line classic ASP application. Rewriting the existing code (which runs an entire business, not just the public-facing…
I'm after a cross-platform cross-browser way of uploading files such that there is no timeout. Uploads aren't necessarily huge -- some just take a long time to upload because of the…
I have a view where I want to perform different actions on the items in each row in a table, similar to this (in, say, ~/Views/Thing/Manage.aspx):
<table>
<% foreach…
hi
i have an application wherein i am accessing the Session object in the CommonCode.cs file that resides in the App_Code folder. But when the session object is accessed the…
This is an interview question asked a month ago....
Do session use cookies? If so,how do they do so?
Assume Session["UserId"]=1 how does this session variable uses cookies…
hi my dear friends ....
why i got this error :
(Object reference not set to an instance of an object.)
when i put this code in my page_load.:
protected void…