asp.net-4.0 Questions

3

Solved

We have a asp:DropDownList that we populate server side with ddlBranch.Items.Add(new ListItem("TEST","This is a's test")); When this is compiled and run under .NET 3.5 we see the text "This is a...
Soult asked 9/5, 2011 at 1:28

3

Solved

I am stuck with asp.net post issue with last 2 weeks. Scenario: My application page has 3 controls. A WYSIWYG editor (Free Textbox), a text box to get name of the article being edited in WYSIWYG ...
Stamm asked 27/4, 2011 at 7:9

1

Solved

After pulling my hair out for the last three days in my first non-upgraded ASP.NET 4.0 Web Application, I stumble across this post explaining it all. http://jai-on-asp.blogspot.com/2010/06/changes...
Friede asked 12/1, 2011 at 19:45

3

Solved

Is it possible to use Razor on an existing ASP.NET 4 website?
Vellum asked 15/7, 2010 at 8:42

2

Solved

I recently tried to upgrade a .net 2.0 project which had its DAL generated by SubSonic 2.2 to .NET 4.0 under Visual Studio 2010. The projects converted without error but now I am getting a rather ...
Featherweight asked 4/3, 2011 at 20:54

3

Solved

In ASP.NET you can set the Response.StatusCode to for example 404. Should the status line / description always be set? (to in this case "404 Page Not Found") How do you get the description if you ...
Blent asked 22/8, 2010 at 18:55

2

I am planning to build a custom web application in ASP.NET 4.0 using WF 4.0, the user wants ability to modify workflows himself, for this we will be using a WPF client which the user can use and we...

1

Solved

If have the following web.config: <configuration> <system.web> <authentication mode="Forms"> <forms name="MembershipCookie" loginUrl="Login.aspx" protection="All" tim...
Raber asked 22/2, 2011 at 16:23

2

Solved

I have installed an ASP.NET 4.0 Web forms application in IIS 7.5. If I set the application pool to DefaultAppPool (.NET Framework 2.0) I get the icons for Providers, .NET-Roles and .NET-Users displ...
Kus asked 30/5, 2010 at 18:44

1

Solved

using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data; using ModelLayer.PocoModels; using System.Data.Objects; namespace ModelLayer { public clas...
Guesswarp asked 24/1, 2011 at 20:54

2

Solved

We catch this error sporadically. Does anyone know what could it be? The URL give by our error logging get this weird url for this error : http://ourWebSite.com/ScriptResource.axd?d=-TlQhVhw2O...
Figwort asked 1/11, 2010 at 13:0

3

Solved

As stated here http://msdn.microsoft.com/en-us/library/system.web.security.membershipprovider.onvalidatingpassword.aspx "When the ValidatingPassword event has completed, the properties of the Vali...
Scriven asked 6/1, 2011 at 4:23

3

Solved

So we've upgraded our site from 3.5 SP1 -> .NET 4. When we ran the site, we got an Internal Server Error (500), stating the following configuration group could not be read: <system.web.extensi...
Boscage asked 9/7, 2010 at 1:13

1

Solved

I've read various posts and questions about the use of runAllManagedModulesForAllRequests in the modules section of <system.WebServer> and I'm concerned that I'm using this setting incorrectl...
Kershaw asked 31/12, 2010 at 3:14

2

Solved

I there a simple way when using ASP.NET 4.0 routing with Web Forms to produce a route that will act as some kind of wildcard? It seems to me that within WebForms, you have to specify a route for e...
Nitriding asked 24/4, 2010 at 11:50

2

Solved

I need to enable caching in my asp.net application, but I do not want to use the webserver's memory for holding cache objects. If I add the page directive for output caching will the page be stored...
Haggard asked 2/11, 2010 at 16:7

4

Solved

We have deployed a .net 4 asp.net site on IIS 6.0. Default.aspx is configured as one of the default document. When we access the site using the following url http://testsite We expect it to ...
Iatrogenic asked 12/5, 2010 at 18:7

2

Solved

I have a web server that is run by a third party. I don't have direct access to the server but I can deploy ASP.NET code to it. I want to detect if that server is running ASP.NET 4 / .NET 4 or not....
Janelljanella asked 20/9, 2010 at 13:17

3

Solved

Usually I would look at writing a Windows Service to manage tasks that aren't suited to being hosted in a web application. These types of tasks are usually long running processes or scheduled tasks...
Nicolette asked 14/9, 2010 at 16:52

1

I just can't seem to get GZIP compression enabled for my ASP.NET 4 application. Only javascript files seem to get compressed. The page, css and others dont get compressed. The response header of a...
Celadon asked 28/8, 2010 at 14:47

2

Solved

I am building an asp.net site in .net framework 4.0, and I am stuck at the method that supposed to call a .cs class and get the query result back here is my method call and method 1: method call f...
Almatadema asked 20/8, 2010 at 21:19

3

Solved

Someone (probably a bot) sent a request with the following URL to my ASP.NET 4.0 web forms application (running on IIS 7.0): http://ipaddress-of-my-applications-domain/bla1.bla2.bla3.bla4.bla5:) ...
Lyricist asked 27/7, 2010 at 9:57

3

Solved

http://site.com/page%3fcharacter This URL will return the following error: Illegal characters in path. I'm already put this in web.config: <system.web> <httpRuntime requestValidation...
Vergara asked 14/5, 2010 at 0:30

1

Solved

Is the ASP.NET 4.0 SQL session state mechanism backward-compatible with the ASP.NET 2.0 schema for session state, or should/must we create a separate and distinct session state database for our ASP...
Solleret asked 27/5, 2010 at 15:1

1

Solved

I'm running into an issue upgrading a project to .Net 4.0...and having trouble finding any reason for the issue (or at least, the change causing it). Given the freshness of 4.0, not a lot of blogs ...
Cabernet asked 3/5, 2010 at 19:28

© 2022 - 2024 — McMap. All rights reserved.