Click here to Skip to main content
15,905,504 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi i created a c sharp project with sql server as a back end. my question is how can i run that project in another system that doesn't installed c# and sql server. is there any software that make my project as software? i want to run that project without installing c# and sql server.
Posted

Hi,

one work around is ,

if application is installed in any of the network computer then share that folder in your network,

now you need to create shortcut of that shared executable file and through that you can run your application without sql server and Framework.

hope i answer your query.

thanks
-Amit.
 
Share this answer
 
Comments
lilian87 5-Mar-12 9:05am    
I know this is an old post.But i have a question.Where should i put my sql server 2005 database?
can I put it in shared folder?If so, what connection string should i use?Can you help me??
AmitGajjar 5-Mar-12 23:39pm    
You can store your database in your App_Data folder and create installer. and share your installed folder executable file.
lilian87 6-Mar-12 0:40am    
But im doing a desktop application in C#. Now the database is in my pc.I want to move it to shared folder. So what connection string should i use?
Please help..
AmitGajjar 6-Mar-12 0:44am    
ok, then store your database file in any network location. then create shortcut of that network file in your pc and that database will be used by your c# application.
lilian87 6-Mar-12 1:02am    
Can you help me in writing the connection string.
THe network path is \\128.1.2.128\Folder\db.mdf and db.ldf.As you said i made shortcut of it on my pc.But dont know how to write the connection sting..Please help me...
i made it by PUBLISH feature. it can also deploy by some third party software like install shield
 
Share this answer
 
Read this article from CodeProject:

[Host application in IIS]

Please mark as answer and vote 5 if this solved your problem

Regards,
Eduard
 
Share this answer
 
Comments
Abhi KA 6-Dec-11 2:08am    
The System was outside of network.
[no name] 6-Dec-11 2:10am    
what do you mean?
If your application is windows you need to install .net framework which will about 100mb and sql server express whihc will be about 80mb and you just need to change or configure your connectionstring for the installed sqlserver express.

Secondly

If your applicaiton is web just you can host it any server and access it from any other device or computer.

Or

You can also can host the application in IIS of your client system and you can configure as said in the above answer. You can go through the link specified in the above answer.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900