11. maj 2000 - 11:20Der er
7 kommentarer og 1 løsning
ASP - DLL
Jeg har et lille program jeg har lavet om til en activeX DLL med navnet test.dll, med en class der hedder MakeQueryStringFile. Hvis jeg så laver en fil der hedder filtest.asp med flg. indhold:
<% option Explicit
Dim FileMaker Set FileMaker = server.createObject("test.MakeQuery1") FileMaker.ResponsePageQuery = Response.Querystring
%>
Får jeg følgende fejl:
Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/FilTest.asp, line 6
800401f3
Jeg har registreret .dll'en med regsvr32, og rettigheder på web serveren skulle være sat op. Hvad er der galt???
I dette særtema ser vi på, hvordan cloud og AI bliver fundamentet for virksomhedernes digitale forretning, og hvordan de nye muligheder for automatisering og forretningsværdi kan udnyttes uden at miste overblik, sikkerhed og menneskelig kontrol.
--------------------------------------------- Inability to Create Components
Sometimes the Server.CreateObject method fails and produces an “ASP 0177: Server.CreateObject Failed” error. This can happen even if the component works fine in Visual Basic on the same computer or while using ASP on other computers.
One likely cause for this behavior is that the authenticated user does not have permission to invoke the COM object. In the simplest scenario, the authenticated user doesn’t have access to the component DLL or executable. In many cases, however, the component depends on other DLLs that the authenticated user does not have permission to access. Usually, a majority of users access a site anonymously, using the IUSR_computername account.
To verify that this is a permissions problem, try invoking the component from another tool such as Visual Basic. This approach verifies that the component is registered properly on the server. If the component cannot be created from Visual Basic, you are probably not dealing with a permissions problem. (The component might need to be registered.)
If you believe you are dealing with a permissions problem, check permissions on the component and on any dependent files, such as other DLLs. If you still are unable to track down the problem, you may need to systematically search permissions. ---------------------------------------------
Jeg har nu ikke selv haft problemer med retighederne til mine DLL'er..
Jeg kan godt bruge dll'en fra Visual Basic, så det må næsten være et rettigheds spørsmål. Men hvor finder man løsningen på det?. Kan man mon bruge Personal Web Server eller skal det være IIS??
Synes godt om
Ny brugerNybegynder
Din løsning...
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.