Computing.Net > Forums > Programming > Common Dialog in ASP.NET

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Common Dialog in ASP.NET

Reply to Message Icon

Name: Confused
Date: September 14, 2002 at 12:55:36 Pacific
OS: Windows XP/VS.NET
CPU/Ram: 256
Comment:

I have been trying to use common dialog box in ASP.NET application but it gives me error. It says

'Class is not licensed for use'

I tried using the common dialog in VB.NET too but I got the same message. I thought that it might me an ASP.NET which is not letting me use the class but it looks like there something else to it.

Can somebody please help me out with this. I need to use the common dialog for my web application to open and upload files.

my code looks something like that,

'''''''''''''''''''''''
dim cdNewDialog as new MSComDlg.CommonDialog() '''''''' it stops right here

cdNewDialog.ShowSave()
'''''''''''''''''''''''

Thanks.




Sponsored Link
Ads by Google

Response Number 1
Name: Jeff J
Date: September 14, 2002 at 20:47:12 Pacific
Reply:

Typically that means you do not have the licence key on your machine that allows developing with the .Net framework's common dialogs. There was a similar restriction with ActiveX controls, to ensure developers paid for them. The .Net security measures are even stricter.

Although I have not heard of any reported .Net bugs with this issue, there were some with the ActiveX controls. The licence keys are installed on setup, so you might want to try reinstalling. Another thought is that you are not logged-in with sufficient permission to develop with the class. I've seen such things when IT staff try insisting that developers do not require any higher privileges than secretaries, for example.

I doubt it has anything to do with the .Net framework runtime security model. I wish I could be more helpful on this...


0
Reply to Message Icon

Related Posts

See More


Microsoft COBOL II Determine how long I am c...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Common Dialog in ASP.NET

How to clear a textbox in asp.net www.computing.net/answers/programming/how-to-clear-a-textbox-in-aspnet-/8234.html

array of controls in asp.net www.computing.net/answers/programming/array-of-controls-in-aspnet/10653.html

Prevent control refresh in ASP.NET www.computing.net/answers/programming/prevent-control-refresh-in-aspnet/7185.html