Visual Studio 2005 on Vista 5308 - ASP.NET DEVELOPMENT SERVER

Posted: 04-08-2006, 01:44 AM
Hi everyone,

I've installed vs2005 and am trying to run a brand new asp.net web site
using the web server that comes with vs2005 (not IIS). Immediately, after I
create the site (before I even run it!), I get the following error message:

Error 1 C:\Users\<myaccount>\Documents\Visual Studio
2005\WebSites\WebSite3\Default.aspx: ASP.NET runtime error: An error occurred
loading a configuration file C:\Users\<myaccount>\Documents\Visual Studio
2005\WebSites\WebSite3\Default.aspx 1 1 C:\...\WebSite3\

Also, if I choose to bypass the error and run the site, I get the following
error:

Server Error in '/WebSite3' Application.
--------------------------------------------------------------------------------

Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information about
the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set
to an instance of an object.

Source Error:

An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can
be identified using the exception stack trace below.

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an
object.]
System.Web.Hosting.HostingEnvironment.get_W3SvcMaj orVersion() +53
System.Web.Configuration.WebConfigurationHost.GetS treamName(String
configPath) +97
System.Configuration.BaseConfigurationRecord.InitC onfigFromFile() +268

[ConfigurationFileException: An error occurred loading a configuration file]
System.Configuration.ConfigurationSchemaErrors.Thr owIfErrors(Boolean
ignoreLocal) +110

System.Configuration.BaseConfigurationRecord.Throw IfParseErrors(ConfigurationSchemaErrors schemaErrors) +41
System.Configuration.BaseConfigurationRecord.GetSe ctionRecursive(String
configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject,
Boolean requestIsHere, Object& result, Object& resultRuntimeObject) +89
System.Configuration.BaseConfigurationRecord.GetSe ction(String configKey,
Boolean getLkg, Boolean checkPermission) +43
System.Configuration.BaseConfigurationRecord.GetSe ction(String configKey)
+9
System.Web.Configuration.RuntimeConfig.GetSectionO bject(String
sectionName) +38
System.Web.Configuration.RuntimeConfig.GetSection( String sectionName,
Type type, ResultsIndex index) +53
System.Web.Configuration.RuntimeConfig.get_Deploym ent() +28
System.Web.Configuration.DeploymentSection.get_Ret ailInternal() +143

System.Web.Configuration.CustomErrorsSection.Custo mErrorsEnabled(HttpRequest
request) +25




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.62; ASP.NET
Version:2.0.50727.62



Does it require that my system have IIS installed? I know in XP, when I run
the web site, it says ASP Development server v8.0.0 or something like that..
it seems that it's trying to run the "real" web server.. ?

Thanks!
Reply With Quote

Responses to "Visual Studio 2005 on Vista 5308 - ASP.NET DEVELOPMENT SERVER"

Peter Foldes
Guest
Posts: n/a
 
Re: Visual Studio 2005 on Vista 5308 - ASP.NET DEVELOPMENT SERVER
Posted: 04-08-2006, 03:19 AM
Your Stak Trace is indicating some sort of Search Tool bar that is causing the issue. Google maybe or Yahoo or something similar

--
Peter

Please Reply to Newsgroup for the benefit of others
Requests for assistance by email can not and will not be acknowledged.

"Robert Cervantez" <RobertCervantez@discussions.microsoft.com> wrote in message news:FE071753-699F-4F5F-9ED8-31CF88B54ECB@microsoft.com...
> Hi everyone,
>
> I've installed vs2005 and am trying to run a brand new asp.net web site
> using the web server that comes with vs2005 (not IIS). Immediately, after I
> create the site (before I even run it!), I get the following error message:
>
> Error 1 C:\Users\<myaccount>\Documents\Visual Studio
> 2005\WebSites\WebSite3\Default.aspx: ASP.NET runtime error: An error occurred
> loading a configuration file C:\Users\<myaccount>\Documents\Visual Studio
> 2005\WebSites\WebSite3\Default.aspx 1 1 C:\...\WebSite3\
>
> Also, if I choose to bypass the error and run the site, I get the following
> error:
>
> Server Error in '/WebSite3' Application.
> --------------------------------------------------------------------------------
>
> Object reference not set to an instance of an object.
> Description: An unhandled exception occurred during the execution of the
> current web request. Please review the stack trace for more information about
> the error and where it originated in the code.
>
> Exception Details: System.NullReferenceException: Object reference not set
> to an instance of an object.
>
> Source Error:
>
> An unhandled exception was generated during the execution of the current web
> request. Information regarding the origin and location of the exception can
> be identified using the exception stack trace below.
>
> Stack Trace:
>
>
> [NullReferenceException: Object reference not set to an instance of an
> object.]
> System.Web.Hosting.HostingEnvironment.get_W3SvcMaj orVersion() +53
> System.Web.Configuration.WebConfigurationHost.GetS treamName(String
> configPath) +97
> System.Configuration.BaseConfigurationRecord.InitC onfigFromFile() +268
>
> [ConfigurationFileException: An error occurred loading a configuration file]
> System.Configuration.ConfigurationSchemaErrors.Thr owIfErrors(Boolean
> ignoreLocal) +110
>
> System.Configuration.BaseConfigurationRecord.Throw IfParseErrors(ConfigurationSchemaErrors schemaErrors) +41
> System.Configuration.BaseConfigurationRecord.GetSe ctionRecursive(String
> configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject,
> Boolean requestIsHere, Object& result, Object& resultRuntimeObject) +89
> System.Configuration.BaseConfigurationRecord.GetSe ction(String configKey,
> Boolean getLkg, Boolean checkPermission) +43
> System.Configuration.BaseConfigurationRecord.GetSe ction(String configKey)
> +9
> System.Web.Configuration.RuntimeConfig.GetSectionO bject(String
> sectionName) +38
> System.Web.Configuration.RuntimeConfig.GetSection( String sectionName,
> Type type, ResultsIndex index) +53
> System.Web.Configuration.RuntimeConfig.get_Deploym ent() +28
> System.Web.Configuration.DeploymentSection.get_Ret ailInternal() +143
>
> System.Web.Configuration.CustomErrorsSection.Custo mErrorsEnabled(HttpRequest
> request) +25
>
>
>
>
> --------------------------------------------------------------------------------
> Version Information: Microsoft .NET Framework Version:2.0.50727.62; ASP.NET
> Version:2.0.50727.62
>
>
>
> Does it require that my system have IIS installed? I know in XP, when I run
> the web site, it says ASP Development server v8.0.0 or something like that..
> it seems that it's trying to run the "real" web server.. ?
>
> Thanks!
Reply With Quote
 
LinkBack Thread Tools Display Modes
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
WindowsXP, Visual Studio 2005, VC++ and WMI Calls jmonetti Windows XP WMI 1 09-29-2006 07:59 AM
Installing Visual Studio 2005 on Vista Carl Daniel [VC++ MVP] Windows Vista Install & Setup 5 05-07-2006 01:25 AM
5308-64: Visual Studio 2005 setup dies at prerequisite install Andre Da Costa [Extended64] Windows Vista Install & Setup 1 04-03-2006 08:35 PM
5308-64: Visual Studio 2005 setup dies at prerequisite install Andre Da Costa [Extended64] Windows Vista 1 04-03-2006 08:35 PM
Visual Studio 2005 Josh Ross Windows Vista 7 04-01-2006 10:57 AM