index | search | no replies | posting guidelines | help login | register
Index » Products » ASP Report Wizard v2
search this forum:
:: Server.CreateObject Failed :: (16)Post a New Message | Post a Reply
Sep 24 2004, 9:50 AM
 Server.CreateObject Failed Post a Reply
 delaware_74

View this author's profile Send this author a private message

from: somewhere

I am having the following error on :
Set objWiz = Server.CreateObject("AspWebSolution.ReportWizard2")

Can anyone help me please with this issue

Sep 24 2004, 11:57 AM
 Re: Server.CreateObject Failed Post a Reply
 delaware_74

View this author's profile Send this author a private message

from: somewhere

This is the complete error message that i get :


Server object error 'ASP 0177 : 800401f3'

Server.CreateObject Failed

/Safety/Reports/Default.asp, line 5

Invalid ProgID. For additional information specific to this message please visit the Microsoft Online Support site located at: http://www.microsoft.com/contentredirect.asp


Sep 24 2004, 12:50 PM
 Re: Server.CreateObject Failed Post a Reply
 ghost

View this author's profile Send this author a private message Visit author's homepage

from: Washington, DC

It means the AWSReportWizard.dll has not been regisstered on your system.
Please read the following article on installing the ASP Report Wizard:

Installing the ASP Report Wizard

Let me know if this helps!



-------------------------
Ghost
Sep 24 2004, 1:06 PM
 Re: Server.CreateObject Failed Post a Reply
 delaware_74

View this author's profile Send this author a private message

from: somewhere

the ASP Wizard was installed correctly .
On the folder  C:\Program Files\AspWebSolution , I have 2 files :
ASPReportWizard2.dll and msado25.tlb.

The ASP Files are located on : \\App-saba-01\operations$\Safety\SIRF.

I am using Windows XP and the DB is on SQL Server.

tell me if you need any more information.

Thank you

Sep 24 2004, 1:29 PM
 Re: Server.CreateObject Failed Post a Reply
 ghost

View this author's profile Send this author a private message Visit author's homepage

from: Washington, DC

Usually when you do not have admin rights, the component does not register.
Copy the line below into a text file called register.bat and save it on your desktop.

regsvr32 "C:\Program Files\AspWebSolution\AWSReportWizard2.dll"

double-click on this file to register the component.

let me know what message you get.

P/S: If it says the DLL has been registered, try running the web page again.



-------------------------
Ghost
Sep 24 2004, 1:59 PM
 Re: Server.CreateObject Failed Post a Reply
 delaware_74

View this author's profile Send this author a private message

from: somewhere

Thank you , The DLL has been registered , I get the message telling me that.

But i can't still get it work.

this is my default.asp file :

<%

Dim objWiz
Set objWiz = Server.CreateObject("AspWebSolution.ReportWizard2")
objWiz.Init("Driver=SQL Server;Server=db-sql-02;Database=Safety_actionItems;")
objWiz.DisplayReports    
Set objWiz = Nothing

%>

it is located on new folder called report : \\App-saba-01\operations$\Safety\SIRF\ActionItems\Report

but when i put this address on the   browser : https://operations/Safety/SIRF/actionitems/report/default.asp

I get thie same Error :
Server object error 'ASP 0177 : 800401f3'

Server.CreateObject Failed

/Safety/SIRF/actionitems/report/default.asp, line 5

Invalid ProgID. For additional information specific to this message please visit the Microsoft Online Support site located at: http://www.microsoft.com/contentredirect


Sep 24 2004, 2:23 PM
 Re: Server.CreateObject Failed Post a Reply
 ghost

View this author's profile Send this author a private message Visit author's homepage

from: Washington, DC



What kind of database are you using?

Below is a sample connection string for SQL Server

strConnectionString = "Provider=MSDASQL;Driver={SQL Server};" & _
    "Server=YOUR_SERVER_NAME;Database=YOUR_DATABASE;" & _
    "User ID=YOUR_USERNAME;Password=YOUR_PASSWORD;"


You can find more connection string samples at the link below:

Connection String Samples




-------------------------
Ghost
Sep 24 2004, 2:27 PM
 Re: Server.CreateObject Failed Post a Reply
 delaware_74

View this author's profile Send this author a private message

from: somewhere

There is nothing wrong with the connection string , i used it before , it's a woindow authentifiacation . The error i am getting it at the first lign :
<%@ Language=VBScript %>
<%

Dim objWiz
Set objWiz = Server.CreateObject("AspWebSolution.ReportWizard2")    ( at this lign)
' objWiz.Init("Driver=SQL Server;Server=db-sql- '02;Database=Safety_actionItems;")
    
'put this where you want your reports
'objWiz.DisplayReports
    
'Set objWiz = Nothing

%>

Sep 24 2004, 2:28 PM
 Re: Server.CreateObject Failed Post a Reply
 delaware_74

View this author's profile Send this author a private message

from: somewhere

is the location of the new folder fine ?

Sep 27 2004, 5:12 AM
 Re: Server.CreateObject Failed Post a Reply
 ghost

View this author's profile Send this author a private message Visit author's homepage

from: Washington, DC

That error implies that the ASP Report Wizard has not been registered in your system - that is why you get an invalid progid.
Do you have admin rights?


-------------------------
Ghost
Sep 27 2004, 10:50 AM
 Re: Server.CreateObject Failed Post a Reply
 delaware_74

View this author's profile Send this author a private message

from: somewhere

No i don't have the Admin right

Sep 27 2004, 12:29 PM
 Re: Server.CreateObject Failed Post a Reply
 ghost

View this author's profile Send this author a private message Visit author's homepage

from: Washington, DC

I think on windows 2000+ and XP you do need to be logged in as an administrator to be able to install programs and register components


-------------------------
Ghost
Sep 27 2004, 1:27 PM
 Re: Server.CreateObject Failed Post a Reply
 delaware_74

View this author's profile Send this author a private message

from: somewhere

ok , i tried just this lign of cose :
<% set df =server.CreateObject("Access.Application")%>

and i get the same error.
any help please ?

Sep 27 2004, 2:00 PM
 Re: Server.CreateObject Failed Post a Reply
 ghost

View this author's profile Send this author a private message Visit author's homepage

from: Washington, DC

Try this:
1. Navigate to the folder that contains the AWSReportWizard2.dll file (probably
C:\program files\AspWebSolution)
2. Right-Click on the  AWSReportWizard2.dll file and select Properties
3. Click on the Security Tab and give everyone read & execute rights

Let me know if this helps


-------------------------
Ghost
Sep 28 2004, 11:10 AM
 Re: Server.CreateObject Failed Post a Reply
 delaware_74

View this author's profile Send this author a private message

from: somewhere

thank you for your answer , but still nothing.

Look , i get the same error for :server.CreateObject("word.application")
or Server.createobject("Excel.Application") .

One more thing , i created an sample access database form , and on the click button on microsoft visual basic i cann seee on the references the components of ASP web Soluton , Access and Excel , can you tell me please what can i do ?

Thank you ,

Sep 28 2004, 1:51 PM
 Re: Server.CreateObject Failed Post a Reply
 ghost

View this author's profile Send this author a private message Visit author's homepage

from: Washington, DC

Just try to login with the admin account - that might be the problem


-------------------------
Ghost
Pages: (1)   [1]

search this forum: