Re: deploying website VS 2005

Tech-Archive recommends: Fix windows errors by optimizing your registry



Thank you for explanation but I'm trying to run my website and get error:


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 2: <configuration>
Line 3: <configSections>
Line 4: <sectionGroup name="microsoft.web"
type="Microsoft.Web.Configuration.MicrosoftWebSectionGroup,
Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35">
Line 5: <sectionGroup name="scripting"
type="Microsoft.Web.Configuration.ScriptingSectionGroup,
Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35">
Line 6: <sectionGroup name="webServices"
type="Microsoft.Web.Configuration.ScriptingWebServicesSectionGroup,
Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35">


Source File: c:\inetpub\wwwroot\aplikacja2\web.config Line: 4



--------------------------------------------------------------------------------

Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET
Version:1.1.4322.2300

What could be wrong? at http://localhost/apliakcja1 - it works perfect when
I copied files to another location on the same server
http://localhost/aplikacja2 it generates above error

Best Regards

Dariusz Tomon
"Laurent Bugnion [MVP]" <galasoft-lb@xxxxxxxxxx> wrote in message
news:O8uN1LJOHHA.5104@xxxxxxxxxxxxxxxxxxxxxxx
Hi,

Dariusz Tomon wrote:
Hello

I have no idea how to deploy my website to another server (in virtual
folder I cannot see dlls file). Is thate any simple and quick manner to
deploy web site to another servers?

Best Regards

Dariusz Tomon

With the new "website" model in VS2005, you don't need to deploy DLLs,
only ASPX and CS files (code behind). The DLLs are compiled on demand.

If you dislike this, you can either

- Use the "publish" menu in the "Build" menu. This will give you an
assistant to deploy the website.
- Use the "Web Application Project" add-on for VS2005.
http://webproject.scottgu.com/
Note: The WAP add-on is not included in VS2005 SP1, so if you install the
SP1, you must uninstall the WAP add-on first!

The WAP offers the same compilation model as VS2003, so you have full
control over the produced assemblies.

HTH,
Laurent
--
Laurent Bugnion [MVP ASP.NET]
Software engineering: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch


.



Relevant Pages

  • Re: Problems running website
    ... Server Error in '/' Application. ... An error occurred during the processing of a configuration file ... It sounds like something wrong with IIS mapping in IIS - Website ...
    (microsoft.public.dotnet.framework.aspnet)
  • Parser Error Message: Exception in configuration section handler.
    ... PROFESSIONAL, IIS 5.0 running locally. ... The website is running smoothly. ... Now, the same code I am copying over to a WINDOWS 2003 SERVER, I ... An error occurred during the processing of a configuration ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Max pages served per sec.
    ... I installed Win 7 for a development server. ... and our company website on IIS7. ... the default configuration. ... The CPU utilization is often at 100% but not always. ...
    (microsoft.public.inetserver.iis)
  • Re: How to publish my website
    ... right click on the project`s node, select publish website, you can specify ... I want to publish to my ISPs server. ... custom error settings for this application prevent the details of the ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: deploying website VS 2005
    ... Dariusz Tomon wrote: ... Server Error in '/' Application. ... configuration file required to service this request. ... The WAP add-on is not included in VS2005 SP1, ...
    (microsoft.public.dotnet.framework.aspnet)