installation - visual studios

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
15 anos atrás
There is not a lot of documentation on getting this to run, apparently most people have success with what is available - not me.
First I tried to use Visual Studios 2008, and it came up with "the type or namespace name "Common" does not exist..." chokeing on "using NopSoltions.NopCommerce.Common;"
If I can get it to compile in VS, then there is a good chance I can get it to run on my server.
Second, I copied all the files to wwwroot and just tried to run it from there, starting with "Default.aspx".  That may be helped by configuring the directory as an application... there was a note somewhere here about that.
The instructions refer to building a database for the app, but there are no instructions as to the paremeters of that db - name, structure?????
VS gave me 2208 Errors, 60 warnings....
If anyone has this compiled on VS, I would really appreciate some help!!!
15 anos atrás
you have downloaded the full source from codeplex right?
15 anos atrás
yes, i downloaded the full source code, unziped it put it into a separate directory and ran "nopCommerceStore.csproj.usr" and it fired up VS and most of the file loaded... then had compile issues.
Gave up there for the moment, loaded everything into wwwroot/nopCommerce on my server, made nopCommerce an app directory (thanks to a post here) and then opened IE and pointed to ...Install/install.aspx
The wizzard started (I was wondering where it was) but it then choked.
Step 1 "install nopCommerce" OK
Step 2 Server name - OK
           "use integrated Windows authentication (ASP.NET account: NT AUTHORITY\USR)
Comes back with an error logging into NT AUTHORITY\USR - not surprising since i have no NT Authority user by that name on my machine, and SQL is set up to use integrated win autho. so i cant really go back and use "sql server account"

So... now i try to add the ...\USR account to SQL, but it will allow me to add users, as long as they do not contain "/\ etc..
Cant add that user.
Now i am stuck.... perhaps delete SQL, and reinstall using separate username/password instead of integrated... maybe?
Just need to get it running.... then i can figure out what else to do with it.... next issue is probably what connection string to use...

ANY HELP YOU CAN GIVE ME WOULD BE GREATLY APPRECIATED.  not much hair left to pull out ;-)
15 anos atrás
oops, i hit return twice.
I think the best approch is to get it running on my server, then i can use VS to edit what i need to...  so, anyone... HELP...
15 anos atrás
using server 2008, sql 2008...
15 anos atrás
I'm not a db guy but if you surely you can give additional permissions to the IUSR and LocalMachine through sql server managment studio?
15 anos atrás
spent a lot of time trying to do that, but what nopCommerce install is looking for cant be done...
I think the solution is in the connection string.  WHERE DOES ONE PUT IN THE CONNECTION STRING?
Should be in "web.config" i would think, but can't find it there....
any ideas??
Oh, and building the correct connection string seems to be too simple to be documented, and that makes it very difficult for those of us who are not expert db's.
15 anos atrás
a little digging and i finally found the file 'connectionStrings.config'
Now.... what do i put in there?....
such an elementary question, but necessary to make this work, and i cant find any documentaiton to help.
15 anos atrás
<connectionStrings>
    <add name="NopSqlConnection" connectionString="Data Source=your_computername;Initial Catalog=your_databasename;Integrated Security=False;Persist Security Info=False;User ID=your_userid;Password=your_pass" />
</connectionStrings>
15 anos atrás
<connectionStrings>
    <add name="NopSqlConnection" connectionString="Data Source=your_computername;Initial Catalog=your_databasename;Integrated Security=False;Persist Security Info=False;User ID=your_userid;Password=your_pass" />
</connectionStrings>

Awsome... my dad was born in Russia... he was smart as well... ;)

OK, i would have thought that the project would require a specific database name.  I see there is a file I can use to build the db with MSSQL, hopefully the project will use whatever name i give it (in the connection string) and run....

I will build the db, put the connecton string in "ConnectionStrings.config" and... no, i will first try the connection string in case the db is built by the install.

I will be back when i try that out.

Thanks again... hopefully i can help add to the project at some time.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.