Click here to Skip to main content
15,391,695 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questioncall a server side Powershell script? Pin
Joseline Riker19-Nov-21 6:44
MemberJoseline Riker19-Nov-21 6:44 
AnswerRe: call a server side Powershell script? Pin
Richard Deeming21-Nov-21 22:52
mveRichard Deeming21-Nov-21 22:52 
GeneralRe: call a server side Powershell script? Pin
Joseline Riker3-Dec-21 7:34
MemberJoseline Riker3-Dec-21 7:34 
GeneralRe: call a server side Powershell script? Pin
Richard Deeming5-Dec-21 21:43
mveRichard Deeming5-Dec-21 21:43 
QuestionIs it possible to use SQLite instead of MSSQL SERVER in ASP.NET projects? Pin
Alex Dunlop17-Nov-21 21:29
MemberAlex Dunlop17-Nov-21 21:29 
AnswerRe: Is it possible to use SQLight instead of MSSQL SERVER in ASP.NET projects? Pin
Richard Deeming17-Nov-21 21:45
mveRichard Deeming17-Nov-21 21:45 
Questioncheckbox inserting null value in a custom templatefield (vb.net) Pin
Oliver Freeman27-Oct-21 2:56
MemberOliver Freeman27-Oct-21 2:56 
QuestionCan shell32.dll be used in IIS environment? Pin
Member 35932620-Oct-21 10:11
MemberMember 35932620-Oct-21 10:11 
I have a class which is using shell32.dll and a console exe program. It works well. Howeve, when I used the class with (shell32.dll) in IIS (dotnet Core 5), it doesn't work.

My question is the SHELL32.DLL allowed to be in the IIS?
If not, is there any other dll I can use?

Here is the Error message:
Quote:
System.InvalidCastException
HResult=0x80004002
Message=Unable to cast COM object of type 'System.__ComObject' to interface type 'Shell32.Shell'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{286E6F1B-7113-4355-9562-96B7E9D64C54}' failed due to the following error: No such interface supported (0x80004002 (E_NOINTERFACE)).
Source=System.Private.CoreLib
StackTrace:
at System.Runtime.CompilerServices.CastHelpers.ChkCastAny(Void* toTypeHnd, Object obj)

AnswerRe: Can shell32.dll be used in IIS environment? Pin
Richard Deeming20-Oct-21 22:17
mveRichard Deeming20-Oct-21 22:17 
GeneralRe: Can shell32.dll be used in IIS environment? Pin
Member 35932620-Oct-21 23:54
MemberMember 35932620-Oct-21 23:54 
GeneralRe: Can shell32.dll be used in IIS environment? Pin
Richard Deeming21-Oct-21 1:09
mveRichard Deeming21-Oct-21 1:09 
GeneralRe: Can shell32.dll be used in IIS environment? Pin
Member 35932621-Oct-21 22:46
MemberMember 35932621-Oct-21 22:46 
Questionweb config asp.net project of sql server Pin
Member 1101590512-Sep-21 19:20
MemberMember 1101590512-Sep-21 19:20 
AnswerRe: web config asp.net project of sql server Pin
Richard MacCutchan12-Sep-21 22:08
mveRichard MacCutchan12-Sep-21 22:08 
AnswerRe: web config asp.net project of sql server Pin
Dave Kreskowiak13-Sep-21 1:18
mveDave Kreskowiak13-Sep-21 1:18 
QuestionGet a Field value for recovery a password Pin
Luis M. Rojas3-Sep-21 5:17
MemberLuis M. Rojas3-Sep-21 5:17 
AnswerRe: Get a Field value for recovery a password Pin
Richard Deeming3-Sep-21 5:34
mveRichard Deeming3-Sep-21 5:34 
GeneralRe: Get a Field value for recovery a password Pin
Luis M. Rojas3-Sep-21 5:55
MemberLuis M. Rojas3-Sep-21 5:55 
GeneralRe: Get a Field value for recovery a password Pin
Richard Deeming3-Sep-21 6:10
mveRichard Deeming3-Sep-21 6:10 
QuestionWebService just will not work :-( Pin
Oliver Freeman1-Sep-21 5:48
MemberOliver Freeman1-Sep-21 5:48 
AnswerRe: WebService just will not work :-( Pin
Richard Deeming1-Sep-21 21:59
mveRichard Deeming1-Sep-21 21:59 
GeneralRe: WebService just will not work :-( Pin
Oliver Freeman2-Sep-21 1:59
MemberOliver Freeman2-Sep-21 1:59 
GeneralRe: WebService just will not work :-( Pin
DerekT-P21-Oct-21 7:37
professionalDerekT-P21-Oct-21 7:37 
QuestionIs it possible to add fore ground and back ground to any app that is down? Pin
samflex31-Aug-21 18:39
Membersamflex31-Aug-21 18:39 
AnswerRe: Is it possible to add fore ground and back ground to any app that is down? Pin
Richard Deeming31-Aug-21 22:01
mveRichard Deeming31-Aug-21 22:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.