Click here to Skip to main content
15,899,005 members

Comments by buzzluck68 (Top 5 by date)

buzzluck68 15-Feb-12 14:42pm View    
All the machines are Windows 7 64-bit. The users all have administrative rights and UAC is turned on.

The database location is located using the App.Path function in VB6 since the database resides in the same location as the application. The connection to the database is opened just fine, it is just when it is retrieving records from the database using a Select query that it gets this error.

And like I stated before, this is not a consistant error on all machines, just some of them. I will try to get my hands on one that is having this problem so I can test some possible solutions. The first one that might work is to remove the database file from the Program Files directory into the Common App Data directory, but without testing I would have no way of knowing for certain if this would work.

Thanks,
Chris
buzzluck68 27-May-11 8:31am View    
It is a COM dll that is provided to us by a manufacturing company to calculate the performance on their products. It is not a system/framework CLSID. I have checked the registry and it is registered, and I also gave the folder that they sit in full rights to all users, but it did not make a difference. I'll just have to keep researching. (By the way, how would I know if the app pool identity has rights to the folder the dll is in? All I can see with the app pools are the version of .NET framework they use and the managed pipeline mode.)
Thanks for help,
Chris
buzzluck68 26-May-11 14:28pm View    
Now I get the error:
"Retrieving the COM class factory for component with CLSID {...} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))"

This only occurs if I have the debug mode using IIS on the dev machine. If I have it debug using the VS Dev Server there are no errors.

I have used the 32-bit regsvr32 (under SysWOW64 folder) to make sure the dlls are registered. The machine is a Win7 64-bit machine. (I have also done the 64-bit regsvr32, but still the same problem.)
buzzluck68 26-May-11 9:10am View    
This did the trick to get rid of the error message. The only problem now is that the calculation results from the server are not being returned. That I will see if I can debug, since it does that when in debug mode now also.
Thanks for the help,
Chris
buzzluck68 25-May-11 8:07am View    
Unfortunately I am unable to get any other errors back since this is a WCF error.

I have even tried to have logging done on the ASP page that is doing the work, and there are no errors there, and no errors on the Silverlight side. It seems to be in the WCF service area, which from what I have found online, I would need to have WCF log the error messages, but no matter what I do I cannot get it to do that.

As far as debugging on IIS, I am not very familiar with IIS, so I have no idea how to do that. There are also no authentication schemes, there is only one enabled on the site (Anonymous Authentication). This should be sufficient.

The application pool is using .NET Framework 4, and the .NET trust level is set to Full (internal).

What I want to know is why I can right click on the asp page in the project IDE, and select "View in Browser" and it runs fine (this is not in debug mode, but still running as http://localhost), yet when run from IIS it has this problem? What is the difference?

Thanks,
Chris