Questions tagged [httpruntime]

51 questions
2
votes
2 answers

Uploading file size over 4 MB in .NET

I am having trouble uploading a file size over 4 MB. I've tried adding to my Web.Config like many posts have suggested, but it just isn't working. Files under 4 MB work just fine,…
2
votes
0 answers

How and works together?

I understand all .net 4.x.x release versions are in place upgrade. I already read post and similar SO question but still I don’t fully understand application runtime behavior in context of below two configuration settings in my application…
rahulaga-msft
  • 3,964
  • 6
  • 26
  • 44
2
votes
1 answer

C# Unit Test set HttpRuntime.BinDirectory

I've got a clear and simple question. The webapplication i'm working on is using unit tests (close to 1500 tests). Due to an required modification in the application several tests are failing because The HttpRuntime.BinDirectory doesn't have a value…
Rob
  • 6,731
  • 12
  • 52
  • 90
2
votes
0 answers

ASP.NET the targetframework attribute is not allowed

I have these lines in my web.config: But on the…
Adam
  • 6,041
  • 36
  • 120
  • 208
1
vote
2 answers

how to set Maximum upload size to 4GB

please look at the screen shots i need to set upload file size upto 4GB also this is my 3.5 web app why it is shown that version information as v2.0 is there any mistake in my config? help me guys.
Sankar M
  • 4,549
  • 12
  • 37
  • 55
1
vote
0 answers

httpRuntime targetFramework issues in ASP.NET MVC Application

Currently trying to implement SignalR in my ASP.NET MVC application. When I specify that I want it to use web sockets in the client as shown below: $.connection.hub.start({ transport: ['webSockets'] }) .then(init) .then(function()…
Hytham
  • 11
  • 2
1
vote
1 answer

HttpWebRequest Timeout updating status Code in BigCommerce

I have read a lot, if not all the posts, on timeouts for web requests and the solutions provided have not worked. I am getting orders from Big Commerce and then updating the Big Commerce status code. I can update 2 orders and then I timeout on the…
Susan
  • 21
  • 3
1
vote
1 answer

Is it possible to use 'HttpRuntime' in a NUnit project?

I'm following a guide to write output data from Visual Studio into a google spreadsheet. I'm using a NUnit project type for test-automation purposes. At the end of the guide there is a code block that I pasted inside my project: using…
David
  • 145
  • 1
  • 1
  • 12
1
vote
1 answer

Upload large files on webpage?

We use the MojoPortal to a website and have some problems to upload files that is around 100 MB with the upload module. (Pleas note that this has probably nothing to do with MojoPortal but with the ASP.NET and the IIS) The MojoPortal is set to use…
Banshee
  • 15,376
  • 38
  • 128
  • 219
1
vote
1 answer

Storing List in System.Web.HttpRuntime.Cache, is it serialized?

Trying to find out if the System.Web.HttpRuntime.Cache or any other possible caching is serialized? Basically i need to store list in Cache, and it has to be Read/Write by many users. So, I can out a list in cache, i can get it back out. What…
Yogurt The Wise
  • 4,379
  • 4
  • 34
  • 42
1
vote
0 answers

Location based httpRuntime executionTimeout is not working in asp.net

I have one page for that I need to increase the execution timeout. so for that, i have set below code in web.config. but it's not working.
Nikunj Nandaniya
  • 65
  • 1
  • 1
  • 5
1
vote
0 answers

ReportViewer v11.0.0.0 Runtime Error during excel export

I'm running into a Runtime error when I try to export a report to excel in ReportViewer that goes beyond 110 seconds. The only solution to this problem that has worked, which I have found on here and numerous other sites, was setting the…
Robert Weller
  • 109
  • 3
  • 14
1
vote
0 answers

Unkown maxMessageLength-attribute in asp.ent

I have a small problem with asp.net web.config. If i try to configurate the maxMessageLength for soap requests, i get the following error message: Unkown maxMessageLength-attribute.... This is my configuration in the system.web…
BendEg
  • 20,098
  • 17
  • 57
  • 131
1
vote
1 answer

Why does this give me a YSOD?

I added the last two lines to Web.config in response to wagging fingers from the asafaweb (https://asafaweb.com/) report on my site:
B. Clay Shannon-B. Crow Raven
  • 8,547
  • 144
  • 472
  • 862
1
vote
0 answers

Specifying multiple system.web in web.config

I need to alter the executiontimeout settings in web.config specific to my page. I'm working on downloading large files. In order to do that I need to alter executiontimeout for download page alone. But if I specify the executiontimeout to some…