Newbie Installation on GoDaddy.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
15 年 前
Hello,

I would appreciate help setup as I am fairly new to .Net and this open source project.  

Here is my Godaddy database information:

Domain Name:   comperini.com
Server IP Address:    72.167.131.199

SQL Server Database Information
Host Name:    GotBow.db.3148112.hostedresource.com
Database Name:    GotBow
Database Version:  2005

Data Source=GotBow.db.3148112.hostedresource.com; Initial Catalog=GotBow;
User ID=GotBow; Password='your password';

After struggling to install the database I ran across several postings regarding permissions and partial trust sites.   I modified the web.config for medium trust as explained in this post:  
http://forums.nopcommerce.com/forums/default.aspx?g=posts&t=224.

I then re-ran the solution in visual studio.  On the Install screen I entered the “server” name and user/password information from my GoDaddy site.  

Receive Error:  A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)

Q:  Should I enter “72.167.131.199”  or  “GotBow.db.3148112.hostedresource.com” as the server name?  

Thanks everyone for the help!!!
15 年 前
Here's my third attempt at the install (excuse the newbie mistakes).  

The first couple of tries at this I ran the installation from visual studio and then FTP'd the files to GoDaddy.  This time I'll try running directly from the web site.

When I try to run the install from GoDaddy:  
(http://www.gotbow.com/NopCommerceWeb/install/install.aspx) I receive the following 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: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level.  This error can be caused by a virtual directory not being configured as an application in IIS.

Source Error:


Line 148:      </assemblies>
Line 149:    </compilation>
Line 150:    <authentication mode="Forms">
Line 151:      <forms name="NOPCOMMERCE.AUTH" cookieless="AutoDetect" loginUrl="~/Login.aspx" protection="All" timeout="43200" path="/" requireSSL="false" slidingExpiration="true" defaultUrl="~/default.aspx" enableCrossAppRedirects="false"/>
Line 152:    </authentication>


Any Idea's?
15 年 前
Yes normally relates to not your directory not being configured as an application root.

Looking at the url you posted above, it looks like you have copied the physical NopCommerceWeb directory to your root directory (www.gotbow.com).

Try copying the "contents" of the NopCommerceWeb directory to your root directory i.e. http://www.gobot.com/Install/install.aspx

If you want the shop to be in a separate location you can either create a subdomain i.e. http://shop.gobot.com (how to do this varies on your host so you will need to consult them) or create a new virtual directory e.g. www.gobot.com/shop (again, methods vary from host to host).

To get it working in the interim I recommend just copying contents to root as per my original suggestion.

Hope this helps,

Ben
15 年 前
Thanks for your comments Ben.  I added a sub-domain called "shopping" but still have problems.  I need to spend a little more time on this before waiving the red flag so let’s see how far I get this weekend.  I'll write more once I've had time to reload the environment and make the appropriate changes.  

thanks again for the quick reply!
15 年 前
Hello,

I would really love to get this software installed but it looks like the GoDaddy Medium Trust servers will not allow the install.  Does anybody have a suggestion? Click HERE - http://www.comperini.com/GotBow%20Hosting%20Error.doc for a screen shot of the error.

  
1.  www.GotBow.com is hosted at GoDaddy.  Godaddy uses Medium Trust.
2.  I modified web.config and followed the directions as outlined in this NopCommerce forum message for medium trust:  HERE - http://forums.nopcommerce.com/forums/default.aspx?g=posts&t=224.
3.   Receive “Required Permissions cannot be acquired” error.
15 年 前
Dan,

Looking at the stack trace it looks like your site is still referencing Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging.Configuration.Design

Did you remove the reference from Nop.DataAccess.SqlServer and recompile the application - you may need to manually replace the dll in your web sites bin directory.

Partial trust will be available for the next release, but if you follow the instructions on that post, it should work for you now.

Cheers,

Ben
15 年 前
I am also using godaddy hosting. I've everything working except the pages that use SSL. I am getting the "Required Permissions cannot be acquired" error. I will try Ben's suggestion of deleting the Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging.Configuration.Design reference, recompiling, and xcopying.

Dan,

I didn't install the website on godaddy. I installed it locally and got it work and then uploaded it to godaddy. It worked really good.

My website is: http://affordablewipers.com.

Ben,

Can you please visit my website and click on Login to see the problem? I'll appreciate it.

Thanks,

guddu
15 年 前
Personally, I would always use xcopy to deploy in a hosted environment (rather than install wizard), usually due to the separation of sql servers and web servers in hosted environemnt.

Guddu,

Yes I am getting an error when trying to navigate to your login page. It is sending me to http://www.affordablewipers.com/False/Login.aspx

Will have a better look later.

Cheers,
Ben
15 年 前
Hello and thank you for the replies.  I compiled everything on my P.C. and FTP the files (NopCommerceWeb) to my site.  I did delete the .dll on my PC but forgot the one still on the website - oops!  O.K., now were getting somewhere!

I was able to get past the first couple of setup screens but stumble on the database creation screen.  I created an empty data base on Godaddy called GotBowShopping.  

On step 3 of the install:
If I try to use an existing database I get the error” The database 'GotBowShopping' doesn't exist!”

If I try to create a new database I receive the following message:
“An error occurred when creating database: CREATE DATABASE permission denied in database 'master'.
Creating a new database GotBowShopping”

Here are the print screens - http://www.comperini.com/GotBow%20Hosting%20Error2.doc
15 年 前
Dan,

I installed the database locally and used Data Publishing Wizard. godaddy has a tutorial on it. It works wonders. It transfered all my objects and the data.

guddu
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.