Question

I have created a project which is using devart Linq SQL and .Net 4.5. The steps I followed are,

  • Built the project.
  • Copied the Debug/Release folder to another system.
  • Installed devart + dotnet4.5 in this system.
  • Tried to run the .exe.

But nothing happens, no error no appearance of any thing. If I have VS installed in that other system then this runs smoothly. I'm not able to identify the problem.

Was it helpful?

Solution 3

Found the problem after a long time of research. I was using DB in the constructor of first form and My database file path in 'App.config' and Devart Linq's '**.lqml' was not absolute path and hard coded, this was the cause of the 'Application not working properly' in other systems. Just made it absolute and it is working fine now. Thanks All :)

OTHER TIPS

Publish the project by right clicking project package on the solution explorer and publish.. Go to the published folder and search for the file named .deploy. Rename it to .exe and try

To deploy applications written with the help of LinqConnect you don't need to install the copy of LinqConnect product on your deployment machines. You should register run-time assemblies Devart.Data.SQLite.dll, Devart.Data.dll, Devart.Data.SQLite.Linq.dll and Devart.Data.Linq.dll at Global Assembly Cache (GAC) or place them in the bin folder of your application. When deploying ASP.NET applications it is also necessary to have Devart.Data.Linq.Web.dll and App_Licenses.dll assemblies available.

JIC: these assemblies can be found in the folder where LinqConnect is installed.

For example, open your application in Visual Studio, set the Copy Local property to True for each Devart assembly in the Solution Explorer and build your application. After that, all necessary Devart assemblies will appear in the bin folder of your application (in your case - bin\Release). Make sure you have these files available there:

  • Devart.Data.dll;
  • Devart.Data.Linq.dll;
  • Devart.Data.SQLite.dll;
  • Devart.Data.SQLite.Linq.dll.

After that copy the Debug/Release folder to another system and try running the project again.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top