Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Web Project Setup Virtual Directory Error

Thread Tools

Web Project Setup Virtual Directory Error
Posts: n/a
I have setup a Web Setup Project to my Solution by going to Add New
Project => Setup and Deployment => Web Setup Project. Everything
builds correctly and I get a working Setup.exe and .msi file. The
install process runs exactly as expected and all of my files are placed
into whatever directory I specified.

Then I open IE, point it to my new website and get this error:

"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 'xmlns'.

Source Error:

Line 6: machine.config.comments usually located in
Line 7: \Windows\Microsoft.Net\Framework\v2.x\Config
Line 8: --><configuration
Line 9: <!--
Line 10: The configSections define a section for ASP.NET Atlas.

Source File: C:\inetpub\wwwroot\Deploy\web.config Line: 8 "

Now, I figured out what the problem was pretty quickly. Going into IIS
I opened the properties of the new Virtual Directory Setup.exe had
created, went to the ASP.NET tab, and (as I suspected) found that the
ASP.NET Version was set to 1.1. I changed it to 2.0 and everything
worked exactly as it should.

So, here is my question... how do I fix this in the installer? I want
to send a Setup.exe file to a client and tell them, "Just run this."
not "Just run this, then open IIS..."

Thanks in Advance

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not 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 Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Multipl Virtual Directories (projects) in one web setup project =?Utf-8?B?TXVyYWxpIEtyaXNobmEuIFNpcnV2dXJ1?= ASP .Net 1 04-21-2005 07:56 AM
How to choose Virtual Server in Web Setup Project? Matthew Belk ASP .Net 1 02-23-2004 03:53 PM
Name of virtual directory created by a setup project Henrik Dahl ASP .Net 2 02-06-2004 11:39 PM
question regarding overriding of web.config in the root a web app in a virtual directory dotnetprogram ASP .Net 1 12-27-2003 06:02 AM
Change Web Setup Project default virtual directory gan ASP .Net 1 11-04-2003 10:48 PM