Hi Cem, getting errors after building the solution in VS2010 and debugging..
Warning 3 Could not resolve this reference. Could not locate the assembly "VistaDB.4". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. FileVista
And on the webpage the following error...
Server Error in '/' Application.
--------------------------------------------------------------------------------
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Could not load type 'GleamTech.FileVista.GlobalAsax'.
Source Error:
Line 1: <%@ Application Codebehind="global.asax.cs" Inherits="GleamTech.FileVista.GlobalAsax" Language="C#" %>
Source File: /global.asax Line: 1
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.4927; ASP.NET Version:2.0.50727.4927
Please advise
Thanks
Rob
Rob Atkinson
6/16/2010 9:08 AM
I am sorry for the inconvenience, it seems we forgot to include the 3rd party database DLL in the source code package. Please re-download the file which includes the correct DLL.
Cem Alacayir
6/16/2010 9:22 AM
Thanks Cem,
One more error..
Error 1 Exception occurred creating type 'VistaDB.VistaDBLicense, VistaDB.4, Version=4.0.0.0, Culture=neutral, PublicKeyToken=dfc935afe2125461' System.ArgumentNullException: Value cannot be null. I:\FileVista-v4.0-sourceFinal\FileVista\Source\Properties\licenses.licx 1 FileVista
Rob Atkinson
6/16/2010 9:30 AM
In the solution explorer, open FileVista\Properties\licenses.licx file, change this line
VistaDB.VistaDBLicense,VistaDB.4, Version=4.0.0.0, Culture=neutral, PublicKeyToken=dfc935afe2125461
to this line:
VistaDB.VistaDBLicense,VistaDB.4
After this change the solution should be built without errors.
However, VistaDB is a 3rd party library and it requires a development license.
So you should use a SQL Server database instead of the VistaDB database as you may receive licensing errors when you run the application.
Let me know.
Cem Alacayir
6/16/2010 3:24 PM
Hi Cem,
This did not resolve the error, still the same errors as above.
Thanks
Rob
Rob Atkinson
6/24/2010 2:13 AM
Hi Rob,
Please follow these steps:
1. Right click and exclude FileVista\Properties\licenses.licx from the project. You should be able to build without any compilation errors.
2. Make sure IsConfigurationCompleted and Provider settings in FileVista\App_Data\FileVista.config looks like this:
<add key="IsConfigurationCompleted" value="0" />
<add key="Provider" value="" />
3. Run/start debug, you should see the configuration wizard (configuration.aspx). Proceed to the next page of the wizard.
4. Open SQL Server Management Studio and run FileVista\App_Data\database\CreateSqlServerDB.sql to create a FileVista database in SQL Server.
5. In the configuration wizard, choose the SQL Server database instead of VistaDB and enter the connection settings for your new SQL Server database. Complete the configuration wizard.
Cem Alacayir
6/25/2010 4:04 AM
Thanks
Rob Atkinson
6/26/2010 3:47 PM
FYI, the below requirement is removed in FileVista v4.5:
"However, VistaDB is a 3rd party library and it requires a development license.
So you should use a SQL Server database instead of the VistaDB database as you may receive licensing errors when you run the application."
With this release, you can compile against VistaDB without a VistaDB developer license.
Cem Alacayir
1/13/2012 7:52 AM
Thanks Cem
Liking the new version so far - well done, i'll feed back more once ive had a better look around
All the best
Rob
Rob Atkinson
1/13/2012 7:54 AM