Hej,
Jag är helt ny vad det gäller .NET-miljön och jag har stött på ett problem.
Om jag skapar en webbsida i Visual Studio 2008 och kör den, i deras egna miljö, så fungerar det jättebra och jag stöter inte på några problem allts.
Men när jag istället väljer att lägga samtliga filer på en IIS-maskin (som jag dessutom lagt in .NET Framework 3.5 på) så får jag följande felmeddelande:
Server Error in '/' Application.
--------------------------------------------------------------------------------
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Unrecognized attribute 'type'.
Source Error:
Line 12:
Line 13: <configSections>
Line 14: <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
Line 15: <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
Line 16: <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
Source File: c:\inetpub\wwwroot\WebSite1\web.config Line: 14
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2407; ASP.NET Version:1.1.4322.2407
Jag blir främst förbryllad över att se att .NET Framework Version säger 1.1... när jag applicerat 3.5'an, och även gjort en omstart på servern - men det kanske är helt orelaterat.
Hoppas att ni kan hjälpa mig.
Tack på förhand.
/Johan