Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How do we get the Application name in asp.net?

Posted on 2009-04-09
3
Medium Priority
?
749 Views
Last Modified: 2012-08-14
Hi,
Could anybody tell me how to get the current application name? Is there anyway we can set it in web.config and then retrieve it from there when needed? I need to insert this application name into a table "Errors" to know which application caused this error.
Please give me any ideas! Thank you!
0
Comment
Question by:ipjyo
  • 2
3 Comments
 
LVL 6

Accepted Solution

by:
SaedSalman earned 2000 total points
ID: 24110316
0
 
LVL 6

Expert Comment

by:SaedSalman
ID: 24110334
Also you can try this:
Path.GetFileName(Application.ExecutablePath);
0
 

Author Comment

by:ipjyo
ID: 24110760
thank you
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

These days, all we hear about hacktivists took down so and so websites and retrieved thousands of user’s data. One of the techniques to get unauthorized access to database is by performing SQL injection. This article is quite lengthy which gives bas…
Hello there! As a developer I have modified and refactored the unit tests which was written by fellow developers in the past. On the course, I have gone through various misconceptions and technical challenges when it comes to implementation. I would…
Wufoo.com provides powerful tools for surveying targeted groups, and utilizing data from completed surveys to find trends, discover areas of demand or customer expectation, and make business decisions on products or services.
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…

885 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question