Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

How to run the source version?
marty1101
#1 Posted : Thursday, 19 February 2009 7:52:52 PM(UTC)
Rank: Advanced Member

Joined: 4/01/2009(UTC)
Posts: 37
Location: Taipei, Taiwan

Environment: SQLServer 2008, Vista64
I already have a site(compiled version) working. Now I need to set up a source version site.

I have little knowledge of Web Application Projects. Here is what I've done with the source version:
1. copy the source version to d:/gsp_source/
2. open TIS.GSP.sln in VS2005
3. modify /Website/web_sqlserver_2.0.config and rename it to web.config
4. copy a current working galleryserverpro.config to \Website\gs\config\
5. Build Solution => got all dll compiled in \Website\bin\
6. Set \Website\default.aspx as the start page
7. Hit F5 Start Debugging => ASP.NET Development Server fired up and opened an IE browser

First error:
Can not load 'System.Data.SQLite, Version=1.0.60.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139'
(translated from Chinese)

In web.config,
I did have the right SqlServerDbConnection connection string and connectionStringName="SqlServerDbConnection" are in membership, roleManager, and Profile. Searching "SQLite" doesn't find anything in web.config and in galleryserverpro.config

Did I miss something?

Then, I closed VS2005 and set up a IIS7 web application pointing to d:/gsp_source/
and gave Network Service permission to have total control over /Website
In IE: http://localhost:16800/GSP_source/ gave me another error:
Cannot load 'PresentationCore' ....

I checked and there are:
\Website\bin\PresentationCore.dll
\Website\zh-CHS\PresentationCore.resources.dll
\Website\zh-CHT\PresentationCore.resources.dll
(I have zh-CHS and zh-CHT languages in Vista64)

Either way I can't make it start running. Where have I done wrong?

ps. Don't laugh if I made it all wrong. My knowledge started from the time of VS2005 Web Site Project. ^_^
Roger Martin
#2 Posted : Thursday, 19 February 2009 11:20:54 PM(UTC)
Roger Martin

Rank: Administration

Joined: 3/08/2007(UTC)
Posts: 3,300
Location: Fort Atkinson, WI

You probably have the 32-bit version of the System.Data.SQLite.dll in your bin directory, but you are on a x64 PC. Since you aren't using SQLite, you can delete these dll's in the bin directory:

GalleryServerPro.Data.SQLite.dll
System.Data.SQLite.DLL

(The other solution is to get the 64-bit version from the download page.)

To keep these from getting copied to your bin directory the next time you compile, remove or unload the SQLite project from the GSP solution. You don't need it.
Roger Martin
Creator and Lead Developer of Gallery Server Pro
Rss Feed  Atom Feed
Users browsing this topic
Guest
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.