Unable to create a new website VS 2010

Vote:
 

Hi,

I'm unable to create a new EPiServer using a VS 2010. I'm on EPiSerer 7. Following is the error I'm getting:

An unhandled error has occured:
Filename: \\?\C:\Users\thhettige\Documents\IISExpress\config\applicationhost.co
nfig
Line number: 135
Error: Unrecognized attribute 'CLRConfigFile'


When executing

At C:\Program Files (x86)\EPiServer\CMS\7.0.586.1\Install\System Scripts\Instal
l Site (No Database).ps1:191 char:57
+ $workerProcessGroups = $webServer.WorkerProcessAccounts <<<< ($wizard.Site.A
ppPoolName)

True
=
Get-EPiIsBulkInstalling
An error has occured and the transaction will be rolled back
Rolledback

An unhandled error has occured:
Filename: \\?\C:\Users\thhettige\Documents\IISExpress\config\applicationhost.co
nfig
Line number: 135
Error: Unrecognized attribute 'CLRConfigFile'


When executing

At C:\Program Files (x86)\EPiServer\CMS\7.0.586.1\Install\System Scripts\Instal
l Site (No Database).ps1:191 char:57
+ $workerProcessGroups = $webServer.WorkerProcessAccounts <<<< ($wizard.Site.A
ppPoolName)


At C:\Program Files (x86)\EPiServer\CMS\7.0.586.1\Install\System Scripts\Install Site (No Database).ps1:191 char:57
+ $workerProcessGroups = $webServer.WorkerProcessAccounts <<<< ($wizard.Site.AppPoolName)
System.Management.Automation.ParentContainsErrorRecordException: Exception calling "WorkerProcessAccounts" with "1" argument(s): "Filename: \\?\C:\Users\thhettige\Documents\IISExpress\config\applicationhost.config
Line number: 135
Error: Unrecognized attribute 'CLRConfigFile'

"

What am I missing here?

Regards,

Thusitha

#71175
May 13, 2013 11:36
Vote:
 

Hello Thusitha,

There is a workaround for the issue: http://world.episerver.com/Blogs/Jeff-Wallace/Dates/2012/12/Visual-Studio-Extension--Error-When-Creating-a-New-Site/. Have you tried it?

 

#71181
Edited, May 13, 2013 12:25
Vote:
 

Thanks Sergii!

 

I just removed the mentioned attribute and it worked. Also I had to add my domain account as a SQL Login with sufficient privileges to create the DB.

 

Regards,

Thusitha

#71192
May 13, 2013 15:06
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.