Common Dialog in ASP.NET
|
Original Message
|
Name: Confused
Date: September 14, 2002 at 12:55:36 Pacific
Subject: Common Dialog in ASP.NETOS: Windows XP/VS.NETCPU/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.
Report Offensive Message For Removal
|
|
Response Number 1
|
Name: Jeff J
Date: September 14, 2002 at 20:47:12 Pacific
|
Reply: (edit)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...
Report Offensive Follow Up For Removal
|
Use following form to reply to current message: