Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VB ASP.NET WebForms , +
[ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: site]
   System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags, PolicyLevel policyLevel, Exception appDomainCreationException) +298
 
[HttpException (0x80004005): Specified argument was out of the range of valid values.
Parameter name: site]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9873912
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +101
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +254
 
This is the error each time I want to "View in Browser", or run debugging from Visual Studio 2012. Can anyone read out the problem in this stacktrace?
By the way, I have tried to view the site in Page Inspector, the result I get says that no mapping data was returned from the server.
 
The error itself repeats itself for any project i start in VS2012.
Working on windows 7 64 bit!
 
EDIT:
Just hit me, I did have some minor fault while installing vs2012. What happened is that during the installation a small time error popped out saying that some component, tool or something named like visual studio 2010 toolkit or something similar can not be found. Some file like vs...04 was missing. Skipped it, install finished and everything seemed to be ok.
 
EDIT:
Re-started the installation to found out which was the file that was causing the problem. It was vstor40_x64.msi (Visual Studio 2010 Tools for Office Runtime)!
Does this identify as the problem-cause for the stacktrace when trying to debug/view in browser?
 
EDIT:
About to reinstall VS2012, downloaded the vstor40_x64.exe from microsoft's site, and installed it, all went well for now.
 
EDIT:
Reinstall did nothing, same problem. I did notice although that the error page states at the bottom:
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.17929
That is for all I know .NET 4! I checked the property page in VS12 and it is set to 4.5. Help me out here Smile | :) ...
Posted 11-Nov-12 1:18am
dsagner240
Edited 12-Nov-12 5:28am
v7
Comments
dsagner at 11-Nov-12 8:48am
   
The thing is I opened a brand new, blank and unchanged project from scratch, hit ctrl+f5 and same thing happens.
Sergey Alexandrovich Kryukov at 12-Nov-12 13:20pm
   
No code sample? OK, but then there is nothing to look at. :-)
--SA
dsagner at 12-Nov-12 17:41pm
   
The thing is that I could only attach the code from the "create new empty VB.NET application" from VS2012. No changes made in a new project what so ever produce this error. I'm dazzled :P!

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

This[^] is how to research a question like this with google. Tons of hits there.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 520
1 mhegazy94 460
2 Ravi Bhavnani 230
3 Kornfeld Eliyahu Peter 185
4 Shemeemsha RA 160
0 Sergey Alexandrovich Kryukov 7,205
1 OriginalGriff 6,801
2 CPallini 5,350
3 George Jonsson 3,644
4 Gihan Liyanage 2,797


Advertise | Privacy | Mobile
Web02 | 2.8.140922.1 | Last Updated 14 Nov 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100