Click here to Skip to main content
       

ASP.NET

 
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page  Show 
QuestionWSAT deploy to web servermembervanikanc7 Mar '13 - 9:50 
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!!
AnswerRe: WSAT deploy to web servermemberjkirkerx8 Mar '13 - 7:44 
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.
QuestionRepeater ControlmemberMohsin Afzal7 Mar '13 - 6:06 
I am working on a Web project .What Databound Control i have to use for Quick Posts Like We can Do With Facebook. can it be possible with Repeater Control.
for Ex: in Facebook .. Whats on your Mind..? than we insert in text Box and at the same time it appears on the Posts section... Please suggests me..???? Frown | :( D'Oh! | :doh:
AnswerRe: Repeater ControlmemberTirujit15 Mar '13 - 16:05 
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.
QuestionHow to send SMS from ASP.NET application to mobiles?memberritesh gajjar7 Mar '13 - 0:12 
i need c# code for send sms from web to mobile phone.

AnswerRe: How to send SMS from ASP.NET application to mobiles?mvpSandeep Mewara7 Mar '13 - 1:16 
ritesh gajjar wrote:
i need c# code for send sms from web to mobile phone.

It does not work like this here.
 
Here is what is expected of enquirers:
1. TRY first what you want to do! You may find that it's not that hard.
2. Formulate what was done by you that looks like an issue/not working.

Try them and tell if you face issues.
Members will be more than happy to help like this.

 

For now, have a look at the following to understand and learn on how it can be done:
Articles:
Sending SMS using .NET through Web service[^]
Sending SMS text messages using ASP.NET scripts[^]
 
Discussion links:
sending sms using vb.net[^]
how to send sms through asp.net with c#? [^]
 
See these also:
Sending SMS using .NET[^]
How to Send and Receive SMS with the Orange SMS API[^]
 
Nutshell: ASP.NET does NOT have any inbuilt API support to send out an SMS. You need to go for a third party solution or use something that is found on the Internet. Articles and discussions above should help you out.
Sandeep Mewara
Microsoft ASP.NET MVP 2012 & 2013

[My Blog]: Sandeep Mewara's Tech Journal!
[My Latest Article]: HTML5 Quick Start Web Application

AnswerRe: How to send SMS from ASP.NET application to mobiles?groupStyleTech Solutions Ltd7 Mar '13 - 7:13 
We have used many SMS providers, but we found Twilio to be very easy to integrate and cost effective.
 
http://www.twilio.com
 
(we are not linked to twilio in any way).
 
www.styletech.co.uk
QuestionHow to generate License Key in Web Application?memberrahamathullah.v6 Mar '13 - 18:47 
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
AnswerRe: How to generate License Key in Web Application?mvpSandeep Mewara7 Mar '13 - 1:15 
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.
Sandeep Mewara
Microsoft ASP.NET MVP 2012 & 2013

[My Blog]: Sandeep Mewara's Tech Journal!
[My Latest Article]: HTML5 Quick Start Web Application

AnswerRe: How to generate License Key in Web Application?memberjkirkerx7 Mar '13 - 7:09 
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 General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   


Advertise | Privacy | Mobile
Web02 | 2.6.130523.1 | Last Updated 24 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid