ASP.NET
|
|
 |

|
Hello All,
With great diffculty was able to set up the Website Administration Tool on the web server, with a copy from my laptop running Visual Studio.
I ran the aspnet_regsql.exe, and set up the database to connect. All the tables related to this app was created in this database.
Using IIS 7, was able to change the connection string, to reflect to this database.
Now, when I click on "Security" tab, it comes back with "Object reference not set to an instance of an object." It also states that the role Manager is maybe not enabled. Where do I enable this roleManager?
Thanks!!
|
|
|
|

|
So that error came from the Website Administration tool?
You might have to reinstall the program, or perhaps your missing the security dll, or it's not registered in the registry, or you simply have to elevate your permissions when you run the program.
|
|
|
|
|

|
You can use a textbox to post data in quick post section and after pressing the submit button you can save that data in database. Then bind previous submitted posts in a repeater using ItemTemplate.
|
|
|
|

|
i need c# code for send sms from web to mobile phone.
|
|
|
|
|
|

|
Hi all, I want to host my Asp Dot NET web application project in to my client’s server. The web application project should have a License key that will be valid for certain years. After that particular year ends the application should expire if not renewed before the expired date…could you please tell me how to achieve this…I am feared that he may crack the DLL with dot net reflector or any -compiler to find the logic If I have that in CS file. So could you please help me to find the best way to achieve this and how to achieve this in detail? Rahamath
|
|
|
|

|
rahamathullah.v wrote: host my Asp Dot NET web application project
AND
rahamathullah.v wrote: should have a License key that will be valid for certain years. After that particular year ends the application should expire if not renewed before the expired date
Above two contradict each other.
You need a license key for a desktop application and not a web application. For web application, if you want to have a 'validity' involved, you need to keep track of user's registration data with you. Post a defined period you can disable the user. You host the application on your server and share the url with client. Your application internally talks to a database that tracks the data of registration and other details.
|
|
|
|

|
There are license key generators out there if you search, it's basically string manipulation, in which you run a function against a pass phrase like the domain name, to generate a key like the Microsoft one. But now you have to decide what to run the key generator against.
License Key Generation[^]
Now you have to be able to validate the key as well on program start up.
but to enforce the key gets quite complex
1. You can call home to your server to validate the key once a month, or every time they do something important.
2. You can hard code your DLL to expire, but then if you have an error, you may get sued.
I can think of a thousand caveats for key validation failure, in which the program shuts off due to a malfunction, so be very careful.
Probably best just to issue a license number, and if the license is valid, offer updates and tech support during the valid period of time for x amount of dollars per year.
|
|
|
|
 |
|
|
General
News
Suggestion
Question
Bug
Answer
Joke
Rant
Admin