set windows service connection string on run time [closed] - c#

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I have a windows service I set the ConnectionString from properties.setting it's work on my PC, but when I made the installation and install it on other computer how can I set new connection string. I think it will be manually but I don't know how.Thanks.

When you deploy your service it generates a file named "yourexe.config". If i am right about how you are setting up your connstring, you just need to change it in that file BEFORE you start the service.
Best regards,
Marco Alves.

Related

How to reset hard application on Azure [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 3 days ago.
Improve this question
I have web app on Azure.
Suppose my application has entered a method that performs something. I can't get out of it.
When I close the web app on azura and turn it on, the app returns to the same point (method).
Can I somehow reset it and stop the execution of all methods?
Best regards

ASP.NET publish issues [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
I'm guessing I'm doing this totally wrong but I couldn't find how else to do it.
I'm trying to publish my website to a "Test server" online (hosted by One), but everything I try I end up with raw ASPX text on my screen whenever I go to the default webpage.
Using it with the ISS thingy was no problem.
Thanks in advance.
Make sure:
the hosting provider supports ASP.NET hosting
the .NET Framework is installed
ASP.NET is registered in the web server

is there a way to know where is the solution from a published site folder? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
I have a published website that I need to modify, but could not find the solution to open the project. Is there a file, even in the IIS or in the published website folder that could have the path of where that project is?
There is no way knowing where your solution is other than searching your hard drives for "*.sln"

How to find out whether application running on IIS using JavaScript? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
Is there any way I can find out my ASP.Net application running on IIS or locally on Visual studio using JavaScript?
You can use Request.Url.AbsoluteUri to get site url. Write it in hidden field and then use in javascript.

How to create an msi from a Windows Forms project? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 years ago.
Improve this question
I am trying to create an installer for a project which I recently completed. I also used a database(SQL Server Compact), but I don't know much about how to do it. I've read some articles on MSDN, but they weren't clear to me.

Categories