Hi anyone can provide some ideas about making the Alloy project go live ?
I tried to upload the whole project folder to the web server, and trying to open it via the browser.
But it gave me some error message:
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: An error occurred loading a configuration file: Access to the path 'h:\root\home\xguo22-001\www\epi.andmine.com\myepiserversite\iux3ujc0.tmp' is denied.Source Error:
[No relevant source lines]
Source File: h:\root\home\xguo22-001\www\epi.andmine.com\myepiserversite\EPiServerFramework.config Line: 0
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18033
Is something wrong with the EPiServerFramework.config files?
And I found that the below folders are stored in my local drive:
C:\Program Files (x86)\EPiServer\CMS
C:\Program Files (x86)\EPiServer\CommonFramework
C:\Program Files (x86)\EPiServer\Community
C:\Program Files (x86)\EPiServer\Framework
C:\Program Files (x86)\EPiServer\Mail
C:\Program Files (x86)\EPiServer\Relate
C:\Program Files (x86)\EPiServer\Search
C:\Program Files (x86)\EPiServer\Shared
C:\Program Files (x86)\EPiServer\Sites
So, do I have to upload all of these things to the web server to make the Alloy demo site working?
That typically occurs if your AppPool user does not have write access to the site root where your config files are.
This seems still not working.
Any other advice?
The IIS service account (typically NETWORK SERVICE) needs write permission to your site root.
Is your AppPool running as NETWORK SERVICE or another user account?
Check this by opening up IIS Manager (Run > "inetmgr"), click ApplicationPools, right-click an application pool and view properties.
Some AppPools use the "ApplicationPoolIdentity". This refers to the built-in account called IIS_IUSR.
If your application pool uses this account, then you have to give it write access to your site root.
I think probably you misunderstand my meaning.
Actually, the project can run properly in my localhost. I mean, if I now type in http://localhost:17000 in browser, the website can show up properly, no proplem at all.
However, now I bought a web server space from Smarterasp.net , and uploaded this project to the web server, and trying to make it go live, then it is not working now.
So if I make any change locally, would it affect the things in server? I don't think so.
So any comment?
There is nothing wrong in local IIS. It works fine.
Right. That would have been useful to know from the start.
I am not saying that local changes will affect your other web server.
The reason why I'm talking about IIS Manager and access rights is that most EPiServer developers set up live sites from scratch on servers owned by the customer (NOT hosted servers), which means that we usually have to setup all this access stuff ourselves.
Anyway, I still think your problem is related to access rights (on the hosted server, not locally).
When you upload files to your server, do you use FTP or do you have Remote Desktop access to the Windows desktop on the server?
Also, looking at your site http://epi.andmine.com/myepiserversite it seems you are missing some of the files in your BIN folder.
Could not load file or assembly 'System.Web.Mvc, Version=184.108.40.206, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
Ben, you also need to install EPiServer on the web server.
Oh! Yes! I have not yet install EPiServer on the web server!
I did not realize that. How can I install EPiServer on the web server? Can you provide me some reference link or hints?
Thank you so much!
That depends on what your connection to the web server is. Do you have remote desktop access or is it only FTP?
Here are the installation instructions if you have remote desktop access: http://world.episerver.com/en/Documentation/Items/Installation-Instructions/EPiServer-CMS/Installation-Instructions---EPiServer-7/
Actually I don't have much experience on making a website go live.
But for this EPiServer one, I just use FileZilla to transfer all the things to the server. So I think it is just the FTP.
So, any comment?
Thanks for reply because I am waiting for the solution. :)
As pointed out you need to install EPiServer on the server. For that you need remote desktop access or that someone with access to the server can do it for you.
The files needed for the installation can be found here: http://world.episerver.com/Download/
When EPiServer is installed and you have setup an IIS-instance and database, you can use Filezilla to update your site.
Frederik Vig has written a getting started with EPiServer development that has a Part 8: Preparing for launch that might help you as well. You can find it here: http://www.frederikvig.com/2009/12/part-8-preparing-for-launch-create-an-episerver-site-from-scratch/
Also don't forget to supply the correct License file. This might be a problem if you haven't got access so you can get the ip or mac adress for it. But I assume that you alreday ordered a license file for it.
I am using a free demo license from the EPiServer license center. I think that is still a problem, right?
Now I am working on installing EPiServer in the web server. I am not sure that if the server can support it or not.
Demo License is also IP and Mac controlled so if the license you have is for your own desktopthen you will need a new license for the server.
Also the demo license isn't supposed to be used for live sites. It will of course expire so that you can't have i live for long.
It doesn't matter because for now I just want to make it go live for testing purpose.
The site I want to transfer it to the server is the Alloy sample site. I just want to test it. It is not for actual use at this stage.
If our company decides to use EPiServer eventually, then we will buy the official license.
Ok, then I understand.
But the tech staff from the server provider ------ Smartasp.net, said that I don't need to install the EPiServer to make the site go live. So confused.
Ben, EPiServer must be installed on the live server because your site depends on some shared components (Windows services for indexing, logging, scheduling, and framework components. Other CMS like Wordpress or Umbraco (which Smarterasp.net supports) do not need this, but EPiServer does.
Since I don't know which Smarterasp.net hosting plan you have, I'll just base my answers on the general features overview at http://www.smarterasp.net/hosting_plans.
Remember the steps you did to install EPiServer on your local machine? Well, you basically need to repeat them on your live server.
System requirements for your live web server:
- You need a Windows Server with .NET 4 framework installed. (Smarterasp.net seems to offer this).
- You need access to IIS 7 or higher (Smarterasp.net seems to offer this, but not all their hosting plans include IIS Manager access).
- You need access to an SQL Server via SQL Management Studio (Smarterasp.net seems to offer this).
- Your need to download and install the EPiServer 7 CMS setup package (your Smarterasp.net user account should have sufficient permissions for this).
Overview of the basic steps to install your site:
- Copy your database from your local machine to on your Smarterasp.net SQL Server. This requires that you are familiar with SQL Server Management Studio.
- Copy your VPP folders from your local machine to your Smarterasp.net web server.
- Copy your website from your local machine to your Smarterasp.net web server.
- On the Smarterasp.net web server, edit your connectionstrings.config file to match the path/username/password to the database you installed on your Smarterasp.net SQL Server.
- On the Smarterasp.net web server, edit your episerver.config file to match the path to the VPP folders you copied, and the path to where you installed EPiServer (usually C:\Program Files(x86)\EPiServer\...)
- On the Smarterasp.net web server, open IIS Manager and create a new site which points to the website you copied. Use an ApplicationPool that supports .NET 4 and has read/write access to where you copied the website.
-Order a (demo) license from http://license.episerver.com which matches the IP or MAC address on your Smarterasp.net web server, and put the license in the same folder you copied your website.
If you are stuck on any of these points, I suggest you search this forum or check the Documentation section.
Hi Arild, thanks for your very detailed reply. It is very clear now. Thanks again.
I just get the reply from the Smartasp.net technical support team: " According to your detailed info, I do not think it can work on shared host. You may purchase our VPS Plan and you can manually install it with remote desktop access. " http://www.smarterasp.net/vps
Demo License should work fine.
Here are the system requirements for EPiServer 7.
Can I just install the demo Alloy site on my server directly (Windows Server 2012)?
I have remote root access privillege for that server.
Can I just do the EPiServer development on that server?
Yes, if you can remotely login to that server, you can do the installation. Have a look at installation instructions:http://world.episerver.com/Framework/Templates/Page.aspx?id=61499&epslanguage=en
Thanks for reply.
But after I get everything installed and then http://localhost:17000 open, but the following message shows up: