Error publishing web site

Topics: General, Troubleshooting
Oct 28, 2010 at 5:47 AM

When I attempt to publish a website (from VS2010) I get the following error:

Error    276    The type 'StyleLoaderControl' exists in both 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\446f13d0\270c4f0a\App_Web_lsycndax.dll' and 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\446f13d0\270c4f0a\App_Web_joe2tlxs.dll

Anyone know why this would be the case?

Thanks.

Coordinator
Oct 28, 2010 at 8:47 AM

This issue was fixed in SP1 - if you grab the 3 files in "\Website\Composite\controls\FormsControls\Helpers\" from the latest source code this should solve your problem.

Oct 28, 2010 at 9:42 PM

Thanks for the reply, that fixed the publishing problem.  However, when I try and access the newly published web site I now get the follwoing error:

Server Error in '/asp.netwebadminfiles' Application.

HTTP Error 404 - Not Found.

Any additional help would be greatly appreciated.

 

Regards.

Coordinator
Oct 28, 2010 at 11:07 PM

Doesn't seem like a Composite C1 specific issue. 

Try to check this discussion of a similar problem http://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/23cdf7d6-b439-4934-8ba6-5d64a3008cdc

Coordinator
Nov 5, 2010 at 12:26 AM

@StuB did you find a fix for this issue or are you still fighting with it?

Nov 7, 2010 at 9:51 PM

Turned out the server did not have ASP.Net v4 installed.

Thanks for your help.

Regards.

Nov 9, 2010 at 8:30 PM

Hi, guys.

Another question in my continuing quest to get C1 up and running in a live environment... The question is how do I go about installing C1 on server A which allows admin, development and editorial functionality but publishing the content to server B.  I have already completed the first part successfully (installing on server A) but can't find how to publish to server B.

Thanks for your help getting this project up and running.

Regards.

Coordinator
Nov 9, 2010 at 9:38 PM

I havent tried this in practice, but I expect you can use robocopy to mirror changes from server A to B. After the mirroring is done you would probably need to restart the asp.net app by doing a 'touch' on web.config or something.

 

Nov 9, 2010 at 10:43 PM

Thanks for the quick response.  So there is no way C1 can be configured to specify the website that should be published to?

Regards.