hi there, I am trying to test the nopCommerce on the server, but is very lost on installation even with the help of the installation doc. i'v got a few questions:
1. while u upload all three files to the root, do i need to set up the default page path becuase i dont see the server can recognize the default page. 2. i need to give write permission to DB rite? is there any other file that i need to give permission to?
1. Default page is set in IIS (set it to Default.aspx). http://www.microsoft.com/technet/prodtechnol/windowsserver2003/library/IIS/dc6eb1b4-9028-4308-9935-52b64edfad36.mspx 2. Give write persmissions to "images" and "files" folders
the other thing, now, i am trying to run the application on my local machine. after i created the database and run the scripts sucessfully, i changed the web.cofig so that i can connect to database.
NopDatabase is the database i setup in SQL, and DAVID-PC\SQLEXPRESS is my SQL
then when i try to run the application, after loading the browser for a while a window pop up and says: There is no source code available for the current location
then i click ok. that window closed and another one pop up and says
SQLException was unhandled by user code. An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
im thinking there s something wrong with the .config file so that i can not connect to sql. give my modification of the <connectionStrings> part, is there anything i did wrong or i missed something? plz help me with this, i still havnt get look at this application in running :(
i think i have make the connection to sql while hosting it locally. thanks for the help. but i still havent got a chance to run this sucessfully. i v got this error:
The value can not be null or an empty string. Parameter name: connectionString Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentException: The value can not be null or an empty string. Parameter name: connectionString
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[ArgumentException: The value can not be null or an empty string. Parameter name: connectionString] Microsoft.Practices.EnterpriseLibrary.Data.Database..ctor(String connectionString, DbProviderFactory dbProviderFactory) +107 Microsoft.Practices.EnterpriseLibrary.Data.Sql.SqlDatabase..ctor(String connectionString) +61 NopSolutions.NopCommerce.Common.DAL.NopDataHelper.CreateConnection() in D:\Work\Own\NopCommerce\Solution\NopCommerce\Nop.Common\DAL\NopDataHelper.cs:37 NopSolutions.NopCommerce.Common.DAL.Managers.LanguageDBManager.GetAllLanguages(Boolean showHidden) in D:\Work\Own\NopCommerce\Solution\NopCommerce\Nop.Common\DAL\Managers\LanguageDBManager.cs:43 NopSolutions.NopCommerce.Common.BLL.Managers.LanguageManager.GetAllLanguages() in D:\Work\Own\NopCommerce\Solution\NopCommerce\Nop.Common\BLL\Managers\LanguageManager.cs:94 NopSolutions.NopCommerce.Common.NopContext.get_WorkingLanguage() in D:\Work\Own\NopCommerce\Solution\NopCommerce\Nop.Common\NopContext.cs:342 NopSolutions.NopCommerce.Common.HttpModules.NopCommerceFilter.Application_BeginRequest(Object sender, EventArgs e) in D:\Work\Own\NopCommerce\Solution\NopCommerce\Nop.Common\HttpModules\NopCommerceFilter.cs:107 System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +68 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
where my problem is? i think i might not set enough permission, i only set the permission of image filder, is there any other permission that i need to set. or is there something else that i didnt take care of??
Thanks so much...all of that was configured right...I just had the wrong version of ASP selected. Now when accessing the default.aspx page I'm getting...
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.