asp.net-4.0 Questions
3
Whenever I add this line to my web.config in the system.webServer section:
<serverRuntime />
With our without properties, IIS 7.5 just serves up a blank page instead of the website. I crea...
Insular asked 28/8, 2010 at 11:33
5
How can I resolve the below issue that I get when I am running my precompiled web app?
Server Error in '/CRM' Application.
The directory '/CRM/App_Code/' is not allowed because the application is...
Verniavernice asked 30/6, 2014 at 7:25
7
Solved
I have a form at which I use ckeditor. This form worked fine at Asp.Net 2.0 and 3.5 but now it doesn't work in Asp.Net 4+. I have ValidateRequest="false" directive. Any suggestions?
Strode asked 20/4, 2010 at 9:8
13
Solved
Once running ASP.NET 4.x application built in Visual Studio 2013 I am getting the below exception.
I have tried to disable the PageInspector by removing page inspector assembly
<assemblies>...
Persistent asked 5/12, 2013 at 17:20
7
I am building a website using .NET 4. There are lots of MSDN articles dating from 2003, about using Thread objects and 2007, using Asynchronous Pages in .NET 2, but that is all pretty stale. I know...
Remex asked 5/4, 2011 at 13:54
10
Solved
This is my asp:button code which is not rendering font awesome's icon but instead shows the HTML as it is:
<asp:Button runat="server" ID="btnRun" Text="<i class='icon-camera-retro'></...
Childish asked 25/2, 2013 at 9:41
3
Solved
One web site is required to be accessed by me (developer) and one user (DOMAIN_NAME\USER_NAME).
When I developed web site in visual studio using "automatic host" created by VS, the follow...
Nickens asked 17/5, 2011 at 16:13
20
Solved
I know the error message is common and there are plenty of questions on SO about this error, but no solutions have helped me so far, so I decided to ask the question. Difference to most of similar ...
Phylloid asked 18/12, 2013 at 14:37
6
Solved
I'd like to store a one dimensional string array as an entry in my appSettings. I can't simply separate elements with , or | because the elements themselves could contain those characters.
I was t...
Weisberg asked 2/5, 2012 at 17:54
6
Solved
I Hvea 3 projects in my solution: BL, DL and the UI. All three projectshave a target framework of >NET 4; I have double-checked this by looking at the property page for each project. I am receiving...
Silverplate asked 26/8, 2012 at 16:35
18
Solved
I just upgraded packages in an MVC 3 project (ASP.net 4), and now I am getting the following error message when accessing a page in that project:
Server Error in '/MyApplication' Application.
...
Buckjump asked 12/6, 2012 at 16:8
7
Solved
I have two buttons, preview and Save. With help of preview button user can view the data based on the format and then can save.
But when preview is clicked, one textbox attached to ajaxcontrol (Ca...
Scratchy asked 28/3, 2013 at 19:54
24
I am getting the following error while debugging my visual studio 2010 website:
An attempt to attach an auto-named database for file C:\Users...\Desktop\Dpp2012New\App_Data\dppdatabase.mdf faile...
Italia asked 24/9, 2012 at 13:26
5
Solved
I have a controller which accepts
public class MyModel
{
[MaxLength(400)]
public string Message { get; set; }
}
I have a WebApi Post Action
public HttpResponseMessage Post(MyModel viewModel)
...
Saffron asked 27/9, 2012 at 9:41
3
Is it possible to show/hide a GridView column at runtime by name?
I can do it via the index like the following:
gridReviews.Columns[4].Visible = false;
However I'd like to do the following:
g...
Compressor asked 13/6, 2012 at 9:34
7
I am running C# ASP.NET 4.5 web application on Windows 7 64-bit using IIS 7.5. The application pool it uses has the name 'ASP.NET v4.0' and its identity is ApplicationPoolIdentity. The application ...
Operand asked 13/9, 2012 at 22:29
4
I am trying to pass my model List< Models.Statement > statementList from one action to another but i am receiving null value in the 2nd controller. Please suggest what is wrong here. Even tried ...
Shouse asked 26/1, 2012 at 20:16
3
Solved
Here is my Default.aspx
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" ValidateRequest="false" %>
<html>
<head runat="server">
<...
Obeisance asked 25/1, 2012 at 2:3
19
Solved
I am configuring an MVC 3 project to work on a local install of IIS and came across the following 500 error:
Handler "PageHandlerFactory-Integrated" has a bad module
"ManagedPipelineHandler" in...
Barrybarrymore asked 27/7, 2011 at 14:59
4
Solved
In asp.net, if you use a custom attribute, usually it is rendered as-is.
Considering this markup (note: attributes such as id, name and for were removed in all examples as their generated id/name...
Otocyst asked 22/5, 2012 at 17:6
3
Solved
I am finding that FormsAuthentication.SetAuthCookie is throwing a NullReferenceException - Object reference not set to an instance of an object inside an async action on an azure website.
I found ...
Centime asked 9/8, 2012 at 11:49
2
Solved
I'd like to create a TypeConverter for a generic class, like this:
[TypeConverter(typeof(WrapperConverter<T>))]
public class Wrapper<T>
{
public T Value
{
// get & set
}
...
Bordiuk asked 12/2, 2013 at 0:44
7
I am trying to open .docx file and convert to PDF using Interop.Word.Application. It works as console application but If I use the same in my web application it doesn't work. I tried to see the per...
Insignia asked 31/5, 2012 at 16:17
5
Solved
.NET 4 broke ValidateRequest=“false” for some reason.
The solution is -- just put <httpRuntime requestValidationMode="2.0" /> into your web.config file.
The problem with that solution is t...
Spinach asked 18/6, 2010 at 20:46
12
Solved
I'm using the asp:Menu control on an ASP.NET 4.0 Webforms page with table-free rendering mode:
<asp:Menu ID="MenuBase" runat="server" DataSourceID="SiteMapDataSourceMenu"
Orientation="Horizont...
Abducent asked 13/7, 2010 at 19:47
1 Next >
© 2022 - 2024 — McMap. All rights reserved.